← AS & A Level Mathematics

AS & A Level Mathematics · Probability & Statistics 1 · Chapter 7

The binomial and geometric distributions

  • Two special discrete models: both model repeated independent trials where each trial has only two outcomes: success or failure.
  • The binomial distribution B(n, p): models the number of successes in a fixed number n of repeated independent trials.
  • The geometric distribution Geo(p): models the number of trials required to achieve the very first success.
  • Moments and parameters: calculate means and variances directly from parameters n and p without full probability tables.

🎯 Learning objectives

  • Recognise practical situations where a binomial distribution is a suitable mathematical model.
  • State and test the four necessary conditions: fixed n, independent trials, two outcomes, constant p.
  • Understand the binomial coefficient as the number of arrangements of r successes in n trials.
  • Use the formula P(X = r) = nCr pr (1 − p)n−r to calculate probabilities.

Book exercises: Exercise 7A and End-of-chapter review exercise 7.

1. The binomial model & necessary conditions

  • Discrete random variable: X represents the count of successes obtained in n repeated trials.
  • Standard notation: written as X ~ B(n, p), where:
    • n: number of repeated trials (finite positive integer).
    • p: constant probability of success on each trial (0 < p < 1).
    • q = 1 − p: probability of failure on each trial.
  • Support (range of values): X can take any whole number value from 0 up to n:

    X ∈ {0, 1, 2, ..., n}  (exactly n + 1 possible values)

1. Fixed Number of Trials (n)experiment consists of a predetermined, finite number of trials2. Two Mutually Exclusive Outcomeseach trial results in either success (S) or failure (F)3. Constant Probability of Success (p)probability p remains identical across every single trial; q = 1 − p4. Strictly Independent Trialsoutcome of any trial has zero influence on any other trialConclusion: Model as X ~ B(n, p)X counts total number of successes: X ∈ {0, 1, 2, ..., n}
The four essential conditions for modeling a situation using the binomial distribution B(n, p).

2. Deriving the binomial probability formula

  • Single outcome string: to get exactly r successes and (n − r) failures in a specified sequence (e.g. SSS...FFF):

    P(specified sequence) = p × p × ... × q × q = pr (1 − p)n−r

  • Number of arrangements: the r successes can be positioned among the n trials in:

    nCr = n! / [r!(n − r)!] different ways

  • Binomial probability formula: multiplying the number of ways by the probability of each way gives:

    P(X = r) = nCr pr (1 − p)n−r = nCr pr qn−r  for r = 0, 1, 2, ..., n

  • Binomial expansion link: the sum of all probabilities equals the binomial expansion of (q + p)n = 1n = 1.
Start p (S) q (F) SSS → r = 3 (1 way, p³) SSF → r = 2 SFS → r = 2  } 3 ways = ³C₂ p²q SFF → r = 1 FSS → r = 2 FSF → r = 1  } 3 ways = ³C₁ pq² FFS → r = 1 FFF → r = 0 (1 way, q³)
Probability tree for n = 3 independent trials showing how binomial coefficients ³Cᵣ count paths for each r.
P(X = r) = ⁿCᵣ × pʳ × (1 − p)ⁿ⁻ʳ Number of Arrangements r Successes Probability (n − r) Failures Probability
Anatomy of the binomial probability formula: combination factor × success factor × failure factor.

Worked examples

Worked Example 1: Regular Pentagonal Spinner (Book Example 7.1)

A regular pentagonal spinner with sections labelled A, B, C, D, A is spun 10 times. Find the probability that the 10 spins produce exactly three As.

  1. Identify trial parameters: n = 10 repeated independent spins. There are 2 sections marked A out of 5, so p = P(A) = 2/5 = 0.4.
  2. Identify failure probability: q = 1 − p = 1 − 0.4 = 0.6. The random variable is X ~ B(10, 0.4).
  3. Apply the binomial formula for r = 3 successes:

    P(X = 3) = 10C3 × (0.4)3 × (0.6)7 = × 0.064 × 0.0279936

  4. Evaluate the numerical product: 120 × 0.064 × 0.0279936 = 0.21499... ≈ 0.215.
  5. Answer: The probability of exactly three As is 0.215 (to 3 significant figures).

Worked Example 2: Rolling Fair Dice

Four ordinary fair 6-sided dice are rolled simultaneously. Find the probability of obtaining exactly two 6s.

  1. Define success and parameters: Let success be rolling a 6. Then p = 1/6, q = 5/6, and n = 4 dice. X ~ B(4, 1/6).
  2. State the binomial formula for r = 2:

    P(X = 2) = 4C2 × (1/6)2 × (5/6)2

  3. Calculate combinations and powers: 4C2 = 6, (1/6)2 = 1/36, (5/6)2 = 25/36.
  4. Multiply terms: P(X = 2) = 6 × (1/36) × (25/36) = 150 / 1296 = 25 / 216 ≈ 0.116.
  5. Answer: P(two 6s) = 25/216 (≈ 0.116). Check: 4C2 accounts for all 6 permutations: (66XX), (6X6X), (6XX6), (X66X), (X6X6), (XX66).

