IB · International Baccalaureate
✓ Official Syllabus VerifiedStandards & Rigor ↗
4

Statistics & Probability

IB Mathematics SL P1 & P2 AA SL AI SL

Topic 4 encompasses descriptive statistics, combinatorics, probability axioms, discrete and continuous random variables, and bivariate regression modelling. Mastery demands both algebraic rigor and precise GDC execution.

● Level 1 Foundation — Descriptive Statistics & Probability Axioms

Measures of Central Tendency & Dispersion:

  • Mean (from frequency distribution): \[ \bar{x} = \frac{\sum f_i x_i}{\sum f_i} = \frac{\sum f_i x_i}{n}. \]
  • Variance & Standard Deviation: \[ \sigma^2 = \frac{\sum f_i (x_i - \bar{x})^2}{n} = \frac{\sum f_i x_i^2}{n} - \bar{x}^2, \quad \sigma = \sqrt{\sigma^2}. \]
  • Interquartile Range & Outliers: IQR = Q_3 - Q_1. A data value x is an outlier if: \[ x < Q_1 - 1.5 \times IQR \quad \text{or} \quad x > Q_3 + 1.5 \times IQR. \]

Combinatorics & Probability Laws:

  • Permutations (Order Matters): \({}^n P_r = \frac{n!}{(n - r)!}\).
  • Combinations (Order Does Not Matter): \({}^n C_r = \binom{n}{r} = \frac{n!}{r!(n - r)!}\).
  • Addition Rule: \[ P(A \cup B) = P(A) + P(B) - P(A \cap B). \] For mutually exclusive events, \(P(A \cap B) = 0 \implies P(A \cup B) = P(A) + P(B)\).
  • Conditional Probability: \[ P(A \mid B) = \frac{P(A \cap B)}{P(B)} \iff P(A \cap B) = P(B)P(A \mid B). \]
  • Independence Criterion: Events \(A\) and \(B\) are independent if and only if \(P(A \cap B) = P(A)P(B)\), which is equivalent to \(P(A \mid B) = P(A)\).
Normal distribution \(X\) ~ \(N(168, 6.5^{2})\) showing the upper tail region \(X > 175\) used in IB Paper 2 GDC normcdf and invNorm quantile problems.
● Level 2 Analytical Tools — Binomial & Normal Distributions

Discrete Random Variable \(X\): A mapping from the sample space to \(\mathbb{R}\) with probability mass function \(P(X = x)\) satisfying \(0 \le P(X = x) \le 1\) and \(\sum P(X = x) = 1\). Expected value (mean) and variance:

\[ E(X) = \mu = \sum x P(X = x), \quad \text{Var}(X) = \sigma^2 = E(X^2) - [E(X)]^2 = \sum x^2 P(X = x) - \mu^2. \]

Binomial Distribution \(X \sim B(n, p)\): Models the number of successes in \(n\) independent Bernoulli trials each having constant success probability \(p\):

\[ P(X = k) = \binom{n}{k} p^k (1 - p)^{n - k} \quad \text{for } k = 0, 1, 2, \dots, n. \]

Key parameters: \[ E(X) = np, \quad \text{Var}(X) = np(1 - p), \quad \sigma = \sqrt{np(1 - p)}. \]

Continuous Normal Distribution \(X \sim N(\mu, \sigma^2)\): Characterised by the bell-shaped density curve symmetric about \(\mu\), with points of inflection at \(x = \mu \pm \sigma\). The standardised variable is:

\[ Z = \frac{X - \mu}{\sigma} \sim N(0, 1). \]

Any probability \(P(a \le X \le b)\) equals \(P\left(\frac{a - \mu}{\sigma} \le Z \le \frac{b - \mu}{\sigma}\right)\). Symmetry identities: \(P(Z < -z) = P(Z > z) = 1 - P(Z < z)\).

⊙ Explorer · The Binomial distribution
interactive
mean \(\mu\) = np\(3.60\)
\(P(X = k)\)\(0.2311\)

