Skip to content
IB Diploma ProgrammeSL & HL

Binomial distribution

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Binomial distribution notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Binomial distribution notes as text: skim, search, and jump between subtopics.

~11 min read

1. When a situation is binomial

A binomial distribution counts the number of successes in a fixed number of trials. Four things must hold. There is a fixed number of trials, n. Each trial has two outcomes, success or failure. The probability of success, p, is the same on every trial. The trials are independent.

If the random variable X is the number of successes, we write X ∼ B(n, p). Write n first and p second. The values of X are 0, 1, 2, …, n.

The markscheme credits the step where the candidate says the variable is binomial. Taking cards from a small pack without replacement is not, because p changes after each draw.

X ∼ B(n, p)

X = 0, 1, 2, …, n

Worked example 12 marks

Light bulbs are made in a factory. Each bulb is defective with probability 0.04, independently of the others. Twelve bulbs are chosen at random. The random variable X is the number of defective bulbs in the twelve. State the distribution of X.

  1. 1

    recognise a fixed number of independent trials, each defective or not, with constant probability (M1) [1]

  2. 2

    n = 12 and p = 0.04, so X ∼ B(12, 0.04) A1 [1]

2. Mean and variance

For X ∼ B(n,p) the mean is np and the variance is np(1 - p). Both are in the formula booklet. The mean is the expected number of successes in n trials, as in SL 4.5.

The standard deviation is the square root of the variance. A question that asks for the variance wants np(1-p) itself. The formal proof is not required.

Use 1 - p, the probability of failure, in the variance. For p = 0.15 that is 0.85.

E(X) = np

Var(X) = np(1 - p)

Worked example 13 marks

The random variable X ∼ B(40, 0.15).(a) Find E(X).(b) Find Var(X).

  1. 1

    (a) mean = np = 40 × 0.15 = 6 A1 [1]

  2. 2

    (b) variance = np(1 -p) = 40 × 0.15 × 0.85 (M1) [1]

  3. 3

    = 5.1 A1 [1]

3. Finding P(X = k)

The probability of exactly k successes is given by the binomial formula. In examinations, binomial probabilities should be found using available technology.

On a graphic display calculator, choose the binomial probability density function. Enter the number of trials n, the probability p and the value k, and read off the answer. Write down the distribution and the probability you are finding, so that a method mark is available.

Give the answer to three significant figures unless the question says otherwise.

P(X = k) = dbinomnk p^(k) (1 - p)^(n-k)

Worked example 12 marks

The random variable X ∼ B(10, 0.3). Find P(X = 4).

  1. 1

    binomial probability with n = 10, p = 0.3, k = 4: binom104(0.3)⁴(0.7)⁶ (M1) [1]

  2. 2

    = 0.200 (0.2001...) A1 [1]

4. At least, more than, fewer than

The calculator gives cumulative probabilities, P(X ≤ k). Turn each wording into this form first. Because X takes whole numbers only, "more than 6" means X ≥ 7 and "fewer than 7" means X ≤ 6.

For "at least" and "more than", use the complement: the probabilities of all values of X add up to 1. Check the end value. "At least 13" is 1 - P(X ≤ 12), not 1 - P(X ≤ 13).

P(X ≥ k) = 1 - P(X ≤ k - 1)

P(X > k) = 1 - P(X ≤ k)

P(X < k) = P(X ≤ k - 1)

Worked example 13 marks

Records show that 82.6% of patients attend their appointment. The probability of a patient attending their appointment is independent of any other patient. On a particular day, 20 patients each made an appointment to see the doctor. Find the probability that at least 13 of these patients attended their appointment.

  1. 1

    recognize the variable has a binomial distribution: Y ∼ B(20, 0.826) (M1) [1]

  2. 2

    attempt to find P(Y ≥ 13) (M1) [1]

  3. 3

    = 0.985 (0.985473...) A1 [1]

5. Between two values

For an interval such as 10 ≤ X ≤ 15, subtract two cumulative probabilities. The lower cumulative probability must stop one below the lower end, because the lower end is included.

Many calculators take a lower and an upper bound directly. Use them if yours does, and still write the interval in your working.

P(a ≤ X ≤ b) = P(X ≤ b) - P(X ≤ a - 1)

Worked example 13 marks

The random variable X ∼ B(25, 0.6). Find P(10 ≤ X ≤ 15).

  1. 1

    interval 10 ≤ X ≤ 15, so P(X ≤ 15) - P(X ≤ 9) (M1) [1]

  2. 2

    = 0.5754 - 0.0132 (A1) [1]

  3. 3

    = 0.562 (0.5622...) A1 [1]

6. Choosing the success, and given that

A success is whatever event you decide to count. Counting the patients who attend gives Y ∼ B(20, 0.826). Counting those who do not attend gives W ∼ B(20, 0.174), because 1 - 0.826 = 0.174. Both views describe the same patients, and W = 20 - Y.

