← AS & A Level Mathematics

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

Probability distributions

  • Discrete random variable (DRV): a numerical quantity whose values are determined by chance, taking isolated countable values.
  • Probability distribution: a complete display of all possible values and their associated probabilities.
  • Key A-Level skills: constructing probability tables, determining unknown constants via Σ P(X = x) = 1, calculating expectation E(X) as center of mass, evaluating variance Var(X) = E(X²) − [E(X)]², and mastering linear transformations E(aX + b) = a E(X) + b and Var(aX + b) = a² Var(X).

🎯 Learning objectives & Book exercises

  • Identify discrete random variables and distinguish them from continuous variables.
  • Use standard mathematical notation: uppercase X for the variable and lowercase x for values.
  • Understand the fundamental validity conditions: 0 ≤ P(X = x) ≤ 1 and Σ P(X = x) = 1.
  • Relate theoretical probabilities of discrete variables to long-run relative frequencies.
  • Book exercises covered: Exercise 6A, Exercise 6B, and End-of-chapter review exercise 6.

What is a discrete random variable?

  • Variable: a quantity that can take different numerical values.
  • Random: the exact value that occurs cannot be predicted with certainty; it is determined by chance.
  • Discrete: the variable takes only isolated, separate numerical values (usually integers or counts), with gaps between them.
  • Contrast with continuous: continuous variables can take any real value on a continuum (such as height, mass, or time).
1. Deterministicfixed algebraic quantities2. Random Variablenumerical value by chance3. Discrete (DRV)isolated countable values4. Distributionfull list of probabilities
Taxonomy of quantitative variables: from deterministic values to discrete random distributions.

Notation conventions

  • Uppercase letter (e.g. X, Y, W, S) represents the random variable itself.
  • Lowercase letter (e.g. x, y, w, s) represents a particular numerical outcome.
  • Set of possible values: written as X ∈ {x₁, x₂, …, xₙ}.
  • Event probability: P(X = x) represents the probability that the random variable X takes the exact value x.
x = 0 P = 0.25 x = 1 P = 0.50 x = 2 P = 0.25 Probability Mass Points for 2 Fair Coin Tosses: X ∈ {0, 1, 2} Σ P(X = x) = 0.25 + 0.50 + 0.25 = 1.0 (Total Probability Mass)
Probability mass points for the number of heads X in two coin tosses. The discrete spikes represent isolated chances summing to 1.

Two fundamental criteria for every discrete distribution

  • Individual range criterion: 0 ≤ P(X = x) ≤ 1 for all values x. A probability cannot be negative and cannot exceed 1.
  • Exhaustive sum criterion: Σ P(X = x) = 1 across all possible outcomes in the sample space.

Worked Example 1: Sum of two rolls of a 4-sided die

A fair 4-sided die with faces numbered 1, 2, 3 and 5 is rolled twice. The discrete random variable X is the sum of the two numbers obtained.

  1. Step 1: Construct the two-way outcome grid.

    Since each roll has 4 equally likely outcomes, the sample space has 4 × 4 = 16 equally likely elementary events.

    +1235
    12346
    23457
    34568
    567810
  2. Step 2: List the distinct possible sums and count frequencies.
    • Sum = 2: (1,1) → 1 outcome.
    • Sum = 3: (1,2), (2,1) → 2 outcomes.
    • Sum = 4: (1,3), (2,2), (3,1) → 3 outcomes.
    • Sum = 5: (2,3), (3,2) → 2 outcomes.
    • Sum = 6: (1,5), (3,3), (5,1) → 3 outcomes.
    • Sum = 7: (2,5), (5,2) → 2 outcomes.
    • Sum = 8: (3,5), (5,3) → 2 outcomes.
    • Sum = 10: (5,5) → 1 outcome.
  3. Step 3: Tabulate the probability distribution.

    Divide each count by the total 16:

    x234567810
    P(X = x)1/162/163/162/163/162/162/161/16
  4. Step 4: Verify that the sum equals 1.

    Σ P(X = x) = (1 + 2 + 3 + 2 + 3 + 2 + 2 + 1) / 16 = 16/16 = 1.

    Answer: X takes values in {2, 3, 4, 5, 6, 7, 8, 10} with the probabilities shown in the table.

✏️ Try it: Discrete Random Variables