Default n = 12, p = 0.30, k = 4 matches the Practice Problem below exactly (P(X=4) ≈ 0.2311, mean = 3.6). Each bar's height is \(\binom{n}{k}p^k(1-p)^{n-k}\) — the counting factor \(\binom{n}{k}\) from the combinations definition above, multiplied by the probability of any one specific sequence with exactly k successes. Drag k past n and the bar (and probability) simply vanish — there's no such outcome.

⊙ Explorer · The Normal distribution
interactive
\(z\)-score\(0.000\)
\(P(X \le x)\)\(0.5000\)

The bell curve is symmetric around the mean \(\mu\); moving \(x\) shades the cumulative area \(P(X \le x)\) and updates the \(z\)-score \(z = (x - \mu) / \sigma\). Try setting \(x\) to \(\mu + \sigma\), \(\mu + 2\sigma\), and \(\mu + 3\sigma\) to see the 68–95–99.7 empirical rule live.

● Level 3 University Rigor — Bivariate Data, Pearson \(r\) & Regression Invariants

Pearson's Product-Moment Correlation Coefficient \(r\): Measures the strength and direction of linear association between paired variables \((x_i, y_i)\):

\[ r = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum(x_i - \bar{x})^2 \sum(y_i - \bar{y})^2}} = \frac{s_{xy}}{s_x s_y}, \quad -1 \le r \le 1. \]

The coefficient of determination \(r^2\) represents the proportion of total variation in \(y\) explained by the linear relationship with \(x\).

Least Squares Regression Line (LSRL) of \(y\) on \(x\): \[ \hat{y} = mx + c, \quad \text{where } m = \frac{s_{xy}}{s_x^2} = r\frac{s_y}{s_x}. \]

Theorem (Mean Center Invariant): The least-squares regression line of \(y\) on \(x\) must pass through the mean point \((\bar{x}, \bar{y})\). That is, \(\bar{y} = m\bar{x} + c\).

Reliability Guidelines: Predictions made within the range of observed \(x\)-values (interpolation) are reliable if \(|r|\) is sufficiently close to 1. Predictions outside the observed range (extrapolation) are inherently hazardous because the linear trend cannot be assumed to persist indefinitely. Never use the regression line of \(y\) on \(x\) to estimate \(x\) from \(y\) (the line of \(x\) on \(y\) is required for that purpose).

◆ Why It Works — First-Principles Derivation (Statistics & Probability)

Why Bayes' Theorem & Principle of Inclusion-Exclusion Work: Any event \(B\) can be partitioned into disjoint intersections \(B = (B \cap A) \cup (B \cap A')\). By additivity of mutually exclusive events and the multiplication rule \(P(A \cap B) = P(B \mid A)P(A)\):

\[ P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{P(B \mid A)P(A)}{P(B \mid A)P(A) + P(B \mid A')P(A')} \]

Similarly, in counting \(|A \cup B|\), summing \(|A| + |B|\) counts every element in \(A \cap B\) twice; subtracting \(|A \cap B|\) once restores exact cardinality: \(P(A \cup B) = P(A) + P(B) - P(A \cap B)\).

Worked Example 4.1 — Permutations & Combinations in Probability
Problem. A committee of 5 is to be chosen at random from a group of 6 teachers and 8 students.
(a) Find the total number of different committees that can be formed.
(b) Find the probability that the committee contains exactly 2 teachers and 3 students.
(c) Find the probability that the committee contains at least 3 teachers.
▸ Show step-by-step solution

(a) Total members = \(6 + 8 = 14\). Since order does not matter:
\[ \text{Total committees} = \binom{14}{5} = \frac{14!}{5! \, 9!} = \frac{14 \times 13 \times 12 \times 11 \times 10}{5 \times 4 \times 3 \times 2 \times 1} = 2002. \]

(b) Number of favorable committees with 2 teachers and 3 students:
\[ N = \binom{6}{2} \times \binom{8}{3} = 15 \times 56 = 840. \]
\[ P(\text{2 teachers, 3 students}) = \frac{840}{2002} = \frac{60}{143} \approx 0.4196. \]

