[Math] finding probability using Methods of Enumeration

probability

A computer retail store has 12 personal computers in stock. A customer wants to
purchase three of the computers. Assume that of the 12 computers, 4 are
defective. If the computers are selected at random what is the probability that
exactly one of the purchased computers is defective?

Best Answer

So in total you have ${12 \choose 3}$ choices to choose 3 computers. Now to get one defective computer exactly, you choose 2 good computers in ${8 \choose 2}$ ways, and 1 defective computer in ${4 \choose 1}$ ways. So together you can choose 2 good computers and exactly one defective one in ${8 \choose 2}{4 \choose 1}$.

Now the probability is : $$\frac{{8 \choose 2}{4 \choose 1}}{{12 \choose 3}}.$$

Try generalizing to variable choices.

Related Question