Applied Mathematics II: Probability Distributions

Unit IV of Section B2 is about random variables and their distributions: the probability distribution of a discrete random variable, its mean and variance, the binomial and Poisson distributions, and the normal distribution with the standard normal variate. The chapter works each with the numbers computed.
Overview

1. Random Variables, Expectation and Variance

1 min read · 1 part

A random variable X assigns a number to each outcome of a random experiment. It is discrete if it takes isolated values (number of heads, a die score) and continuous if it takes any value in an interval (height, time). The probability distribution of a discrete X lists each value x with its probability P(x), where every P(x) ≥ 0 and ΣP(x) = 1. For the number of heads in two tosses of a fair coin, P(0) = 1/4, P(1) = 1/2, P(2) = 1/4, which sum to 1. The expected value (mean) is E(X) = Σ x·P(x), the long-run average: here 0 × 1/4 + 1 × 1/2 + 2 × 1/4 = 1. The variance is Var(X) = E(X²) − [E(X)]², where E(X²) = Σ x²P(x): here E(X²) = 0 + 1/2 + 1 = 1.5, so Var(X) = 1.5 − 1 = 0.5, and the standard deviation is √0.5 = 0.707. For a fair die E(X) = 3.5 and Var(X) = 35/12 = 2.917.

Distribution of heads in two tosses
xP(x)x·P(x)x²·P(x)
01/400
11/21/21/2
21/41/21
Sum1E(X) = 1E(X²) = 1.5

A random variable X assigns a number to each outcome of a random experiment. It is discrete if it takes isolated values (number of heads, a die score) and continuous if it takes any value…

2. Binomial and Poisson Distributions

1 min read

A Bernoulli trial has two outcomes, success (probability p) and failure (q = 1 − p). In n independent trials with the same p, the number of successes X has the binomial distribution B(n, p): P(X = r) = ⁿCr · pʳ · qⁿ⁻ʳ, with mean np, variance npq and standard deviation √(npq). For n = 5 and p = 0.4, P(X = 2) = 10 × 0.4² × 0.6³ = 10 × 0.16 × 0.216 = 0.3456; the mean is 2, the variance 5 × 0.4 × 0.6 = 1.2 and the standard deviation 1.095. The conditions to verify are a fixed number of trials, independence, two outcomes and a constant p.

The Poisson distribution counts events in a fixed interval of time or space when they occur independently at a constant average rate λ: P(X = r) = e⁻λ · λʳ / r!, with mean = variance = λ. If a switchboard gets 3 calls a minute on average, P(no calls) = e⁻³ = 0.0498 and P(exactly 2) = e⁻³ × 9/2 = 0.2240. It also approximates a binomial when n is large and p small, with λ = np: for n = 100 and p = 0.02, λ = 2. The signature of a Poisson variable is that its mean and variance are equal; a binomial always has the variance smaller than the mean.