(c) "At least 3 teachers" means 3, 4, or 5 teachers:
\[ N_3 = \binom{6}{3}\binom{8}{2} = 20 \times 28 = 560. \]
\[ N_4 = \binom{6}{4}\binom{8}{1} = 15 \times 8 = 120. \]
\[ N_5 = \binom{6}{5}\binom{8}{0} = 6 \times 1 = 6. \]
Total favorable = \(560 + 120 + 6 = 686\).
\[ P(\text{at least 3 teachers}) = \frac{686}{2002} = \frac{49}{143} \approx 0.3427. \]

Worked Example 4.2 — Normal Distribution Unknown Parameters
Problem. The mass \(X\) of adult apples produced in an orchard is normally distributed with mean \(\mu\) and standard deviation \(\sigma\). Given that \(P(X < 140) = 0.08\) and \(P(X > 210) = 0.05\), find the exact values of \(\mu\) and \(\sigma\) to three significant figures.
▸ Show step-by-step solution

1. Convert given probabilities to standard normal \(Z = \frac{X - \mu}{\sigma}\):
\(P(X < 140) = 0.08 \implies P(Z < z_1) = 0.08\).
Using GDC `invNorm(0.08, 0, 1)`: \[ z_1 = -1.4051. \]
For the upper tail: \(P(X > 210) = 0.05 \implies P(X < 210) = 0.95 \implies P(Z < z_2) = 0.95\).
Using GDC `invNorm(0.95, 0, 1)`: \[ z_2 = 1.6449. \]

2. Form a system of linear equations in \(\mu\) and \(\sigma\):
\[ \frac{140 - \mu}{\sigma} = -1.4051 \implies 140 - \mu = -1.4051\sigma \implies \mu - 1.4051\sigma = 140. \]
\[ \frac{210 - \mu}{\sigma} = 1.6449 \implies 210 - \mu = 1.6449\sigma \implies \mu + 1.6449\sigma = 210. \]

3. Subtract the first equation from the second:
\[ (1.6449 - (-1.4051))\sigma = 210 - 140 \implies 3.0500\sigma = 70 \implies \sigma = \frac{70}{3.0500} \approx 22.95 \approx 23.0\text{ g}. \]

4. Substitute \(\sigma\) back to determine \(\mu\):
\[ \mu = 210 - 1.6449(22.951) = 210 - 37.752 \approx 172.25 \approx 172\text{ g}. \]

Conclusion: \(\mu = 172\text{ g}\) and \(\sigma = 23.0\text{ g}\) (to 3 s.f.).

Grouped frequency histogram illustrating center, spread, and shape of quantitative data.
⚠ Topic 4 Exam Traps: Discrete Bounds, Standardisation & Regression Predictions
Binomial Strict vs Inclusive Inequalities: Because \(X\) is discrete, \(P(X \ge 5) = 1 - P(X \le 4)\), NOT \(1 - P(X \le 5)\). Similarly, \(P(X > 5) = 1 - P(X \le 5)\). Always sketch a quick number line for discrete sums.

Negative Z-scores: When finding unknown \(\mu\) or \(\sigma\) from a lower tail probability \(< 0.5\), remember that \(z\) must be negative. Omitting the minus sign creates non-physical negative standard deviations.

Regression Directionality: The regression line of \(y\) on \(x\) can ONLY be used to predict \(y\) from \(x\). Rearranging \(\hat{y} = mx + c\) algebraically to solve for \(x\) given \(y\) violates least-squares minimization and earns 0 marks on Paper 2.
Past-Paper Idea Matrix & Official Markscheme Worked Example — Topic 4 (Statistics & Probability)
Problem. High-Frequency IB Past-Paper Ideas (SL 4.1–4.9):
▸ Show step-by-step solution
SubtopicClassic Past-Paper Question PatternExaminer Trap to Avoid
SL 4.2–4.3 Cumulative Frequency & Linear ScalingReading percentiles, IQR, and outlier fences \([Q_1 - 1.5\text{IQR}, Q_3 + 1.5\text{IQR}]\); transforming data \(y = ax + b \implies \bar{y} = a\bar{x} + b\), \(s_y = |a|s_x\), \(s_y^2 = a^2 s_x^2\).Adding \(+b\) to standard deviation or variance! Translation \(b\) shifts only measures of position, never spread.
SL 4.4 Linear RegressionUsing \(y\)-on-\(x\) line to estimate \(y\) given \(x\), and \(x\)-on-\(y\) line to estimate \(x\) given \(y\); passing through \((\bar{x}, \bar{y})\).Extrapolating outside the sample domain without noting it is unreliable.
SL 4.7–4.9 Binomial & NormalTwo-stage probability: finding \(p = P(X > c)\) from a Normal distribution, then substituting \(p\) into a Binomial \(Y \sim \text{B}(n, p)\) ("at least 2 out of 5 items").Rounding the intermediate probability \(p\) to 2 s.f. before running binomcdf (always keep 5+ digits internally!).