Q1: Which of the following is a discrete random variable: (A) Time taken to complete a test, (B) Volume of water in a bottle, (C) Number of defective components in a box of 50?

Show solution

Step 1: Check values taken by each option. Time (A) and volume (B) are measurable continuous intervals.

Step 2: Defective count (C) takes isolated integers: {0, 1, 2, …, 50}.

Step 3: Answer: (C) Number of defective components.

Q2: A discrete random variable V has values {1, 2, 3}. Given P(V = 1) = P(V = 2) = 2 × P(V = 3), find P(V = 3).

Show solution

Step 1: Let P(V = 3) = p. Then P(V = 1) = 2p and P(V = 2) = 2p.

Step 2: Apply the total probability law: 2p + 2p + p = 1 ⇒ 5p = 1.

Step 3: Solve for p: p = 1/5 = 0.2.

Step 4: Answer: P(V = 3) = 0.2 (and P(V = 1) = P(V = 2) = 0.4).

Q3: A discrete random variable Y takes values 1, 2, 4 with probabilities 0.3, 0.4, 0.35. Is this a valid probability distribution?

Show solution

Step 1: Sum the probabilities: 0.3 + 0.4 + 0.35 = 1.05.

Step 2: Check condition Σ P = 1: since 1.05 ≠ 1, the probabilities do not sum to 1.

Step 3: Answer: No, it is not valid because Σ P(Y = y) = 1.05 ≠ 1.

Next: Constructing Distributions →

🎯 Learning objectives

  • Construct probability distribution tables for situations involving selections with and without replacement.
  • Use combinations ⁿCᵢ to calculate hypergeometric probabilities without replacement.
  • Set up and solve algebraic equations for unknown constants using Σ P(X = x) = 1.
  • Validate algebraic roots to discard probabilities outside the interval [0, 1].

Common sampling models in probability distributions

  • Independent trials (with replacement): probability of success remains constant across trials.
  • Dependent selections (without replacement): total pool shrinks after each draw; use combinations ⁿCᵢ.
  • Combinations formula: to select r items from n items, total ways = ⁿCᵢ = n! / [r!(n − r)!].
Step 1: Write probability sumState the fundamental law: Σ P(X = x) = 1Step 2: Form algebraic equationSum all expression terms involving k, c, or p and equate to 1Step 3: Solve the equationSolve linear, quadratic, or simultaneous equations for the unknownStep 4: Check validity conditionVerify 0 ≤ P(X = x) ≤ 1 for ALL values of x; discard negative or >1 rootsStep 5: Tabulate & answerSubstitute the valid constant to find target interval probabilities
Step-by-step method for solving unknown constants in discrete probability tables.

Worked Example 2: Finding an unknown constant in a quadratic table

The table shows the probability distribution for V:

v23456
P(V = v)0.05c²0.1 + c2c²0.05 + c + 0.16

Find the value of the constant c and evaluate P(V > 4).

  1. Step 1: Set up the sum of probabilities equal to 1.

    Σ P(V = v) = 0.05 + c² + (0.1 + c) + 2c² + (0.05 + c + 0.16) = 1.

  2. Step 2: Collect like terms into a quadratic equation.

    (c² + 2c²) + (c + c) + (0.05 + 0.1 + 0.05 + 0.16) = 1

    3c² + 2c + 0.36 = 1 ⇒ 3c² + 2c − 0.64 = 0.

  3. Step 3: Solve the quadratic equation.

    Factorising or using the quadratic formula: (c − 0.2)(3c + 3.2) = 0.

    Roots: c = 0.2 or c = −3.2/3 ≈ −1.067.

  4. Step 4: Reject invalid root by checking probabilities.

    If c is negative, 0.1 + c < 0, which violates P(V = 4) ≥ 0.

    Hence, the only valid solution is c = 0.2.

  5. Step 5: Calculate P(V > 4).

    P(V > 4) = P(V = 5) + P(V = 6) = 2c² + (0.05 + c + 0.16)

    = 2(0.2)² + 0.05 + 0.2 + 0.16 = 0.08 + 0.41 = 0.49.

    Answer: c = 0.2 and P(V > 4) = 0.49.

Worked Example 3: Selections without replacement (Combinations)

