Binomial Distribution (AA HL)

A binomial random variable X∼B(n,p)X\sim B(n,p) counts the number of successes in nn independent trials, each with the same probability of success pp. To use it, identify nn and pp, decide what counts as a success, then find P(X=k)P(X=k) or a cumulative probability using technology. It also covers when the model is appropriate. It's part of the broader Probability Distributions topic.

11 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL4.8The binomial distribution, and its mean and variance. Binomial probabilities are found using technology; situations where the binomial model is appropriate.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

The two formulas

Both formulas are in the formula booklet, so the real skill is recognising when a situation is binomial: a fixed number of trials nn, exactly two outcomes each time, independent trials, and a constant probability of success pp throughout.

Binomial probability

P(X=r)=(nr)pr(1−p)n−rP(X=r)=\dbinom{n}{r}p^r(1-p)^{n-r}

Gives the probability of exactly rr successes out of nn trials - on the GDC this is binompdf, or binomcdf for "at most"/"at least".

Mean & variance

E(X)=np,  Var(X)=np(1−p)E(X)=np,\ \ \text{Var}(X)=np(1-p)

Both come straight from nn and pp - no need to sum the full probability distribution by hand.

Need the full syllabus wording and formula-booklet reference table? See Probability Distributions. For calculator steps, see the parent topic's GDC guidance.

Key terms

What do nn and pp represent?

nn is the fixed number of trials and pp is the probability of success on each trial. The probability of failure on each trial is 1−p1-p.

e.g. Guessing 1212 questions, each with a 0.250.25 chance of success, gives X∼B(12,0.25)X\sim B(12,0.25).

What is the difference between P(X=k)P(X=k) and P(X≤k)P(X\le k)?

P(X=k)P(X=k) is the probability of exactly kk successes. P(X≤k)P(X\le k) is the cumulative probability of kk or fewer successes, which is the sum of P(X=0)P(X=0) up to P(X=k)P(X=k).

e.g. P(X≤2)=P(X=0)+P(X=1)+P(X=2)P(X\le2)=P(X=0)+P(X=1)+P(X=2).

How do you handle an 'at least' probability?

Use the complement, because the probabilities of all outcomes sum to 1. 'At least kk' is the opposite of 'at most k−1k-1'.

e.g. For X∼B(8,0.25)X\sim B(8,0.25), P(X≥2)=1−P(X≤1)P(X\ge2)=1-P(X\le1).

What counts as a success?

A success is whichever outcome you are counting, whether or not it is a desirable one. The value of pp must be the probability of that outcome.

e.g. When counting faulty components, a faulty component is a success, and pp is the probability that a component is faulty.

Worked examples

1
Medium
GDC
[3 marks]

X∼B(10,0.3).X\sim B(10, 0.3). Find P(X=4).P(X=4).

Worked solution

P(X=4)=(104)(0.3)4(0.7)6P(X=4) = \binom{10}{4}(0.3)^4(0.7)^6 M1
P(X=4)=210(0.0081)(0.117649)P(X=4) = 210(0.0081)(0.117649) A1
≈0.200.\approx 0.200. A1On the GDC. Find P(X=4)P(X=4) for X∼B(10, 0.3)X\sim B(10,\ 0.3). The calculator shows about 0.200.

