In this guide
← Maths AI guides

Statistics & probability · AI SL & HL

Binomial distributions

Check the binomial assumptions, calculate exact and cumulative probabilities, and turn phrases into correct integer boundaries.

Course focus: AI SL & HL: use technology to support calculation, show the mathematical setup and interpret the result in its context. Additional HL methods are labelled below.

Before you start: Combinations, independence and discrete probability.

Start with a small example

Build it from the beginning

A binomial variable counts successes in a fixed number of independent trials with one constant success probability. The count can take only integers. Establish the experiment before choosing a calculator distribution command.

A first walkthrough

For three independent fair coin tosses, find the probability of exactly two heads.

  1. There are three placements of the single tail.
  2. Each specific order has probability \((1/2)^3=1/8\).
  3. The probability is \(3/8\); the binomial formula counts those placements.
Try the practice ladder after learning the methods ↓

The foundations behind the method

Understand what the symbols mean

A binomial variable counts successes in a fixed number of trials. A trial has two categories, trials are independent, and success probability stays constant. Sampling without replacement generally violates the last two conditions; any approximation needs justification rather than simply naming two outcomes.

How the ideas connect

One particular arrangement with k successes has probability \(p^k(1-p)^{n-k}\). There are \(\binom nk\) arrangements, giving the mass formula. Translate “at least” and “more than” carefully before choosing a cumulative probability or complement.

01

Start with the idea

Build your understanding

A binomial variable counts successes in a fixed number of trials with the same success probability and independence. Check the model before computing. Similar-sounding counting situations may violate constant probability or independence.

Success is a label

“Success” means the outcome being counted, even if it is a defect or failure. Define it consistently.

Cumulative wording

At least, at most and more than describe different integer sets. Writing the set before using a calculator prevents off-by-one errors.

Compare the approaches

Choose by the information in the question, rather than the formula you recognise first.

Exactly k

When it helpsUse a probability mass calculation.

Check before using itCount both the successful and unsuccessful trials.

At least k

When it helpsUse the complement up to k−1 when simpler.

Check before using itDo not subtract the cumulative probability through k.

Your method plan

  1. Check fixed n, independence and constant probability.
  2. Translate the wording into an integer inequality.
  3. Calculate exactly or cumulatively, then check the probability scale.
02

Learn the methods

Learn step by step

1. Identify a binomial setting

There are a fixed number n of trials, two outcomes per trial, a constant success probability p and independent trials. Success is just the outcome being counted. Sampling without replacement from a small population usually violates independence and constant p; do not force a binomial model onto it.

2. Exactly r successes

Choose which r trials succeed using the binomial coefficient, multiply p for each success and \(1-p\) for each failure. The coefficient counts all positions of the successes. “The first success is on trial r” is a different geometric-style event and does not use this formula.

Distribution

Why this formula works

One particular sequence with r successes and \(n-r\) failures has probability pʳ(1−p)ⁿ⁻ʳ by independence. There are C(n,r) ways to place the successes, producing the coefficient. Without the binomial assumptions this reasoning does not hold.

The formula

\(X\sim B(n,p)\) \(P(X=r)=\binom nr p^r(1-p)^{n-r}\) \(r=0\),…,n.

Quick example

For three independent trials with \(p=\frac{1}{2}\), exactly two successes can occur in three orders. Their total probability is \(3(\frac{1}{2})^{3}=\frac{3}{8}\).

Worked example: Exactly two

Five independent trials succeed with probability 0.4. Find the chance of exactly two successes.

  1. Declare X~\(B(5,0.4)\).
  2. Compute \(\binom52(0.4)^2(0.6)^3=10(0.16)(0.216)\).
  3. The probability is 0.3456. The expected count is \(5(0.4)=2\), but that does not mean \(P(X=2)=1\).

3. Cumulative wording

At most r means \(X\le r\). Fewer than r means \(X\le r-1\) for integer X. At least r means \(X\ge r\), whose complement is \(X\le r-1\). More than r means \(X\ge r+1\). Write the inequality before using a calculator CDF.

“At least 3” includes the endpoint

012345600.10.20.3Successes XProbability

Dark bars: X ≥ 3. Light bars: X ≤ 2.

For X ~ B(6, ½), the darker bars show X ≥ 3. The complementary event is X ≤ 2, not X ≤ 3. The probability of at least 3 is 42/64.

Tail complement

Why this formula works

The complement of an integer count at least r contains all counts from zero through \(r-1\). Including r in that complement would incorrectly remove a valid boundary outcome.

The formula

\(P(X\ge r)=1-P(X\le r-1)\).

Quick example

\(P(X\ge 3)=1-P(X\le 2)\). By contrast, \(P(X>3)=1-P(X\le 3)\).

Worked example: At least one

With the same distribution, find \(P(X\ge 1)\).

  1. The complement is no successes, \(X=0\).
  2. \(P(X=0)=0.6^{5}=0.07776\).
  3. Therefore \(P(X\ge 1)=0.92224\).

