Venn diagrams and conditional probability

IGCSE Mathematics · Probability

Filling a Venn diagram

Always start with the intersection and work outwards. If $n(A)=18$, $n(B)=14$ and $n(A\cap B)=6$, then the region "$A$ only" holds $18-6=12$ and "$B$ only" holds $14-6=8$.

Filling the outer regions first is where double counting happens.

The addition rule

$$n(A\cup B)=n(A)+n(B)-n(A\cap B)$$

The subtraction is there because the overlap was counted twice. For mutually exclusive events the overlap is empty and the rule collapses to plain addition — that is the only case where you may add without subtracting.

Conditional probability

$P(A\mid B)$ means "the probability of $A$ given that $B$ has happened". The condition changes the denominator: you are no longer choosing from everyone, only from the members of $B$.

$$P(A\mid B)=\frac{n(A\cap B)}{n(B)}$$

Wording that signals a conditional: "given that", "of those who", "a student who studies French is chosen".

Reading the wording carefully

These three questions have three different answers from the same diagram:

12 6 8 4 A B 30 n(A) = 12 + 6 = 18 n(B) = 6 + 8 = 14 Fill in the INTERSECTION first, then subtract outwards. P(B | A) = 6/18 P(A | B) = 6/14 The same diagram, two questions with different conditions
The two conditional probabilities have the same numerator ($6$) but different denominators. The denominator is exactly the set that the condition specifies.

Worked example: filling in a Venn diagram from the data

In a class of $30$ students, $18$ study Further Mathematics, $14$ study Physics, and $6$ study both. (a) How many students study neither of the two subjects? (b) A student is chosen at random from those who study Further Mathematics; calculate the probability that this student also studies Physics.

Solution

(a) Fill in from the middle outwards. The intersection is $6$. So:

$$\text{neither subject}=30-26=4\ \text{students}$$

The same result by the addition rule: $n(A\cup B)=18+14-6=26$, then $30-26=4$. The subtraction of $6$ is there because the $6$ students who study both were counted in both $18$ and $14$.

(b) The condition changes the denominator. The question says "a student who studies Further Mathematics is chosen", so the sample space shrinks to those $18$ students, not $30$:

$$P(\text{Physics}\mid\text{Mathematics})=\frac{6}{18}=\frac{1}{3}$$

To compare clearly the difference: if the question asked "a student is chosen at random from the class, find the probability that the student studies both subjects", the denominator would be $30$ and the answer $\dfrac{6}{30}=\dfrac{1}{5}$. With the same numerator $6$, the two answers are quite different — and both are fractions that look very reasonable.

Worked example: the two directions of conditional probability

Among $40$ students, $24$ study French, of whom $10$ also study German. The total number of students who study German is $16$. (a) Calculate $P(\text{German}\mid\text{French})$. (b) Calculate $P(\text{French}\mid\text{German})$. (c) Explain why the two answers are different.

Solution

(a) The condition is "studies French", so the denominator is $24$:

$$P(\text{German}\mid\text{French})=\frac{10}{24}=\frac{5}{12}\approx 0.417$$

(b) The condition is "studies German", so the denominator is $16$:

$$P(\text{French}\mid\text{German})=\frac{10}{16}=\frac{5}{8}=0.625$$

(c) The two probabilities have the same numerator — still the $10$ students who study both — but different denominators, because the condition specifies two groups of different sizes.

Put in words to make it easy to see: of the $24$ French students, $10$ also study German, about $42\%$. Of the $16$ German students, $10$ also study French, which is $62.5\%$. The German group is smaller, so the same $10$ students make up a larger proportion of that group.

A conclusion to remember: $P(A\mid B)$ and $P(B\mid A)$ are in general not equal. Swapping the two sides of a conditional probability is a real error, not a notation error.

Common mistake

Using the total as the denominator for a conditional probability. The question says "a student who studies French is chosen at random; find the probability that the student also studies German", and the working writes $\dfrac{10}{40}$. The number $40$ is the class total, but the question has already narrowed the sample space to the $24$ students who study French. This trap takes marks very reliably because $\dfrac{10}{40}=0.25$ looks entirely reasonable, and because the conditional clause is at the start of the sentence, where the eye skims fastest — the most important information is in the place read least carefully. How to block it: underline the phrase giving the condition ("who studies French", "given that", "of those who") before writing the fraction, and then ask "which group is the denominator?". That question has only one answer, and it is always the group you have just underlined.

Key takeaway

Fill in the Venn diagram from the intersection outwards, otherwise you will double count. The addition rule must subtract the intersection, unless the two events are mutually exclusive. And with conditional probability, the condition changes the denominator and not the numerator — so $P(A\mid B)$ and $P(B\mid A)$ are two different numbers.

← Combined events and tree diagrams · All IGCSE Mathematics lessons · Practice IGCSE Mathematics questions (free, instant scoring) · Averages and spread →