So "more than 2 did not attend" is W > 2, which is the same event as Y < 18. Pick the version with the simpler working, then state which variable you use.

A "given that" question is conditional probability, as in SL 4.6. The denominator is the probability of the condition, not 1.

P(A mid B) = (P(A ∩ B))/(P(B))

W = 20 - Y

Worked example 14 marks

Records show that 82.6% of patients attend their appointment. The probability of a patient attending their appointment is independent of any other patient. On a particular day, 20 patients each made an appointment to see the doctor. Given that at least 13 of these patients attended their appointment, find the probability that more than 2 patients did not attend their appointment.

  1. 1

    recognize conditional probability in context: P(Y < 18 mid Y ≥ 13) (M1) [1]

  2. 2

    = (P(13 ≤ Y ≤ 17))/(P(Y ≥ 13)) (A1) [1]

  3. 3

    = 0.6872418/0.985473 (A1) [1]

  4. 4

    = 0.697 (0.697372...) A1 [1]

Recap

  • X ∼ B(n, p) needs a fixed number of independent trials, two outcomes and a constant probability of success.
  • E(X) = np and Var(X) = np(1 - p).
  • Use technology for P(X = k) and P(X ≤ k). Write the distribution and the event first.
  • Turn the wording into ≤ with whole numbers. At least k is 1 - P(X ≤ k - 1).
  • A "given that" question divides by the probability of the condition.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Do not use a calculator. A fair coin is tossed 8 times. The random variable X is the number of heads. State the distribution of X.1 mark
    Answer
    1. X ∼ B(8, 0.5) A1

    Trap: The number of trials is 8 and goes first. The probability of one head is 0.5. Writing B(0.5, 8) swaps them.

  2. Do not use a calculator. The random variable X ∼ B(50, 0.2). (a) Find E(X). (b) Find Var(X).3 marks
    Answer
    1. (a)
    2. E(X) = 50 × 0.2 = 10 A1
    3. (b)
    4. Var(X) = 50 × 0.2 × 0.8 (M1)
    5. = 8 A1

    Trap: The variance is np(1-p) = 8. Using np = 10 again, or giving the standard deviation √8, answers a different question.

  3. The random variable X ∼ B(12, 0.35). Find P(X = 5).2 marks
    Answer
    1. binom125(0.35)⁵(0.65)⁷ (M1)
    2. = 0.204 (0.2039...) A1

    Trap: P(X ≤ 5) = 0.787 would answer for five or fewer. This question asks for exactly 5.

  4. A box holds 10 cards, 4 of them red. Five cards are taken at random without replacement. The random variable X is the number of red cards. Explain why X does not follow a binomial distribution.2 marks
    Answer
    1. the probability of a red card changes after each card is taken (R1)
    2. so the trials are not independent (R1)

    Trap: The two outcomes red and not red are fine. It is the lack of replacement that breaks the constant probability and the independence.

  5. Do not use a calculator. A fair coin is tossed 3 times. Find the probability of at least two heads.3 marks
    Answer
    1. X ∼ B(3, 1/2), and the event is X ≥ 2 (M1)
    2. P(X = 2) = 3 × (1/2)² × 1/2 = 3/8 and P(X = 3) = 1/8 (A1)
    3. 3/8 + 1/8 = 1/2 A1

    Trap: At least two includes three heads. Finding only P(X = 2) = 3/8 leaves out one case.

  6. The random variable X ∼ B(15, 0.4). Find P(X > 6).3 marks
    Answer
    1. X > 6 means X ≥ 7, so P(X > 6) = 1 - P(X ≤ 6) (M1)
    2. = 1 - 0.6098 (A1)
    3. = 0.390 (0.3901...) A1

    Trap: 1 - P(X ≤ 7) = 0.213 leaves out X = 7. More than 6 starts at 7.

  7. The random variable X ∼ B(25, 0.6). Find P(10 < X ≤ 15).3 marks
    Answer
    1. 10 < X ≤ 15 means 11 ≤ X ≤ 15, so P(X ≤ 15) - P(X ≤ 10) (M1)
    2. = 0.5754 - 0.0344 (A1)
    3. = 0.541 (0.5409...) A1

    Trap: The lower end is excluded here. Subtracting P(X ≤ 9) would include X = 10 and give 0.562.

  8. Do not use a calculator. The random variable X ∼ B(n, p) has mean 12 and variance 9. Find the value of n and the value of p.4 marks
    Answer
    1. np = 12 and np(1-p) = 9 (M1)
    2. divide: 1 - p = 9/12 = 3/4 (M1)
    3. p = 1/4 (A1)
    4. n = 12 ÷ 1/4 = 48 A1

    Trap: The variance is np(1-p), not np × p. Dividing the variance by the mean gives 1 - p, not p.

  9. Each seed of a certain plant germinates with probability 0.85, independently of the others. A gardener plants 4 trays, each with 12 seeds. A tray is called good if at least 10 of its seeds germinate. (a) Find the probability that a tray is good. (b) Find the probability that at least 3 of the 4 trays are good. (c) Given that a tray is good, find the probability that all 12 of its seeds germinated.8 marks
    Answer
    1. (a)
    2. X ∼ B(12, 0.85), P(X ≥ 10) = 1 - P(X ≤ 9) (M1)
    3. = 0.736 (0.735818...) A1
    4. (b)
    5. T ∼ B(4, 0.735818...), where T is the number of good trays (M1)
    6. P(T ≥ 3) = 1 - P(T ≤ 2) (M1)
    7. = 0.714 (0.714137...) A1
    8. (c)
    9. P(X = 12 mid X ≥ 10) = (P(X = 12))/(P(X ≥ 10)) (M1)
    10. = 0.142241.../0.735818... (A1)
    11. = 0.193 (0.193311...) A1

    Trap: Part (b) is a second binomial with the answer to (a) as its p, and in (c) the denominator is P(X ≥ 10), not 1: answering P(X = 12) = 0.142 ignores the condition.

  10. A plane has 150 seats. Each person with a ticket turns up for the flight with probability 0.92, independently of the others. The airline sells n tickets. (a) For n = 160, find the expected number of ticket holders who do not turn up. (b) Determine the largest value of n for which the probability that more people turn up than there are seats is less than 0.05.7 marks
    Answer
    1. (a)
    2. not turning up is the success: W ∼ B(160, 0.08), E(W) = 160 × 0.08 (M1)
    3. = 12.8 A1
    4. (b)
    5. X ∼ B(n, 0.92) is the number who turn up (M1)
    6. more than 150 turn up: P(X > 150) = 1 - P(X ≤ 150) (M1)
    7. attempt a table of values of 1 - P(X ≤ 150) for several n (M1)
    8. n = 157 gives 0.0285 and n = 158 gives 0.0575 A1
    9. largest n = 157 A1

    Trap: More than 150 is 1 - P(X ≤ 150); using 1 - P(X ≤ 149) counts exactly 150 as overbooked and gives n = 156.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
