ironfern @ docs ~/math/grade-9/combinatorics/combinatorial-probability $

Computing Probabilities Using Combinatorics

In the previous section, to compute the probability of an event, we needed to count the number of equally likely outcomes in an experiment and the number of outcomes favorable to the given event.

These counts are often related to determining the number of different combinations that can be formed according to a certain rule from elements of a given finite set. Therefore, applying combinatorial formulas is an effective technique for computing probabilities in experiments with equally likely outcomes.

Examples

Example 1 — Balls from Two Urns

Statement. Two urns contain balls that differ only in color. The first urn has two white and three black balls, and the second has three white and two black balls. One ball is drawn at random from each urn. What is the probability that at least one of the two balls is white?

Solution. Each urn contains 5 balls, so 55=255 \cdot 5 = 25 pairs can be formed. Since the balls are numbered, all 25 pairs are distinct. Because the balls are drawn at random, this experiment has 25 equally likely outcomes.

Since the first urn contains 3 black balls and the second contains 2 black balls, there are 32=63 \cdot 2 = 6 all-black pairs. Therefore, the number of outcomes favorable to the event “at least one ball is white” is 256=1925 - 6 = 19.

Answer: 1925\dfrac{19}{25}.

Example 2 — Four Dice

Statement. Four dice are rolled. Find the probability that: 1) exactly one six appears (event AA); 2) four different numbers appear (event BB); 3) no six appears (event CC); 4) at least one six appears (event DD).

Solution. Number the dice 1 through 4. Any result is recorded as an ordered tuple (a;b;c;d)(a; b; c; d) where a,b,c,da, b, c, d are the numbers showing on dice 1, 2, 3, and 4 respectively.

The total number of outcomes is 646^4. All outcomes are equally likely.

  1. The single six can appear on any of the four positions. On the other three positions, digits 1 through 5 can appear. The number of favorable outcomes is 4534 \cdot 5^3. Therefore P(A)=45364P(A) = \dfrac{4 \cdot 5^3}{6^4}.

  2. Four different digits form a 4-element ordered subset of {1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\}. The number of favorable outcomes is A64A_6^4. Therefore P(B)=A6464=654364P(B) = \dfrac{A_6^4}{6^4} = \dfrac{6 \cdot 5 \cdot 4 \cdot 3}{6^4}.

  3. Each of the four positions can show any digit from 1 to 5. The number of favorable outcomes is 545^4. Therefore P(C)=5464P(C) = \dfrac{5^4}{6^4}.

  4. The number of outcomes containing at least one six is 64546^4 - 5^4. Therefore

P(D)=645464.P(D) = \frac{6^4 - 5^4}{6^4}.
Example 3 — Quality Control

Statement. An inspector randomly selects 5 items from a batch of 20 for testing. If none of the selected items are defective, the entire batch is accepted. What is the probability that the inspector accepts a batch containing 7 defective items?

Solution. Since the inspector selects 5 items at random from 20, the experiment has C205C_{20}^5 equally likely outcomes.

If the batch has 7 defective items, there are 13 good items. The inspector accepts the batch if all 5 selected items are from the 13 good ones. The number of favorable outcomes is C135C_{13}^5.

Therefore P(A)=C135C2058%P(A) = \dfrac{C_{13}^5}{C_{20}^5} \approx 8\%.

Answer: C135C2050.08\dfrac{C_{13}^5}{C_{20}^5} \approx 0.08.

Example 4 — Basketball Tournament Draw

Statement. In a basketball tournament, 18 teams participate, of which 5 are considered favorites. Teams are divided by drawing into two groups AA and BB of 9 teams each. What is the probability of: 1) all five favorites landing in the same group (event MM); 2) exactly two favorites in each group (event KK)?

Solution. Each group can be formed in C189C_{18}^9 ways.

  1. If all 5 favorites go to group AA, then 4 more teams must be chosen from the remaining 13. This can be done in C134C_{13}^4 ways. Since the 5 favorites could go to either group AA or group BB, the number of favorable outcomes is 2C1342C_{13}^4. Therefore P(M)=2C134C189=134P(M) = \dfrac{2C_{13}^4}{C_{18}^9} = \dfrac{1}{34}.

  2. Each group containing exactly 2 favorites can be formed in C52C137C_5^2 \cdot C_{13}^7 ways. Therefore P(K)=2C52C137C189=1217P(K) = \dfrac{2 \cdot C_5^2 \cdot C_{13}^7}{C_{18}^9} = \dfrac{12}{17}.

Answer: 1) 134\dfrac{1}{34}; 2) 1217\dfrac{12}{17}.

Exercise — Combinatorial Probability Problems
  1. Four letters are chosen at random from the word “ЗАКОН” (Ukrainian for “LAW”). What is the probability that the chosen letters can form the word “КОЗА” (Ukrainian for “GOAT”)?

  2. A box contains 10 balls, of which 4 are white. What is the probability that 2 randomly chosen balls are both white?

  3. A batch of 100 light bulbs contains 7 defective ones. What is the probability of randomly selecting 4 non-defective bulbs from this batch?