- Foundation
- About 18 min
- 5 practice questions
Properties of variance and solving problems with mean and standard deviation
Show how adding a constant or multiplying by a constant changes the mean, variance and standard deviation, find missing observations, and correct a mean and standard deviation after an error.
If something looks wrong, please tell us.
Real data are often converted (Celsius to Fahrenheit, rupees to thousands of rupees) or corrected after a mistake is found. Rather than recomputing everything, we can use a few properties of the mean and variance. This lesson proves those properties and uses them on typical problems.
Adding a constant
Let yᵢ = xᵢ + a for every i. Then ȳ = (Σxᵢ + na)/n = x̄ + a, and yᵢ − ȳ = xᵢ − x̄. Every deviation is unchanged, so the variance and standard deviation are unchanged. Shifting all the data moves the centre but not the spread.
Multiplying by a constant
Let yᵢ = kxᵢ. Then ȳ = kx̄ and yᵢ − ȳ = k(xᵢ − x̄), so σᵧ² = (1/n)Σk²(xᵢ − x̄)² = k²σₓ² and σᵧ = |k|σₓ.
| Change to every observation | New mean | New variance | New SD |
|---|---|---|---|
| Add a | x̄ + a | σ² | σ |
| Subtract a | x̄ − a | σ² | σ |
| Multiply by k | kx̄ | k²σ² | |k|σ |
| Divide by k (k ≠ 0) | x̄/k | σ²/k² | σ/|k| |
| yᵢ = kxᵢ + a | kx̄ + a | k²σ² | |k|σ |
Shifting and scaling data
-
Shift (add a)
- Mean moves by a
- Spread unchanged
- Variance and SD unchanged
-
Scale (multiply by k)
- Mean multiplied by k
- Variance multiplied by k²
- SD multiplied by |k|
Worked example 1
The variance of 15 observations is 6. If each observation is multiplied by 3, the new variance is 3² × 6 = 54 and the new standard deviation is √54 = 3√6 ≈ 7.35. If instead 3 is added to each, the variance stays 6.
Worked example 2: a change of units
A set of temperatures has mean 30 °C and standard deviation 4 °C (made-up figures). In Fahrenheit, F = (9/5)C + 32. The new mean is (9/5)(30) + 32 = 86 °F and the new standard deviation is (9/5)(4) = 7.2 °F; the +32 does not affect the spread.
Finding missing observations
Worked example 3
The mean of five observations is 6 and their variance is 8. Three of them are 2, 4 and 10. Find the other two, x and y.
- Sum: 2 + 4 + 10 + x + y = 5 × 6 = 30, so x + y = 14.
- Variance: Σx²/5 − 6² = 8, so Σx² = 5 × 44 = 220. Then 4 + 16 + 100 + x² + y² = 220, so x² + y² = 100.
- (x + y)² = 196 = x² + y² + 2xy gives 2xy = 96.
- (x − y)² = x² + y² − 2xy = 100 − 96 = 4, so x − y = ±2.
- With x + y = 14: x = 8, y = 6 (or the other way round).
The missing observations are 6 and 8. Check: 2, 4, 6, 8, 10 has mean 6 and squared deviations 16, 4, 0, 4, 16, total 40, variance 8.
Correcting a mistake
Worked example 4
For 50 observations a student found mean 20 and standard deviation 4, but one value, 35, had been copied as 25. Find the correct mean and standard deviation.
- Wrong sum = 50 × 20 = 1000. Correct sum = 1000 − 25 + 35 = 1010. Correct mean = 1010/50 = 20.2.
- From σ² = Σx²/n − x̄²: wrong Σx² = n(σ² + x̄²) = 50(16 + 400) = 20800.
- Correct Σx² = 20800 − 25² + 35² = 20800 − 625 + 1225 = 21400.
- Correct σ² = 21400/50 − 20.2² = 428 − 408.04 = 19.96.
- Correct σ = √19.96 ≈ 4.47.
To correct grouped results: rebuild Σx = n x̄ and Σx² = n(σ² + x̄²), fix them, then recompute.
Worked example 5: comparing spread
Two made-up sets of daily study hours both have mean 4 hours; set X has σ = 0.5 and set Y has σ = 1.8. Since the means are equal, the set with the smaller standard deviation, X, is more consistent. Comparing standard deviations is meaningful here because both sets have the same mean and units.
Key takeaways
- Adding a constant changes the mean, not the variance.
- Multiplying by k multiplies the mean by k, the variance by k² and the SD by |k|.
- Use Σx = n x̄ and Σx² = n(σ² + x̄²) to find missing values or correct errors.
Check your understanding
-
1. The standard deviation of a set is 5. If 10 is added to every observation, the new standard deviation is:
- 15
- 5
- 50
- √15
Show answer
Answer: B. Adding a constant shifts every value and the mean equally, so deviations and the standard deviation are unchanged: 5.
-
2. The mean and standard deviation of some data are 8 and 4. If each observation is multiplied by 3, the new mean and standard deviation are:
- 24 and 12
- 24 and 36
- 11 and 7
- 24 and 4
Show answer
Answer: A. Mean becomes 3 × 8 = 24 and SD becomes 3 × 4 = 12 (the variance becomes 9 × 16 = 144).
-
3. The mean of 4 observations is 5 and their variance is 5. Three of them are 2, 5 and 8. What is the fourth?
- 4
- 6
- 5
- No such value exists
Show answer
Answer: D. The sum must be 20, so the fourth value is 20 − 15 = 5. Then the data 2, 5, 8, 5 have squared deviations 9, 0, 9, 0, total 18, giving variance 18/4 = 4.5, not 5. So no value satisfies both conditions.
-
4. For 20 observations the mean was 10 and Σx² = 2200. One value 12 was wrongly read as 8. What is the correct mean?
- 10
- 10.4
- 10.2
- 9.8
Show answer
Answer: C. Wrong sum = 200. Correct sum = 200 − 8 + 12 = 204, so the correct mean is 204/20 = 10.2.
-
5. Assertion (A): Multiplying every observation by −2 multiplies the variance by 4. Reason (R): If yᵢ = kxᵢ then σᵧ² = k²σₓ².
- Both A and R are true, and R is the correct explanation of A
- Both A and R are true, but R is not the correct explanation of A
- A is true, but R is false
- A is false, but R is true
Show answer
Answer: A. Both are true. With k = −2, k² = 4, so the variance is multiplied by 4 (and the standard deviation by |−2| = 2). R explains A.
Sign in to keep track of the lessons you finish.