X ∼ B(0.3, 10), with the probability firstX ∼ B(10, 0.3), with the number of trials first and the probability second
P(Y ≥ 13) = 1 - P(Y ≤ 13)P(Y ≥ 13) = 1 - P(Y ≤ 12), because 13 is included in the event
P(10 ≤ X ≤ 15) = P(X ≤ 15) - P(X ≤ 10)P(10 ≤ X ≤ 15) = P(X ≤ 15) - P(X ≤ 9)
P(Y < 18 mid Y ≥ 13) = P(Y < 18), ignoring the conditionP(Y < 18 mid Y ≥ 13) = (P(13 ≤ Y ≤ 17))/(P(Y ≥ 13))

Frequently asked questions

What conditions must hold before a situation can be modelled by a binomial distribution?
There must be a fixed number of trials, each trial has two outcomes, success or failure, the probability of success p is the same on every trial, and the trials are independent. Write X ∼ B(n, p) with the number of trials n first and the probability p second. The values of X are 0, 1, 2, …, n.
How do I find the mean and variance of a binomial distribution?
For X ∼ B(n, p) the mean is np and the variance is np(1 - p), both in the formula booklet. Use 1 - p, the probability of failure, in the variance. For X ∼ B(40, 0.15) the mean is 6 and the variance is 5.1.
How do I calculate P(X = k) for a binomial distribution on a graphic display calculator?
Choose the binomial probability density function on the calculator. Enter the number of trials n, the probability p and the value k, then read off the answer to three significant figures. For X ∼ B(10, 0.3), P(X = 4) = 0.200. Write down the distribution and the probability you are finding so that a method mark is available.
How do I find an at least or more than probability for a binomial variable?
The calculator gives cumulative probabilities, P(X ≤ k). For "at least k", use the complement: P(X ≥ k) = 1 - P(X ≤ k - 1). Because X takes whole numbers only, "more than 6" means X ≥ 7. So "at least 13" is 1 - P(X ≤ 12), not 1 - P(X ≤ 13).
How do I find the probability that a binomial variable lies between two values?
Subtract two cumulative probabilities: P(a ≤ X ≤ b) = P(X ≤ b) - P(X ≤ a - 1). The lower cumulative probability stops one below the lower end, because the lower end is included. For X ∼ B(25, 0.6), P(10 ≤ X ≤ 15) = 0.562.
What mistake do students make when a binomial question says given that?
Students often find the probability of the event alone and ignore the condition. A "given that" question divides by the probability of the condition, not by 1. In the example, P(Y < 18 mid Y ≥ 13) is P(13 ≤ Y ≤ 17) divided by P(Y ≥ 13), not P(Y < 18). Answering P(X = 12) = 0.142 in the exercise ignores the condition.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters