In Year 1 you worked with Venn diagrams, mutually exclusive events and independent events (see Probability and Venn Diagrams). Year 2 adds the idea of a probability that is conditional on something you already know.
| Notation | Meaning |
|---|---|
| $\mathrm{P}(A \cap B)$ | $A$ and $B$ both happen |
| $\mathrm{P}(A \cup B)$ | $A$ or $B$ or both happen |
| $\mathrm{P}(A')$ | $A$ does not happen; $\mathrm{P}(A') = 1 - \mathrm{P}(A)$ |
| $\mathrm{P}(A \mid B)$ | $A$ happens, given that $B$ has happened |
| $\mathrm{P}(A \mid B')$ | $A$ happens, given that $B$ has not happened |
With a two-way table of frequencies, conditional probability is just "restrict to one row or column, then count".
$120$ sixth-formers were asked how they travel to school.
| Bus | Car | Walk | Total | |
|---|---|---|---|---|
| Year 12 | 28 | 18 | 14 | 60 |
| Year 13 | 22 | 24 | 14 | 60 |
| Total | 50 | 42 | 28 | 120 |
A student is chosen at random. Find (a) $\mathrm{P}(\text{Bus} \mid \text{Year 12})$, (b) $\mathrm{P}(\text{Year 12} \mid \text{Bus})$, (c) whether "walks" and "Year 13" are independent.
Fill in a Venn diagram from the inside out: the intersection first, then the "only" regions, then the outside. Then $\mathrm{P}(A \mid B)$ is the overlap divided by the whole of circle $B$.
$\mathrm{P}(A) = 0.5$, $\mathrm{P}(B) = 0.4$ and $\mathrm{P}(A \cap B) = 0.15$. Find $\mathrm{P}(A \mid B)$, $\mathrm{P}(B \mid A)$, $\mathrm{P}(A \mid B')$ and $\mathrm{P}(B' \mid A')$.
$60$ students were asked whether they play football ($F$), tennis ($T$) or swim ($S$). The Venn diagram regions are: $F$ only $12$, $T$ only $8$, $S$ only $10$, $F \cap T$ only $5$, $F \cap S$ only $6$, $T \cap S$ only $4$, all three $3$, none $12$. Find $\mathrm{P}(F \mid S)$ and $\mathrm{P}(T \mid F \cap S)$.
Rearranging the definition gives the rule you have used on tree diagrams since GCSE. The probabilities on the second set of branches are conditional probabilities.
$2\%$ of a population have a disease $D$. A test gives a positive result for $95\%$ of people with the disease and for $8\%$ of people without it. A person tests positive. Find the probability that they have the disease.
A bag holds $5$ red and $3$ blue counters. Two are taken without replacement. Find $\mathrm{P}(\text{first red} \mid \text{second red})$.
$\mathrm{P}(A) = 0.4$, $\mathrm{P}(B) = 0.35$ and $\mathrm{P}(A \cup B) = 0.61$. Determine whether $A$ and $B$ are independent.
$\mathrm{P}(A) = 0.3$, $\mathrm{P}(B \mid A) = 0.6$ and $\mathrm{P}(B) = 0.46$. Find $\mathrm{P}(B \mid A')$.
The DfE content asks you to model with probability and to critique the assumptions made. Every probability calculation in context rests on assumptions β exam questions often ask you to name one and say whether it is reasonable.
| Assumption | Typical critique |
|---|---|
| Events are independent | Rain today makes rain tomorrow more likely; a player who misses a penalty may lose confidence. |
| Probabilities stay constant | A machine wears out; a learner improves with practice. |
| Probability estimated from data is exact | Relative frequency from a small sample is only an estimate. |
| Outcomes are equally likely | A real die or spinner may be biased. |
From past records, the probability that a train is late on any day is $0.15$. A commuter models the probability that the train is late on both Monday and Tuesday as $0.15^2 = 0.0225$. Comment on this model.
Definition
$\mathrm{P}(A \mid B) = \dfrac{\mathrm{P}(A \cap B)}{\mathrm{P}(B)}$
Multiplication rule
$\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B \mid A)$
Addition rule
$\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B) - \mathrm{P}(A \cap B)$
Independence
$\mathrm{P}(A \mid B) = \mathrm{P}(A)$, or $\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B)$.
Mutually exclusive
$\mathrm{P}(A \cap B) = 0$ β not the same as independent.
Two-way table
Restrict to the row or column of the "given" event.
Venn diagram
Fill in from the intersection outwards; divide by the given region.
Tree diagram
Second-level branches are conditional probabilities.
Reverse condition
$\mathrm{P}(A \mid B) = \dfrac{\mathrm{P}(A)\,\mathrm{P}(B \mid A)}{\mathrm{P}(B)}$
Ten questions, from routine to exam-style. Work each one through before opening the solution.
$\mathrm{P}(A) = 0.6$, $\mathrm{P}(B) = 0.5$ and $\mathrm{P}(A \cap B) = 0.2$. Find $\mathrm{P}(A \mid B)$ and $\mathrm{P}(B \mid A)$.
βΆ Show solution
$\mathrm{P}(A \mid B) = \dfrac{0.2}{0.5} = 0.4$
$\mathrm{P}(B \mid A) = \dfrac{0.2}{0.6} = \dfrac{1}{3}$
$80$ people were surveyed.
| Glasses | No glasses | Total | |
|---|---|---|---|
| Right-handed | 26 | 42 | 68 |
| Left-handed | 4 | 8 | 12 |
| Total | 30 | 50 | 80 |
Find (a) $\mathrm{P}(\text{glasses} \mid \text{left-handed})$, (b) $\mathrm{P}(\text{left-handed} \mid \text{glasses})$, (c) whether being left-handed is independent of wearing glasses.
βΆ Show solution
(a) $\dfrac{4}{12} = \dfrac{1}{3}$
(b) $\dfrac{4}{30} = \dfrac{2}{15}$
(c) $\mathrm{P}(\text{left}) = \dfrac{12}{80} = \dfrac{3}{20} = 0.15$, but $\mathrm{P}(\text{left} \mid \text{glasses}) = \dfrac{2}{15} \approx 0.133$. These differ, so the events are not independent (for this sample).
$\mathrm{P}(A) = 0.25$, $\mathrm{P}(B) = 0.6$ and $\mathrm{P}(A \cap B) = 0.15$. Show that $A$ and $B$ are independent, and write down $\mathrm{P}(A \mid B')$.
βΆ Show solution
$\mathrm{P}(A)\,\mathrm{P}(B) = 0.25 \times 0.6 = 0.15 = \mathrm{P}(A \cap B)$, so independent.
If $A$ and $B$ are independent, so are $A$ and $B'$. Hence $\mathrm{P}(A \mid B') = \mathrm{P}(A) = 0.25$.
Check: $\mathrm{P}(A \cap B') = 0.25 - 0.15 = 0.1$ and $\mathrm{P}(B') = 0.4$, giving $0.1 / 0.4 = 0.25$ β
The probability that it rains on a given day is $0.4$. If it rains, the probability that Sam is late for work is $0.3$; if it does not rain, it is $0.1$. Find the probability that Sam is late, and the probability that it rained given that Sam was late.
βΆ Show solution
$\mathrm{P}(L) = 0.4 \times 0.3 + 0.6 \times 0.1 = 0.12 + 0.06 = 0.18$
$\mathrm{P}(R \mid L) = \dfrac{0.12}{0.18} = \dfrac{2}{3}$
A box contains $4$ green and $6$ yellow counters. Two are taken at random without replacement. Find the probability that both are green, given that they are the same colour.
βΆ Show solution
$\mathrm{P}(GG) = \dfrac{4}{10} \times \dfrac{3}{9} = \dfrac{12}{90}$, $\mathrm{P}(YY) = \dfrac{6}{10} \times \dfrac{5}{9} = \dfrac{30}{90}$
$\mathrm{P}(\text{same}) = \dfrac{42}{90} = \dfrac{7}{15}$
$\mathrm{P}(GG \mid \text{same}) = \dfrac{12/90}{42/90} = \dfrac{12}{42} = \dfrac{2}{7}$
$\mathrm{P}(A) = 0.45$, $\mathrm{P}(B) = 0.3$ and $\mathrm{P}(A \cup B) = 0.6$. Find (a) $\mathrm{P}(A \mid B)$, (b) $\mathrm{P}(B \mid A')$. (c) Are $A$ and $B$ independent?
βΆ Show solution
$\mathrm{P}(A \cap B) = 0.45 + 0.3 - 0.6 = 0.15$
(a) $\mathrm{P}(A \mid B) = \dfrac{0.15}{0.3} = 0.5$
(b) $\mathrm{P}(B \cap A') = 0.3 - 0.15 = 0.15$ and $\mathrm{P}(A') = 0.55$, so $\mathrm{P}(B \mid A') = \dfrac{0.15}{0.55} = \dfrac{3}{11}$.
(c) $\mathrm{P}(A \mid B) = 0.5 \neq 0.45 = \mathrm{P}(A)$, so not independent.
Using the football ($F$), tennis ($T$), swimming ($S$) data from Worked Example 3, find (a) the probability that a student plays exactly two sports, given that they play tennis, (b) $\mathrm{P}(F \mid T')$.
βΆ Show solution
(a) Total in $T$: $8 + 5 + 4 + 3 = 20$. Exactly two sports within $T$: $5 + 4 = 9$. Probability $= \dfrac{9}{20}$.
(b) Not in $T$: $60 - 20 = 40$. Of these, in $F$: $12 + 6 = 18$. $\mathrm{P}(F \mid T') = \dfrac{18}{40} = \dfrac{9}{20}$.
$\mathrm{P}(A) = 0.4$, $\mathrm{P}(B \mid A) = 0.25$ and $\mathrm{P}(B \mid A') = 0.5$. Find $\mathrm{P}(B)$ and $\mathrm{P}(A \mid B)$.
βΆ Show solution
$\mathrm{P}(B) = 0.4 \times 0.25 + 0.6 \times 0.5 = 0.1 + 0.3 = 0.4$
$\mathrm{P}(A \mid B) = \dfrac{0.1}{0.4} = 0.25$
$A$ and $B$ are independent, with $\mathrm{P}(B) = 0.3$ and $\mathrm{P}(A \cup B) = 0.58$. Find $\mathrm{P}(A)$.
βΆ Show solution
Let $\mathrm{P}(A) = p$. Independence gives $\mathrm{P}(A \cap B) = 0.3p$.
$p + 0.3 - 0.3p = 0.58 \Rightarrow 0.7p = 0.28 \Rightarrow p = 0.4$
A condition affects $1.5\%$ of adults. A screening test is positive for $90\%$ of adults with the condition and for $6\%$ of adults without it.
(a) Find the probability that a randomly chosen adult tests positive. (b) Given a positive result, find the probability that the adult has the condition. (c) Given a negative result, find the probability that the adult does not have the condition. (d) Anyone testing positive takes a second, identical test. Assuming the results are independent for a given person, find the probability that someone with two positive results has the condition. (e) Comment on the independence assumption.
βΆ Show solution
(a) $\mathrm{P}(+) = 0.015 \times 0.9 + 0.985 \times 0.06 = 0.0135 + 0.0591 = 0.0726$
(b) $\mathrm{P}(C \mid +) = \dfrac{0.0135}{0.0726} = 0.186$ (3 s.f.)
(c) $\mathrm{P}(C' \cap -) = 0.985 \times 0.94 = 0.9259$ and $\mathrm{P}(-) = 1 - 0.0726 = 0.9274$, so $\mathrm{P}(C' \mid -) = \dfrac{0.9259}{0.9274} = 0.998$ (3 s.f.).
(d) $\mathrm{P}(C \cap {+}{+}) = 0.015 \times 0.9^2 = 0.01215$; $\mathrm{P}(C' \cap {+}{+}) = 0.985 \times 0.06^2 = 0.003546$.
$\mathrm{P}(C \mid {+}{+}) = \dfrac{0.01215}{0.01215 + 0.003546} = 0.774$ (3 s.f.)
(e) It may not be reasonable: whatever caused a false positive the first time (for example another medical condition) may well cause one again, so the two results for the same person are likely to be positively related. The true value of $\mathrm{P}(C \mid {+}{+})$ would then be lower than $0.774$.