girgit.org

Probability

Neither, only one, not both: putting the rules together

The big ideaMost exam questions combine the two rules: translate the words into sets ("neither", "only one", "not both"), then use \( \text{P}(\text{A} \cup \text{B}) = \text{P}(\text{A}) + \text{P}(\text{B}) - \text{P}(\text{A} \cap \text{B}) \) and \( \text{P}(\text{A}') = 1 - \text{P}(\text{A}) \) together. The same idea extends to three events.

In simple words

You now have two tools: one for "this or that", and one for "not this". Hard questions are just these two tools used one after the other. First say clearly, in sets, what is being asked. Then pick the tool for each step.

Four pieces of the Venn diagram

Two overlapping events A and B cut S into four non-overlapping regions. Their probabilities add to 1, and each one comes from the rules:

RegionIn wordsProbability
A ∩ BbothP(A ∩ B), usually given
A ∩ B′ = A − Bonly AP(A) − P(A ∩ B)
A′ ∩ B = B − Aonly BP(B) − P(A ∩ B)
A′ ∩ B′ = (A ∪ B)′neither1 − P(A ∪ B)

Two more that follow: P(exactly one) = P(only A) + P(only B) = \( \text{P}(\text{A}) + \text{P}(\text{B}) - 2\,\text{P}(\text{A} \cap \text{B}) \), and P(not both) = \( \text{P}((\text{A} \cap \text{B})') = 1 - \text{P}(\text{A} \cap \text{B}) \).

Try it: set the three numbers and see every phrase as a choice of pieces.

Worked example 1: a quiz

In a quiz, the probability that Riya answers a question correctly is 0.6, that Kabir does is 0.5, and that both do is 0.3. Find the probability that (a) at least one answers correctly, (b) neither does, (c) at least one of them gets it wrong, (d) exactly one of them is right.

Let R: "Riya is right", K: "Kabir is right". P(R) = 0.6, P(K) = 0.5, P(R ∩ K) = 0.3.

  1. (a) \( \text{P}(\text{R} \cup \text{K}) = 0.6 + 0.5 - 0.3 = 0.8 \).
  2. (b) Neither: \( \text{P}(\text{R}' \cap \text{K}') = \text{P}((\text{R} \cup \text{K})') = 1 - 0.8 = 0.2 \), by De Morgan's law.
  3. (c) "At least one wrong" is "not both right": \( 1 - 0.3 = 0.7 \).
  4. (d) Only Riya: \( 0.6 - 0.3 = 0.3 \). Only Kabir: \( 0.5 - 0.3 = 0.2 \). These can't happen together, so exactly one: \( 0.3 + 0.2 = 0.5 \).

Check: both (0.3) + only Riya (0.3) + only Kabir (0.2) + neither (0.2) = 1.

Worked example 2: from counts

In a housing society of 200 homes, 120 take milk delivery, 80 take a newspaper and 50 take both. A home is picked at random. Find P(neither) and P(newspaper but not milk).

  1. P(milk or newspaper) \( = \frac{120 + 80 - 50}{200} = \frac{150}{200} \).
  2. P(neither) \( = 1 - \frac{150}{200} = \frac{50}{200} = \frac{1}{4} \).
  3. P(newspaper but not milk) \( = \frac{80 - 50}{200} = \frac{30}{200} = \frac{3}{20} \).

Are these numbers even possible?

Someone claims P(A) = 0.6, P(B) = 0.7 and P(A ∩ B) = 0.2. Then \( \text{P}(\text{A} \cup \text{B}) = 0.6 + 0.7 - 0.2 = 1.1 \), more than 1. So these probabilities are not consistently defined: no experiment can have them. Also impossible: P(A ∩ B) bigger than P(A) or P(B), since "both" can never be likelier than "one of them".

Three events

For three events A, B, C, the overlaps are counted several times, and the correction is:

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

Why. Put E = B ∪ C and use the two-event rule: \( \text{P}(\text{A} \cup \text{E}) = \text{P}(\text{A}) + \text{P}(\text{E}) - \text{P}(\text{A} \cap \text{E}) \). Expand \( \text{P}(\text{E}) = \text{P}(\text{B}) + \text{P}(\text{C}) - \text{P}(\text{B} \cap \text{C}) \). Intersection distributes over union, so \( \text{A} \cap \text{E} = (\text{A} \cap \text{B}) \cup (\text{A} \cap \text{C}) \), and the two-event rule again gives \( \text{P}(\text{A} \cap \text{E}) = \text{P}(\text{A} \cap \text{B}) + \text{P}(\text{A} \cap \text{C}) - \text{P}(\text{A} \cap \text{B} \cap \text{C}) \). Substituting gives the formula. The triple overlap is added back because it was added three times and then taken away three times.

Worked example 3

A number is picked at random from 1 to 100. Find P(it is divisible by 2, 3 or 5).

  1. Divisible by 2: 50; by 3: 33; by 5: 20.
  2. By 6 (2 and 3): 16; by 15 (3 and 5): 6; by 10 (2 and 5): 10.
  3. By 30 (all three): 3.
  4. \( \text{P} = \frac{50 + 33 + 20 - 16 - 6 - 10 + 3}{100} = \frac{74}{100} = \frac{37}{50} \).

Try it: watch each number get counted, uncounted and counted again as the seven terms go in.

Don't mix these up

  • "Neither A nor B" = 1 − P(A ∪ B). "Not both" = 1 − P(A ∩ B). They are different.
  • "Only A" is P(A) − P(A ∩ B), not P(A).

Try it. P(A) = 0.35, P(B) = 0.55, P(A ∩ B) = 0.15. Find P(not A), P(A ∪ B) and P(A ∩ B′).

Answer
P(not A) = 1 − 0.35 = 0.65. P(A ∪ B) = 0.35 + 0.55 − 0.15 = 0.75. P(A ∩ B′) = 0.35 − 0.15 = 0.20.

Words to know

Neither
A′ ∩ B′: none of the two happens.
Not both
(A ∩ B)′: at most one happens.
Exactly one
Only A or only B.
Consistently defined
The given probabilities could all be true at once.

P(E) = \( \frac13 \), P(F) = \( \frac12 \), P(E ∩ F) = \( \frac16 \). What is P(neither E nor F)?

  1. \( \frac23 \)
  2. \( \frac13 \)
  3. \( \frac56 \)

P(A) = 0.55, P(B) = 0.35, P(A ∩ B) = 0.15. What is P(exactly one of A, B)?

  1. 0.75
  2. 0.6
  3. 0.9

Which set of values is NOT consistently defined?

  1. P(A) = 0.45, P(B) = 0.25, P(A ∩ B) = 0.05
  2. P(A) = 0.4, P(B) = 0.8, P(A ∩ B) = 0.5
  3. P(A) = 0.3, P(B) = 0.3, P(A ∩ B) = 0