girgit.org

Probability

A or B: the addition rule

The big ideaFor any two events, \( \text{P}(\text{A} \cup \text{B}) = \text{P}(\text{A}) + \text{P}(\text{B}) - \text{P}(\text{A} \cap \text{B}) \): add the two probabilities, then take away the overlap you counted twice. When A and B are mutually exclusive there is no overlap, and you just add.

In simple words

To count the children who like mangoes or bananas, you might count the mango fans and then the banana fans. But a child who likes both gets counted twice. So you take those children away once. Chances work the same way: add the two chances, then take away the chance of both happening together.

Guess first: a king or a heart

One card is drawn from a well-shuffled deck. There are 4 kings and 13 hearts. Guess: is P(a king or a heart) equal to \( \frac{4}{52} + \frac{13}{52} = \frac{17}{52} \)?

See what happens
No. The king of hearts is a king and a heart, so it was counted in both groups. The cards that are a king or a heart number \( 4 + 13 - 1 = 16 \): the 13 hearts plus the 3 other kings. So \( \text{P} = \frac{16}{52} = \frac{4}{13} \), which is \( \frac{4}{52} + \frac{13}{52} - \frac{1}{52} \).

Seeing the double count

Roll a die. Let A: "even" = {2, 4, 6} and B: "greater than 3" = {4, 5, 6}. Then A ∪ B = {2, 4, 5, 6}, so \( \text{P}(\text{A} \cup \text{B}) = \frac{4}{6} \). But \( \text{P}(\text{A}) + \text{P}(\text{B}) = \frac{3}{6} + \frac{3}{6} = 1 \), too big. The outcomes 4 and 6 sit in both A and B, that is, in A ∩ B, and their probability \( \frac{2}{6} \) was added twice. Take it off once:

\[ \tfrac{3}{6} + \tfrac{3}{6} - \tfrac{2}{6} = \tfrac{4}{6} = \tfrac{2}{3} \]

In a Venn diagram, A and B are two overlapping circles inside the rectangle S. Adding the areas of both circles covers the lens-shaped overlap twice; subtracting the overlap once leaves exactly the shaded area of A ∪ B.

Try it: lay A and B along a bar of length 1 and slide them over each other.

The addition rule, from the axioms

Split A ∪ B into two pieces that cannot overlap: \( \text{A} \cup \text{B} = \text{A} \cup (\text{B} - \text{A}) \). Split B the same way: \( \text{B} = (\text{A} \cap \text{B}) \cup (\text{B} - \text{A}) \). Both splits are into mutually exclusive events, so axiom 3 gives

\[ \text{P}(\text{A} \cup \text{B}) = \text{P}(\text{A}) + \text{P}(\text{B} - \text{A}) \qquad (1) \]

\[ \text{P}(\text{B}) = \text{P}(\text{A} \cap \text{B}) + \text{P}(\text{B} - \text{A}) \qquad (2) \]

Subtract (2) from (1): \( \text{P}(\text{A} \cup \text{B}) - \text{P}(\text{B}) = \text{P}(\text{A}) - \text{P}(\text{A} \cap \text{B}) \). Rearranging gives the addition rule (also called the addition theorem of probability):

\[ \text{P}(\text{A or B}) = \text{P}(\text{A} \cup \text{B}) = \text{P}(\text{A}) + \text{P}(\text{B}) - \text{P}(\text{A} \cap \text{B}) \]

A second proof splits A ∪ B into three mutually exclusive parts, A − B, A ∩ B and B − A, and adds up the probabilities of the sample points in each; it gives the same result.

Special case. If A and B are mutually exclusive, A ∩ B = \( \phi \) and \( \text{P}(\phi) = 0 \), so

\[ \text{P}(\text{A} \cup \text{B}) = \text{P}(\text{A}) + \text{P}(\text{B}) \]

which is just axiom 3 again.

Worked examples

  1. Two dice: a sum of 7 or a double. A double has an even sum, so the events are mutually exclusive: \( \frac{6}{36} + \frac{6}{36} = \frac{12}{36} = \frac{1}{3} \).
  2. Two dice: the first die shows 6, or the sum is at least 10. A has 6 outcomes. B = {(4, 6), (5, 5), (6, 4), (5, 6), (6, 5), (6, 6)} has 6. A ∩ B = {(6, 4), (6, 5), (6, 6)} has 3. \( \text{P} = \frac{6}{36} + \frac{6}{36} - \frac{3}{36} = \frac{9}{36} = \frac{1}{4} \).
  3. A number from 1 to 30, a multiple of 3 or of 5. Multiples of 3: 10. Multiples of 5: 6. Multiples of both, that is of 15: 15 and 30, so 2. \( \text{P} = \frac{10 + 6 - 2}{30} = \frac{14}{30} = \frac{7}{15} \).
  4. Without counting outcomes. In a class, 45% of students play cricket, 30% play football and 15% play both. A student is picked at random. P(cricket or football) \( = 0.45 + 0.30 - 0.15 = 0.60 \).
  5. A card: red or a face card. \( \frac{26}{52} + \frac{12}{52} - \frac{6}{52} = \frac{32}{52} = \frac{8}{13} \), subtracting the 6 red face cards.

JEE note. Because \( \text{P}(\text{A} \cup \text{B}) \le 1 \) and \( \text{A} \cap \text{B} \) sits inside both A and B, any two events satisfy \( \text{P}(\text{A}) + \text{P}(\text{B}) - 1 \le \text{P}(\text{A} \cap \text{B}) \le \min\{\text{P}(\text{A}), \text{P}(\text{B})\} \). Questions that ask whether given probabilities are "consistently defined" are checking exactly this.

Don't mix these up

  • P(A) + P(B) is right for "A or B" only when A and B are mutually exclusive. Always ask: can both happen at once?
  • If P(A) + P(B) > 1, the events cannot be mutually exclusive: they must overlap.

Try it. P(A) = 0.6, P(B) = 0.3 and P(A ∪ B) = 0.75. Find P(A ∩ B). Are A and B mutually exclusive?

Answer
\( 0.75 = 0.6 + 0.3 - \text{P}(\text{A} \cap \text{B}) \), so \( \text{P}(\text{A} \cap \text{B}) = 0.15 \). Since this is not 0, A and B are not mutually exclusive.

Words to know

Addition rule
P(A ∪ B) = P(A) + P(B) − P(A ∩ B).
P(A or B)
The chance that at least one of A, B happens.
P(A and B)
The chance that both happen; the overlap.
Venn diagram
A picture of events as circles inside the rectangle S.

P(A) = 0.6, P(B) = 0.5, P(A ∩ B) = 0.3. What is P(A ∪ B)?

  1. 1.1
  2. 0.8
  3. 0.5

A card is drawn. What is P(an ace or a black card)?

  1. \( \frac{30}{52} \)
  2. \( \frac{7}{13} \)
  3. \( \frac{1}{2} \)

When is P(A ∪ B) = P(A) + P(B)?

  1. When P(A) = P(B)
  2. When A and B are mutually exclusive
  3. When A and B are exhaustive