Worked Example 3: Penalty Kicks

A football striker scores 95% of penalty kicks. Find the probability that in her next 7 penalties she fails to score on exactly one kick.

  1. Define the random variable: Let success be scoring a penalty. Then p = 0.95, q = 0.05, and n = 7. X ~ B(7, 0.95).
  2. Identify the required number of successes: Failing on exactly 1 kick means scoring on exactly 6 kicks (r = 6).
  3. Substitute into the binomial formula:

    P(X = 6) = 7C6 × (0.95)6 × (0.05)1

  4. Compute value: 7 × 0.73509189 × 0.05 = 0.25728... ≈ 0.257.
  5. Answer: The probability is 0.257 (to 3 s.f.).

✏️ Try it: Binomial Model & Formula

Question 1: A fair coin is tossed 9 times. Find the probability of obtaining exactly 5 heads.

Show solution

Step 1: Identify parameters: n = 9, p = 0.5, q = 0.5. X ~ B(9, 0.5).

Step 2: Apply formula: P(X = 5) = 9C5 × (0.5)5 × (0.5)4 = 126 × (0.5)9 = 126 / 512.

Step 3: Simplify: 126 / 512 = 63 / 256 ≈ 0.246.

Answer: 63/256 (≈ 0.246).

Question 2: In a city, 70% of people pass their driving test on their first attempt. Find the probability that exactly 5 out of 8 randomly chosen people pass on their first attempt.

Show solution

Step 1: Parameters: n = 8, p = 0.7, q = 0.3. X ~ B(8, 0.7).

Step 2: Formula: P(X = 5) = 8C5 × (0.7)5 × (0.3)3 = 56 × 0.16807 × 0.027 = 0.25412...

Step 3: Round to 3 significant figures: 0.254.

Answer: 0.254.

Question 3: State giving a clear reason whether X has a binomial distribution: X is the number of red cards drawn when 5 cards are dealt from a standard shuffled deck of 52 cards without replacement.

Show solution

Step 1: Check independence condition: Dealing cards without replacement changes the contents of the deck after each draw.

Step 2: Check constant probability: The probability of drawing a red card changes from 26/52 to 25/51 (or 26/51) on the second draw.

Step 3: Conclude: Trials are not independent and p is not constant.

Answer: No, not binomial, because sampling without replacement violates the constant probability and independence conditions.

Next: Cumulative Probabilities & Inequalities →

🎯 Learning objectives

  • Evaluate cumulative probabilities such as P(X ≤ r), P(X ≥ r), and P(a ≤ X ≤ b).
  • Use complementary events efficiently: P(X ≥ 1) = 1 − P(X = 0).
  • Examine the skewness and shape of binomial distributions for p < 0.5, p = 0.5, and p > 0.5.
  • Solve for unknown trial count n using inequalities and base-10 logarithms.

1. Cumulative probability terms & interval boundaries

  • At most r: P(X ≤ r) = P(X = 0) + P(X = 1) + ... + P(X = r).
  • Fewer than r: P(X < r) = P(X ≤ r − 1).
  • At least r: P(X ≥ r) = P(X = r) + P(X = r + 1) + ... + P(X = n).
  • More than r: P(X > r) = P(X ≥ r + 1) = 1 − P(X ≤ r).
  • At least one success: the most common shortcut on exams:

    P(X ≥ 1) = 1 − P(X = 0) = 1 − (1 − p)n = 1 − qn

p = 0.2 (Skewed Right) 0 1 2 3 4 p = 0.5 (Symmetrical) 0 1 2 3 4 p = 0.8 (Skewed Left) 1 2 3 4 5
Distribution shape depends on p: positively skewed (p < 0.5), perfectly symmetrical (p = 0.5), and negatively skewed (p > 0.5).
Step 1: Express P(X = 0) in terms of nP(X = 0) = qⁿ, where q = 1 − p is the failure probabilityStep 2: Formulate the inequalitye.g. qⁿ < α (or P(X = n) = pⁿ > β)Step 3: Take base-10 logarithms of both sideslog₁₀(qⁿ) < log₁₀(α) ⟹ n · log₁₀(q) < log₁₀(α)Step 4: Divide by log₁₀(q) and REVERSE inequalitysince 0 < q < 1, log₁₀(q) is negative, so sign flips: n > log₁₀(α) / log₁₀(q)Step 5: Select least/greatest integer nround up or down to the nearest integer adhering to the inequality
Methodical steps for solving inequalities to find the least or greatest integer number of trials n.

Worked examples

Worked Example 4: Cumulative Upper Tail (Book Example 7.2)

Given that X ~ B(8, 0.7), find P(X > 6) correct to 3 significant figures.

  1. Identify parameters: n = 8, p = 0.7, q = 0.3. X ∈ {0, 1, ..., 8}.
  2. Identify favourable values: X > 6 means X = 7 or X = 8.
  3. Calculate P(X = 7):

    P(X = 7) = 8C7 × (0.7)7 × (0.3)1 = 8 × 0.0823543 × 0.3 = 0.197650...

  4. Calculate P(X = 8):

    P(X = 8) = 8C8 × (0.7)8 × (0.3)0 = 1 × 0.05764801 × 1 = 0.057648...

  5. Sum probabilities: P(X > 6) = 0.197650 + 0.057648 = 0.255298... ≈ 0.255.
  6. Answer: P(X > 6) = 0.255. Check: avoid premature rounding; 0.198 + 0.0576 = 0.256 would be inaccurate.

Worked Example 5: Blood Groups & Complement Rule (Book Example 7.3)

In a country, 85% of people have rhesus-positive (R+) blood. Find the probability that fewer than 39 people in a random sample of 40 have R+ blood.

  1. Define random variable: Let X be the count of R+ donors. X ~ B(40, 0.85).
  2. Formulate using complement: P(X < 39) = 1 − [P(X = 39) + P(X = 40)].
  3. Calculate P(X = 39):

    P(X = 39) = 40C39 × (0.85)39 × (0.15)1 = 40 × 0.00176739 × 0.15 = 0.010604...

  4. Calculate P(X = 40):

    P(X = 40) = 40C40 × (0.85)40 × (0.15)0 = 1 × 0.00150228 × 1 = 0.001502...

  5. Subtract from 1: P(X < 39) = 1 − [0.010604 + 0.001502] = 1 − 0.012106 = 0.98789... ≈ 0.988.
  6. Answer: The probability is 0.988.

Worked Example 6: Finding Minimum Trials Using Logarithms (Book Example 7.4)

Given that X ~ B(n, 0.4) and that P(X = 0) < 0.1, find the least possible integer value of n.

  1. Express P(X = 0) algebraically: P(X = 0) = nC0 × (0.4)0 × (0.6)n = 0.6n.
  2. Set up the inequality: 0.6n < 0.1.
  3. Take base-10 logarithms of both sides: log₁₀(0.6n) < log₁₀(0.1) ⇒ n · log₁₀(0.6) < log₁₀(0.1).
  4. Divide by log₁₀(0.6): Since log₁₀(0.6) ≈ −0.22185 is negative, REVERSE the inequality sign:

    n > = ≈ 4.5076

  5. Select smallest integer: Since n must be a whole number, n ≥ 5. Check: 0.6⁴ = 0.1296 > 0.1, but 0.6⁵ = 0.07776 < 0.1.
  6. Answer: The least possible value is n = 5.

🔬 Interactive Simulation: Binomial vs Geometric Explorer

Adjust parameters n and p to see the exact probability distribution bars change live, inspect moments, and observe skewness.

