☰ IB Maths AI HL · course menu
Topics
IB Maths AI HL · free cheatsheet
Probability cheatsheet (IB Maths AI HL)
Every core rule of chance — the probability scale, complement, addition and conditional rules, independence, two-way tables, Venn and tree diagrams — plus HL Bayes' theorem, for IB Mathematics Applications & Interpretation HL. Written by an IB-certified teacher.
What this cheatsheet covers
Probability is the engine room of the Statistics & Probability strand in IB Mathematics Applications & Interpretation HL, and it is pure AI in spirit: you are asked to model uncertainty — a game, a survey, a medical test, a bag of counters — and then read a sensible number out of it. A calculator is always allowed, so almost no marks are for arithmetic. They live in choosing the right rule (add or multiply? condition on which event?), in picturing the situation with a Venn diagram, a two-way table or a tree, and in interpreting the answer in context.
This cheatsheet condenses SL 4.5–4.6 onto one page — the probability scale and sample space, complementary and combined events, the crucial difference between mutually exclusive and independent, conditional probability, two-way tables, Venn and tree diagrams, and the HL capstone of reversing a conditional with Bayes' theorem — and flags the traps that quietly cost method marks. The random-variable toolkit that builds on these rules (expected value, the binomial distribution and combining variables) lives on the companion Probability Distributions sheet.
The probability scale & sample space
SL 4.5Scale:$0\le P(A)\le 1$ — and all outcomes in a sample space sum to $1$.Theoretical:$P(A)=\dfrac{n(A)}{n(U)}$ — favourable outcomes over total equally likely outcomes.Experimental:$P(A)\approx\dfrac{\text{number of times }A\text{ occurs}}{\text{number of trials}}$ — the relative frequency.Expected number:Expected occurrences of $A$ in $n$ trials $=n\,P(A)$.
Every probability sits on a scale from $0$ (impossible) to $1$ (certain). The sample space $U$ is the list of all possible outcomes; for equally likely outcomes the theoretical probability is a simple count.
Complementary events
SL 4.5Complement:$P(A')=1-P(A)$"At least one":$P(\text{at least one})=1-P(\text{none})$ — usually far quicker than adding cases.
Every event $A$ pairs with its complement $A'$ ("not $A$"); together they fill the whole sample space, so their probabilities add to $1$.
Combined events: the addition rule
SL 4.6Addition rule:$P(A\cup B)=P(A)+P(B)-P(A\cap B)$Mutually exclusive:If $A$ and $B$ cannot both occur, $P(A\cap B)=0$, so $P(A\cup B)=P(A)+P(B)$.
For the union "$A$ or $B$ (or both)", the addition rule stops the overlap being counted twice.
Mutually exclusive vs independent
SL 4.6Independent union:$P(A\cup B)=P(A)+P(B)-P(A)\,P(B)$
These two ideas are constantly confused, yet they describe completely different situations. Mutually exclusive is about events that cannot coincide; independent is about events that do not influence each other.
| Mutually exclusive | Independent | |
|---|---|---|
| Meaning | cannot both occur | one has no effect on the other |
| Key equation | $P(A\cap B)=0$ | $P(A\cap B)=P(A)\,P(B)$ |
| Combine | ADD for "or" | MULTIPLY for "and" |
Conditional probability
SL 4.6Conditional:$P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}$ — restrict attention to $B$ only.Multiplication rule:Rearranged, $P(A\cap B)=P(B)\,P(A\mid B)=P(A)\,P(B\mid A)$.Independent case:If $A,B$ are independent, $P(A\mid B)=P(A)$ — the condition tells you nothing new.
Conditional probability rescales to a smaller world — the event you are told has already happened.
Two-way (contingency) tables
SL 4.5Unconditional:$P(A)=\dfrac{\text{row or column total}}{\text{grand total }N}$ — e.g. $P(\text{Bus})=\tfrac{20}{30}=\tfrac{2}{3}$.Conditional:$P(A\mid B)=\dfrac{n(A\cap B)}{n(B)}$ — one cell over its row/column total, e.g. $P(\text{Girl}\mid\text{Walk})=\tfrac{4}{10}$.
A two-way table cross-classifies a group by two features; every probability is just a count read straight from the grid. Fill in the margin totals first.
| Travel | Boy | Girl | Total |
|---|---|---|---|
| Bus | 12 | 8 | 20 |
| Walk | 6 | 4 | 10 |
| Total | 18 | 12 | 30 |
Venn diagrams
SL 4.5Only A / only B:$n(A)-n(A\cap B)$ and $n(B)-n(A\cap B)$ — strip out the shared middle.Neither:$N-n(A\cup B)=N-\big[\,\text{only }A+n(A\cap B)+\text{only }B\,\big]$
A Venn diagram shows the sample space as regions inside a box. Fill it from the overlap outwards: write the intersection first, then the single regions, then whatever is left over sits in "neither".
Tree diagrams: with & without replacement
SL 4.5Along a path:$P(\text{path})=$ product of that path's branch probabilities (an "and").Between paths:$P(\text{event})=$ sum of every path that produces it (an "or").With replacement:The counts reset, so every stage uses the same probabilities (independent draws).Without replacement:Reduce that outcome's count and the total by $1$ for the next stage (dependent draws).
A tree diagram lays out a sequence of stages. The rule is simple: multiply along the branches of one path, then add between the paths that give your event.
Reversing a conditional: Bayes' theorem
AHL 4.13Bayes:$P(A\mid D)=\dfrac{P(A)\,P(D\mid A)}{P(D)}$Total probability:$P(D)=P(A)\,P(D\mid A)+P(A')\,P(D\mid A')$ — sum every branch that reaches $D$.
A tree runs forwards — cause, then evidence. Often you want to run it backwards: given the evidence, how likely is the cause? Bayes' theorem does exactly this.
Exam attack plan
All sections
| Question cue | What to do | Watch for |
|---|---|---|
| "Find $P(A\cup B)$ / $A$ or $B$" | Addition rule $P(A)+P(B)-P(A\cap B)$ | Subtract the overlap once; mutually exclusive $\Rightarrow$ it is $0$ |
| "At least one …" | Complement $1-P(\text{none})$ | Usually far faster than adding every case |
| "Find $P(A\cap B)$ / $A$ and $B$" | Independent: $P(A)P(B)$; else $P(A)\,P(B\mid A)$ | Multiply only if the events are truly independent |
| "Given that …" | Conditional $P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}$ | Denominator is the given event, not $N$ |
| "Are $A$ and $B$ independent?" | Compare $P(A)P(B)$ with $P(A\cap B)$ | Equal $\Rightarrow$ independent; independent $\ne$ mutually exclusive |
| "How many do neither?" | Venn/table: $N-n(A\cup B)$ | Subtract the "both" count once from each circle |
| "Two draws without replacement" | Tree: multiply along, add across; reduce by $1$ | Second-stage denominators become $n-1$ |
| "Which cause, given the evidence?" | Bayes $\dfrac{P(A)P(D\mid A)}{P(D)}$, $P(D)=$ all routes | Posterior can be low for a rare cause |
Worked Example — Two Counters Without Replacement
Question (AI HL Paper 2 style — 7 marks)
A bag contains $5$ red and $3$ blue counters. Maya draws two counters at random, one after the other, without replacement.
(a) Find the probability that both counters are red.
(b) Find the probability that the two counters are different colours.
(c) Given that the second counter drawn is red, find the probability that the first counter was blue.
Solution
- (a) There are $8$ counters; after a red is removed, $4$ of the remaining $7$ are red: $P(\text{RR})=\dfrac{5}{8}\times\dfrac{4}{7}=\dfrac{20}{56}=\dfrac{5}{14}\approx0.357$. (M1)(A1)
- (b) "Different colours" is red-then-blue or blue-then-red: $P=\dfrac{5}{8}\times\dfrac{3}{7}+\dfrac{3}{8}\times\dfrac{5}{7}=\dfrac{15}{56}+\dfrac{15}{56}=\dfrac{30}{56}=\dfrac{15}{28}\approx0.536$. (M1)(A1) (Check: it also equals $1-P(\text{RR})-P(\text{BB})=1-\tfrac{20}{56}-\tfrac{6}{56}$.)
- (c) First find $P(\text{2nd red})$ from every path ending in red: $P(\text{2nd red})=\dfrac{20}{56}+\dfrac{3}{8}\times\dfrac{5}{7}=\dfrac{20}{56}+\dfrac{15}{56}=\dfrac{35}{56}$. (M1) Then $P(\text{1st blue}\mid\text{2nd red})=\dfrac{P(\text{1st blue}\cap\text{2nd red})}{P(\text{2nd red})}=\dfrac{15/56}{35/56}=\dfrac{15}{35}=\dfrac{3}{7}\approx0.429$. (M1)(A1)
Examiner's note: keep exact fractions or round to 3 s.f., and make sure every second-draw denominator drops to $7$ — that is what "without replacement" means. Part (c) is a reverse conditional: the denominator is $P(\text{2nd red})$, built from all the paths reaching a red second draw (total probability), not from a single branch.
Common Student Questions
- What is the difference between mutually exclusive and independent events?
- How do I know whether to add or to multiply?
- In a conditional probability, which number goes on the bottom?
- With replacement or without replacement — what actually changes?
- When do I need Bayes' theorem instead of a normal tree?
What is the difference between mutually exclusive and independent events?
How do I know whether to add or to multiply?
In a conditional probability, which number goes on the bottom?
With replacement or without replacement — what actually changes?
When do I need Bayes' theorem instead of a normal tree?
Your next step




