📌 Discrete Random VariablesS1 · Probability distribution table · E(X)E(X) · Var(X)Var(X) · Linear transforms \(E(aX+b)\)
Probability Distribution
Table of \(x\) values and corresponding \(P(X=x)\). Must satisfy: \(\sum P(X=x)=1\) and \(P(X=x)\geq0\).
Expectation
\(E(X)=\sum x\cdot P(X=x)=\mu\). Also \(E(aX+b)=aE(X)+b\).
Variance
\(\text{Var}(X)=E(X^2)-[E(X)]^2\) where \(E(X^2)=\sum x^2P(X=x)\). Also \(\text{Var}(aX+b)=a^2\text{Var}(X)\).
Standard Deviation
\(\sigma=\sqrt{\text{Var}(X)}\). Measures spread around the mean.
Uniform Distribution
Each value equally likely. If \(X\) takes values \(1,2,\ldots,n\): \(E(X)=\dfrac{n+1}{2}\), \(\text{Var}(X)=\dfrac{n^2-1}{12}\).
Combined Variables
\(E(X+Y)=E(X)+E(Y)\). If independent: \(\text{Var}(X+Y)=\text{Var}(X)+\text{Var}(Y)\).
▲ Discrete Random Variables — Reference
A discrete random variable \(X\) has a probability distribution with \(\sum P(X=x)=1\). Expectation: \(E(X)=\sum x\,P(X=x)\). Variance: \(\text{Var}(X)=E(X^2)-[E(X)]^2\) where \(E(X^2)=\sum x^2 P(X=x)\). For linear transforms: \(E(aX+b)=aE(X)+b\); \(\text{Var}(aX+b)=a^2\text{Var}(X)\).
● Deep Conceptual Intuition — Discrete Random Variables
Probabilistic Normalization & Moment Structure: Every probability model is governed by total probability conservation: \(\sum_x P(X=x) = 1\) for discrete random variables and \(\int_{-\infty}^{\infty} f(x)\,dx = 1\) (with \(f(x) \ge 0\)) for continuous density functions. Expected value \(\mathbb{E}[X]\) acts as a linear operator (\(\mathbb{E}[aX + bY] = a\mathbb{E}[X] + b\mathbb{E}[Y]\)), whereas variance scales quadratically and adds for independent variables: \(\operatorname{Var}(aX \pm bY) = a^2\operatorname{Var}(X) + b^2\operatorname{Var}(Y)\).
Parabola \(f(x) = (x - 2)^2 - 3\) with vertex \(V(2, -3)\) intersected by secant line \(g(x) = x - 1\).
⊙ Explorer · Discrete Random Variable PDF Table, \(E(X)\) Fulcrum & \(\text{Var}(X)\)
interactive
Live numerical table for Discrete Random Variable PDF Table, \(E(X)\) Fulcrum & \(\text{Var}(X)\)
Parameter / Metric
Value
Expectation \(\mu = \Sigma x \cdot P(X=x)\)\(E(X) = 3.10\)
Normalization \(\Sigma P(X=x)\)\(\Sigma P = 1.000\)
The vertical probability spikes at \(X\) ∈ {1, 2, 3, 4, 5} always sum to 1.00. The amber triangle marks the center-of-mass balance point \(E(X)\).
E(X)
\(\sum x\,P(X=x)\)
Var(X)
\(E(X^2)-[E(X)]^2\)
E(aX+b)
\(aE(X)+b\)
Var(aX+b)
\(a^2\text{Var}(X)\)
Probability distribution of a discrete random variable \(X\) taking values \(\{1, 2, 3, 4\}\) with \(\sum P(X=x) = 1.0\).
⚠ Common Traps & Exam Pitfalls
Variance formula trap: Remember \(\text{Var}(X) = E(X^2) - [E(X)]^2\). Do not forget to square \(E(X)\), and do not compute \(E(X^2) - E(X)\).
Linear coding of variance: \(\text{Var}(aX + b) = a^2 \text{Var}(X)\). Notice that the constant \(b\) is eliminated completely, and a negative multiplier \(a\) becomes positive due to squaring (e.g. \(\text{Var}(5 - 2X) = (-2)^2 \text{Var}(X) = 4\text{Var}(X)\)).
Sum of probabilities: The total probability MUST sum to 1: \(\sum P(X = x) = 1\). Always verify this condition first when solving for unknown parameters \(p\) or \(k\).
◆ Why It Works — First-Principles Derivation (Discrete Random Variables)
Why Variance Scales as \(a^2\) and Independent Variances Always Add: By definition, \(\operatorname{Var}(Y) = \mathbb{E}[(Y - \mu_Y)^2]\). For \(Y = aX - bW\) with independent \(X, W\), subtracting its mean \(\mu_Y = a\mu_X - b\mu_W\) gives:
Because independence implies \(\operatorname{Cov}(X, W) = 0\), the cross term vanishes and \((-b)^2 = +b^2\), proving \(\operatorname{Var}(aX - bW) = a^2\operatorname{Var}(X) + b^2\operatorname{Var}(W)\). Uncertainty compounds whether random variables are added or subtracted.
Worked example 1 — Finding \(E(X)\) and \(\text{Var}(X)\)
Problem. A biased die shows: \(P(1)=0.1,P(2)=0.2,P(3)=0.3,P(4)=0.3,P(5)=0.1\). Find \(E(X)\) and \(\text{Var}(X)\).
Worked Example \(C\) — Discrete Random Variables (Medium Application)
Problem. A DRV \(X\) has \(P(X=1)=0.3,\;P(X=2)=0.5,\;P(X=3)=0.2\). Then \(E(X)\) is:
▸ Show step-by-step solution
\( E(X)=1(0.3)+2(0.5)+3(0.2)=0.3+1+0.6=1.9 \)
Worked Example \(D\) — Discrete Random Variables (Hard Application)
Problem. Solve the inequality \( x^2+6x>0 \).
▸ Show step-by-step solution
The quadratic factorises as \( (x+6)x \) with roots \(-6\) and \(0\); since the parabola opens upward, the expression is > 0 outside the roots, giving \( x<-6 \text{ or } x>0 \).
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Discrete Random Variables)
Using \(\sigma / n\) instead of \(\sigma / \sqrt{n}\) for \(\bar{X}\)
Confuses the variance of the sample mean \(\sigma^2/n\) with its standard error.
Take the square root: \(\text{SE}(\bar{X}) = \sigma / \sqrt{n}\).
Accepting \(H_0\) with certainty when \(p > \alpha\)
Absence of sufficient evidence against \(H_0\) does not prove \(H_0\) is true.
Write in context: "There is insufficient evidence at the \(\alpha\) level to reject \(H_0\)."
▲ Exam Pacing & Verification Strategy — Discrete Random Variables
Exam Marking Tip (Cambridge International AS Level (9709 Paper 1 / Paper 4 / Paper 5)): Always state the distribution parameters explicitly (e.g., \(X \sim \operatorname{N}(\mu, \sigma^2)\) or \(\bar{X} \sim \operatorname{N}(\mu, \sigma^2/n)\)) and sketch a quick shaded bell curve before standardizing to \(z = \dfrac{x - \mu}{\sigma}\). This secures the method mark even if a rounding slip occurs later.
\(E(X)=3\) and \(\text{Var}(X)=2\). Find \(E(3X-1)\) and \(\text{Var}(3X-1)\).
💡 Hint 1 of 3
Set up the initial relation: \(E(3X-1) = 3(3)-1\).
💡 Hint 2 of 3
Start with the expression: \(\text{Var}(3X-1)\). Rewrite and substitute: \(\text{Var}(3X-1) = 9\times2\).
A discrete random variable \(Y\) has \(E(Y) = 5\) and \(\text{Var}(Y) = 4\). Calculate \(E(Y^2)\) and \(\text{Var}(10 - 3Y)\).
💡 Hint 1 of 3
Using \(\text{Var}(Y) = E(Y^2) - [E(Y)]^2\), we get \(E(Y^2) = \text{Var}(Y) + [E(Y)]^2 = 4 + 5^2 = 4 + 25\).
💡 Hint 2 of 3
For the linear transformation: \(\text{Var}(10 - 3Y) = (-3)^2 \text{Var}(Y)\). Substitute and simplify: \(\text{Var}(10 - 3Y) = 9 \times 4\).
💡 Hint 3 of 3
Compute the final value from: \(9 \times 4\).
Using \(\text{Var}(Y) = E(Y^2) - [E(Y)]^2\), we get \(E(Y^2) = \text{Var}(Y) + [E(Y)]^2 = 4 + 5^2 = 4 + 25 = 29\). For the linear transformation: \(\text{Var}(10 - 3Y) = (-3)^2 \text{Var}(Y) = 9 \times 4 = 36\).
[Practice 3 · Easy] A discrete random variable, \(X\), can take the values 1, 2, 3, 4, and 5. The probability distribution of \(X\) is given by \(P(X=x) = kx\) for \(x \in \{1, 2, 3, 4, 5\}\), where \(k\) is a constant. Find the value of \(k\).
💡 Hint 1 of 3
The sum of probabilities for all possible values of a discrete random variable must equal 1. Therefore, \(\sum_{x=1}^5 P(X=x) = 1\).
Therefore, the value of \(k\) is \(\frac{1}{15}\).
The sum of probabilities for all possible values of a discrete random variable must equal 1. Therefore, \(\sum_{x=1}^5 P(X=x) = 1\).
Given \(P(X=x) = kx\), we have:
\(P(X=1) = k(1) = k\)
\(P(X=2) = k(2) = 2k\)
\(P(X=3) = k(3) = 3k\)
\(P(X=4) = k(4) = 4k\)
\(P(X=5) = k(5) = 5k\)
Summing these probabilities:
\(k + 2k + 3k + 4k + 5k = 1\)
\(15k = 1\)
\(k = \frac{1}{15}\)
Therefore, the value of \(k\) is \(\frac{1}{15}\).
[Practice 4 · Medium] Solve the simultaneous equations \( 4x+4y=16 \) and \( 3x-3y=-36 \).
💡 Hint 1 of 3
Start by examining the given mathematical expression in the problem: \(4x+4y=16\).
💡 Hint 2 of 3
Solving simultaneously (elimination or substitution) gives \(x=-4\), \(y\).
💡 Hint 3 of 3
Apply this step to \(y\) and simplify to determine the final result.
Solving simultaneously (elimination or substitution) gives \(x=-4\), \(y=8\).
Discrete Random Variables — 8-Mark Structured Problem
8 pts
No Calculator
For Discrete Random Variables, consider the linear-rate relationship \(f(x) = 2x + 4\) on \(x \ge 0\) together with the quadratic auxiliary \(g(x) = x^2 - 4x + 4\).
(a)2 pts
Find the initial value \(f(0)\) and the slope \(f'(x)\).
Scoring Guideline & Justification
[M1]Evaluates f(0) and reads gradient coefficient(1 pt)
[A1]Obtains f(0) = 4 and slope = 2(1 pt)
(b)3 pts
Determine the vertex \((h, k)\) and minimum value of \(g(x)\).
Scoring Guideline & Justification
[M1]Finds axis of symmetry x = 2(2 pt)
[A1]Evaluates minimum k = 0(1 pt)
(c)3 pts
Compute the average rate of change of \(g(x)\) from \(x = 0\) to \(x = 4\).
Scoring Guideline & Justification
[M1]Applies (g(4) - g(0)) / 4(2 pt)
[A1]Simplifies to 0(1 pt)
Complete Worked Solution
(a) \(f(0)=4\), gradient \(2\). (b) Completing the square gives \(g(x)=(x-2)^2+0\), minimum \(0\) at \(x=2\). (c) Average rate \(= (x_1+x_2-4) = 0\).
A discrete random variable, \(X\), can take the values 1, 2, 3, 4, and 5. The probability distribution of \(X\) is given by \(P(X=x) = kx\) for \(x \in \{1, 2, 3, 4, 5\}\), where \(k\) is a constant. Find the value of \(k\).
💡 Hint 1 of 3
The sum of probabilities for all possible values of a discrete random variable must equal 1. Therefore, \(\sum_{x=1}^5 P(X=x) = 1\).