HL AA · Statistics and Probability

Binomial distribution — mean, variance and unknown parameters (IB Math AA HL)

Updated October 2026

Quick answer: Use X ~ B(n, p) when there are n independent trials, each with the same probability p of success, and X counts the successes. Then P(X = r) = ⁿCᵣ pʳ(1 − p)ⁿ⁻ʳ, E(X) = np and Var(X) = np(1 − p). On the GDC, binomial PD gives P(X = r) and binomial CD gives P(X ≤ r).

B(n, p) with mean np and variance np(1-p). HL AA combines the binomial with conditional probability, or asks you to find n or p from a given probability.

Practise Binomial distribution — mean, variance and unknown parameters with AI marking

Open the full HL AA engine — every question in this unit is worked through with instant AI-graded feedback on your handwritten workings.

Practise HL AA Statistics and Probability →

Examiner Insights: what the International Baccalaureate examiner reports say IB Maths AA HL students get wrong →

Key ideas

Worked example

The probability that a component is faulty is 0.04, independently of other components. (a) Find the least number of components that must be tested so that the probability of finding at least one faulty component is greater than 0.9. (b) A batch of 20 components contains at least one faulty component. Find the probability that it contains exactly one.

  1. (a) Let X ~ B(n, 0.04). P(X ≥ 1) = 1 − 0.96ⁿ > 0.9, so 0.96ⁿ must be less than 0.1.
  2. Taking logs, n ln 0.96 is less than ln 0.1. Dividing by ln 0.96, which is negative, turns the inequality round: n > ln 0.1 ÷ ln 0.96 ≈ 56.4, so n = 57.
  3. Check: 1 − 0.96⁵⁶ ≈ 0.898 and 1 − 0.96⁵⁷ ≈ 0.902.
  4. (b) Let Y ~ B(20, 0.04). P(Y = 1) = 20 × 0.04 × 0.96¹⁹ ≈ 0.3683 and P(Y ≥ 1) = 1 − 0.96²⁰ ≈ 0.5580.
  5. P(Y = 1 | Y ≥ 1) = 0.3683 ÷ 0.5580 ≈ 0.660.

Answer: (a) 57 components. (b) 0.660 (3 s.f.).

Exam-style HL AA questions on this topic

Try it now

1 of 5

  1. Question 1 of 5
  2. Question 2 of 5
  3. Question 3 of 5
  4. Question 4 of 5
  5. Question 5 of 5

5 quick questions on the binomial distribution. No sign-in needed.

\(X \sim B(5, \frac{2}{5})\). Find \(P(X = 0)\). Give your answer to 3 significant figures.
Choose your answer · keys 1–4

Do it on your GDC

A calculator is allowed on AA Paper 2 and Paper 3, not on Paper 1. Keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50, with a checked worked example:

Maths IA ideas that use binomial distribution

Related in Statistics and Probability

Revise Binomial distribution for the exam

Stretch yourself: original probability problems at Senior level (ages 16 to 18), with hints and full solutions: Problem S105 · Problem S33 · Problem S106 · Problem S34. All 20 →

More on this topic

Formulas in this topic: Binomial distribution. All formulas A–Z

Sibling topic in other IB Maths courses

FAQ

How do you find n in a binomial distribution?

Write the condition as an inequality in n, usually with the complement, such as 1 − (1 − p)ⁿ > 0.9. Solve it with logarithms or a table of values on the GDC, and take the next whole number up, checking the values either side.

Where can I practise binomial distribution questions?

On the Advanced Random Variables questions page: 52 exam-style HL AA questions with full mark schemes, plus free step-by-step worked examples.

Can I use my calculator for binomial distribution?

In HL AA, Paper 1 is non-calculator and the other papers allow a GDC, so learn the exact method as well as the calculator one. The Binomial and Poisson distributions guide gives the keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50.

What else is free here

Save your progress as you reviseA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in