James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AI SL › Statistics & probability › Binomial distribution

Binomial distribution

The binomial distribution counts successes in a fixed number of independent trials. Recognise when it applies, then let the GDC do the work with Binomial Pdf and Binomial Cdf. The skill is turning the words ("at least", "more than", "between") into the right inputs.

SL 4.8Paper 1Paper 2GDC allowed≈ 45 min to work through
Before you start: probability and expected numbers (Probability) and expected value (Discrete random variables).

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Recognise when X~B(n,p) is a suitable model, and state its conditionsSL 4.8
  • Find P(X=r) with Binomial PdfSL 4.8
  • Find P(X≤r), P(X≥r) and P(a≤X≤b) with Binomial CdfSL 4.8
  • Find the mean np and variance np(1−p)SL 4.8
  • Solve problems in context, including "at least one" and repeated binomial experimentsSL 4.8

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

A binomial situation has a fixed number of trials n, each with only two outcomes (success or failure), the same probability p of success each time, and trials that are independent. Then X, the number of successes, follows X~B(n,p). On AI SL you never calculate binomial probabilities by hand: the GDC finds them.

2.1 Probabilities on the GDC

WordsInequalityGDC
exactly 3X=3Binomial Pdf, X value 3
at most 3 (3 or fewer)X≤3Binomial Cdf, lower 0, upper 3
fewer than 3X≤2Binomial Cdf, lower 0, upper 2
at least 3 (3 or more)X≥3Binomial Cdf, lower 3, upper n
more than 3X≥4Binomial Cdf, lower 4, upper n
between 2 and 5 inclusive2≤X≤5Binomial Cdf, lower 2, upper 5
Worked example 1Paper 1
X~B(10, 0.2). Find (a) P(X=3) (b) P(X≤3) (c) P(X≥3) (d) P(2≤X≤5).
(a) Binomial Pdf: 0.201
(b) Binomial Cdf, 0 to 3: 0.879
(c) Binomial Cdf, 3 to 10: 0.322
The TI-Nspire Cdf takes a lower and an upper bound, so there is no need for 1 − P(X ≤ 2).
(d) Binomial Cdf, 2 to 5: 0.618

2.2 Mean and variance

Binomial mean and variance In formula booklet
E(X)=npVar(X)=np(1−p)

The standard deviation is np(1−p).

Worked example 2Paper 2
85% of seeds of a certain type germinate. 20 seeds are planted. Let X be the number that germinate. (a) State the distribution of X and one assumption. (b) Find the probability that exactly 17 germinate. (c) Find the probability that more than 17 germinate. (d) Find the mean and variance of X.
(a) X~B(20, 0.85). Assumption: seeds germinate independently of each other.
Any one of the conditions, in context, is fine.
(b) P(X=17)=0.243
(c) P(X≥18)=0.405
(d) E(X)=20(0.85)=17; Var(X)=20(0.85)(0.15)=2.55

2.3 "At least one" and repeated experiments

Worked example 3Paper 2
A machine makes faulty items with probability 0.04. A box holds 25 items. (a) Find the probability that a box contains at least one faulty item. (b) Three boxes are checked. Find the probability that all three contain at least one faulty item.
(a) P(X≥1)=1−P(X=0)=1−0.9625=0.640
Or Binomial Cdf, 1 to 25.
(b) 0.6403=0.262
Each box is a new trial with success probability 0.640: a binomial inside a binomial.
Worked example 4 (faded)Paper 1
X~B(12, 0.25). Find P(X=4) and P(X>5).
P(X=4)= 0.194  ← you work this out
P(X>5)=P(X≥6)= 0.0544  ← you work this out
On your TI-Nspire Calculator tricks →

menu → Statistics → Distributions → Binomial Pdf (exactly) or Binomial Cdf (a range). Enter Num Trials n, Prob Success p, then the X value (Pdf) or the Lower and Upper Bounds (Cdf). In the exam, write the distribution and the probability you want, for example "X~B(20,0.85), P(X≥18)=0.405", not the calculator syntax.

