Probability p2
Probability p2
Question
(a) How many different 5 card hands have exactly one pair?
Hint: practice with how many 2 card hands have exactly one pair.
Hint for hint: use the rule of product.
(b) What is the probability of getting a one pair poker hand?
Answer to board question
We can do this two ways as combinations or permutations. The keys are:
1. be consistent
2. break the problem into a sequence of actions and use the rule of
product.
Note, there are many ways to organize this. We will break it into very
small steps in order to make the process clear.
Combinations approach
a) Count the number of one-pair hands, where the order they are dealt
doesn’t matter.
Action 1. Choose the rank of the pair: 13 different ranks, choosing 1, so
13
o
1 ways to do this.
Action 2. Choose 2 cards from this rank: 4 cards in a rank, choosing 2, so
4
o
2 ways to do this.
Action 3. Choose the 3 cards of different ranks: 12 remaining ranks, so
12
o
3 ways to do this.
b) There are
52 P5 = 52 · 51 · 50 · 49 · 48 = 311875200
131788800/311875200 = 0.42257.
No = 0
Yes = 1
Probability Cast
Introduced so far
Experiment: a repeatable procedure
Sample space: set of all possible outcomes S (or Ω).
Event: a subset of the sample space.
Probability function, P(ω): gives the probability for
each outcome ω ∈ S
1. Probability is between 0 and 1
2. Total probability of all possible outcomes is 1.
Example (from the reading)
Discrete = listable
Examples:
{a, b, c, d} (finite)
{0, 1, 2, . . . } (infinite)
Events
Event:
You get 2 or more heads = { HHH, HHT, HTH, THH}
CQ: Events, sets and words
Events A, L, R
Rule 1. Complements: P(Ac ) = 1 − P(A).
Rule 2. Disjoint events: If L and R are disjoint then
P(L ∪ R) = P(L) + P(R).
Rule 3. Inclusion-exclusion principle: For any L and R:
P(L ∪ R) = P(L) + P(R) − P(L ∩ R).
Ac
L R L R
A
4. Pair up with another group. Have one group compare red vs.
green and the other compare green vs. red. Based on the three
comparisons rank the dice from best to worst.
Computations for solution
Red die White die Green die
Outcomes 3 6 2 5 1 4
Probability 5/6 1/6 3/6 3/6 1/6 5/6
Thus: red is better than white is better than green is better than red.
Lucky Larry has a coin that you’re quite sure is not fair.
(If you don’t see the symbolic algebra try p = .2, p=.5)
Solution
answer: 1. Same (same is more likely than different)
The key bit of arithmetic is that if a = b then
QED