4. Mean and spread

The mean np is the expected success count; the variance \(np(1-p)\) describes spread. The standard deviation is its square root. Check results against n and p: a distribution with a small p should not centre near n.

Moments

Why this formula works

Write the success count as a sum of n zero-or-one indicators. Each has mean p and variance \(p(1-p)\). Expectations add, and independence lets variances add, giving the two formulas.

The formula

\(E(X)=np\) \(\operatorname{Var}(X)=np(1-p)\) \(\sigma=\sqrt{np(1-p)}\).

Quick example

For X~\(B(20,0.3)\), \(\text{mean}=6\) and \(\text{variance}=20\times 0.3\times 0.7=4.2\). Standard deviation is \(\sqrt{4.2}\).

5. Use technology or exact arithmetic

On calculator papers use binomial PDF for one value and CDF for a cumulative total. Record the distribution and event, not just a decimal. On non-calculator questions keep simple fractions exact. State any modelling assumption that the context makes questionable.

Quick formula reference

For revision once you understand the methods above. Check the conditions before using a formula.

Distribution

\(X\sim B(n,p)\), \(P(X=r)=\binom nr p^r(1-p)^{n-r}\), \(r=0\),…,n.

Return to the explanation →

Moments

\(E(X)=np\), \(\operatorname{Var}(X)=np(1-p)\), \(\sigma=\sqrt{np(1-p)}\).

Return to the explanation →

Tail complement

\(P(X\ge r)=1-P(X\le r-1)\).

Return to the explanation →

Learn to diagnose an error

Spot the mistake

The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.

Incorrect reasoning

For \(X\sim B(10,p)\), “at least 3” is \(1-P(X\le3)\).

Explain and repair the mistake

That excludes X=3. The correct complement is \(1-P(X\le2)\). Write the permitted integers before entering calculator bounds.

03

Connect and apply

Put the ideas together

A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.

Worked application

A complement with an integer boundary

If \(X\sim B(4,0.3)\), find \(P(X\ge2)\).

  1. The complement is \(X\le1\), so subtract the probabilities of zero and one success.
  2. \(P(X=0)=0.7^4=0.2401\), and \(P(X=1)=4(0.3)(0.7)^3=0.4116\).
  3. Thus \(P(X\ge2)=1-0.2401-0.4116=0.3483\).
  4. Subtracting through 2 would instead calculate \(P(X\ge3)\). Integer boundaries must be translated before choosing the cumulative function.
Pause and explain

Would four draws without replacement from a small bag usually be binomial?

Check your reasoning

No. The success probability changes after draws and the trials are dependent. A binomial model would need a separately justified approximation or a different mechanism.

Common mistakes and how to avoid them

  • At least r complements at most \(r-1\), not at most r.
  • Verify independence and constant probability.
  • Use PDF for an exact count and CDF for a range.
04

Practise independently

Build confidence, then apply it

Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.

  1. 1

    Build confidence

    Find the probability of zero heads in the same experiment.

    Need a starting point?

    Only one ordering qualifies.

    Show the worked solution
    1. The outcome must be TTT.
    2. Its probability is \((1/2)^3=1/8\).
  2. 2

    Apply and explain

    If X counts heads, express at least two heads as an event and find its probability.

    Need a starting point?

    Include the boundary value 2.

    Show the worked solution
    1. The event is \(X\ge2\), meaning two or three heads.
    2. The probability is \(3/8+1/8=1/2\).
  3. 3

    Check your understanding

    For \(X\sim B(4,0.5)\), find \(P(X=0)\).

    Show the worked solution

    All four trials must fail, so \(P(X=0)=0.5^4=1/16\). There is just one all-failure arrangement.

  4. 4

    Use the method

    For X~\(B(10,0.2)\), find the mean and variance.

    Show the worked solution

    \(\text{Mean}=2\) and \(\text{variance}=10\times 0.2\times 0.8=1.6\). Standard \(\text{deviation}=\sqrt{1.6}\).

Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.

Using these methods in exam questions

AI Paper 1

GDC required

Short-response questions still need mathematical setup and interpretation. Choose the correct tool, enter the model or data carefully, and check units and rounding.

AI Paper 2

GDC required

Extended-response questions connect several steps. Keep intermediate values at full precision and explain how each result answers the context.

For this topic: Define the variable or events, write the probability statement or hypotheses, then calculate. Name the distribution and its parameters; interpret the result using the original population or context.

HL only · GDC required

Paper 3: build a connected argument

Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.

  1. Identify what the first part establishes and record the conditions under which it holds.
  2. When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
  3. Check the conclusion against an earlier numerical case and explain its meaning or limitation.

For the first-assessment-2021 courses. IB assessment reference ↗

Find a specific method or formula

Now practise the method

If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.

Practise this subtopic →

Want a broader practice session? Explore IB Maths AI SL practice questions →Explore IB Maths AI HL practice questions →Try free IB Maths exam-style questions and worked solutions →

Original Arc Practice teaching notes for Maths AI. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.