There are spaces for 3 more passengers on a bus. Eight youths and two adults wish to board. The driver selects 3 passengers at random. Let Y be the number of youths selected. Draw up the probability distribution table for Y.

  1. Step 1: Identify possible values for Y.

    Total pool = 8 + 2 = 10 people. We select 3.

    Since there are only 2 adults, at least 1 youth must be chosen: Y ∈ {1, 2, 3}.

  2. Step 2: Calculate total possible selections.

    Total ways to choose 3 from 10: ¹⁰C₃ = (10 × 9 × 8) / (3 × 2 × 1) = 120.

  3. Step 3: Calculate individual probabilities using combinations.
    • P(Y = 1) = (⁸C₁ × ²C₂) / ¹⁰C₃ = (8 × 1) / 120 = 8/120 = 1/15.
    • P(Y = 2) = (⁸C₂ × ²C₁) / ¹⁰C₃ = (28 × 2) / 120 = 56/120 = 7/15.
    • P(Y = 3) = (⁸C₃ × ²C₀) / ¹⁰C₃ = (56 × 1) / 120 = 56/120 = 7/15.
  4. Step 4: Check that probabilities sum to 1 and tabulate.

    Σ P = 1/15 + 7/15 + 7/15 = 15/15 = 1.

    y123
    P(Y = y)1/157/157/15

    Answer: The table above gives the probability distribution for Y.

✏️ Try it: Constructing Tables

Q1: A random variable X takes values 2, 3, 4, 5 with probabilities p, 2p, 0.5p, 3p. Find p and P(2 < X < 5).

Show solution

Step 1: Sum probabilities: p + 2p + 0.5p + 3p = 6.5p = 1.

Step 2: Solve for p: p = 1 / 6.5 = 2/13.

Step 3: Calculate P(2 < X < 5) = P(X = 3) + P(X = 4) = 2p + 0.5p = 2.5p = 2.5 × (2/13) = 5/13.

Step 4: Answer: p = 2/13 and P(2 < X < 5) = 5/13.

Q2: A box has 3 red and 2 green balls. Two balls are drawn without replacement. Let G be the number of green balls drawn. Tabulate the distribution.

Show solution

Step 1: Total balls = 5, drawn = 2. Total ways = ⁵C₂ = 10.

Step 2: P(G = 0) = ³C₂ / 10 = 3/10 = 0.3.

Step 3: P(G = 1) = (²C₁ × ³C₁) / 10 = (2 × 3) / 10 = 6/10 = 0.6.

Step 4: P(G = 2) = ²C₂ / 10 = 1/10 = 0.1.

Step 5: Answer: Values g: 0, 1, 2 with P(G = g): 0.3, 0.6, 0.1.

Q3: A discrete random variable W has P(W = w) = c(w − 1) for w ∈ {2, 3, 4}. Find c.

Show solution

Step 1: Write probabilities: P(W = 2) = c(1) = c, P(W = 3) = c(2) = 2c, P(W = 4) = c(3) = 3c.

Step 2: Sum: c + 2c + 3c = 6c = 1.

Step 3: Answer: c = 1/6.

Next: Probability Functions & Graphs →

🎯 Learning objectives

  • Work with probability mass functions given in functional algebraic form P(X = x) = f(x).
  • Evaluate cumulative probabilities P(X ≤ a), interval probabilities P(a < X ≤ b), and conditional probabilities from a table.
  • Interpret vertical line graphs and probability bar charts.
  • Analyse distribution skewness: symmetrical vs positive skew (tail right) vs negative skew (tail left).

Probability mass functions (p.m.f.)

  • Instead of listing values in a table, the probability may be defined by an algebraic rule: P(X = x) = f(x) for specified values of x.
  • To find the normalizing constant k, factor it out: k Σ g(x) = 1 ⇒ k = 1 / Σ g(x).
1. Formula f(x)e.g. P(X = x) = cx²2. List Domainidentify all allowed x3. Sum: c Σ x² = 1solve constant factor c4. Cumulative P(X ≤ a)sum matching probabilities
Pipeline for solving normalizing constants and evaluating cumulative intervals from probability formulas.

Distribution shape and skewness

  • Symmetrical distribution: probabilities mirror around the central value (e.g. fair coin tosses, p = 0.5).
  • Positively skewed (skewed to the right): peak is toward lower values; long tail stretches out to high values (e.g. biased coin with p < 0.5).
  • Negatively skewed (skewed to the left): peak is toward higher values; long tail stretches back to low values (e.g. biased coin with p > 0.5).
