Variance and standard deviation

About this lesson: Variance and standard deviation

In short

Variance σ² = Σf(x − x̄)²/Σf measures spread around the mean. The standard deviation σ is its square root, in the same units as the data.

What you'll explore

Variance: Average squared distance from the mean
Variance σ² = Σf(x − x̄)²/Σf measures spread around the mean. The standard deviation σ is its square root, in the same units as the data.
Short formula: σ² = Σfx²/Σf − x̄²
Expanding the square gives a quicker formula: the mean of the squares minus the square of the mean.
Explore: Spread and standard deviation
Five values 5 − 2d, 5 − d, 5, 5 + d, 5 + 2d. The mean stays at 5; σ grows in proportion to the spacing d. Shift all values by s: σ does not change.
Coding: σₓ = c σᵤ
With u = (x − a)/c, the variance of x is c² times the variance of u. Subtracting a has no effect on spread.
Check yourself: Standard deviation
Mean of squares minus square of mean.

Also in this lesson

  • Variance in detail
  • Common mistakes

Key words

Variance
σ², mean squared deviation.
Standard deviation
σ, square root of the variance.
Deviation
x − x̄.
Mean of squares
Σfx²/Σf.
Coding
u = (x − a)/c.
Dispersion
How spread out data are.

Sources

  • NIE Sri Lanka, G.C.E. (A/L) Combined Mathematics syllabus, Grade 12 and 13, 2017 (competency level II 5.4).

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 30-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 21 November 2026.

← Quartiles and percentiles · Skewness →

All lessons in Unit 36 · Statistics · A/L Combined Maths

A/L Combined Maths past papers 2019–2025: analysis and 10 model papers with answers

මේ පිටුව සිංහලෙන් කියවන්න