Expectation & variance
- Imagine running the experiment many times and averaging the values you get.
- That long-run average is .
- Each value is weighted by how often it happens.
- measures how spread out the values are.
- It uses the same engine as Chapter 3: mean of squares minus square of mean.
E(X) = Σxp, Var(X) = Σx²p − [E(X)]²
E(X) is the balance point of the distribution; the variance measures how far the mass sits from it. Get E(X) first, square it, subtract last.
Picture the distribution as weights on a ruler: is the point where it balances. Drag the mass and watch the fulcrum slide, and the variance grow as mass moves to the extremes.
E(X) = Σxp = 2.00·Var(X) = Σx²p − [E(X)]² = 1.06
Worked example
Start simple: equal-probability values
, each equally likely so . With equal probabilities is just the plain average of the values:
Worked example
Next rung: a clean decimal table (E, Var, SD)
with . ; .
Worked example
Fractional table: factor out the common denominator
with . Pull outside so you add whole numbers:
- .
- .
- , so (3 s.f.).
Worked example
Two unknowns: Σp = 1 AND E(X) together
with and . Two letters need two equations.
- : .
- .
- Subtract: , then .
Whenever a table has two letters, hunt for a second fact — almost always the given E(X). (9709/52/O/N/23 Q1)
Worked example
Expected value in context: a decision tool
An investment's percentage profit over 3 years has this distribution:
| Profit % | P |
|---|---|
| 1, 5, 10, 15, 20 | 0.05, 0.10, 0.50, 0.20, 0.05 |
| 30, 40, 45, 50 | 0.04, 0.03, 0.02, 0.01 |
- Expected percentage profit: .
- On a stake that is expected return.
E(X) is what you compare against alternatives (a savings rate, another venture). Expected frequency over N trials is N×P; an expected total is N×E(X).
- — value×prob, add. Keep it exact.
- Square it: park .
- — square the value, ×prob, add.
- (the subtraction is the mark); SD = √Var if asked.
| Asked for | Use | The mark / slip |
|---|---|---|
| E(X), mean | value×prob, not prob alone | |
| Var(X) | don't stop at Σx²p | |
| SD | root at the very end | |
| expected total over N | a total, not a probability |
Examiner note
Why minus the square of the mean?
measures spread from 0; you want spread from the centre . Subtracting shifts the origin to the mean — the same engine as Chapter 3.
Common mistake
Common mistake
Your turn— tap to reveal the worked answer (expected frequency)
For the clean table above (), what is the expected total over 50 independent trials?
Expected total .