Worked Example (AA/AI SL Paper 2 — 7 marks):
The masses of apples from an orchard follow \(M \sim \text{N}(180, \sigma^2)\) grams. Given that \(15\%\) of apples have mass greater than \(195\text{ g}\):
(a) Find the value of \(\sigma\). [3]
(b) Twelve apples are chosen at random. Find the probability that at least three of them have a mass greater than \(195\text{ g}\). [4]

Official IB Markscheme Solution:
(a) \(P(M > 195) = 0.15 \implies P(Z < z) = 0.85 \implies z = \text{invNorm}(0.85) = 1.03643\) [M1] [A1]
\(\frac{195 - 180}{\sigma} = 1.03643 \implies \sigma = \frac{15}{1.03643} = 14.5\text{ g}\) (3 s.f.) [A1]
(b) Let \(Y \sim \text{B}(12, 0.15)\) be the number of apples heavier than \(195\text{ g}\) [M1]
\(P(Y \ge 3) = 1 - P(Y \le 2) = 1 - \text{binomcdf}(12, 0.15, 2)\) [M1]
\(= 1 - 0.7358 = 0.264\) (3 s.f.) [A1] [A1]

Worked Example 4.4 — Standardizing Normal Percentiles to Find μ and σ
Problem. Let \( X \sim N(\mu, \sigma^2) \) with \( P(X < 40) = 0.1587 \) and \( P(X > 70) = 0.0228 \). Find \( \mu \) and \( \sigma \).
▸ Show step-by-step solution

Inverse normal gives \( \frac{40 - \mu}{\sigma} = -1.00 \) and \( \frac{70 - \mu}{\sigma} = 2.00 \). Subtracting gives \( 3\sigma = 30 \implies \sigma = 10 \) and \( \mu = 50 \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Statistics & Probability)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Using \(P(A \cap B) = 0\) when told \(A\) and \(B\) are independentConfuses disjoint (mutually exclusive) events with statistically independent events.For independent events, multiply probabilities: \(P(A \cap B) = P(A)\cdot P(B)\).
Dividing by the grand total \(N\) when computing \(P(A \mid B)\) from a tableComputes the joint probability \(P(A \cap B)\) instead of conditioning on subset \(B\).Restrict the denominator strictly to the row/column total of the given condition \(B\).
Using permutations \({}^nP_r\) when selecting a committee with no distinct rolesOvercounts every group of size \(r\) by \(r!\) internal orderings.Divide by \(r!\) to use combinations: \(\binom{n}{r} = \frac{n!}{r!(n-r)!}\).
▲ Exam Pacing & Verification Strategy — Statistics & Probability

Exam Strategy (IB Diploma Mathematics: Analysis & Approaches / Applications & Interpretation SL): Whenever a probability problem involves "at least one" success across multiple trials, immediately use the Complement Rule: \(P(\text{at least one}) = 1 - P(\text{none})\). It turns a multi-case sum into a single calculation.