Positive Skew (p = 0.3) 0 1 2 Tail stretches right → Symmetric (p = 0.5) 0 1 2 Balanced center Negative Skew (p = 0.7) 0 1 2 ← Tail stretches left
Effect of success parameter p on the skewness of a discrete distribution: positive skew (p = 0.3), symmetry (p = 0.5), and negative skew (p = 0.7).

Worked Example 4: Rational probability formula and conditional probability

A discrete random variable R takes values in {1, 3, 5, 7} with probability mass function:

P(R = r) = [k(r + 1)] / (r + 2).

(a) Find the exact value of k. · (b) Find P(R ≤ 4). · (c) Find P(R = 3 | R ≤ 5).

  1. Step 1: Write down the expression for each outcome.
    • r = 1: P(R = 1) = k(1 + 1)/(1 + 2) = 2k/3.
    • r = 3: P(R = 3) = k(3 + 1)/(3 + 2) = 4k/5.
    • r = 5: P(R = 5) = k(5 + 1)/(5 + 2) = 6k/7.
    • r = 7: P(R = 7) = k(7 + 1)/(7 + 2) = 8k/9.
  2. Step 2: Sum all probabilities to 1 to find k.

    Common denominator of 3, 5, 7, 9 is 315.

    k [ 210/315 + 252/315 + 270/315 + 280/315 ] = 1

    k [ 1012 / 315 ] = 1 ⇒ k = 315 / 1012.

  3. Step 3: Calculate P(R ≤ 4).

    The outcomes satisfying r ≤ 4 are r = 1 and r = 3.

    P(R ≤ 4) = P(R = 1) + P(R = 3) = k(2/3 + 4/5) = k(22/15)

    = (315 / 1012) × (22 / 15) = (21 × 22) / 1012 = 462 / 1012 = 21 / 46 ≈ 0.457.

  4. Step 4: Calculate conditional probability P(R = 3 | R ≤ 5).

    P(R ≤ 5) = P(R = 1) + P(R = 3) + P(R = 5) = k(2/3 + 4/5 + 6/7) = k(732 / 315) = 732 / 1012.

    P(R = 3 | R ≤ 5) = P(R = 3) / P(R ≤ 5) = (4/5) / (2/3 + 4/5 + 6/7) = (252/315) / (732/315) = 252 / 732 = 21 / 61 ≈ 0.344.

    Answer: k = 315/1012, P(R ≤ 4) = 21/46, and P(R = 3 | R ≤ 5) = 21/61.

✏️ Try it: Formulas & Skewness

Q1: A discrete random variable X takes values {1, 2, 3, 4} with P(X = x) = c x². Find c.

Show solution

Step 1: Sum squares: 1² + 2² + 3² + 4² = 1 + 4 + 9 + 16 = 30.

Step 2: Total probability law: 30c = 1 ⇒ c = 1/30.

Step 3: Answer: c = 1/30.

Q2: For the variable in Q1, find P(X ≥ 3).

Show solution

Step 1: Identify values satisfying x ≥ 3: {3, 4}.

Step 2: P(X ≥ 3) = P(X = 3) + P(X = 4) = 9/30 + 16/30 = 25/30 = 5/6.

Step 3: Answer: 5/6.

Q3: A biased die lands on 6 with probability 0.8. In two rolls, let S be the number of 6s. Is the distribution of S positively skewed, symmetric, or negatively skewed?

Show solution

Step 1: Calculate probabilities: P(S = 0) = 0.2² = 0.04, P(S = 1) = 2(0.8)(0.2) = 0.32, P(S = 2) = 0.8² = 0.64.

Step 2: Notice peak is at S = 2 (0.64) with a long tail stretching to the left (0.04 at 0).

Step 3: Answer: Negatively skewed (left-tailed), because p = 0.8 > 0.5.

Next: Expectation & Balance Point →

🎯 Learning objectives

  • Understand expectation E(X) = μ = Σ x P(X = x) as the theoretical mean and center of mass.
  • Calculate expected frequencies over N trials: Expected count = N × P(X = x).
  • Interpret expected gain or loss in games and commercial decisions.
  • Use the center-of-symmetry property to evaluate E(X) directly for symmetrical distributions.

Expectation: definition & meaning

  • Mean of a random variable: written as E(X) or Greek letter μ (mu).
  • Formula: E(X) = Σ x P(X = x). (Since Σ p = 1, there is no denominator needed!).
  • Long-term average: E(X) is NOT guaranteed to occur in any single trial; it is the average value obtained over an infinite number of repeated trials.
  • Center of mass: if the outcomes are points on a balance beam loaded with masses proportional to their probabilities, the beam balances at x = E(X).
0.1 x = 0 0.3 x = 1 0.4 x = 2 0.2 x = 3 Fulcrum: E(X) = 1.7 Σ (x − μ) P(X = x) = 0 ⇒ Exact Torque Balance
Expectation as the center of mass. The beam is perfectly balanced when pivoted at the expected value μ = 1.7.
Step 1: Set up distribution tableList each possible numerical outcome x and its probability p = P(X = x)Step 2: Multiply each value by its probabilityCalculate the product x × P(X = x) for each columnStep 3: Sum all productsEvaluate E(X) = Σ x P(X = x) to get the expected value μStep 4: Physical checkConfirm that min(x) ≤ E(X) ≤ max(x); it represents the balance fulcrum point
Systematic calculation algorithm for discrete expectation E(X).

Worked Example 5: Biased spinner & expected frequency

A biased spinner can score 0, 1, 2, or 3 with probabilities 0.1, 0.3, 0.4, 0.2. Find E(X) and calculate the expected total score in 1600 spins.

  1. Step 1: Set up the product column x × P(X = x).
    • 0 × 0.1 = 0.0
    • 1 × 0.3 = 0.3
    • 2 × 0.4 = 0.8
    • 3 × 0.2 = 0.6
  2. Step 2: Sum the products.

    E(X) = 0.0 + 0.3 + 0.8 + 0.6 = 1.7.

  3. Step 3: Calculate expected frequencies in 1600 trials.
    • Score 0: 1600 × 0.1 = 160 times
    • Score 1: 1600 × 0.3 = 480 times
    • Score 2: 1600 × 0.4 = 640 times
    • Score 3: 1600 × 0.2 = 320 times
  4. Step 4: Calculate total expected score.

    Total expected score = 1600 × E(X) = 1600 × 1.7 = 2720.

    Check: (0 × 160) + (1 × 480) + (2 × 640) + (3 × 320) = 0 + 480 + 1280 + 960 = 2720. Matches exactly!

    Answer: E(X) = 1.7; total expected score in 1600 spins is 2720.

🕹️ Interactive Simulation: Expectation Balance Simulator

Drag the weight sliders for outcomes x = 0, 1, 2, 3 to see how the probability distribution shifts and watch the balance fulcrum dynamically glide to the exact center of mass E(X).

x = 0 x = 1 x = 2 x = 3 E(X) = 1.70
  1. Step 1: Normalized probabilities: P(X=0) = 0.100, P(X=1) = 0.300, P(X=2) = 0.400, P(X=3) = 0.200 (Sum = 1.000).
  2. Step 2: Product sum: (0 × 0.100) + (1 × 0.300) + (2 × 0.400) + (3 × 0.200) = 0.000 + 0.300 + 0.800 + 0.600.
  3. Step 3: Center of mass: Expected value E(X) = 1.700. Torque balance check Σ(x − μ)p = 0.0000.

✏️ Try it: Expectation

Q1: A game costs $2 to play. A fair die is rolled. If a 6 is rolled, you win $10. Otherwise, you win nothing. What is your expected profit?

Show solution

Step 1: Net gain values: if 6 rolled, gain = 10 − 2 = $8 (probability 1/6). If 1..5 rolled, gain = −$2 (probability 5/6).

Step 2: E(Gain) = (8 × 1/6) + (−2 × 5/6) = (8 − 10)/6 = −2/6 = −$0.33.

Step 3: Answer: Expected loss of $0.33 per game (or expected profit = −$0.33).

Q2: A discrete random variable T takes values {1, 3, 6, 10} with equal probability. Find E(T).

Show solution

Step 1: Since all 4 outcomes are equiprobable, each probability is 1/4 = 0.25.

Step 2: E(T) = (1 + 3 + 6 + 10) / 4 = 20 / 4 = 5.

Step 3: Answer: E(T) = 5.

Q3: A symmetric discrete distribution has values {2, 4, 6, 8, 10} with probabilities 0.1, 0.2, 0.4, 0.2, 0.1. What is E(X)?

Show solution

Step 1: Observe that the distribution is perfectly symmetrical about 6: P(6 − 2) = P(6 + 2) = 0.2, and P(6 − 4) = P(6 + 4) = 0.1.

Step 2: By symmetry, the center of mass must lie exactly on the line of symmetry.

Step 3: Answer: E(X) = 6.

Next: Variance & Spread →

🎯 Learning objectives

  • Understand variance Var(X) = σ² and standard deviation SD(X) = σ as measures of dispersion.
  • Master the working formula: Var(X) = E(X²) − [E(X)]².
  • Set up efficient 4-row/column calculation tables for x, p, xp, and x²p.
  • Recognize that variance can NEVER be negative: Var(X) ≥ 0.

Variance: definition & working formula

  • Theoretical definition: expected squared deviation from the mean: Var(X) = E[(X − μ)²] = Σ (x − μ)² P(X = x).
  • Working formula (Cambridge syllabus standard):
    Var(X) = E(X²) − [E(X)]² = Σ x² P(X = x) − μ².
  • Memory rule: "mean of the squares minus square of the mean".
  • Standard deviation: SD(X) = σ = √Var(X). Gives dispersion in the original units of measurement.
Column Operation Row Total p = P(X = x) Given individual probabilities Σ p = 1.0 (Check) x × p Multiply each outcome by its probability Σ xp = E(X) x² × p Multiply x by (xp) to get x²p Σ x²p = E(X²)
Blueprint of the 4-stage tabular method for computing E(X) and E(X²). Once both sums are found, Var(X) = E(X²) − [E(X)]².
Step 1: Calculate E(X)Find mean μ = Σ x P(X = x)Step 2: Calculate E(X²)Compute x² for each value, then sum: E(X²) = Σ x² P(X = x)Step 3: Subtract square of meanEvaluate Var(X) = E(X²) − [E(X)]² (variance cannot be negative)Step 4: Take square root for SDEvaluate standard deviation σ = √Var(X) to get spread in original units
Systematic algorithm for evaluating variance Var(X) and standard deviation SD(X).

Worked Example 6: Tabular variance & standard deviation

The probability distribution for X is given below:

x051520
P(X = x)1/123/125/123/12

Find E(X), Var(X), and SD(X).

  1. Step 1: Check that all fractions share a common denominator.

    Common denominator = 12. Sum: 1/12 + 3/12 + 5/12 + 3/12 = 12/12 = 1.

  2. Step 2: Calculate E(X).

    E(X) = Σ x p = (1/12)[ (0 × 1) + (5 × 3) + (15 × 5) + (20 × 3) ]

    = (1/12)[ 0 + 15 + 75 + 60 ] = 150 / 12 = 12.5.

  3. Step 3: Calculate E(X²).

    E(X²) = Σ x² p = (1/12)[ (0² × 1) + (5² × 3) + (15² × 5) + (20² × 3) ]

    = (1/12)[ 0 + (25 × 3) + (225 × 5) + (400 × 3) ] = (1/12)[ 0 + 75 + 1125 + 1200 ] = 2400 / 12 = 200.

  4. Step 4: Subtract the square of the mean to find Var(X).

    Var(X) = E(X²) − [E(X)]² = 200 − (12.5)² = 200 − 156.25 = 43.75.

  5. Step 5: Take the square root to find SD(X).

    SD(X) = √43.75 ≈ 6.61437... ≈ 6.61 (to 3 s.f.).

    Answer: E(X) = 12.5, Var(X) = 43.75, and SD(X) = 6.61.

🧮 Tool: Discrete Random Variable E(X) & Var(X) Calculator

Enter outcomes x and their probabilities p (separated by commas). The calculator checks Σ p = 1, evaluates E(X), E(X²), Var(X), SD(X), and applies linear transformations.

  1. Step 1: Parsed 4 values: x = [0, 5, 15, 20] and p = [0.0833, 0.2500, 0.4167, 0.2500].
  2. Step 2: Verify total probability sum: Σ p = 1.0000 (Valid probability distribution).
  3. Step 3: Expectation E(X): Σ x p = (0 × 0.0833) + (5 × 0.2500) + (15 × 0.4167) + (20 × 0.2500) = 12.5000.
  4. Step 4: Second Moment E(X²): Σ x² p = (0 × 0.0833) + (25 × 0.2500) + (225 × 0.4167) + (400 × 0.2500) = 200.0000.
  5. Step 5: Variance Var(X): E(X²) − [E(X)]² = 200.0000 − 156.2500 = 43.7500.
  6. Step 6: Standard Deviation SD(X): √43.7500 = 6.6144.
  7. Step 7: Linear Transformation (2X + 3): E(2X + 3) = 2(12.5) + 3 = 28.0000; Var(2X + 3) = 2²(43.75) = 175.0000; SD(2X + 3) = 2(6.6144) = 13.2288.

✏️ Try it: Variance & Spread

Q1: Given E(X) = 4 and E(X²) = 25, find Var(X) and SD(X).

Show solution

Step 1: Formula: Var(X) = E(X²) − [E(X)]².

Step 2: Var(X) = 25 − 4² = 25 − 16 = 9.

Step 3: SD(X) = √9 = 3.

Step 4: Answer: Var(X) = 9 and SD(X) = 3.

Q2: A random variable Y has values 1, 2, 3 with equal probabilities 1/3. Calculate Var(Y).

Show solution

Step 1: E(Y) = (1 + 2 + 3) / 3 = 6/3 = 2.

Step 2: E(Y²) = (1² + 2² + 3²) / 3 = (1 + 4 + 9) / 3 = 14/3.

Step 3: Var(Y) = 14/3 − 2² = 14/3 − 12/3 = 2/3 ≈ 0.667.

Step 4: Answer: Var(Y) = 2/3.

Q3: Can a random variable have E(X) = 5 and E(X²) = 20?

Show solution

Step 1: Test variance: Var(X) = E(X²) − [E(X)]² = 20 − 5² = 20 − 25 = −5.

Step 2: Variance is an expected square E[(X − μ)²], which cannot be negative.

Step 3: Answer: No, because it leads to Var(X) = −5 < 0, which is impossible.

Next: Linear Transformations →

🎯 Learning objectives

  • Apply the transformation formulas: E(aX + b) = a E(X) + b and Var(aX + b) = a² Var(X).
  • Understand why adding a constant b shifts the mean but has zero effect on variance.
  • Understand why multiplying by a negative scale factor −a yields a positive variance: Var(−aX) = a² Var(X).
  • Evaluate standard deviations under transformation: SD(aX + b) = |a| SD(X).

The linear transformation theorem

  • When a discrete variable X is converted to Y = aX + b (e.g. converting temperatures, scaling scores, or adding fixed fees):
  • Expectation scales and shifts: E(aX + b) = a E(X) + b.
  • Variance scales by the square of a and IGNORES b: Var(aX + b) = a² Var(X).
  • Standard deviation scales by the absolute value: SD(aX + b) = |a| SD(X).
Original Variable X μ = 3, σ = 0.71 Compact dispersion Transformed Y = 2X + 5 μ = 2(3) + 5 = 11, σ = 2(0.71) = 1.41 Center shifts by 8; width doubles
Visual effect of transformation Y = 2X + 5. The shift +5 moves the center without altering spread; multiplier 2 doubles standard deviation and quadruples variance.
1. Original XE(X) and Var(X) known2. Linear Y = aX + bscaled by a, shifted by b3. Mean Shifts & ScalesE(aX + b) = a E(X) + b4. Variance Scales by a²Var(aX + b) = a² Var(X)
Summary of the linear transformation properties for expectation, variance, and standard deviation.

Key consequences you must remember

  • Adding a constant changes location, not spread: Var(X + 10) = Var(X). Translating points does not change distances between them.
  • Reflections preserve spread: Var(−X) = (−1)² Var(X) = Var(X). Standard deviation is |−1| × σ = σ.
  • Units consistency: if X is measured in metres, E(X) and SD(X) are in metres, but Var(X) is in square metres (m²). Multiplying by scale factor a multiplies variance by a².

Worked Example 7: Transforming mean and variance

A random variable X has E(X) = 8 and Var(X) = 5. Calculate:

