impera Open Impera

A levels Mathematics · Statistics

Probability and conditional probability

1Basic probability

The probability of an event $A$ is a number between 0 and 1. For equally likely outcomes,

$$P(A) = \frac{\text{number of outcomes in } A}{\text{total number of outcomes}}$$

The complement of $A$, written $A'$, means "not $A$": $P(A') = 1 - P(A)$.

Key notation:

  • $A \cap B$: $A$ and $B$ (intersection);
  • $A \cup B$: $A$ or $B$ or both (union).

The addition rule:

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

Check yourself

P(A) = 0.35. What is P(A')?

  • 0.65

  • 1.35

  • 0

  • 0.35

Show the answer

0.65

The probabilities sum to 1.

2Venn diagrams

A Venn diagram shows events as overlapping circles inside a rectangle (the sample space).

Worked example

Filling a Venn diagram

  1. $P(A) = 0.5$, $P(B) = 0.4$, $P(A \cap B) = 0.15$.
  2. $A$ only: $0.5 - 0.15 = 0.35$. $B$ only: $0.4 - 0.15 = 0.25$.
  3. Neither: $1 - 0.35 - 0.15 - 0.25 = 0.25$.
  4. $P(A \cup B) = 0.5 + 0.4 - 0.15 = 0.75$.

P(A) = 0.35 + 0.15 = 0.5 and P(B) = 0.15 + 0.25 = 0.4. The four regions add up to 1.

Always fill in the intersection first, then work outwards.

Check yourself

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

  • 0.9

  • 0.7

  • 0.8

  • 1.0

Show the answer

0.8

0.6 + 0.3 − 0.1.

3Mutually exclusive and independent events

  • Mutually exclusive events cannot happen together: $P(A \cap B) = 0$, so $P(A \cup B) = P(A) + P(B)$.
  • Independent events do not affect each other: $P(A \cap B) = P(A) \times P(B)$.
Worked example

Testing independence

  1. Using the Venn diagram values: $P(A) \times P(B) = 0.5 \times 0.4 = 0.2$.
  2. $P(A \cap B) = 0.15 \neq 0.2$.
  3. So $A$ and $B$ are not independent.

Do not confuse the two: mutually exclusive events (with non-zero probabilities) are never independent, because one happening rules out the other.

Check yourself

How do you show events A and B are independent?

  • Show P(A ∩ B) = P(A) × P(B)

  • Show P(A) = P(B)

  • Show P(A ∪ B) = 1

  • Show P(A ∩ B) = 0

Show the answer

Show P(A ∩ B) = P(A) × P(B)

The multiplication rule.

4Conditional probability

The probability of $A$ given that $B$ has happened is

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

Knowing $B$ has happened shrinks the sample space to $B$.

Worked example

From a Venn diagram

  1. $P(A \cap B) = 0.15$, $P(B) = 0.4$.
  2. $P(A \mid B) = \frac{0.15}{0.4} = 0.375$.
Worked example

From a two-way table

  1. Of 200 students, 80 study French; 30 of those also study Spanish.
  2. $P(\text{Spanish} \mid \text{French}) = \frac{30}{80} = 0.375$.

If $A$ and $B$ are independent, $P(A \mid B) = P(A)$: knowing $B$ tells you nothing about $A$.

Check yourself

What is P(A | B) if P(A ∩ B) = 0.2 and P(B) = 0.5?

  • 0.4

  • 2.5

  • 0.7

  • 0.1

Show the answer

0.4

0.2 ÷ 0.5.

5Tree diagrams

Tree diagrams show events in stages. Multiply along branches; add the results for different routes.

The probabilities on the second set of branches are conditional on the first outcome.

Worked example

Without replacement

  1. A bag has 5 red and 3 blue counters. Two are taken without replacement.
  2. $P(\text{both red}) = \frac{5}{8} \times \frac{4}{7} = \frac{20}{56} = \frac{5}{14}$.
  3. $P(\text{both blue}) = \frac{3}{8} \times \frac{2}{7} = \frac{6}{56}$.
  4. $P(\text{same colour}) = \frac{20}{56} + \frac{6}{56} = \frac{26}{56} = \frac{13}{28}$.
Worked example

Working backwards

  1. $P(\text{second is red} \mid \text{same colour}) = \dfrac{P(\text{both red})}{P(\text{same colour})} = \dfrac{20/56}{26/56} = \frac{10}{13}$.
Check yourself

On a tree diagram, how do you combine probabilities along one route?

  • Add them

  • Multiply them

  • Subtract them

  • Divide them

Show the answer

Multiply them

Then add different routes.

6Modelling with probability

Probability models rely on assumptions, such as outcomes being equally likely or events being independent.

Worked example

Questioning a model

  1. A model assumes that each day's chance of rain is 0.3, independently.
  2. $P(\text{rain on 3 days in a row}) = 0.3^3 = 0.027$.
  3. Criticism: weather on consecutive days is not independent, so the true value is probably higher.

The expected frequency of an event in $n$ trials is $n \times P(A)$. Comparing expected and observed frequencies is a way to check a model.

Check yourself

Why might independence fail in a weather model?

  • Weather on one day affects the next

  • Rain is impossible to predict

  • Probabilities cannot be multiplied

  • Independence always holds

Show the answer

Weather on one day affects the next

Weather systems last several days.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera