Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›4 Statistics and probability
  4. ›4.8 Binomial distribution

IB Mathematics: Analysis and Approaches · Topic 4 · Statistics and probability

4.8 Binomial distribution

Recognise when a binomial model applies, calculate binomial probabilities, and find the mean and variance of a binomial variable.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A binomial situation has fixed independent trials with two outcomes
  1. 1A binomial situation has fixed independent trials with two outcomes
  2. 2The formula counts arrangements and multiplies probabilities
  3. 3Cumulative probabilities add several outcomes together
  4. 4A table of probabilities shows the shape of the distribution
  5. 5The mean and variance follow simple formulae
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A binomial situation has fixed independent trials with two outcomes

A player takes 5 free throws, and we count the shots that score. Each shot is one trial with two outcomes, success or failure. The count of successes follows a binomial distribution when four conditions hold.

  • The number of trials, nnn, is fixed in advance.
  • Each trial has two outcomes: success or failure.
  • The trials are independent, so one result does not affect another.
  • The probability of success, ppp, is the same in every trial.

We then write X∼B(n,p)X\sim\mathrm{B}(n,p)X∼B(n,p), where XXX is the number of successes. For the free throws, n=5n=5n=5.

Common mistake

Drawing cards from a pack without replacement is not binomial. The probability of success changes after each draw.

Key terms · tap one for its definition

trial

A trial is a single repetition of a random process that has exactly two outcomes, called success and failure.

binomial distribution

The binomial distribution B(n,p)\mathrm{B}(n,p)B(n,p) gives the probability of rrr successes in nnn independent trials, each with success probability ppp.

Part 1 done

2

Part 2 of 5: The formula counts arrangements and multiplies probabilities

Now that the conditions are clear, take X∼B(5,p)X\sim\mathrm{B}(5,p)X∼B(5,p) and ask for exactly 3 successes. One outcome is three successes followed by two failures. Its probability is p3(1−p)2p^3(1-p)^2p3(1−p)2 because the trials are independent.

That order is only one of many. The number of orders is the binomial coefficient (53)=10\binom{5}{3}=10(35​)=10. In general, (nr)=n!r!(n−r)!\binom{n}{r}=\frac{n!}{r!(n-r)!}(rn​)=r!(n−r)!n!​, where n!=n(n−1)⋯1n!=n(n-1)\cdots 1n!=n(n−1)⋯1.

Multiplying the count by the probability of one order gives P(X=r)=(nr)pr(1−p)n−rP(X=r)=\binom{n}{r}p^r(1-p)^{n-r}P(X=r)=(rn​)pr(1−p)n−r for r=0,1,…,nr=0,1,\ldots,nr=0,1,…,n.

The three parts have clear roles. The coefficient counts the orders, prp^rpr covers the successes and (1−p)n−r(1-p)^{n-r}(1−p)n−r covers the failures.

Worked example

Exactly two successes

X∼B(6,0.3)X\sim\mathrm{B}(6,0.3)X∼B(6,0.3). Calculate P(X=2)P(X=2)P(X=2).
  1. 1
    Use P(X=r)=(nr)pr(1−p)n−rP(X=r)=\binom{n}{r}p^r(1-p)^{n-r}P(X=r)=(rn​)pr(1−p)n−r with n=6n=6n=6, r=2r=2r=2 and p=0.3p=0.3p=0.3.
  2. 2
    Substitute: (62)(0.3)2(0.7)4=15×0.09×0.2401\binom{6}{2}(0.3)^2(0.7)^4=15\times0.09\times0.2401(26​)(0.3)2(0.7)4=15×0.09×0.2401.
  3. 3
    Evaluate: 15×0.09=1.3515\times0.09=1.3515×0.09=1.35, and 1.35×0.2401=0.3241351.35\times0.2401=0.3241351.35×0.2401=0.324135.

Answer: P(X=2)≈0.324P(X=2)\approx0.324P(X=2)≈0.324

Exam tip

Write the substituted formula in your working, even when a calculator supplies the value.

Key term

binomial coefficient

The binomial coefficient (nr)\binom{n}{r}(rn​) is the number of ways to choose rrr items from nnn, equal to n!r!(n−r)!\frac{n!}{r!(n-r)!}r!(n−r)!n!​.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the statement that is not a condition for a binomial model.
Show answer and explanation

Answer: C · Worked explanation

The probability of success may take any constant value between 0 and 1, not only 0.5. The other statements are genuine conditions. A fixed number of independent two-outcome trials with constant probability defines the model. Do not confuse the conditions of the model with particular values of ppp. Any constant probability of success between 0 and 1 works.
3

Part 3 of 5: Cumulative probabilities add several outcomes together

Often a question asks for a range of successes, such as at most 2. A cumulative probability is P(X≤r)P(X\le r)P(X≤r), the probability of rrr or fewer successes. A calculator gives it directly, or you can add the separate probabilities.

Take care at the boundaries, because XXX takes whole-number values only. These rules cover the common cases.

  • Fewer than rrr: P(X<r)=P(X≤r−1)P(X<r)=P(X\le r-1)P(X<r)=P(X≤r−1).
  • At least rrr: P(X≥r)=1−P(X≤r−1)P(X\ge r)=1-P(X\le r-1)P(X≥r)=1−P(X≤r−1).
  • Between aaa and bbb inclusive: P(X≤b)−P(X≤a−1)P(X\le b)-P(X\le a-1)P(X≤b)−P(X≤a−1).

Technology uses the same ideas. Enter nnn, ppp and the value of rrr. Choose the cumulative option for P(X≤r)P(X\le r)P(X≤r) and the single-value option for P(X=r)P(X=r)P(X=r).

Worked example

At least three successes

X∼B(6,0.3)X\sim\mathrm{B}(6,0.3)X∼B(6,0.3). Calculate P(X≥3)P(X\ge3)P(X≥3).
  1. 1
    Use the complement: P(X≥3)=1−P(X≤2)P(X\ge3)=1-P(X\le2)P(X≥3)=1−P(X≤2).
  2. 2
    Find P(X≤2)=0.117649+0.302526+0.324135=0.744310P(X\le2)=0.117649+0.302526+0.324135=0.744310P(X≤2)=0.117649+0.302526+0.324135=0.744310.
  3. 3
    Subtract: 1−0.744310=0.2556901-0.744310=0.2556901−0.744310=0.255690.

Answer: P(X≥3)≈0.256P(X\ge3)\approx0.256P(X≥3)≈0.256

Common mistake

The complement of X≥3X\ge3X≥3 is X≤2X\le2X≤2. Writing 1−P(X≤3)1-P(X\le3)1−P(X≤3) wrongly removes the value 3.

Key term

cumulative probability

A cumulative probability P(X≤r)P(X\le r)P(X≤r) is the probability that XXX takes a value less than or equal to rrr.

Part 3 done

4

Part 4 of 5: A table of probabilities shows the shape of the distribution

A full list of probabilities shows the whole distribution at once. For X∼B(4,0.5)X\sim\mathrm{B}(4,0.5)X∼B(4,0.5) the possible values are 0 to 4. Each probability comes from the formula. For example, P(X=1)=(41)(0.5)4=0.25P(X=1)=\binom{4}{1}(0.5)^4=0.25P(X=1)=(14​)(0.5)4=0.25.

Probability distribution for B(4, 0.5)

rP(X = r)
00.0625
10.25
20.375
30.25
40.0625
r
0
P(X = r)
0.0625
r
1
P(X = r)
0.25
r
2
P(X = r)
0.375
r
3
P(X = r)
0.25
r
4
P(X = r)
0.0625
Figure 1. The points rise to a peak at 2 successes and fall symmetrically.

This shape is symmetric because p=0.5p=0.5p=0.5. If ppp is below 0.5, the distribution leans towards low values. If ppp is above 0.5, it leans towards high values.

The most likely value here is 2, which is also the centre of the distribution. The probabilities in any such table must still sum to 1. Use that as a quick check on your values.

Part 4 done

Quick check

One question on the part you just read

Easy

X∼B(20,0.3)X\sim\mathrm{B}(20,0.3)X∼B(20,0.3). Calculate E(X)E(X)E(X).
Show answer and explanation

Answer: A · Worked explanation

The mean is np=20×0.3=6np=20\times0.3=6np=20×0.3=6. The value 4.2 is the variance, np(1−p)=20×0.3×0.7np(1-p)=20\times0.3\times0.7np(1−p)=20×0.3×0.7. Be careful not to confuse the two formulae. As a check, the mean equals 30% of the 20 trials, which matches p=0.3p=0.3p=0.3. Expect about 6 successes in 20 trials.
5

Part 5 of 5: The mean and variance follow simple formulae

Over many sets of trials, the average number of successes settles near npnpnp. This long-run mean is the expected value, so E(X)=npE(X)=npE(X)=np.

The variance has a similarly short formula, Var(X)=np(1−p)\mathrm{Var}(X)=np(1-p)Var(X)=np(1−p). The standard deviation is the square root of the variance. Both formulae apply only when the binomial conditions hold.

Worked example

Faulty items in a batch

Each item from a factory is faulty with probability 0.15, independently. A batch has 40 items. Let XXX be the number of faulty items. Calculate E(X)E(X)E(X) and Var(X)\mathrm{Var}(X)Var(X).
  1. 1
    State the model: X∼B(40,0.15)X\sim\mathrm{B}(40,0.15)X∼B(40,0.15).
  2. 2
    Mean: E(X)=np=40×0.15=6E(X)=np=40\times0.15=6E(X)=np=40×0.15=6.
  3. 3
    Variance: Var(X)=np(1−p)=40×0.15×0.85=5.1\mathrm{Var}(X)=np(1-p)=40\times0.15\times0.85=5.1Var(X)=np(1−p)=40×0.15×0.85=5.1.

Answer: E(X)=6E(X)=6E(X)=6 and Var(X)=5.1\mathrm{Var}(X)=5.1Var(X)=5.1

The standard deviation is 5.1≈2.26\sqrt{5.1}\approx2.265.1​≈2.26. So a batch with 4 to 8 faulty items would not be surprising.

Exam tip

Interpret the mean in context: about 6 faulty items per batch on average. The mean need not be a whole number.

Key terms · tap one for its definition

expected value

The expected value of a discrete random variable XXX is E(X)=∑xP(X=x)E(X)=\sum xP(X=x)E(X)=∑xP(X=x), the long-run mean of its values.

variance

The variance of XXX is Var(X)=E[(X−μ)2]\mathrm{Var}(X)=E\left[(X-\mu)^2\right]Var(X)=E[(X−μ)2], the expected squared distance from the mean μ\muμ.

Note read

Check your recall[14 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[4 marks]

    State the four conditions needed for a binomial model.

    Show mark schemeHide mark scheme

    Model answer

    The number of trials is fixed. Each trial has two outcomes, success or failure. The trials are independent. The probability of success is constant.

    • 1 mark for stating that the number of trials is fixed
    • 1 mark for stating that each trial has two outcomes
    • 1 mark for stating that the trials are independent
    • 1 mark for stating that the probability of success is the same each trial
  2. 2.Explain[2 marks]

    A bag holds 5 red and 5 blue counters. Three counters are drawn without replacement. Explain why the number of red counters is not binomial.

    Show mark schemeHide mark scheme

    Model answer

    Counters are not replaced, so each draw changes the contents of the bag. The trials are not independent and the probability of red is not constant.

    • 1 mark for stating that drawing without replacement changes the probability of red on each draw
    • 1 mark for concluding that the trials are not independent or the probability is not constant
  3. 3.Calculate[3 marks]

    X∼B(5,0.4)X\sim\mathrm{B}(5,0.4)X∼B(5,0.4). Calculate P(X=2)P(X=2)P(X=2), giving three significant figures.

    Show mark schemeHide mark scheme

    Model answer

    P(X=2)=(52)(0.4)2(0.6)3=10×0.16×0.216=0.3456≈0.346P(X=2)=\binom{5}{2}(0.4)^2(0.6)^3=10\times0.16\times0.216=0.3456\approx0.346P(X=2)=(25​)(0.4)2(0.6)3=10×0.16×0.216=0.3456≈0.346.

    • 1 mark for using the formula with (52)=10\binom{5}{2}=10(25​)=10
    • 1 mark for substituting (0.4)2(0.4)^2(0.4)2 and (0.6)3(0.6)^3(0.6)3
    • 1 mark for obtaining 0.346
  4. 4.Calculate[2 marks]

    For the same variable, calculate P(X≥1)P(X\ge1)P(X≥1).

    Show mark schemeHide mark scheme

    Model answer

    P(X≥1)=1−P(X=0)=1−(0.6)5=1−0.07776=0.92224≈0.922P(X\ge1)=1-P(X=0)=1-(0.6)^5=1-0.07776=0.92224\approx0.922P(X≥1)=1−P(X=0)=1−(0.6)5=1−0.07776=0.92224≈0.922.

    • 1 mark for using 1−P(X=0)1-P(X=0)1−P(X=0)
    • 1 mark for obtaining 0.922
  5. 5.Determine[3 marks]

    A test has 30 questions. A student guesses each answer, with probability 0.25 of being right, independently. Determine the mean and variance of the number of correct answers.

    Show mark schemeHide mark scheme

    Model answer

    X∼B(30,0.25)X\sim\mathrm{B}(30,0.25)X∼B(30,0.25). The mean is 30×0.25=7.530\times0.25=7.530×0.25=7.5. The variance is 30×0.25×0.75=5.625≈5.6330\times0.25\times0.75=5.625\approx5.6330×0.25×0.75=5.625≈5.63.

    • 1 mark for identifying the model B(30,0.25)\mathrm{B}(30,0.25)B(30,0.25)
    • 1 mark for obtaining the mean 7.5
    • 1 mark for obtaining the variance 5.625

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Calculate[1 mark]

Calculate the value of (52)\binom{5}{2}(25​).
Show answer and explanation

Answer: B · Worked explanation

Use (52)=5!2! 3!=12012=10\binom{5}{2}=\frac{5!}{2!\,3!}=\frac{120}{12}=10(25​)=2!3!5!​=12120​=10. The value 20 comes from 5×45\times45×4, which counts ordered pairs. Dividing by 2!2!2! removes the repeated orders. In general, (nr)\binom{n}{r}(rn​) counts selections where order does not matter. The symmetry (52)=(53)\binom{5}{2}=\binom{5}{3}(25​)=(35​) gives another quick check, since choosing 2 items leaves 3 behind.
4.

Medium·Calculate[2 marks]

X∼B(7,0.2)X\sim\mathrm{B}(7,0.2)X∼B(7,0.2). Calculate P(X=2)P(X=2)P(X=2).
Show answer and explanation

Answer: D · Worked explanation

Compute (72)(0.2)2(0.8)5=21×0.04×0.32768≈0.275\binom{7}{2}(0.2)^2(0.8)^5=21\times0.04\times0.32768\approx0.275(27​)(0.2)2(0.8)5=21×0.04×0.32768≈0.275. The value 0.0131 leaves out the coefficient 21. The value 0.367 is P(X=1)P(X=1)P(X=1), found by using the wrong number of successes. Always include all three parts of the formula: the coefficient, the success probability to the power rrr, and the failure probability to the power n−rn-rn−r.
5.

Medium·Calculate[2 marks]

X∼B(6,0.5)X\sim\mathrm{B}(6,0.5)X∼B(6,0.5). Calculate P(X≥5)P(X\ge5)P(X≥5).
Show answer and explanation

Answer: A · Worked explanation

Add P(X=5)=664P(X=5)=\frac{6}{64}P(X=5)=646​ and P(X=6)=164P(X=6)=\frac{1}{64}P(X=6)=641​ to get 764≈0.109\frac{7}{64}\approx0.109647​≈0.109. The value 0.094 is P(X=5)P(X=5)P(X=5) alone, which leaves out the value 6. The value 0.891 is the complement, P(X≤4)P(X\le4)P(X≤4). Check the complement route as well: 1−P(X≤4)=1−5764=7641-P(X\le4)=1-\frac{57}{64}=\frac{7}{64}1−P(X≤4)=1−6457​=647​, which agrees. Both routes give the same answer.
6.

Medium·Calculate[2 marks]

X∼B(50,0.1)X\sim\mathrm{B}(50,0.1)X∼B(50,0.1). Calculate Var(X)\mathrm{Var}(X)Var(X).
Show answer and explanation

Answer: C · Worked explanation

Use Var(X)=np(1−p)=50×0.1×0.9=4.5\mathrm{Var}(X)=np(1-p)=50\times0.1\times0.9=4.5Var(X)=np(1−p)=50×0.1×0.9=4.5. The value 5.0 is the mean npnpnp, and 2.12 is the standard deviation, 4.5\sqrt{4.5}4.5​. Neither is the variance. Keep the roles clear: the factor (1−p)(1-p)(1−p) is the probability of failure on each trial, which is why it appears in the variance but not in the mean.
7.

Medium·Identify[1 mark]

Identify the situation that can be modelled by a binomial distribution.
Show answer and explanation

Answer: B · Worked explanation

Twelve rolls form a fixed number of independent trials, each with two outcomes and constant probability of a six. The count of rolls until a six is not fixed in advance. Dealing cards without replacement changes the probability each time.
8.

Hard·Calculate[2 marks]

X∼B(6,0.3)X\sim\mathrm{B}(6,0.3)X∼B(6,0.3). Calculate P(2≤X≤4)P(2\le X\le4)P(2≤X≤4).
Show answer and explanation

Answer: D · Worked explanation

Add P(X=2)=0.324P(X=2)=0.324P(X=2)=0.324, P(X=3)=0.185P(X=3)=0.185P(X=3)=0.185 and P(X=4)=0.060P(X=4)=0.060P(X=4)=0.060 to get about 0.569. The value 0.245 leaves out P(X=2)P(X=2)P(X=2), which a lower bound written as X>2X>2X>2 would cause. The value 0.185 is P(X=3)P(X=3)P(X=3) alone. A useful check is that the answer must lie between the single largest term, 0.324, and 1. The value 0.569 does.
9.

Hard·Determine[2 marks]

A binomial variable has mean 12 and variance 7.2. Determine the probability of success on each trial.
Show answer and explanation

Answer: A · Worked explanation

The mean is np=12np=12np=12 and the variance is np(1−p)=7.2np(1-p)=7.2np(1−p)=7.2. Dividing gives 1−p=7.212=0.61-p=\frac{7.2}{12}=0.61−p=127.2​=0.6, so p=0.4p=0.4p=0.4 and n=30n=30n=30. The value 0.6 is 1−p1-p1−p, the probability of failure, not of success. Once ppp is known, n=120.4=30n=\frac{12}{0.4}=30n=0.412​=30 follows from the mean. Both values satisfy np(1−p)=30×0.4×0.6=7.2np(1-p)=30\times0.4\times0.6=7.2np(1−p)=30×0.4×0.6=7.2.
10.

Hard·Calculate[2 marks]

A fair die is rolled 4 times. Calculate the probability of at least one six.
Show answer and explanation

Answer: C · Worked explanation

Let X∼B(4,16)X\sim\mathrm{B}(4,\frac{1}{6})X∼B(4,61​). Then P(X≥1)=1−P(X=0)=1−(56)4≈0.518P(X\ge1)=1-P(X=0)=1-\left(\frac{5}{6}\right)^4\approx0.518P(X≥1)=1−P(X=0)=1−(65​)4≈0.518. The value 0.482 is P(X=0)P(X=0)P(X=0), the probability of no sixes. The value 0.667 comes from adding four probabilities of 16\frac{1}{6}61​, which double counts outcomes. Using the complement is quicker than adding four separate probabilities. The pattern is to define XXX, state its distribution, then use 1−P(X=0)1-P(X=0)1−P(X=0).

Keep going

Next topic4.9 Normal distributionPrevious topic4.7 Discrete random variables

More in Topic 4 · Statistics and probability

  1. 4.4Correlation and regressionNotes · 10 questions
  2. 4.5Probability conceptsNotes · 10 questions
  3. 4.6Combined events and diagramsNotes · 10 questions
  4. 4.7Discrete random variablesNotes · 10 questions
  5. 4.8Binomial distributionNotes · 10 questions
  6. 4.9Normal distributionNotes · 10 questions
  7. 4.10Regression of x on yNotes · 10 questions
  8. 4.11Conditional probability and independenceNotes · 10 questions
  9. 4.12Standardizing normal variablesNotes · 10 questions

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A binomial situation has fixed independent trials with two outcomes
  2. 2The formula counts arrangements and multiplies probabilities
  3. 3Cumulative probabilities add several outcomes together
  4. 4A table of probabilities shows the shape of the distribution
  5. 5The mean and variance follow simple formulae
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

Probabilities for B(4, 0.5)

Probability, P(X = r)0123400.10.20.30.4Number of successes, r
  • P(X = r)