For a particular lottery, the winning numbers are selected by a machine that randomly chooses 5 table-tennis balls from among 45, numbered 1 to 45.
What is the probability that you will match exactly 4 of the 5 winning numbers ?
Thank you.
For a particular lottery, the winning numbers are selected by a machine that randomly chooses 5 table-tennis balls from among 45, numbered 1 to 45.
What is the probability that you will match exactly 4 of the 5 winning numbers ?
Thank you.
Suppose you match balls 1 to 4 but not 5, the probability of this is:
$\displaystyle \frac{1}{45}\times \frac{1}{44} \times \frac{1}{43}\times \frac{1}{42}\times \frac{40}{41}$
(this is the probability of matching ball 1, 2, 3, 4 and not matching ball 5)
Now the final probability is $\displaystyle 5$ times this (the unmatched ball can be any of the five)
CB
Shouldn't you additionally multiply by 5! to account for the fact that the balls could be picked in 5! different orders?
If so, then the answer would agree with an alternate approach I tried:
Without loss of generality, we can suppose that the balls numbered 1 through 5 were randomly chosen, and we want the probability that exactly four match.
{1,2,3,4,x}
{1,2,3,x,5}
{1,2,x,4,5}
{1,x,3,4,5}
{x,2,3,4,5}
The above is to illustrate that there are 40*5 combinations for which exactly four match, so the probability is given by 40*5/C(45,5).
Alternatively,
there are $\displaystyle \binom{5}{4}$ ways to choose 4 of the 5 winning numbers.
The selection of 5 must contain one of the 40 remaining numbers,
hence there are $\displaystyle \binom{5}{4}\binom{40}{1}$ ways to match 4.
There are $\displaystyle \binom{45}{5}$ ways to choose 5 from 45
so the probability of matching 4 of the 5 winning numbers with a single selection is
$\displaystyle \frac{\binom{5}{4}\binom{40}{1}}{\binom{45}{5}}$