Practice 4.1: A multiple-choice examination consists of 20 independent questions, each having 4 options of which only one is correct. A student guesses randomly on all questions. Let \(X\) be the number of correct answers.
(a) State the distribution of \(X\) including its parameters.
(b) Find the probability that the student passes by scoring at least 10 correct answers.
(c) Calculate the mean and standard deviation of \(X\).
💡 Hint 1 of 3
(a) \(X \sim B(n, p)\) with \(n = 20\) and \(p = 0.25\).
💡 Hint 2 of 3
(b) \(P(X \ge 10) = 1 - P(X \le 9)\). Using GDC `binomcdf(20, 0.25, 9)`: \(P(X \le 9) \approx 0.9861\). \(P(X \ge 10) = 1 - 0.9861 = 0.0139 \quad (1.39\%)\) (c) Mean: \(\mu = np = 20 \times 0.25\).
💡 Hint 3 of 3
Standard deviation: \(\sigma = \sqrt{np(1 - p)} = \sqrt{20 \times 0.25 \times 0.75} = \sqrt{3.75}\).
(a) \(X \sim B(n, p)\) with \(n = 20\) and \(p = 0.25\).
(b) \(P(X \ge 10) = 1 - P(X \le 9)\).
Using GDC `binomcdf(20, 0.25, 9)`: \(P(X \le 9) \approx 0.9861\).
\[ P(X \ge 10) = 1 - 0.9861 = 0.0139 \quad (1.39\%). \]
(c) Mean: \(\mu = np = 20 \times 0.25 = 5\).
Standard deviation: \(\sigma = \sqrt{np(1 - p)} = \sqrt{20 \times 0.25 \times 0.75} = \sqrt{3.75} \approx 1.936 \approx 1.94\).
Practice 4.2: Bivariate data for study hours \(x\) and exam mark \(y\) across 10 students yield \(\bar{x} = 14.5\), \(\bar{y} = 72.0\), and Pearson's correlation coefficient \(r = 0.88\). The regression line of \(y\) on \(x\) has equation \(y = 2.4x + c\).
(a) Find the value of \(c\).
(b) Interpret the slope \(2.4\) in context.
(c) Estimate the exam mark of a student who studies 18 hours.
💡 Hint 1 of 3
(a) The regression line must pass through the mean point \((\bar{x}, \bar{y}) = (14.5, 72.0)\): \(72.0 = 2.4(14.5) + c \implies 72.0 = 34.8 + c \implies c = 72.0 - 34.8\).
💡 Hint 2 of 3
Thus \(y = 2.4x + 37.2\). (b) The slope \(2.4\) indicates that for each additional hour of study, a student's predicted exam mark increases by 2.4 marks.
💡 Hint 3 of 3
(c) For \(x = 18\): \(\hat{y} = 2.4(18) + 37.2 = 43.2 + 37.2\).
(a) The regression line must pass through the mean point \((\bar{x}, \bar{y}) = (14.5, 72.0)\):
\[ 72.0 = 2.4(14.5) + c \implies 72.0 = 34.8 + c \implies c = 72.0 - 34.8 = 37.2. \]
Thus \(y = 2.4x + 37.2\).

(b) The slope \(2.4\) indicates that for each additional hour of study, a student's predicted exam mark increases by 2.4 marks.

