Salam Academy
Representation of data · Subtopic 3 of 4

Mean and Standard Deviation

The mean is the balance point of the data; the standard deviation is a typical distance from it. One formula, "mean of the squares minus the square of the mean", gives the variance from almost any form of data.

Cambridge 9709 Paper 5Edexcel YMA01 WST01Edexcel 9MA0 Paper 3AQA 7357 Paper 3≈ 35 minRevision 5 · updated 2026-10-27
Section 1 of 14

Learning objectives

  • Calculate the mean and standard deviation of raw data.
  • Use the totals Σx\Sigma x and Σx2\Sigma x^2, including working backwards to find them.
  • Estimate the mean and standard deviation from a frequency table, using class midpoints for grouped data.
  • Choose a suitable average and measure of spread.
Pause and think

The values 4,5,64,5,6 and 0,5,100,5,10 both have mean 55. How could you measure, with one number, how spread out each set is?

Section 2 of 14

Core idea

Start hereSame average, different story

Two archers both average 66 points. One always scores 5, 6 or 7; the other ranges from 1 to 11. Same mean, completely different reliability. A single number for spread, the standard deviation, captures the difference.

The big idea

Mean xˉ=∑xn\bar x=\frac{\sum x}n. Variance σ2=∑(x−xˉ)2n=∑x2n−xˉ2\sigma^2=\frac{\sum(x-\bar x)^2}n=\frac{\sum x^2}n-\bar x^2 ("mean of squares minus square of mean"). Standard deviation σ=variance\sigma=\sqrt{\text{variance}}.

1. Why squared deviations?

Two data sets with the same mean (6) but different spread
246810120.511.522.533.540valuemean 6●●●●●●●●●●●●●●●●●●A: σ ≈ 1.15B: σ ≈ 3.2
Both sets have mean 66. Set A huddles round it; set B is scattered. The standard deviation puts a number on that difference.
Deviations always sum to zero
  1. ∑(x−xˉ)=∑x−nxˉ\sum(x-\bar x)=\sum x-n\bar x
    Split the sum.
  2. =∑x−n⋅∑xn=0=\sum x-n\cdot\frac{\sum x}n=0
    Definition of xˉ\bar x.
Positive and negative deviations cancel, so we square them before averaging.
The computational formula
  1. σ2=1n∑(x2−2xˉx+xˉ2)\sigma^2=\frac1n\sum(x^2-2\bar xx+\bar x^2)
    Expand the square.
  2. =∑x2n−2xˉ∑xn+xˉ2=\frac{\sum x^2}n-2\bar x\frac{\sum x}n+\bar x^2
    Split; ∑xˉ2=nxˉ2\sum\bar x^2=n\bar x^2.
  3. =∑x2n−2xˉ2+xˉ2=∑x2n−xˉ2=\frac{\sum x^2}n-2\bar x^2+\bar x^2=\frac{\sum x^2}n-\bar x^2
    ∑xn=xˉ\frac{\sum x}n=\bar x.
Worked example2,4,4,4,5,5,7,92,4,4,4,5,5,7,9

Find the mean and standard deviation.

Goal
xˉ\bar x, σ\sigma.
Strategy
Computational formula.
  1. xˉ=408=5\bar x=\tfrac{40}8=5
    Mean.
  2. ∑x2=4+16+16+16+25+25+49+81=232\sum x^2=4+16+16+16+25+25+49+81=232
    Squares.
  3. σ2=2328−25=4⇒σ=2\sigma^2=\tfrac{232}8-25=4\Rightarrow\sigma=2
    Formula.
AnswerMean 55, SD 22.
✓ CheckDeviations −3,−1,−1,−1,0,0,2,4-3,-1,-1,-1,0,0,2,4; squares sum 9+1+1+1+0+0+4+16=329+1+1+1+0+0+4+16=32; 328=4\frac{32}8=4 ✓.

2. Grouped data and combining groups

xˉ=∑fx∑f,σ2=∑fx2∑f−xˉ2\bar x=\frac{\sum fx}{\sum f},\qquad\sigma^2=\frac{\sum fx^2}{\sum f}-\bar x^2
Worked exampleCombining two groups

A: n=10n=10, ∑x=50\sum x=50, ∑x2=290\sum x^2=290. B: n=15n=15, ∑x=105\sum x=105, ∑x2=800\sum x^2=800. Find the combined mean and SD.

Goal
Combined stats.
Strategy
Add nn, ∑x\sum x, ∑x2\sum x^2 (never average the SDs).
  1. n=25, ∑x=155, ∑x2=1090n=25,\ \sum x=155,\ \sum x^2=1090
    Add.
  2. xˉ=6.2, σ2=109025−6.22=43.6−38.44=5.16\bar x=6.2,\ \sigma^2=\tfrac{1090}{25}-6.2^2=43.6-38.44=5.16
    Formulas.
AnswerMean 6.26.2, SD 2.272.27.
✓ CheckCombined mean between 55 and 77 ✓.
Common misconceptionForgetting to square-root ∑x2n−xˉ2\frac{\sum x^2}n-\bar x^2 is the variance; the SD is its square root.
Pause and think

Which is affected more by one extreme value, the mean or the median?

Summary

  • Variance = mean of squares − square of mean.
  • Grouped: use ff and midpoints.
  • Combine using totals.
Key words
Variance
Mean squared deviation.
Standard deviation
Square root of variance.
HistoryPearson again. Karl Pearson introduced the term "standard deviation" and the symbol σ\sigma in 1893–94. Before that, people used the "probable error" or the "mean error". The word "variance" came later, from Ronald Fisher in 1918.
Fun factMore legs than average. Because a few people have fewer than two legs and nobody has more, the mean number of legs is slightly below 22. So almost everyone has more legs than average! The median (22) is the better average here. It is a classic example of a skewed distribution pulling the mean.
Keep reading for free

Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.