3Explore it

Change n and p. Choose whether to shade P(X=r), P(X≤r) or P(X≥r).

4Common mistakes & exam tips

Common mistakes

  • Using the binomial when the probability changes between trials (for example, sampling without replacement from a small group).
  • Turning "more than 3" into X≥3. It is X≥4.
  • Using Pdf when the question asks for a range ("at least", "at most").
  • Giving the standard deviation when asked for the variance, or the other way round.
  • Writing calculator syntax such as binomCdf(20,0.85,18,20) as your working.

Exam tips

  • The mean and variance formulae are in the formula booklet.
  • Always state the distribution with its parameters: X~B(n,p). It is often worth a mark.
  • Write the inequality before using the GDC: it forces you to decide between ≥ and >.
  • "Expected number" questions use np.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
X~B(6,0.5). Find P(X=2).
0.234
FluencyP2
X~B(8,0.1). Find P(X≤2).
0.962
FluencyP3
X~B(5,0.3). Find P(X≥1).
1−0.75=0.832
FluencyP4
X~B(40,0.15). Find the mean and variance.
6 and 5.1
Problem solvingP5
The probability that a bus is late is 0.1. Find the least number of journeys needed for the probability of at least one late bus to exceed 0.95.
1−0.9n>0.95⇒n=29
Problem solvingP6
Explain why the number of red cards when 5 cards are dealt from a pack is not exactly binomial.
The cards are not replaced, so the probability of red changes and the trials are not independent.

6Exam-style questions

Original questions in the style of the IB Maths AI SL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.

Question 1Paper 1[7 marks]

30% of customers at a café order a hot chocolate. A random sample of 15 customers is taken. Let X be the number who order a hot chocolate.

  • (a)Write down the distribution of X.[1]
  • (b)Find the probability that exactly 5 order a hot chocolate.[2]
  • (c)Find the probability that more than 5 order a hot chocolate.[2]
  • (d)Find the mean and the variance of X.[2]
(a)
X~B(15, 0.3)A1
(b)
P(X=5)(M1)
0.206A1
(c)
P(X≥6)(M1)
0.278A1
(d)
mean 4.5A1
variance 3.15A1
Question 2Paper 1[5 marks]

A factory produces bulbs, 4% of which are faulty. Bulbs are packed in boxes of 25.

  • (a)Find the probability that a box contains at least one faulty bulb.[2]
  • (b)Find the probability that a box contains at least two faulty bulbs.[2]
  • (c)Find the expected number of faulty bulbs in a box.[1]
(a)
1−P(X=0) or P(X≥1)(M1)
0.640A1
(b)
P(X≥2)(M1)
0.264A1
(c)
1A1
Question 3Paper 2[6 marks]

In a quiz, a contestant answers 8 questions. The probability of answering any question correctly is 0.6, independently. A contestant who answers 6 or more correctly wins a prize.

  • (a)Find the probability that a contestant answers exactly 6 correctly.[2]
  • (b)Find the probability that a contestant wins a prize.[2]
  • (c)Three contestants take the quiz. Find the probability that all three win a prize.[2]
(a)
X~B(8,0.6), P(X=6)(M1)
0.209A1
(b)
P(X≥6)(M1)
0.315A1
(c)
0.31543(M1)
0.0314A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try these real IB Maths AI SL questions. Your school or teacher will have the papers.

PaperQuestionFocusDifficulty
May 2026 · TZ3 · Paper 1Q412 biased coins: P(X = 8), more heads than tails★★☆
Nov 2024 · TZ1 · Paper 1Q9Driving test passes B(30, 0.6): mean, variance, probabilities★★☆
Nov 2025 · TZ3 · Paper 1Q10Guessing 15 questions: expectation, P(X = 3), a threshold★★☆
May 2025 · TZ1 · Paper 1Q7Eye colour: binomial conditions, P(X = 3), P(X ≥ 4)★☆☆
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake