Probability Overview
Probability Overview
0 Impossible
Definitions
A probability experiment is an action through which
specific results (counts, measurements, or responses)
are obtained.
Lists
Tables
Grids
Venn Diagrams
Tree Diagrams
1. Theoretical Probability
2. Experimental Probability
3. Subjective Probability
P( A and B) = P( A B) = P( A) P( B)
This rule can extend to any number of independent
events.
Two events are independent if the occurrence of the
first event does not affect the probability of the
occurrence of the second event. More on this later
Mutually Exclusive
Two events A and B are mutually exclusive if and
only if:
P( A B) = 0
In a Venn diagram this means that event A is
disjoint from event B.
A A B
B
P( A or B) = P( A B) = P( A) + P( B) − P( A B)
If events A and B are mutually exclusive, then the
addition rule is simplified to:
P( A or B) = P( A B) = P( A) + P( B)
This simplified rule can be extended to any number
of mutually exclusive events.
Conditional Probability
Conditional probability is the probability of an event
occurring, given that another event has already
occurred.
Conditional probability restricts the sample space.
P( A B) P( B A)
P( A | B) = or P( B | A) =
P( B) P( A)
F R
F R
8
F R
8
F R
12 8
F R
12 8
F R
12 8 15
F R
12 8 15
F R
12 8 15
10
F R
12 8 15
Total: 20 + 25 10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
45
F R
12 8 15
Total: 20 + 25 10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
45
F R
12 8 15
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
45
P(R F) = F R
12 8 15
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
8 45
P(R F) = F R
12 8 15
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
8 45
P(R F) = F R
45
12 8 15
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
8 45
P(R F) = F R
45
P(R F) =
8 12 8 15
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
8 45
P(R F) = F R
45
P(R F) =
8 P(F) = 12 8 15
20
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
8 45
P(R F) = F R
45
P(R F) =
8 P(F) =
20 12 8 15
20
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
8 45
P(R F) = F R
45
P(R F) =
8 P(F) =
20 12 8 15
20 45
10
e.g. 2. I have 2 packets of seeds. One contains 20
seeds and although they look the same, 8 will give red
flowers and 12 blue. The 2nd packet has 25 seeds of
which 15 will be red and 10 blue.
Draw a Venn diagram and use it to illustrate the
conditional probability formula.
Solution: Let R be the event “ Red flower ” and
F be the event “ First packet ”
8 45
P(R F) = F R
45
P(R F) =
8 P(F) =
20 12 8 15
20 45
10
8 1 20 8
P(R F) P(F) = =
1 20 45 45
So, P(R F) = P(R|F) P(F)
Probability Tree
Diagrams
The probability of a complex event can be found
using a probability tree diagram.
Can you also write down the notation for the three
probabilities given in the question?
“ the probability of a man getting to work on time if
there is fog is 2 ” P(T F) =
2 Not foggy
5
5
9 9
“ If the visibility is good, the probability is 10 ”. P(T F/) =
10
3
“ The probability of fog at the time he travels is 20 ”.
3
P(F) =
20
This is a much harder problem so we draw a tree diagram.
2 9 3
P(T F) = P(T F/) = P(F) =
5 10 20
2 3 2
T
5 20 5
3 F
20 Fog 3 T/ 3 3
5 20 5
9
17 9
17 10 T
F/ 20 10
20
No 1 T/
17 1
Fog 10 20 10
2 3 2
5 T
20 5
3 F
20 3 T/ 3 3
5 20 5
9
17 9
17 10 T
F/ 20 10
20 17 1
1 T/
10 20 10
(a) Calculate the probability of him arriving on time.
2 3 2 6 ( foggy and
T =
5 20 5 100 he arrives
3 F on time )
20 3 T/ 3 3
5 20 5
9
17 9
17 10 T
F/ 20 10
20 17 1
1 T/
10 20 10
(a) Calculate the probability of him arriving on time.
2 3 2 6
5 T =
20 5 100
3 F
20 3 T/ 3 3
5 20 5
9 ( not foggy
17 9 153
10 T = and he
17 20 10 200
F/ arrives
20 17 1 on time )
1 T/
10 20 10
/ 6 153 16533 33
P ( T ) = P ( F T) + P ( F T) = + = =
100 200 20040 40
(b) Calculate the probability that there was fog given that
he arrives on time. P(F T)
We need P ( F T ) P (F | T) =
P (T )
Fog on M 6 Getting to work
2
T
5 3 2 6
3 F P(F T) = =
20 5 100
20
1 W 3 1 3
=
2 Wins 8 2 16
3 T W/ 3 1 3
8 High 1 Loses =
temp 8 2 16 Sum
2
=1
3 5 3 15
W =
4 8 4 32
5 Wins
8 T/
Lower 1 W/ 5 1
=
5
temp 4 Loses 8 4 32
1 3 1 3
2
W =
8 2 16
3 T
3 1 3
8 1 W/ =
8 2 16
2
3 5 3 15
W =
4 8 4 32
5
8 T/
5 1 5
1 W/ =
4 8 4 32
/
(i) P ( W ) = P (T W ) + P (T W)
1 3 1 3
2
W =
8 2 16
3 T
3 1 3
8 1 W/ =
8 2 16
2
3 5 3 15
W =
4 8 4 32
5
8 T/
5 1 5
1 W/ =
4 8 4 32
/ 3 15 6 + 15 21
(i) P ( W ) = P (T W ) + P (T W) = +
16 32
=
32
=
32
1 3 1 3
2
W =
8 2 16
3 T
3 1 3
8 1 W/ =
8 2 16
2
3 5 3 15
W =
4 8 4 32
5
8 T/
5 1 5
1 W/ =
4 8 4 32
21
P (W) =
32
P (T W )
(ii) P (T | W ) =
P( W )
1 3 1 3
2
W =
8 2 16
3 T
3 1 3
8 1 W/ =
8 2 16
2
3 5 3 15
W =
4 8 4 32
5
8 T/
5 1 5
1 W/ =
4 8 4 32
21
P (W) =
32
P(T W) P ( T W ) = 3 21
(ii) P (T | W ) =
P( W ) 16 32
1 3 1 3
2
W =
8 2 16
3 T
3 1 3
8 1 W/ =
8 2 16
2
3 5 3 15
W =
4 8 4 32
5
8 T/
5 1 5
1 W/ =
4 8 4 32
21
P (W) =
32 1 2
P (T W ) 3 21 3 32 2
(ii) P (T | W ) = P(T W) = = =
P( W ) 16 32 16 1 217 7
Independent Events
We can deduce an important result from the conditional
law of probability:
If B has no effect on A, then, P(A B) = P(A) and we say
the events are independent.
( The probability of A does not depend on B. )
P(A B) = P(A)
P(B A) = P(B)
or
P(A B) = P(A) P(B)
Expected Value
Suppose that the outcomes of an experiment are
real numbers called x1 , x2 , x3 ,..., xn
and suppose that these outcomes have probabilities
p1 , p2 , p3 ,..., pn respectively. Then the expected
value of x, E(x), of the experiment
is:
n
E ( x) = xi pi
i =1
Expected Value
Example
At a raffle, 1500 tickets are sold at $2 each for
four prizes of $500, $250, $150, and $75. What
is the expected value of your gain if you play?