(c) For \(x = 18\):
\[ \hat{y} = 2.4(18) + 37.2 = 43.2 + 37.2 = 80.4\text{ marks}. \]
[Practice 3 · Medium] The box plot below shows the distribution of scores for a class of 30 students on a recent test. The interquartile range (IQR) is 22 marks. The median score is 75 marks. The minimum score is 30 marks, and the maximum score is 98 marks. Let the first quartile be denoted by \( Q_1 \) and the third quartile be denoted by \( Q_3 \). If the upper whisker extends to 98 marks, and the third quartile \( Q_3 \) is 86 marks, find the value of \( Q_1 \).
💡 Hint 1 of 3
The interquartile range (IQR) is defined as the difference between the third quartile (\( Q_3 \)) and the first quartile (\( Q_1 \)), i.e., \( \text{IQR} = Q_3 - Q_1 \).
💡 Hint 2 of 3
We are given that the IQR is 22 marks. We are also given that the third quartile \( Q_3 = 86 \) marks. Substituting these values into the formula, we get: \( 22 = 86 - Q_1 \) To find \( Q_1 \), we rearrange the equation: \( Q_1 = 86 - 22 \) \( Q_1 = 64 \).
💡 Hint 3 of 3
Therefore, the first quartile is 64 marks.
The interquartile range (IQR) is defined as the difference between the third quartile (\( Q_3 \)) and the first quartile (\( Q_1 \)), i.e., \( \text{IQR} = Q_3 - Q_1 \). We are given that the IQR is 22 marks. We are also given that the third quartile \( Q_3 = 86 \) marks. Substituting these values into the formula, we get: \( 22 = 86 - Q_1 \) To find \( Q_1 \), we rearrange the equation: \( Q_1 = 86 - 22 \) \( Q_1 = 64 \) Therefore, the first quartile is 64 marks. Common errors might include misinterpreting the median as \( Q_1 \) or \( Q_3 \), or incorrectly using the minimum or maximum values in the IQR calculation.
[Practice 4 · Medium] An arithmetic sequence has first term \( u_1=4 \) and common difference \( d=-4 \). Find \( S_{12} \), the sum of the first 12 terms.
💡 Hint 1 of 3
Start from the relation: \(S_n=\dfrac{n}{2}(2u_1+(n-1)d)\).
💡 Hint 2 of 3
Substitute and simplify: \(S_{12} = \dfrac{12}{2}(2(4)+(12-1)(-4))\).
💡 Hint 3 of 3
Evaluate the simplified expression: \(S_{12} = \dfrac{12}{2}(2(4)+(12-1)(-4))\).
\( S_n=\dfrac{n}{2}(2u_1+(n-1)d) \Rightarrow S_{12}=\dfrac{12}{2}(2(4)+(12-1)(-4))=-216 \).
The following bar chart shows the number of students who achieved different grades in a mathematics test.\nThe grades are A, B, C, and D. The data is as follows: Grade A: 14 students, Grade B: 22 students, Grade C: 18 students, Grade D: 26 students.\nWhat is the total number of students who took the test?
💡 Hint 1 of 3
To find the total number of students who took the test, we need to sum the number of students who achieved each grade.
💡 Hint 2 of 3
Number of students with Grade A = 14 Number of students with Grade B = 22 Number of students with Grade C = 18 Number of students with Grade D = 26 Total number of students = 14 + 22 + 18 + 26 = 80.
💡 Hint 3 of 3
Therefore, 80 students took the test.
To find the total number of students who took the test, we need to sum the number of students who achieved each grade.\nNumber of students with Grade A = 14\nNumber of students with Grade B = 22\nNumber of students with Grade C = 18\nNumber of students with Grade D = 26\nTotal number of students = 14 + 22 + 18 + 26 = 80.\nTherefore, 80 students took the test. [M1] [A1]

Statistics & Probability — 8-Mark Structured Problem

8 pts Calculator Active
For Statistics & Probability, consider the linear-rate relationship \(f(x) = 4x + 6\) on \(x \ge 0\) together with the quadratic auxiliary \(g(x) = x^2 - 8x + 6\).
  1. (a)2 pts
    Find the initial value \(f(0)\) and the slope \(f'(x)\).
    Scoring Guideline & Justification
    • [M1] Evaluates f(0) and reads gradient coefficient (1 pt)
    • [A1] Obtains f(0) = 6 and slope = 4 (1 pt)
  2. (b)3 pts
    Determine the vertex \((h, k)\) and minimum value of \(g(x)\).
    Scoring Guideline & Justification
    • [M1] Finds axis of symmetry x = 4 (2 pt)
    • [A1] Evaluates minimum k = -10 (1 pt)
  3. (c)3 pts
    Compute the average rate of change of \(g(x)\) from \(x = 0\) to \(x = 6\).
    Scoring Guideline & Justification
    • [M1] Applies (g(6) - g(0)) / 6 (2 pt)
    • [A1] Simplifies to -2 (1 pt)
Complete Worked Solution
(a) \(f(0)=6\), gradient \(4\). (b) Completing the square gives \(g(x)=(x-4)^2+-10\), minimum \(-10\) at \(x=4\). (c) Average rate \(= (x_1+x_2-8) = -2\).
📝 Chapter Quiz