Probability Introduction Slides
Probability Introduction Slides
Non-deterministic
Deterministic
Deterministic Phenomena
• There exists a mathematical model that allows
“perfect” prediction the phenomena’s
outcome.
• Many examples exist in Physics, Chemistry
(the exact sciences).
Non-deterministic Phenomena
• No mathematical model exists that allows
“perfect” prediction the phenomena’s
outcome.
Non-deterministic Phenomena
• may be divided into two groups.
1. Random phenomena
– Unable to predict the outcomes, but in the long-
run, the outcomes exhibit statistical regularity.
2. Haphazard phenomena
– unpredictable outcomes, but no long-run,
exhibition of statistical regularity in the
outcomes.
Phenomena
Non-deterministic
Deterministic
Haphazard
Random
Haphazard phenomena
– unpredictable outcomes, but no long-run,
exhibition of statistical regularity in the
outcomes.
– Do such phenomena exist?
– Will any non-deterministic phenomena exhibit
long-run statistical regularity eventually?
Random phenomena
– Unable to predict the outcomes, but in the long-
run, the outcomes exhibit statistical regularity.
Examples
1. Tossing a coin – outcomes S ={Head, Tail}
Unable to predict on each toss whether is Head or
Tail.
In the long run can predict that 50% of the time
heads will occur and 50% of the time tails will occur
2. Rolling a die – outcomes
S ={ , , , , , }
={1, 2, 3, 4, 5, 6}
An Event , E
The event, E, is any subset of the sample space,
S. i.e. any set of outcomes (not necessarily all
outcomes) of the random phenomena
Venn
S diagram
E
The event, E, is said to have occurred if after
the outcome has been observed the outcome lies
in E.
S
E
Examples
AB
A B
The event A B occurs if the event A occurs or
the event and B occurs .
AB
A B
Intersection
AB
A B
The event A B occurs if the event A occurs and
the event and B occurs .
AB
A B
Complement
A
A
The event A occurs if the event A does not
occur
A
A
In problems you will recognize that you are
working with:
A B
If two events A and B are are mutually
exclusive then:
1. They have no outcomes in common.
They can’t occur at the same time. The outcome
of the random experiment can not belong to both
A and B.
A B
Probability
Definition: probability of an Event E.
Suppose that the sample space S = {o1, o2, o3, …
oN} has a finite number, N, of oucomes.
Also each of the outcomes is equally likely
(because of symmetry).
Then for any event E
n E nE no. of outcomes in E
P E =
n S N total no. of outcomes
Note : the symbol n A = no. of elements of A
Thus this definition of P[E], i.e.
if A B = f
(A and B mutually exclusive)
If two events A and B are are mutually
exclusive then:
1. They have no outcomes in common.
They can’t occur at the same time. The outcome
of the random experiment can not belong to both
A and B.
A B
P[A B] = P[A] + P[B]
i.e.
P[A or B] = P[A] + P[B]
A B
Rule The additive rule
(In general)
or
P[A or B] = P[A] + P[B] – P[A and B]
Logic A B
A B
A B
Example:
DSU and Iqra are two of the universities competing for
the University Olympics. (There are also many others).
The organizers are narrowing the competition to the
final 5 universities.
There is a 20% chance that DSU will be amongst the
final 5. There is a 35% chance that Iqra will be amongst
the final 5 and an 8% chance that both DSU and Iqra
will be amongst the final 5. What is the probability that
DSU or Iqra will be amongst the final 5.
Solution:
Let A = the event that DSU is amongst the final 5.
Let B = the event that Iqra is amongst the final 5.
Given P[A] = 0.20, P[B] = 0.35, and P[A B] = 0.08
What is P[A B]?
Note: “and” ≡ , “or” ≡ .
P A B P A P B P A B
0.20 0.35 0.08 0.47
Rule for complements
2. P A 1 P A
or
P not A 1 P A
Complement
A
A
The event A occurs if the event A does not
occur
A
A
Logic:
A and A are mutually exclusive.
and S A A
A
A
thus 1 P S P A P A
and P A 1 P A