A Bernoulli trial has two outcomes, success (probability p) and failure (q = 1 − p). In n independent trials with the same p, the number of successes X has the binomial distribution B(n…

3. The Normal Distribution

1 min read · 3 parts

The normal distribution is the continuous, symmetric, bell-shaped distribution fixed by its mean μ and standard deviation σ; its mean, median and mode coincide. A value x is converted to the standard normal variate z = (x − μ) / σ, which has mean 0 and standard deviation 1, so one table serves every normal distribution. The area relationship is the 68-95-99.7 rule: about 68.3 per cent of values lie within one σ of the mean, 95.4 per cent within two and 99.7 per cent within three. Useful table values: Φ(1) = 0.8413, Φ(1.5) = 0.9332, Φ(1.96) = 0.9750 and Φ(2) = 0.9772. For marks with μ = 50 and σ = 10, P(40 < X < 60) = Φ(1) − Φ(−1) = 0.8413 − 0.1587 = 0.6827, and P(X > 65) has z = 1.5, so the probability is 1 − 0.9332 = 0.0668.

Three distributions compared
DistributionMean, varianceUse
Binomial B(n, p)np, npqNumber of successes in n trials
Poisson(λ)λ, λRare events in an interval
Normal N(μ, σ²)μ, σ²Continuous measurements, via z
Random variables and their distributions
Random variable X
  • Discrete: isolated values
    • Binomial B(n, p): successes in n trials
    • Poisson(λ): rare events in an interval
  • Continuous: any value in an interval
    • Normal N(μ, σ²): bell-shaped
Finding P(X > 65) for marks
  1. μ = 50, σ = 10
  2. z = (65 − 50) / 10 = 1.5Standard normal variate
  3. Table: Φ(1.5) = 0.9332
  4. P(X > 65) = 1 − 0.9332 = 0.0668

The normal distribution is the continuous, symmetric, bell-shaped distribution fixed by its mean μ and standard deviation σ; its mean, median and mode coincide. A value x is converted to…

4. Worked Examples

1 min read · 2 parts

Example 1 (binomial). A fair coin is tossed 3 times. The probability of at least one head is easiest by the complement: P(no head) = (1/2)³ = 1/8, so P(at least one) = 1 − 1/8 = 0.875; the distribution of heads is 1/8, 3/8, 3/8, 1/8 for 0, 1, 2, 3, with mean np = 1.5 and variance npq = 0.75. Example 2 (normal). Heights in a class are normal with mean 165 cm and standard deviation 8 cm. A student of 181 cm has z = (181 − 165)/8 = 2, and the share taller is 1 − 0.9772 = 0.0228, about one in 44; the share between 157 and 173 cm is within one standard deviation, 0.6827. Example 3 (choosing the model). Number of defective bulbs in a box of 10 with p = 0.05 is binomial; number of accidents at a junction per month is Poisson; the weight of a packet of flour, measured to a fraction of a gram, is normal. The skill is to match the story to the distribution before touching a formula.

Choosing the distribution
StoryDistributionParameter(s)
Count of successes in a fixed number of trialsBinomialn, p
Count of rare events in an intervalPoissonλ
Continuous measurement around a typical valueNormalμ, σ

Example 1 (binomial). A fair coin is tossed 3 times. The probability of at least one head is easiest by the complement: P(no head) = (1/2)³ = 1/8, so P(at least one) = 1 − 1/8 = 0.875; the…

5. More Worked Problems: Binomial, Poisson and Normal

1 min read · 2 parts

For a binomial variable with n = 5 and p = 0.4, the probability of exactly two successes is C(5, 2) × 0.4² × 0.6³ = 10 × 0.16 × 0.216 = 0.3456, the mean is np = 2 and the variance is npq = 5 × 0.4 × 0.6 = 1.2. For a Poisson variable with mean λ = 3, P(X = 0) = e⁻³ ≈ 0.0498 and P(X = 2) = e⁻³ × 3² / 2! ≈ 0.2240, and the mean and the variance are both 3. For a normal variable with mean 50 and standard deviation 10, the probability of lying within one standard deviation of the mean, between 40 and 60, is about 0.6827, and the probability of exceeding 70, two standard deviations above, is about 0.0228.

Results
ItemWorkingResult
Binomial n = 5, p = 0.4, P(X = 2)10 × 0.16 × 0.2160.3456
Poisson λ = 3, P(X = 0)e⁻³0.0498
Poisson λ = 3, P(X = 2)e⁻³ × 9 / 20.2240
Normal N(50, 10²), P(40 < X < 60)within 1 sd0.6827
🧠 Which distribution?
A fixed number of independent trials with the same chance of success is binomial; counts of rare events in a continuous interval of time or space with a known average are Poisson; measurements that cluster symmetrically round a mean are normal. Standardise a normal value with Z = (X − μ)/σ before reading a table, and remember the 68 per cent rule for one standard deviation.

For a binomial variable with n = 5 and p = 0.4, the probability of exactly two successes is C(5, 2) × 0.4² × 0.6³ = 10 × 0.16 × 0.216 = 0.3456, the mean is np = 2 and the variance is npq =…

Key takeaways

  • A discrete distribution has P(x) ≥ 0 and ΣP(x) = 1; E(X) = Σ xP(x) and Var(X) = E(X²) − [E(X)]².
  • Binomial: P(X = r) = ⁿCr pʳ qⁿ⁻ʳ, mean np, variance npq.
  • Poisson: P(X = r) = e⁻λ λʳ / r!, with mean and variance both λ.
  • Normal: z = (x − μ) / σ; about 68, 95 and 99.7 per cent lie within one, two and three standard deviations.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. In a probability distribution, the sum of all probabilities equals:

    1. 1
    2. 0
    3. 0.5
    4. The mean
    Show answer

    Answer: A — 1

    The probabilities of all possible values of a random variable must add to 1.
  2. The mean of a binomial distribution with n = 20 and p = 0.3 is:

    1. 4.2
    2. 14
    3. 0.3
    4. 6
    Show answer

    Answer: D — 6

    Mean = np = 20 × 0.3 = 6. The variance would be npq = 4.2.
  3. For a Poisson distribution with parameter λ, the variance is:

    1. λ²
    2. √λ
    3. λ
    4. 1/λ
    Show answer

    Answer: C — λ

    A Poisson distribution has its mean and variance both equal to λ.
Show the other 21 questions
  1. The standard normal variate is z =

    1. (x − σ) / μ
    2. (x − μ) / σ
    3. x / μσ
    4. (μ − x)σ
    Show answer

    Answer: B — (x − μ) / σ

    z subtracts the mean and divides by the standard deviation, giving mean 0 and standard deviation 1.
  2. A fair coin is tossed twice and X is the number of heads. Var(X) is:

    1. 0.5
    2. 1
    3. 0.25
    4. 1.5
    Show answer

    Answer: A — 0.5

    E(X) = 1 and E(X²) = 1.5, so Var(X) = 1.5 − 1 = 0.5. Quoting E(X²) = 1.5 as the variance is the common slip.
  3. A bag gives a defective item with probability 0.4. Out of 5 items drawn independently, the probability that exactly 2 are defective is:

    1. 0.16
    2. 0.4
    3. 0.2
    4. 0.3456
    Show answer

    Answer: D — 0.3456

    P = ⁵C₂ × 0.4² × 0.6³ = 10 × 0.16 × 0.216 = 0.3456. The value 0.16 forgets both the combinations and the successes.
  4. Scores are normal with mean 50 and standard deviation 10. The proportion between 40 and 60 is about:

    1. 95%
    2. 99.7%
    3. 68%
    4. 50%
    Show answer

    Answer: C — 68%

    40 and 60 are one standard deviation either side of the mean, so about 68.3 per cent of scores lie between them.
  5. A call centre receives on average 3 calls per minute. The probability of no calls in a minute is:

    1. 3e⁻³ ≈ 0.149
    2. e⁻³ ≈ 0.0498
    3. 1/3
    4. 0
    Show answer

    Answer: B — e⁻³ ≈ 0.0498

    For a Poisson variable P(0) = e⁻λ = e⁻³ = 0.0498. The value 3e⁻³ is P(1).
  6. For marks with μ = 50 and σ = 10, the probability of scoring above 65 is (Φ(1.5) = 0.9332):

    1. 0.0668
    2. 0.9332
    3. 0.1587
    4. 0.0228
    Show answer

    Answer: A — 0.0668

    z = (65 − 50)/10 = 1.5, and the upper tail is 1 − 0.9332 = 0.0668. The value 0.9332 is the area below 65.
  7. A random variable has mean 4 and variance 4. Which distribution is most plausible?

    1. Binomial with n = 10, p = 0.4
    2. Standard normal
    3. Binomial with n = 8, p = 0.5
    4. Poisson with λ = 4
    Show answer

    Answer: D — Poisson with λ = 4

    Equal mean and variance is the mark of a Poisson. The binomial options have mean 4 but variances 2.4 and 2, and the standard normal has mean 0.
  8. A random variable X takes the values 0, 1, 2 with probabilities 0.2, 0.5, 0.3. Its expected value E(X) is:

    1. 1.0
    2. 1.1
    3. 1.2
    4. 0.5
    Show answer

    Answer: B — 1.1

    E(X) = 0 × 0.2 + 1 × 0.5 + 2 × 0.3 = 1.1. 1.0 is the tempting wrong option, the plain average of 0, 1 and 2, which ignores that the values are not equally likely.
  9. The variance of a binomial distribution with n = 10 and p = 0.4 is:

    1. 4
    2. 6
    3. 2.4
    4. 0.24
    Show answer

    Answer: C — 2.4

    Variance = npq = 10 × 0.4 × 0.6 = 2.4. 4 is the tempting wrong option, the mean np, which is a different quantity; 6 is nq, the mean of the failures.
  10. Marks are normal with mean 50 and standard deviation 10. The standard score (z) of a student who scored 70 is:

    1. 20
    2. 7
    3. 1.4
    4. 2
    Show answer

    Answer: D — 2

    z = (x − μ) ÷ σ = (70 − 50) ÷ 10 = 2. 20 is the tempting wrong option, the raw difference 70 − 50, which has not yet been divided by the standard deviation.
  11. A fair coin is tossed 6 times. The probability of exactly 3 heads is:

    1. 0.3125
    2. 0.5
    3. 0.25
    4. 0.1563
    Show answer

    Answer: A — 0.3125

    P(X = 3) = C(6, 3) × (1/2)⁶ = 20/64 = 0.3125. 0.5 is the tempting wrong option, from treating exactly half heads as certain, though 3 heads is only the single most likely count. 0.1563 is 10/64.
  12. Defects in a cloth roll follow a Poisson distribution with mean 2 per roll. The probability of exactly one defect in a roll is (e⁻² = 0.1353):

    1. 0.1353
    2. 0.2707
    3. 0.5413
    4. 0.4060
    Show answer

    Answer: B — 0.2707

    P(X = 1) = e⁻² × 2¹ ÷ 1! = 2 × 0.1353 = 0.2707. 0.1353 is the tempting wrong option, which is P(X = 0) = e⁻², the probability of no defect.
  13. Heights are normal with mean 100 cm and standard deviation 15 cm. The probability that a height exceeds 115 cm is (Φ(1) = 0.8413):

    1. 0.8413
    2. 0.3413
    3. 0.1587
    4. 0.0668
    Show answer

    Answer: C — 0.1587

    z = (115 − 100) ÷ 15 = 1, and P(X > 115) = 1 − Φ(1) = 1 − 0.8413 = 0.1587. 0.8413 is the tempting wrong option, the probability of being below 115 rather than above it.
  14. If a random variable X has E(X) = 5 and Var(X) = 4, then Var(3X − 2) is:

    1. 34
    2. 12
    3. 10
    4. 36
    Show answer

    Answer: D — 36

    Var(aX + b) = a² Var(X) = 9 × 4 = 36; the shift −2 does not change the spread. 34 is the tempting wrong option, from subtracting 2 after multiplying (9 × 4 − 2); 12 forgets to square the 3.
  15. Each of 4 independent bulbs is faulty with probability 0.25. The probability that at least one bulb is faulty is:

    1. 0.6836
    2. 0.3164
    3. 1.0
    4. 0.25
    Show answer

    Answer: A — 0.6836

    P(at least one) = 1 − P(none) = 1 − 0.75⁴ = 1 − 0.3164 = 0.6836. 0.3164 is the tempting wrong option, which is P(none faulty) itself, the complement of what is asked.
  16. Calls arrive at a mean rate of 1.5 per minute (Poisson). The probability of exactly 2 calls in a 2-minute interval is (e⁻³ = 0.0498):

    1. 0.2510
    2. 0.2240
    3. 0.1494
    4. 0.0498
    Show answer

    Answer: B — 0.2240

    The mean for 2 minutes is λ = 3, so P(X = 2) = e⁻³ × 3² ÷ 2! = 4.5 × 0.0498 = 0.2240. 0.2510 is the tempting wrong option, from using λ = 1.5 for the 2-minute interval (e⁻¹·⁵ × 1.5² ÷ 2 = 0.2510).
  17. For a normal variable, the probability of lying within two standard deviations of the mean is about (Φ(2) = 0.9772):

    1. 0.9772
    2. 0.4772
    3. 0.9545
    4. 0.6827
    Show answer

    Answer: C — 0.9545

    P(−2 < Z < 2) = Φ(2) − Φ(−2) = 2 × 0.9772 − 1 ≈ 0.9545. 0.9772 is the tempting wrong option, the one-tailed value P(Z < 2); 0.4772 is only the half from the mean to +2σ; 0.6827 is the one-sigma figure.
  18. A die is thrown. A player wins ₹10 on a 6, wins ₹5 on a 4 or 5, and loses ₹3 on a 1, 2 or 3. The expected gain per throw is:

    1. ₹4
    2. ₹2
    3. ₹3
    4. ₹11/6 ≈ ₹1.83
    Show answer

    Answer: D — ₹11/6 ≈ ₹1.83

    E = (1/6)(10) + (2/6)(5) + (3/6)(−3) = (10 + 10 − 9)/6 = 11/6 ≈ ₹1.83. ₹4 is the tempting wrong option, the plain average of the three payoffs 10, 5 and −3, which ignores their different probabilities.
  19. In a batch each item is defective with probability 0.3. Among 5 items drawn independently, the probability of at least 2 defectives is:

    1. 0.4718
    2. 0.3087
    3. 0.5282
    4. 0.1681
    Show answer

    Answer: A — 0.4718

    P(X ≥ 2) = 1 − P(0) − P(1) = 1 − 0.7⁵ − 5(0.3)(0.7⁴) = 1 − 0.16807 − 0.36015 = 0.47178. 0.3087 is the tempting wrong option, P(X = 2) alone, which leaves out the cases of 3, 4 and 5 defectives; 0.5282 is P(X ≤ 1).
  20. Scores are normal with mean 60 and standard deviation 10. The minimum score needed to be in the top 2.28 per cent is (Φ(2) = 0.9772):

    1. 70
    2. 80
    3. 82
    4. 78
    Show answer

    Answer: B — 80

    The top 2.28 per cent means Φ(z) = 0.9772, so z = 2 and x = 60 + 2 × 10 = 80. 70 is the tempting wrong option, which is z = 1 and leaves the top 15.87 per cent; 82 and 78 wrongly use z = 2.2 and z = 1.8.
  21. A binomial distribution has mean 12 and variance 8. The number of trials n is:

    1. 24
    2. 18
    3. 36
    4. 12
    Show answer

    Answer: C — 36

    q = variance ÷ mean = 8/12 = 2/3, so p = 1/3 and n = mean ÷ p = 36. Check: 36 × 1/3 = 12 and 36 × 1/3 × 2/3 = 8. 24 is the tempting wrong option, from taking n = mean × 2 without finding p; 12 is just the mean.