Understand the idea
Two fictional machines produce the same average number of usable units, but one is predictable and the other swings between low and high outcomes. Their expected values can be identical while their variability differs.
Predict before the calculation: A machine outputs either 0, 2 or 4 units, with probabilities 1/4, 1/2, 1/4. Its expected value is 2 units. Do outcomes tend to stay close to 2, or is there measurable spread? Would a machine that always produces 2 have the same variance? Think of a reason before reading the squared distances.
Prerequisite re-entry: a distance can be negative, but its square cannot. If a result is 2 units below the mean, the signed difference is −2. If it is 2 units above, the difference is +2. Both have squared difference (−2)²=(+2)²=4 units². Try the tiny question "Which has the greater absolute distance from the mean, −2 or +2?" Explanation: Neither; they are equally far from zero. Squaring lets deviations on both sides contribute positively to a spread measure, without turning it into a value an individual machine must output.
Why average is not enough
The weighted mean is E(X)=0×1/4+2×1/2+4×1/4=2. That is the centre. To describe spread, we calculate how far outcomes lie from the centre, square each distance, then weight by how often that outcome is expected. An outcome with probability 1/4 is one-quarter of the calculation, not one whole occurrence with full weight.
Try just the first row, before its answer: For output 0, the signed difference from the mean 2 is 0−2=−2 units, and its square is 4 units². The probability for output 0 is 1/4. Does this row contribute 4, 1, or 0 squared units to the weighted total? Explain what the quarter does.
Optional hint if you choose 4: A full 4 would treat output 0 as though it occurred on every possible trial. The question gives it weight one quarter, so multiply 4 by that fraction. Explanation: 4×1/4=1 unit² contributes to the variance. If you chose 4, the squared distance was right but the probability weight was omitted; redo only the quarter step before continuing.
Complete the two remaining rows, before the full sum: At output 2, the signed difference from the mean is zero. At output 4, the difference is positive. Work out the squared distance and multiply by the row's probability. The first row has been completed as a model; fill the two question-mark cells without seeing the completed table:
| Possible output | Probability | Squared distance from 2 | Weighted contribution |
|---|---|---|---|
| 0 | 1/4 | 4 units² | 1 unit² |
| 2 | 1/2 | ? | ? |
| 4 | 1/4 | ? | ? |
Optional hint if needed: A distance of zero remains zero when squared. For output 4, the distance from the centre 2 is +2; square it, then multiply by 1/4. Add the three weighted contributions only when all rows are filled.
Reveal after the student has attempted both remaining rows: The completed contributions are 1, 0 and 1 unit². The total weighted squared distance is 1+0+1=2 units². That total is the variance. Its square root returns to the original unit: σ=√2≈1.41 units, called the standard deviation. Variance is measured in units², whereas standard deviation is in units.
Only after this word-and-row method, the compact notation can be introduced:
Var(X)=Σ p_i(x_i−μ)², where μ=E(X) and the symbol Σ simply means add all the weighted contributions. This is the variance of the specified distribution; it does not use the separate sample-variance n−1 formula.
A machine that always outputs 2 units has expected value 2 but variance and standard deviation 0, because every deviation is zero. Same mean, different spread.
A new supported retry, before changing the full distribution
A different fictional packet machine puts either 1 or 3 units into a packet, each with probability 1/2. Do not display the answer until the learner tries. (1) Find its expected value, (2) its two squared distances from that mean, (3) each distance's probability-weighted contribution, and (4) its variance and standard deviation.
Optional hint: The mean is exactly halfway between 1 and 3. The two squared distances will be equal. Remember to multiply each by 1/2 before adding; if you get variance 2, you likely forgot those weights.
Explanation: E(X)=1×1/2+3×1/2=2 units. The squared distances are (1−2)²=(3−2)²=1 unit². Weighted contributions are 1×1/2=0.5 unit² each, so variance is 1 unit² and standard deviation is 1 unit. If you got 2 units², keep the squared distances but correct the probability weights, then retry just the total. Compare this with the original distribution's variance 2: the same mean need not imply the same spread.
Weight the extremes differently
Now redistribute probabilities to P(0)=1/2, P(2)=0, P(4)=1/2. The expected value stays 2, while Var(X)=4×1/2+4×1/2=4 units², so σ=2 units. The variable now sits entirely at its extremes. This shows why the mean alone is insufficient to describe risk or consistency. Zero probability for an outcome is allowed in a formal table, though it can be removed from the support.
A useful independent check is Var(X)=E(X²)−[E(X)]². For the original distribution, E(X²)=0+4×1/2+16×1/4=6; 6−2²=2 as before. This is the variance of a specified discrete probability distribution, not an empirical sample-variance calculation.
Common misconceptions
- Squaring the mean and calling the result variance, without computing deviations.
- Forgetting probabilities when summing squared deviations. Repair: identify the probability column in the 0/2/4 table and retry the two-outcome 1-or-3 packet model's 1/2 weights.
- Reporting
√2 units²as standard deviation: the square root restores the original units, not squared units. Repair: match the 1-unit standard deviation against the 1-unit² variance in the supported retry. - Assuming equal means imply equal standard deviations.
- Using the
n−1sample-variance denominator in a given exact probability distribution.
Independent transfer: a second parts distribution
A new fictional machine places 2, 3 or 7 complete washers into a packet, with probabilities 1/2, 1/4, 1/4, respectively. Independently compute E(Y), Var(Y) and σ_Y. Explain why the standard deviation is not necessarily a possible observed washer count.
Work on paper or in notes. This public reading does not submit, save, grade or reveal an answer.
Recap and future learning
Expected value measures the distribution's centre; variance measures mean squared distance from that centre; standard deviation gives spread in the original units. Next: normal random variables and standardized scores, after the discrete-to-continuous distinctions are secure. These results are noncredit worked models, not performance ratings of real learners or suppliers.