Download 9.7 Probability

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Probability interpretations wikipedia , lookup

Probability wikipedia , lookup

Transcript
Digital Lesson
Probability
Any activity with an unpredictable results is called an
experiment.
The results of an experiment are called outcomes and the
set of all possible outcomes is the sample space.
The number of outcomes in the sample space S is n(S).
Examples: Identify the sample space.
Experiment
Sample Space
n(S)
Flip a coin.
S = {H, T}
2
Toss a die.
S = {1, 2, 3, 4, 5, 6}
6
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
2
Any subset of the sample space is called an event.
The number of outcomes in an event E is n(E).
Examples: List the outcomes in each event.
Experiment
Event
Flip a coin
Get heads
{H}
1
Toss a die
Get an even number
{2, 4, 6}
3
Toss a die
Get a 3 or higher
{3, 4, 5, 6}
4
Draw a card
Get an 8
{8, 8, 8, 8} 4
Flip two coins
Get at least one head
{HH, HT, TH}
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
n(E)
3
3
If E is an event from a sample space S of equally likely
outcomes, the probability of event E is:
n( E )
P( E ) 
n( S )
Note that 0  P(E)  1.
If n(E) = 0, then P(E) = 0, and the event is impossible.
If n(E) = n(S), then P(E) = 1 and the event is certain.
Examples: A 6-sided die is rolled once.
0
The event is impossible.
P(10) = = 0
6 6
P(n  10) = = 1 The event is certain.
6
1
P(5) =
6
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
4
Example 1: Two coins are tossed. What is the probability that at
least one head comes up?
S = {HH, HT, TH, TT}
E = {HH, HT, TH}
n( E ) 3
P( E ) 

n( S ) 4
Example 2: A card is drawn at random from a standard deck of
52 cards. What is the probability the card drawn is a
face card?
S = all 52 cards in the deck
n(S) = 52
E = {J, J, J, J, Q, Q, Q, Q, K, K, K, K}
n(E) = 12
n( E ) 12 3
P( E ) 


n( S ) 52 13
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
5
Two events A and B are mutually exclusive if they have
no outcomes in common, A  B = .
Example: When a die is tossed, which events are mutually
exclusive?
A: getting an even number B: getting an odd number C: getting 5 or 6.
A
B
4
1
2
3
6
5
C
The Venn diagram shows that only A  B = , therefore,
only events A and B are mutually exclusive.
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
6
If A and B are events, their union A  B, is the event “A or B”
consisting of all outcomes in A or in B or in both A and B.
Example: A card is drawn at random from a standard
deck of 52 cards.
A: getting a club face card B: getting a jack.
A
J
J J
Q
J
K
B
AB
List the outcomes for the event of getting a club face card or
getting a jack.
A  B = {J, J, J, J, Q, K }
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
7
If A and B are events, their intersection, written A  B, is the event “A
and B” consisting of all outcomes common to both A and B.
Example: A card is drawn at random from a standard deck of 52
cards.
A: getting a club face card
B: getting a jack.
A
J
Q J J
J
K
B
AB
List the outcomes for the event of getting a club face card and
getting a jack.
A  B = {J}
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
8
If A is an event, the complement of A, written A , is the event “not A”
consisting of all outcomes not in A.
Examples: Two coins are flipped.
Event A is getting one head and one tail.
S
(T, T)
(T, H)
A
(H, T)
(H, H)
A
List the outcomes for the event not getting one head and one tail?
A = {(H, H), (T, T)}
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
9
If A and B are events, the probability of “A or B” is:
P( A  B)  P( A)  P( B)  P( A  B).
A
B
AB
n(A  B)
+
+
= n(A) + n(B) – n( A  B)
=(
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
+
)+(
+
)–
10
If A and B are mutually exclusive, then
P( A  B)  P( A)  P( B).
A
B
AB=0
A and B are mutually exclusive
n(A  B) = n(A) + n(B)
+ = +
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
11
Example: A card is drawn at random from a standard deck of
52 cards. What is the probability the card is a
red or a queen?
“queen”
Q
4
A 7
“red”
P(queen ) 
10
Q
52
9
6
Q
26
K
Q
P(red ) 
6
5
52
9
10 3 8 J
J
7 5
3 4
K 4
2 8
2
2
P(red  queen )  P( the card is a red queen ) 
52
P( the card is red or a queen )  P(red  queen )
26 4 2 28 7
 P(red )  P(queen )  P(red  queen ) 
  

52 52 52 52 13
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
12
Example 2: A card is drawn at random from a standard
deck of 52 cards.What is the probability the
card is a spade or a club?
“spade”
“club”
 A  10
 A  10
 K Q  9
 K Q  9
J
J

5
5
6

6
7
8
7
8
3
3
 4 2
4 2
Since these events are mutually exclusive,
P(club or spade) = P(club) + P(spade) = 1  1  1 .
4 4 2
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
13
Two events are independent if the fact that one event
has occurred has no effect on likelihood of the other
event.
For example, when flipping two coins, the events
“the first coin comes up heads” and
“the second coin comes up tails” are independent.
If A and B are independent events, the probability of “A
and B” is:
P( A  B)  P( A)  P( B)
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
14
Example: A card is drawn at random from a standard
deck of 52 cards. What is the probability the
card is a red queen?
A: the card is red
B: the card is a queen
Events A and B are independent.
26 4
1
P( A and B)  P( A  B)  P( A)  P( B) 


52 52 26
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
15
If A is an event, the probability of the event “not A” is:
P( A)  1  P( A)
Example: A die is tossed. What is the probability of
getting 2 or higher?
It is easier to work with the complementary event
1
“getting a 1”which has probability .
6
1 5
P(not getting a one )  P(getting a two or higher )  1  
6 6
Copyright © by Houghton Mifflin Company, Inc. All rights reserved.
16