Live Step-by-Step Analysis:

    ✏️ Try it: Cumulative & Inequalities

    Question 1: Given Y ~ B(7, 0.6), find P(3 < Y < 6).

    Show solution

    Step 1: Identify values in strict inequality: Y ∈ {4, 5}.

    Step 2: P(Y = 4) = 7C4 (0.6)⁴(0.4)³ = 35 × 0.1296 × 0.064 = 0.290304.

    Step 3: P(Y = 5) = 7C5 (0.6)⁵(0.4)² = 21 × 0.07776 × 0.16 = 0.2612736.

    Step 4: Sum: 0.290304 + 0.261274 = 0.551577... ≈ 0.552.

    Answer: 0.552.

    Question 2: Given Q ~ B(n, 0.3) and P(Q = 0) > 0.1, find the greatest possible value of n.

    Show solution

    Step 1: P(Q = 0) = (1 − 0.3)ⁿ = 0.7ⁿ.

    Step 2: Inequality: 0.7ⁿ > 0.1 ⇒ n · log₁₀(0.7) > log₁₀(0.1).

    Step 3: Divide by log₁₀(0.7) < 0, reversing sign: n < log₁₀(0.1)/log₁₀(0.7) = −1 / −0.154902 = 6.455...

    Step 4: Largest integer: n = 6. Check: 0.7⁶ = 0.1176 > 0.1, but 0.7⁷ = 0.0824 < 0.1.

    Answer: n = 6.

    Question 3: A machine produces 4% defective bolts. Find the minimum sample size n such that the probability of finding at least one defective bolt exceeds 90%.

    Show solution

    Step 1: P(at least 1 defective) = 1 − P(0 defective) = 1 − 0.96ⁿ.

    Step 2: 1 − 0.96ⁿ > 0.90 ⇒ 0.96ⁿ < 0.10.

    Step 3: n > log₁₀(0.1)/log₁₀(0.96) = −1 / −0.01772877 ≈ 56.4.

    Step 4: Smallest integer n = 57.

    Answer: n = 57.

    Next: Mean & Variance of B(n, p) →

    🎯 Learning objectives

    • Calculate the expectation (mean) of a binomial distribution: E(X) = μ = np.
    • Calculate the variance Var(X) = σ² = np(1 − p) and standard deviation σ = √[np(1 − p)].
    • Solve simultaneous equations to recover the parameters n and p from given values of mean and variance.
    • Use expectation and variance to model and analyse practical situations.

    1. Expectation, variance & standard deviation

    • Mean / Expectation: in n trials with constant probability p, the expected number of successes is:

      E(X) = μ = np

    • Variance: measures the dispersion of the distribution:

      Var(X) = σ² = np(1 − p) = npq

    • Standard deviation: square root of the variance:

      σ = √[np(1 − p)] = √(npq)

    • Maximum variance property: for a given n, the product p(1 − p) attains its maximum value of 0.25 when p = 0.5. Thus, Var(X) ≤ 0.25n for any binomial distribution.
    Probability p Var/n 0 0.5 1.0 0.25 Max Variance = 0.25n
    Plot of Var(X)/n = p(1 − p): variance is strictly maximised at p = 0.5 and drops symmetrically to 0 at p = 0 and p = 1.
    Step 1: Divide Variance by MeanVar(X) / E(X) = (npq) / (np) = q = 1 − pStep 2: Determine Success Probability pp = 1 − q = 1 − [Var(X) / E(X)]Step 3: Calculate Trial Count nn = E(X) / p = E(X) / (1 − q)Step 4: Verify and Check Integer nensure n is an integer and 0 < p < 1; check Var(X) = np(1 − p)
    Method to determine parameters n and p when mean E(X) and variance Var(X) are provided.

    Worked examples

    Worked Example 7: Calculating Mean and Variance (Book Example 7.5)

    Given that X ~ B(12, 0.3), find the mean, the variance, and the standard deviation of X.

    1. Identify parameters: n = 12, p = 0.3, q = 1 − 0.3 = 0.7.
    2. Calculate the expectation (mean):

      E(X) = np = 12 × 0.3 = 3.6

    3. Calculate the variance:

      Var(X) = np(1 − p) = 3.6 × 0.7 = 2.52

    4. Calculate the standard deviation:

      σ = √[Var(X)] = √2.52 ≈ 1.58745... ≈ 1.59 (to 3 s.f.)

    5. Answer: Mean = 3.6, Variance = 2.52, Standard deviation = 1.59.

    Worked Example 8: Recovering Parameters n and p (Book Example 7.6)

    The random variable X ~ B(n, p). Given that E(X) = 12 and Var(X) = 7.5, find: (a) the value of n and of p, (b) P(X = 11).

    1. Divide variance by expectation to eliminate n:

      = = q = = 0.625

    2. Find probability of success p: p = 1 − q = 1 − 0.625 = 0.375 (or 3/8).
    3. Find number of trials n:

      n = = = 32

      The distribution is fully identified as X ~ B(32, 0.375).
    4. Calculate P(X = 11) using the binomial formula:

      P(X = 11) = 32C11 × (0.375)11 × (0.625)21

    5. Compute value: 129024480 × (0.375)11 × (0.625)21 ≈ 0.1378... ≈ 0.138.
    6. Answer: (a) n = 32, p = 0.375; (b) P(X = 11) = 0.138.

    🧮 Interactive Tool: Binomial & Geometric Probability Solver

    Enter distribution parameters to compute moments and probabilities with full numbered step-by-step mathematical working.

    Click Calculate to display detailed step-by-step derivation.

    ✏️ Try it: Mean & Variance of B(n, p)

    Question 1: Given X ~ B(60, 0.25), calculate the mean, variance, and standard deviation.

    Show solution

    Step 1: Mean: E(X) = np = 60 × 0.25 = 15.

    Step 2: Variance: Var(X) = np(1 − p) = 15 × 0.75 = 11.25.

    Step 3: Standard deviation: σ = √11.25 ≈ 3.354... ≈ 3.35.

    Answer: Mean = 15, Variance = 11.25, Standard deviation = 3.35.

    Question 2: A random variable W has a binomial distribution with E(W) = 2.7 and Var(W) = 0.27. Find the values of n and p.

    Show solution

    Step 1: q = Var(W)/E(W) = 0.27 / 2.7 = 0.1.

    Step 2: p = 1 − q = 1 − 0.1 = 0.9.

    Step 3: n = E(W) / p = 2.7 / 0.9 = 3.

    Answer: n = 3, p = 0.9.

    Question 3: The variable Q ~ B(n, 1/3), and its standard deviation is one-third of its mean. Calculate the non-zero value of n.

    Show solution

    Step 1: Express mean and standard deviation: E(Q) = n/3; σ = √[n × (1/3) × (2/3)] = √(2n/9) = √(2n)/3.

    Step 2: Given σ = (1/3) × E(Q) ⇒ √(2n)/3 = (1/3) × (n/3) = n/9.

    Step 3: Multiply by 9: 3√(2n) = n. Square both sides: 9 × 2n = n² ⇒ 18n = n².

    Step 4: Since n ≠ 0, divide by n: n = 18.

    Answer: n = 18.

    Next: Geometric Model & Formula →

    🎯 Learning objectives

    • Recognise situations suitable for a geometric distribution model Geo(p).
    • State the four criteria: trials repeated until first success, independent trials, two outcomes, constant p.
    • Use the geometric probability formula P(X = r) = (1 − p)r−1 p = qr−1 p for r = 1, 2, 3, ...
    • Understand why the mode of every geometric distribution is always 1.

    Book exercises: Exercise 7C, 7D, and End-of-chapter review exercise 7.

    1. The geometric model & properties

    • Definition: X is the number of trials up to and including the first success.
    • Notation: written as X ~ Geo(p), where p is the constant success probability on each trial.
    • Range of X (support): trials can theoretically continue forever, so:

      X ∈ {1, 2, 3, 4, ...}  (infinite, non-zero positive integers)

    • Probability formula: the first success occurs on the rth trial if and only if there are (r − 1) failures followed immediately by 1 success:

      P(X = r) = (1 − p)r−1 p = qr−1 p  for r = 1, 2, 3, ...

    • Sum of probabilities equals 1: probabilities form an infinite geometric progression with first term a = p and common ratio q = 1 − p:

      Σ P(X = r) = = = = 1

    • Mode is always 1: since q < 1, each subsequent probability is multiplied by q, meaning P(X = 1) = p is strictly the greatest probability in ANY geometric distribution.
    1. Trials Repeated until First Successexperiment continues indefinitely until success occurs on trial r2. Two Mutually Exclusive Outcomeseach individual trial results in success (S) or failure (F)3. Constant Probability of Success (p)probability p is constant for all trials; q = 1 − p4. Independent Repeated Trialstrials are independent; previous failures do not affect future trialsConclusion: Model as X ~ Geo(p)X is the number of trials up to and including the 1st success: X ∈ {1, 2, 3, ...}
    The four essential conditions for modeling a random variable using the geometric distribution Geo(p).
    First success occurs on trial r: exactly (r − 1) failures then 1 success F (q) Trial 1 F (q) Trial 2 ... F (q) Trial r−1 S (p) Trial r (Success!) Prob = qʳ⁻¹ p
    Structure of the outcome string leading to first success on trial r: exactly one path of probability qʳ⁻¹p.
    Trial number r of first success P(X = r) 0.40 0.24 0.144 0.086 0.052 0.031 1 (Mode) 2 3 4 5 6
    Exponential decay of geometric distribution probabilities for p = 0.4: Mode is always 1, with P(X = r) strictly decreasing.

    Worked examples

    Worked Example 9: First Success Probabilities (Book Example 7.7)

    Repeated independent trials are carried out in which the probability of success in each trial is 0.66. Correct to 3 significant figures, find the probability that the first success occurs: (a) on the third trial, (b) on or before the second trial, (c) after the third trial.

    1. Define random variable: Let X be the number of trials up to and including the first success. X ~ Geo(0.66), so p = 0.66 and q = 1 − 0.66 = 0.34.
    2. Part (a) on the third trial (r = 3):

      P(X = 3) = q2 p = (0.34)2 × 0.66 = 0.1156 × 0.66 = 0.076296 ≈ 0.0763

    3. Part (b) on or before the second trial (X ≤ 2):

      P(X ≤ 2) = P(X = 1) + P(X = 2) = p + qp = 0.66 + (0.34 × 0.66) = 0.66 + 0.2244 = 0.8844 ≈ 0.884

    4. Part (c) after the third trial (X > 3):

      P(X > 3) = 1 − P(X ≤ 3) = 1 − [P(X = 1) + P(X = 2) + P(X = 3)] = 1 − [0.8844 + 0.076296] = 1 − 0.960696 = 0.039304 ≈ 0.0393

    5. Answer: (a) 0.0763, (b) 0.884, (c) 0.0393.

    Worked Example 10: Ratio of Geometric Probabilities

    The random variable T has a geometric distribution and P(T = 2) / P(T = 5) = 15.625. Find P(T = 3).

    1. Express probabilities in terms of q and p:

      P(T = 2) = qp,   P(T = 5) = q4 p

    2. Form the ratio:

      = = = 15.625

    3. Solve for q: q3 = 1 / 15.625 = 0.064 ⇒ q = (0.064)1/3 = 0.4.
    4. Find success probability p: p = 1 − q = 1 − 0.4 = 0.6. T ~ Geo(0.6).
    5. Calculate P(T = 3): P(T = 3) = q2 p = (0.4)2 × 0.6 = 0.16 × 0.6 = 0.096.
    6. Answer: P(T = 3) = 0.096.

    ✏️ Try it: Geometric Model & Formula

    Question 1: Given X ~ Geo(0.2), calculate P(X = 4).

    Show solution

    Step 1: Parameters: p = 0.2, q = 0.8.

    Step 2: Formula: P(X = 4) = q³ p = (0.8)³ × 0.2 = 0.512 × 0.2 = 0.1024.

    Answer: 0.1024.

    Question 2: Two independent random variables are X ~ Geo(0.3) and Y ~ Geo(0.7). Find P(X = 1 and Y = 1).

    Show solution

    Step 1: Independence allows multiplication of individual probabilities.

    Step 2: P(X = 1) = 0.3, and P(Y = 1) = 0.7.

    Step 3: P(X = 1 and Y = 1) = 0.3 × 0.7 = 0.21.

    Answer: 0.21.

    Question 3: What is the mode of any geometric distribution, and why?

    Show solution

    Step 1: State the mode: The mode is 1.

    Step 2: Justification: P(X = 1) = p. For any r > 1, P(X = r) = qʳ⁻¹p. Since 0 < q < 1, qʳ⁻¹ < 1, making P(X = r) < p for all r > 1.

    Answer: Mode = 1, because P(X = 1) has the strictly greatest probability for any valid p.

    Next: Cumulative Geo & Expectation →

    🎯 Learning objectives

    • Use powerful cumulative formulas for Geo(p): P(X > r) = qr and P(X ≤ r) = 1 − qr.
    • Calculate probabilities for intervals: P(a ≤ X ≤ b) = qa−1 − qb.
    • Calculate the mean (expectation) of a geometric distribution: E(X) = μ = 1 / p.
    • Understand and reproduce the algebraic proof of E(X) = 1 / p.

    1. Cumulative geometric formulas (The qʳ power shortcut)

    • First success after the rth trial: saying the first success occurs after trial r means the first r trials must ALL be failures:

      P(X > r) = P(failure on first r trials) = q × q × ... × q = qr = (1 − p)r

    • First success on or before the rth trial: the complement of X > r:

      P(X ≤ r) = 1 − P(X > r) = 1 − qr = 1 − (1 − p)r

    • At least r trials required: P(X ≥ r) = P(X > r − 1) = qr−1.
    • Interval probabilities: to find P(a ≤ X ≤ b):

      P(a ≤ X ≤ b) = P(X ≤ b) − P(X ≤ a − 1) = (1 − qb) − (1 − qa−1) = qa−1 − qb

    Complementary Partition of the Geometric Support X ≤ r (Success in first r trials) P(X ≤ r) = 1 − qʳ X > r (First r trials all failures) P(X > r) = qʳ Total probability: P(X ≤ r) + P(X > r) = (1 − qʳ) + qʳ = 1
    Visual derivation: P(X > r) requires r consecutive failures (qʳ), so its complement P(X ≤ r) is exactly 1 − qʳ.

    2. Expectation of the geometric distribution

    • Mean / Expectation formula:

      E(X) = μ = 1 / p

    • Intuitive meaning: if an event has a 1 in 5 chance of occurring (p = 0.2), on average you expect to wait 1 / 0.2 = 5 trials for the first occurrence.
    • Finding p from E(X): if the mean is known, the parameter is immediately p = 1 / E(X).
    Step 1: Write expectation seriesμ = 1·p + 2·qp + 3·q²p + 4·q³p + ...Step 2: Multiply entire equation by qq·μ = 1·qp + 2·q²p + 3·q³p + ...Step 3: Subtract second equation from first(1 − q)·μ = p + qp + q²p + q³p + ... = p·(1 + q + q² + ...)Step 4: Evaluate infinite geometric seriessum of infinite GP = p / (1 − q) = p / p = 1Step 5: Conclude expectation formula(1 − q)·μ = p·μ = 1 ⟹ μ = E(X) = 1 / p
    Four-step algebraic derivation of E(X) = 1/p by subtracting the shifted geometric series.

    Worked examples

    Worked Example 11: Contact Lenses (Book Example 7.8)

    In a country, 18% of adults wear contact lenses. Adults are randomly selected and interviewed one at a time. Find the probability that the first adult wearing contact lenses is: (a) one of the first 15 interviewed, (b) not one of the first 9 interviewed.

    1. Define random variable: Let X be the number of adults interviewed up to and including the first lens wearer. X ~ Geo(0.18), so p = 0.18 and q = 1 − 0.18 = 0.82.
    2. Part (a) one of the first 15 interviewed (X ≤ 15):

      P(X ≤ 15) = 1 − q15 = 1 − (0.82)15 = 1 − 0.050948... = 0.94905... ≈ 0.949

    3. Part (b) not one of the first 9 interviewed (X > 9):

      P(X > 9) = q9 = (0.82)9 = 0.167588... ≈ 0.168

    4. Answer: (a) 0.949, (b) 0.168. Check: much faster than summing 15 individual probability terms!

    Worked Example 12: Biased Coin Inequalities (Book Example 7.9)

    A coin is biased such that P(Heads) = 5/11. The coin is tossed until the first head is obtained. Find the probability that the coin is tossed: (a) at least 6 times, (b) fewer than 8 times.

    1. Identify parameters: X ~ Geo(5/11), p = 5/11, q = 1 − 5/11 = 6/11.
    2. Part (a) at least 6 times: "At least 6" means X ≥ 6, which is equivalent to X > 5 (the first 5 tosses must be tails):

      P(X ≥ 6) = P(X > 5) = q5 = (6/11)5 = ≈ 0.0483

    3. Part (b) fewer than 8 times: "Fewer than 8" means X ≤ 7 (success on or before the 7th toss):

      P(X < 8) = P(X ≤ 7) = 1 − q7 = 1 − (6/11)7 = 1 − 0.01438... = 0.9856... ≈ 0.986

    4. Answer: (a) 0.0483, (b) 0.986.

    Worked Example 13: Cereal Toy & Context Interpretation (Book Example 7.10)

    One in four boxes of Zingo cereal contains a toy. Let X be the number of boxes opened up to and including the one with the first toy. (a) Find the mode and expectation of X. (b) Interpret these values in context.

    1. Identify distribution: X ~ Geo(1/4), so p = 0.25.
    2. Calculate mode: The mode of every geometric distribution is 1.
    3. Calculate expectation:

      E(X) = 1 / p = 1 / 0.25 = 4

    4. Interpret in context:
      • Mode: A child is most likely to find their first toy in the very first box opened.
      • Expectation: On average over many children, a child will open 4 boxes to find their first toy.
    5. Answer: (a) Mode = 1, E(X) = 4; (b) Interpretations given above.

    Worked Example 14: Reversing Cumulative Probability (Book Example 7.12)

    Given that X ~ Geo(p) and that P(X ≤ 3) = 819/1331, find: (a) P(X > 3), (b) P(1 < X ≤ 3).

    1. Part (a) find P(X > 3):

      P(X > 3) = 1 − P(X ≤ 3) = 1 − =

    2. Part (b) find p and q first:

      P(X > 3) = q3 = ⇒ q = (512/1331)1/3 =

      Therefore, p = 1 − 8/11 = 3/11.
    3. Evaluate P(1 < X ≤ 3):

      P(1 < X ≤ 3) = P(X ≤ 3) − P(X = 1) = − = − = ≈ 0.343

    4. Answer: (a) 512/1331, (b) 456/1331 (≈ 0.343).

    ✏️ Try it: Cumulative Geo & Expectation

    Question 1: An ordinary fair die is rolled until the first 6 is obtained. Let X be the number of rolls required. Find E(X) and evaluate P[X > E(X)].

    Show solution

    Step 1: Distribution is X ~ Geo(1/6), so p = 1/6, q = 5/6.

    Step 2: E(X) = 1 / p = 1 / (1/6) = 6.

    Step 3: P[X > E(X)] = P(X > 6) = q⁶ = (5/6)⁶ = 15625 / 46656 ≈ 0.334898... ≈ 0.335.

    Answer: E(X) = 6, P(X > 6) = 15625/46656 (≈ 0.335).

    Question 2: Given S ~ Geo(p) and E(S) = 4.5, find P(S = 2).

    Show solution

    Step 1: E(S) = 1/p = 4.5 = 9/2 ⇒ p = 2/9.

    Step 2: Failure probability: q = 1 − 2/9 = 7/9.

    Step 3: P(S = 2) = q · p = (7/9) × (2/9) = 14 / 81 ≈ 0.173.

    Answer: 14/81 (≈ 0.173).

    Question 3: A defective gene occurs in 0.2% of people. X is the number of randomly selected people up to and including the first with the gene. Find E(X) and the smallest b such that P(X ≤ b) > 0.865.

    Show solution

    Step 1: p = 0.002, q = 0.998. E(X) = 1 / 0.002 = 500.

    Step 2: P(X ≤ b) = 1 − 0.998ᵇ > 0.865 ⇒ 0.998ᵇ < 0.135.

    Step 3: b > log₁₀(0.135) / log₁₀(0.998) = −0.869666 / −0.00086947 ≈ 1000.2.

    Step 4: Smallest integer b = 1001.

    Answer: E(X) = 500, smallest b = 1001.

    Next: Summary & Chapter Quiz →

    Chapter summary

    • Binomial Distribution B(n, p):
      • Models the number of successes in a fixed number of n independent trials.
      • Conditions: fixed n, independent trials, two outcomes (success/failure), constant probability p.
      • Range: X ∈ {0, 1, 2, ..., n}.
      • Formula: P(X = r) = nCr pr (1 − p)n−r.
      • Mean & Variance: E(X) = np,   Var(X) = np(1 − p) = npq,   σ = √(npq).
    • Geometric Distribution Geo(p):
      • Models the number of trials up to and including the FIRST success.
      • Conditions: repeated until 1st success, independent trials, two outcomes, constant probability p.
      • Range: X ∈ {1, 2, 3, ...} (X ≥ 1, infinite positive integers).
      • Formula: P(X = r) = (1 − p)r−1 p = qr−1 p.
      • Mode: Mode = 1 for all geometric distributions (probabilities strictly decrease).
      • Cumulative formulas: P(X > r) = qr,   P(X ≤ r) = 1 − qr.
      • Interval formula: P(a ≤ X ≤ b) = qa−1 − qb.
      • Mean / Expectation: E(X) = μ = 1 / p.
    Examine the random processrepeated independent trials with two outcomes (S or F) and constant probability pDecision: What does the variable X count?is the number of trials fixed in advance, or do trials stop at first success?Branch A: Fixed n trials, counting successes⟹ Model with Binomial Distribution: X ~ B(n, p), where X ∈ {0, 1, ..., n}Branch B: Variable trials, counting trials until 1st success⟹ Model with Geometric Distribution: X ~ Geo(p), where X ∈ {1, 2, 3, ...}
    Master decision logic: choosing between the Binomial and Geometric probability models.

    ⚖️ Comparison: Binomial B(n, p) vs Geometric Geo(p)

    Feature Binomial B(n, p) Geometric Geo(p)
    Number of trials Fixed in advance (finite n) Variable (stops at 1st success)
    Random variable X counts Number of successes Trials to get 1st success
    Possible values (support) {0, 1, 2, ..., n} {1, 2, 3, 4, ...} (X ≥ 1)
    Parameters Two parameters: n and p One parameter: p
    Probability P(X = r) nCr pr qn−r qr−1 p
    Mean / Expectation E(X) np 1 / p
    Variance Var(X) npq = np(1 − p) q / p² (extension)
    Mode Near np (integer ⌊(n+1)p⌋) Always 1
    Cumulative shortcut P(X ≥ 1) = 1 − qn P(X > r) = qr, P(X ≤ r) = 1 − qr

    📄 Printable Chapter Assignment

    Download the official Guru Jazzy printable classroom assignment containing every coursebook exercise (7A, 7B, 7C, 7D), End-of-chapter review exercise 7, Check yourself challenges, and the Chapter quiz:

    📥 Download S1 Chapter 7 Assignment PDF (23 pages, 90 questions)

    Chapter quiz

    1. Which of the following is NOT a required condition for a binomial distribution B(n, p)?
    2. Given X ~ B(5, 0.4), what is the exact probability P(X = 2)?
    3. For X ~ B(4, 0.2), what is the probability P(X ≥ 1)?
    4. If X ~ B(n, 0.3) and P(X = 0) < 0.1, what is the least possible integer value of n?
    5. A variable X ~ B(60, 0.25). What are the mean E(X) and variance Var(X)?
    6. For X ~ B(n, p), given E(X) = 18 and Var(X) = 7.2, find the values of n and p.
    7. What is the most likely value (mode) of any geometric distribution Geo(p)?
    8. Given X ~ Geo(0.2), what is the probability that the first success is on trial 4?
    9. If X ~ Geo(0.25), what is the probability P(X > 3)?
    10. For X ~ Geo(p), which expression represents the cumulative probability P(X ≤ r)?
    11. A fair 6-sided die is rolled until the first 6 appears. What is the expected number of rolls?
    12. Given X ~ Geo(p) and P(X ≤ 2) = 0.64, find the value of p.

    Source: Based on Cambridge International AS & A Level Mathematics: Probability & Statistics 1 Coursebook by Dean Chalmers, Cambridge University Press. Exercises 7A–7D and End-of-chapter review 7 reproduced for educational reference. Check yourself and Chapter quiz questions are Guru Jazzy's own.