• 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|σₓ.

Effect of shifting and scaling
Change to every observationNew meanNew varianceNew SD
Add ax̄ + aσ²σ
Subtract ax̄ − aσ²σ
Multiply by kkx̄k²σ²|k|σ
Divide by k (k ≠ 0)x̄/kσ²/k²σ/|k|
yᵢ = kxᵢ + akx̄ + ak²σ²|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.

  1. Sum: 2 + 4 + 10 + x + y = 5 × 6 = 30, so x + y = 14.
  2. Variance: Σx²/5 − 6² = 8, so Σx² = 5 × 44 = 220. Then 4 + 16 + 100 + x² + y² = 220, so x² + y² = 100.
  3. (x + y)² = 196 = x² + y² + 2xy gives 2xy = 96.
  4. (x − y)² = x² + y² − 2xy = 100 − 96 = 4, so x − y = ±2.
  5. 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.

  1. Wrong sum = 50 × 20 = 1000. Correct sum = 1000 − 25 + 35 = 1010. Correct mean = 1010/50 = 20.2.
  2. From σ² = Σx²/n − x̄²: wrong Σx² = n(σ² + x̄²) = 50(16 + 400) = 20800.
  3. Correct Σx² = 20800 − 25² + 35² = 20800 − 625 + 1225 = 21400.
  4. Correct σ² = 21400/50 − 20.2² = 428 − 408.04 = 19.96.
  5. 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. 1. The standard deviation of a set is 5. If 10 is added to every observation, the new standard deviation is:

    1. 15
    2. 5
    3. 50
    4. √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. 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:

    1. 24 and 12
    2. 24 and 36
    3. 11 and 7
    4. 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. 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?

    1. 4
    2. 6
    3. 5
    4. 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. 4. For 20 observations the mean was 10 and Σx² = 2200. One value 12 was wrongly read as 8. What is the correct mean?

    1. 10
    2. 10.4
    3. 10.2
    4. 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. 5. Assertion (A): Multiplying every observation by −2 multiplies the variance by 4. Reason (R): If yᵢ = kxᵢ then σᵧ² = k²σₓ².

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. 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.

Next lesson → Final self-assessment: Statistics

Privacy · Terms · Refunds · Delivery