TI-84 Plus CE: 2nd vars A:binompdf( trials 10 p 0.3 x 4 enterCasio fx-CG50: MENU Statistics F5 F5 F1 F2 ▼ x 4 EXE Numtrial 10 EXE p 0.3 EXE ▼ F1Casio fx-CG100: HOME Distribution Binomial OK Tail (X=) x 4 OK Numtrial 10 OK p 0.3 OK Execute OKTI-Nspire CX: menu Probability Distributions Binomial Pdf Num Trials 10 tab Prob Success 0.3 tab X Value 4 enterFull GDC guide: Binomial distribution Topic page

M1 Binomial pdf A1 Correct Substitution A1 Correct answer of 0.2000.200
2
Hard
GDC
[5 marks]

X∼B(8,0.25).X\sim B(8, 0.25). Find P(X≥2).P(X\ge2).

Worked solution

P(X≥2)=1−P(0)−P(1).P(X\ge2) = 1 - P(0) - P(1). M1
P(0)=0.758≈0.1001P(0) = 0.75^8 \approx 0.1001; A1 P(1)=8(0.25)(0.75)7≈0.2670.P(1) = 8(0.25)(0.75)^7 \approx 0.2670. A1
P(X≥2)≈1−0.367P(X\ge2) \approx 1 - 0.367 M1 =0.633.= 0.633. A1On the GDC. Find P(X≥2)P(X\ge 2) for X∼B(8, 0.25)X\sim B(8,\ 0.25). The calculator shows about 0.633.

TI-84 Plus CE: type 1− 2nd vars B:binomcdf( trials 8 p 0.25 x 1 enterCasio fx-CG50: MENU Statistics F5 F5 F2 F2 ▼ x 1 EXE Numtrial 8 EXE p 0.25 EXE ▼ F1 then subtract the answer from 1Casio fx-CG100: HOME Distribution Binomial OK Tail XU (x or higher) x 2 OK Numtrial 8 OK p 0.25 OK Execute OKTI-Nspire CX: menu Probability Distributions Binomial Cdf Num Trials 8 tab Prob Success 0.25 tab Lower Bound 2 tab Upper Bound 8 enterFull GDC guide: Binomial distribution Topic page

M1 Use complement A1 P(0)P(0) A1 P(1)P(1) M1 Subtracting P(0)+P(1)≈0.367P(0)+P(1)\approx0.367 from 1 A1 Correct answer of 0.6330.633
3
Easy
Calculator
[3 marks]

A random variable X∼B(6,0.5).X \sim B(6, 0.5). Find P(X=3).P(X = 3).

Worked solution

P(X=3)=(63)(0.5)3(0.5)3P(X=3) = \binom{6}{3}(0.5)^3(0.5)^3 M1
=20(0.5)6=2064= 20(0.5)^6 = \dfrac{20}{64} A1
=0.3125.= 0.3125. A1

M1 Binomial pdf A1 2064\tfrac{20}{64} A1 Correct answer of 0.31250.3125
4
Medium
GDC
[4 marks]

A multiple-choice quiz has 12 questions, each with probability 0.250.25 of a correct guess.

Find the expected number correct and P(X=3).P(X=3).

(a) Find the expected number correct.

(b) Find P(X=3).P(X=3).

Worked solution

E(X)=12(0.25)E(X) = 12(0.25) M1
E(X)=3.E(X) = 3. A1
P(X=3)=(123)(0.25)3(0.75)9P(X=3) = \binom{12}{3}(0.25)^3(0.75)^9 M1
≈0.258.\approx 0.258. A1On the GDC. (a) Find the expected number correct. (b) Find P(X=3)P(X=3) for X∼B(12, 0.25)X\sim B(12,\ 0.25).

TI-84 Plus CE: (a) 2nd mode then type 12*0.25 enter Then (b) 2nd vars A:binompdf( trials 12 p 0.25 x 3 enterCasio fx-CG50: (a) MENU Run-Matrix then type 12*0.25 EXE Then (b) MENU Statistics F5 F5 F1 F2 ▼ x 3 EXE Numtrial 12 EXE p 0.25 EXE ▼ F1Casio fx-CG100: (a) HOME Calculate then type 12*0.25 EXE Then (b) HOME Distribution Binomial OK Tail (X=) x 3 OK Numtrial 12 OK p 0.25 OK Execute OKTI-Nspire CX: (a) home Calculator then type 12*0.25 enter Then (b) menu Probability Distributions Binomial Pdf Num Trials 12 tab Prob Success 0.25 tab X Value 3 enterFull GDC guide: Enter a calculation on the home screen Full GDC guide: Binomial distribution Topic page

M1 npnp A1 E(X)=3E(X)=3 M1 Binomial pdf A1 Correct answer of 0.2580.258

Common mistakes

  • Using binomial when the conditions don't hold. Binomial needs a fixed number of independent trials with a constant success probability - drawing without replacement, or a probability that changes between trials, rules it out.
  • Forgetting probabilities must sum to 1. This is the standard way to find an unknown constant in a discrete distribution problem built from binomial probabilities - if the values you've written down don't sum to 1, something upstream is wrong.
  • Mixing up pdf and cdf on the GDC. binompdf gives P(X=r)P(X=r) for one exact value; binomcdf gives the cumulative P(X≤r)P(X\le r). For "at least" or "more than" you need to combine cdf with a complement, not read it off directly.

Using your GDC

Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.

Show steps for:
Inverse normal (find the value for a given probability)

The reverse of a normal probability: given a percentage, find the cut-off value (e.g. the mark for the top 10%).

  1. Work out the area to the LEFT of the value you want.
  2. 2nd → VARS (DISTR) → invNorm(area, μ, σ). Newer OS lets you pick the tail.TI-84
  3. menu → Probability → Distributions → Inverse Normal; enter the area, μ and σ.Nspire
  4. Main menu → Statistics → DIST → NORM → InvN; set the tail and enter area, σ, μ.Casio

Tip: invNorm needs the area to the LEFT. For "top 10%", use area = 0.90; for "bottom 25%", use area = 0.25.

Find an unknown mean or standard deviation (normal)

Given a probability and one parameter, work back to the missing μ or σ - a standard exam twist.

  1. Turn the probability into a z-value using the inverse normal with μ = 0, σ = 1.
  2. invNorm(area-to-left, 0, 1) gives z; then solve z=(x−μ)/σz = (x - \mu)/\sigma for the unknown.TI-84
  3. Use Inverse Normal with μ = 0, σ = 1 to get z, then solve the standardising equation for μ or σ.Nspire
  4. DIST → NORM → InvN with μ = 0, σ = 1 gives z; substitute into z=(x−μ)/σz = (x - \mu)/\sigma.Casio
  5. If two probabilities are given, form two equations and solve them simultaneously for μ and σ.

Tip: Sketch the curve and shade the area on the correct side before using invNorm.

See the full GDC guide for more calculator models and topics.

Quick questions

What conditions must hold for a distribution to be binomial?

A fixed number of trials nn, each with exactly two outcomes, independent of one another, and a constant probability of success pp across every trial.

What are the mean and variance of a binomial distribution?

For X∼B(n,p)X\sim B(n,p), the mean is E(X)=npE(X)=np and the variance is Var(X)=np(1−p)\text{Var}(X)=np(1-p).

Why can I not use a binomial distribution when drawing cards without replacement?

Without replacement, the probability of success changes after each draw, so the trials are not independent and pp is not constant. Drawing with replacement would keep pp fixed.

How do I find P(X > 3) for a binomial variable?

Since XX takes whole-number values, P(X>3)=P(X≥4)=1−P(X≤3)P(X>3)=P(X\ge4)=1-P(X\le3). The strict inequality excludes 33, so take care not to include it.

How do I find P(3 ≤\le X ≤\le 6)?

Use P(X≤6)−P(X≤2)P(X\le6)-P(X\le2). Subtracting P(X≤2)P(X\le2) removes the values 00, 11 and 22 but keeps 33.

Ready to practise properly?

11 binomial-distribution questions, marked instantly like the real exam.