.
A batch of pills consist of 10 good pills and 4 that are defective (contain the wrong amount of the drug).
If 5 pills are randomly selected without replacement, what is the probability that all 4 of the defective pills are selected?
~~~~~~~~~~~~~~~~
I do not agree with the solution by @Boreal.
My solution and my answer are different.
The number of all possible subsets of 5 pills, randomply selected from the total set of 10+4 = 14 pills is
= = 2002.
It is the cardinality of the total space of events.
The number of all possible subsets of 5 pills, containing 4 defective pills (and, hence, one good pill), is 10.
These subsets contain all 4 defective pills and one of 10 good pills, so the cardinality of this set
("favorable" set of events) is 10.
The probability under the problem's question is thus
P = = = = 0.004995 (rounded). ANSWER
If you want a general formula, here it is P = .
Solved and explained.