Anda di halaman 1dari 16

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


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 n(E)
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} 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
P(10) = = 0 The event is impossible.
6 6
P(n < 10) = =1 The event is certain.
6
1
P(5) =
6
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


aS = all 52 cards in the deck n(S) = 52
face card?
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
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

The Venn diagram shows that only A ∩ B = ∅, therefore,


only events A and B are mutually exclusive.
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 B
♣K ♥J
♣J ♠J
♣Q
♦J
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 }
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 B
♣K ♥J
♣Q ♣J ♠J
♦J

A∩B
List the outcomes for the event of getting a club face card and
getting a jack.
A ∩ B = {♣J}
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)}
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)
+ + =( + )+( + )–
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)
+ = +
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”
“red” ♦A ♥7 ♣Q
P (queen ) =
4
♦10 ♦Q
♥9 ♦6 ♠Q 52
26 ♦K
P (red) = ♥6 ♥Q
52 ♦9 ♦5 ♥J
♥10 ♥3 ♥8
♦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
Example 2: A card is drawn at random from a standard
deck of 52 cards.What is the probability
the
“spade” card is a spade or a club? “club”
♠ A ♠ 10 ♣ A ♣ 10
♠ K ♠Q ♠ 9 ♣ K ♣Q ♣ 9
♠J ♣J
♠6 ♠5 ♣ 6 ♣5
♠7 ♠8 ♣7 ♣8
♠3 ♣3
♠ 4 ♠2 ♣4 ♣2

Since these events are mutually exclusive,


1 1 1
P(club or spade) = P(club) + P(spade) = + = .
4 4 2
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 )
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
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

Anda mungkin juga menyukai