(a) E(3X − 4) · (b) Var(3X − 4) · (c) Var(10 − 2X) · (d) SD(10 − 2X).

  1. Step 1: Apply linear expectation rule for (a).

    E(3X − 4) = 3 E(X) − 4 = 3(8) − 4 = 24 − 4 = 20.

  2. Step 2: Apply variance scaling rule for (b).

    Here a = 3 and b = −4. The additive term −4 drops out!

    Var(3X − 4) = 3² × Var(X) = 9 × 5 = 45.

  3. Step 3: Handle the negative coefficient for (c).

    10 − 2X = −2X + 10. Here a = −2 and b = 10.

    Var(10 − 2X) = (−2)² × Var(X) = 4 × 5 = 20.

  4. Step 4: Take the square root or apply absolute scaling for (d).

    Method 1: SD(10 − 2X) = √Var(10 − 2X) = √20 ≈ 4.47.

    Method 2: SD(10 − 2X) = |−2| × SD(X) = 2 × √5 = √20 ≈ 4.47.

    Answer: (a) 20, (b) 45, (c) 20, (d) √20 ≈ 4.47.

✏️ Try it: Linear Transformations

Q1: Given E(X) = 15 and Var(X) = 4, find E(2X + 7) and Var(2X + 7).

Show solution

Step 1: E(2X + 7) = 2(15) + 7 = 30 + 7 = 37.

Step 2: Var(2X + 7) = 2² × 4 = 4 × 4 = 16.

Step 3: Answer: E(2X + 7) = 37 and Var(2X + 7) = 16.

Q2: If Var(X) = 12, what is Var(5 − X)?

Show solution

Step 1: Notice 5 − X = −1X + 5. Here a = −1.

Step 2: Var(−1X + 5) = (−1)² Var(X) = 1 × 12 = 12.

Step 3: Answer: 12 (variance is unchanged).

Q3: A dataset has SD(X) = 2.5. Find the standard deviation of W = 4 − 3X.

Show solution

Step 1: Use SD(aX + b) = |a| SD(X) with a = −3.

Step 2: SD(W) = |−3| × 2.5 = 3 × 2.5 = 7.5.

Step 3: Answer: 7.5.

Next: Summary & Quiz →

Chapter summary

  • Discrete random variable (DRV): a numerical quantity determined by chance taking countable distinct values.
  • Validity axioms: for every DRV, 0 ≤ P(X = x) ≤ 1 and Σ P(X = x) = 1.
  • Expectation (mean): E(X) = μ = Σ x P(X = x). Represents the center of mass or balance point.
  • Variance: Var(X) = σ² = E(X²) − [E(X)]² = Σ x² P(X = x) − μ². Must satisfy Var(X) ≥ 0.
  • Standard deviation: SD(X) = σ = √Var(X).
  • Linear transformations: E(aX + b) = a E(X) + b, Var(aX + b) = a² Var(X), and SD(aX + b) = |a| SD(X).

📄 Practice questions & assignment

Test your mastery of discrete random variables, probability distribution tables, expectation, and variance with the complete set of Cambridge coursebook exercises and review questions.

Download Printable Assignment (PDF) →

Chapter quiz

Take this 12-question quiz to check your understanding of Chapter 6 concepts, formulas, and calculations.

1. The discrete random variable X has P(X = 1) = 0.2, P(X = 2) = 0.5, P(X = 3) = k. Find k.
2. A discrete random variable X takes values 1, 2, 3 with P(X = x) = cx. Find the constant c.
3. The distribution of X is P(X = 0) = 0.1, P(X = 1) = 0.4, P(X = 2) = 0.5. Find E(X).
4. For a discrete random variable X, which formula correctly gives the variance Var(X)?
5. Given E(X) = 3 and E(X²) = 13, calculate the standard deviation of X.
6. If E(X) = 4, what is the value of E(3X − 5)?
7. If Var(X) = 5, what is the value of Var(3X − 4)?
8. A fair coin is tossed 3 times. Let X be the number of heads. What is P(X = 2)?
9. A discrete random variable Y has Var(Y) = 9. What is the standard deviation of 4 − 2Y?
10. The table has P(X = 1) = 0.3, P(X = 2) = 0.4, P(X = 3) = 0.3. What is E(X²)?
11. Why is P(X = x) = c(x − 3) invalid for X ∈ {1, 2, 3} when c > 0?
12. A discrete random variable X has a symmetric distribution around 5. What is E(X)?

Based on Cambridge International AS & A Level Mathematics: Probability & Statistics 1 Coursebook by Dean Chalmers (Cambridge University Press).