Professional Documents
Culture Documents
Lecture
Lecture
Probability
Experiment
An experiment is an activity with
observable results.
The results of an experiment are called
outcomes of the experiment.
Examples
Tossing a coin and observing whether it falls heads
or tails
Rolling a die and observing which of the numbers
1, 2, 3, 4, 5, or 6 shows up
Testing a spark plug from a batch of 100 spark
plugs and observing whether or not it is defective
Terminology
Ø, {H}, {T}, S
Example 1, page 354
Terminology
Complement of an Event
The complement of an event E is the event
E c.
Thus, the event E c is the set containing all
the outcomes in the sample space S that are
not in E.
Example
Consider the experiment of rolling a die and observing the
number that falls uppermost.
Let
S = {1, 2, 3, 4, 5, 6}
denote the sample space of the experiment and
E = {2, 4, 6} and F = {1, 3}
be events of this experiment.
Compute E F. Interpret your results.
Solution
E F = {1, 2, 3, 4, 6} and is the event that the outcome of
the experiment is a 1, a 2, a 3, a 4, or a 6.
EF=Ø
Example
An experiment consists of tossing a coin three times and
observing the resulting sequence of heads and tails.
✦ Describe the sample space S of the experiment.
✦ Determine the event E that exactly two heads appear.
✦ Determine the event F that at least one head appears.
If
S = {s1, s2, … , sn}
S = {1, 2, 3, 4, 5, 6}
and the simple events are accordingly given by the sets
{1}, {2}, {3}, {4}, {5}, and {6}
Since the die is assumed to be fair, the six outcomes are
equally likely.
We therefore assign a probability of 1/6 to each of the
simple events.
Example 1, page 364
Example
A fair die is thrown, and the number that falls uppermost is
observed.
Determine the probability distribution for the experiment.
Solution
Thus, the probability distribution of these simple events is:
Simple
event Probability
{1} 1/6
{2} 1/6
{3} 1/6
{4} 1/6
{5} 1/6
{6} 1/6
Example 1, page 364
Finding the Probability of Event E
E = {(1, 1), (2, 2) , (3, 3), (4, 4), (5, 5), (6, 6)}
Therefore, the probability that the two dice show the same
number is given by
P( E ) = P[(1,1)] + P[(2, 2)] + �
��+ P[(6,6)]
1 1 1 1
= + +� ��+ = Six terms
36 36 36 6
Applied Example 3, page 365
Applied Example: Rolling Dice
Solution
The event that the sum of the numbers of the two dice is 6
is given by
E6 = {(1, 5), (2, 4) , (3, 3), (4, 2), (5, 1)}
Therefore, the probability that the sum of the numbers on
the two dice is 6 is given by
P( E6 ) = P[(1,5)] + P[(2, 4)] + P[(3,3)] + P[(4, 2)] + P[(5,1)]
1 1 1 1 1 5
= + + + + =
36 36 36 36 36 36
Addition Rule
Property 4. If E and F are any two events of an
experiment, then
P(E F) = P(E) + P(F) – P(E F)
Example
A card is drawn from a shuffled deck of 52 playing cards.
What is the probability that it is an ace or a spade?
Solution
Let E denote the event that the card drawn is an ace, and
let F denote the event that the card drawn is a spade.
Then,
4 13
P( E ) = and P ( F ) =
52 52
Note that E and F are not mutually exclusive events:
✦ E F is the event that the card drawn is an ace of spades.
✦ Consequently,
1
P ( E �F ) =
52
Rule of Complements
Property 5. If E is an event of an experiment
and Ec denotes the complement
of E, then
P(Ec) = 1 – P(E)
Applied Example: Warranties
6! 6 ��
5 4
n( E ) C (6,3)
P( E ) = = = 3!3! = 3 � 2
n( S ) 64 64 64
20 5
= = = .3125
64 16
n( F ) 42 21
P( F ) = = = �.65625
n( S ) 64 32
Computing the Probability of an Event
in a Uniform Sample Space
Number of outcomes in E n( E )
P( E ) = =
Number of outcomes in S n( S )
Example
n( F ) 42 21
P( F ) = = = �.6563
n( S ) 64 32
Example 1, page 381
Example
Solution
Let H denote the event that the coin lands heads on the
first and the last toss.
Then,
n ( H ) = 1 �����
2 2 2 2 1 = 24
n( H ) 24 1 1
P( H ) = = 6 = 2 =
n( S ) 2 2 4
P ( A �B )
P( B A) =
P( A)
P ( A �B ) = P ( A) �
P( B A)
P ( A B ) = P ( A) P ( B A) = P ( B )
P ( A �B ) = P ( A) �
P( B )
Conditional Probability of an Event
P( A �B ) = P( A) �
P( B A)
Example
Two cards are drawn without replacement from a well-
shuffled deck of 52 playing cards.
What is the probability that the first card drawn is an ace
and the second card drawn is a face card?
Solution
Let A denote the event that the first card drawn is an ace,
and let F denote the event that the second card drawn is a
face card.
Then,
4
P ( A) =
52
P ( A B ) = P ( A) and P ( B A) = P ( B )
Test for the Independence of Two Events
so P ( A �B ) �P ( A) �
P( B )
P (C ) �
P( D C )
P (C D ) =
P( D A) + P( B) �
P( A) � P ( D B ) + P (C ) �
P( D C )
(.2)(.02)
=
(.5)(.01) + (.3)(.02) + (.2)(.02)
�.27
Bayes’ Theorem
(.2)(.02)
=
(.5)(.01) + (.3)(.02) + (.2)(.02)
�.27