In review — free for everyone. While a book is in review you are one of its reviewers: read it, use it, and tell us what is wrong. When the reports settle, the Class 11 pass is ₹999 for the year and this book’s PDF is ₹299.
One number hides how spread out the data is
Two batsmen can share the exact same average — 40 runs an innings. Even so, they can play very differently. One scores close to 40 almost every time out. The other swings wildly, some innings a duck, some a century. Those wild swings just happen to balance at 40. The average cannot tell the two batsmen apart. It was never built to.
That is the gap this chapter closes. A measure of CENTRAL TENDENCY — mean, median, mode — always drops information on the way to one summary number. A measure of DISPERSION reports how much was dropped. It shows how far, on average, the real values scatter around that summary. Two data sets can share one mean and still disagree completely on spread. A mean quoted alone is only half the picture.
One number says where the centre is. This chapter asks how far the data strays from it.
The simplest measure of spread: the range
The simplest measure of dispersion needs no formula at all. A weather report gives a RANGE each day — the day's highest reading minus its lowest. That is the whole idea: the biggest value in a data set, minus the smallest, with nothing else to compute.
Range uses only two numbers from the whole data set, however big that set is. It says nothing about how the values in between behaved. Did the temperature climb smoothly all afternoon? Did it spike and drop twice before settling? Range cannot tell you. Two very different days can still post the same range, if their highs and lows happen to match, even when everything between those readings looked nothing alike.
Fast and honest about what it ignores — every value except the two extremes.
Why deviations from the mean can’t just be averaged
Go back to that batsman. Try the obvious next step: measure spread by seeing how far each score sits from the average, then average THAT. Take each score. Subtract the mean. See what the deviations add up to.
They add up to zero. Always. For any data set with mean $\overline{x}$:
$\sum_{i=1}^n (x_i - \overline{x}) = 0.$
This is not a property of well-behaved data. It holds for every data set, however wild the scores are. The reason lies in how the mean itself is defined: the point where the scores above it and the scores below it balance out exactly. A score above average contributes a positive deviation. A score below contributes a negative one. The two kinds cancel exactly, every time, by the mean's own construction.
The raw deviations always cancel — which is exactly why they cannot be averaged directly to measure spread.
Mean deviation about the mean
A factory checks packaged product weights. It does not care whether a packet ran over the labelled target or under it — only how far off it ran, on average. That is precisely the problem the last section's cancelling deviations create. MEAN DEVIATION ABOUT THE MEAN fixes it directly: make every deviation positive FIRST, using an absolute value, before averaging:
$1/n \sum_{i=1}^n |x_i - \overline{x}| \cdot$
The absolute value bars are not decoration. They stop a packet that ran 5 grams over, and a packet that ran 5 grams under, from cancelling each other out in the average. Their signed deviations would have done exactly that.
Same deviations as before — only now forced positive before they are averaged, so they cannot cancel.
Find the mean deviation about the mean of $2, 4, 6, 8, 10$
- $\overline{x} = (2+4+6+8+10)/5 = 30/5 = 6$
find the mean first — every deviation is measured against this one number - deviations: $-4, -2, 0, 2, 4$
subtract the mean from each value, in order - absolute deviations: $4, 2, 0, 2, 4$
drop every negative sign — this is the step that stops cancelling - $(4+2+0+2+4)/5 = 12/5 = 2.4$
average the absolute deviations — this single number is the mean deviation about the mean
Mean deviation about the median
A delivery company wants to promise one "estimated delivery time" to every customer. That promise should minimize how much customers complain about lateness or earliness, across every past delivery. The number that does this best is not the mean delivery time. It is the MEDIAN.
The same mean-deviation idea works with the median $M$ in place of the mean:
$1/n \sum_{i=1}^n |x_i - M| \cdot$
Of every possible fixed number a company could promise, the median makes this average absolute distance SMALLEST. Mean deviation about the median is never larger than mean deviation about any other fixed point, including the mean itself. That is not a coincidence of this one example. It is a property of the median, true for every data set.
Same formula, one reference point changed — and that one change is provably the best choice available.
Variance: squaring instead of taking the absolute value
Two data sets can share one mean and still disagree completely on how far their values wander from it — the same gap this chapter opened with. VARIANCE measures that wandering directly. It squares each deviation instead of taking its absolute value, then averages:
$\sigma^2 = 1/n \sum_{i=1}^n (x_i - \overline{x})^2.$
Squaring, like the absolute value before it, makes every term non-negative. The deviations still cannot cancel. But squaring is a smooth operation in a way absolute value is not — it has no sharp corner at zero. That single difference is why nearly every further idea in statistics builds on variance, not on mean deviation.
Squaring also does something absolute value does not: it punishes big deviations harder than small ones. Take two deviations, $2$ and $6$ — three times as large. Their absolute values stay in that same 3-to-1 ratio. Their squares are $4$ and $36$ — now in a 1-to-9 ratio. One badly-off value pulls variance up far harder than it pulls mean deviation up, which is exactly why variance is the sharper alarm for a few extreme values sitting inside an otherwise calm data set.
Same non-negative trick as mean deviation — a different tool for making it, with much further reach.
Standard deviation: back to the data’s own units
Suppose a data set is measured in one unit — say, metres. Squaring every deviation to compute variance also squares the unit: the result comes out in SQUARE METRES, a unit that no longer matches the original quantity. Nobody reports a spread in square metres.
Standard deviation is the positive square root of variance:
$\sigma = \sqrt{1/n \sum_{i=1}^n (x_i - \overline{x})^2} \cdot$
STANDARD DEVIATION fixes exactly this. The square root undoes the squaring's unit distortion, landing back in the data's own original unit — the same one the values themselves were measured in, whatever it happens to be.
Variance does the averaging in squared units; the square root undoes that, back to the unit the data was measured in.
Find the variance and standard deviation of $2, 4, 6, 8, 10$
- $\overline{x} = 6$
the same mean already found for this data set's mean deviation - squared deviations: $16, 4, 0, 4, 16$
square each deviation from the mean instead of taking its absolute value - $\sigma^2 = (16+4+0+4+16)/5 = 40/5 = 8$
average the squared deviations — this is the variance - $\sigma = \sqrt{8} = 2\sqrt{2} \approx 2.83$
take the positive square root to return to the data's own units
A shortcut formula for variance
Computing every individual deviation before squaring it works. But it is not the only way to reach the same number. Variance has an equivalent SHORTCUT form:
$\sigma^2 = 1/n \sum_{i=1}^n x_i^2 - (\overline{x})^2.$
In words: the mean of the squares, minus the square of the mean. A calculator or a spreadsheet can keep a running sum of $x_i^2$ alongside a running sum of $x_i$. Those two totals alone give a variance directly, with no second pass through the data. Both formulas always return the same number for the same data. The shortcut is a faster route to that number, not a different one.
Same variance, reached from two different directions — one of them faster once the sum of squares is already on hand.
Recompute the variance of $2, 4, 6, 8, 10$ with the shortcut formula
- $\overline{x} = 6$
the mean is needed either way — only the route to variance changes - $\sum x_i^2 = 4+16+36+64+100 = 220$
square every value first this time, and sum the squares directly - $\sigma^2 = 220/5 - 6^2 = 44 - 36 = 8$
the mean of the squares, minus the square of the mean - $\sigma^2 = 8$
matches the direct-deviation computation exactly, as the algebra guarantees it must
Variance from a frequency table
Real exam or survey results almost never arrive as one long list of scores. They arrive as a FREQUENCY TABLE: so many students scored this mark, so many scored that one. Re-listing every response separately, before applying the formulas above, would be pure wasted work.
Variance reweights the same idea by frequency instead. For a value $x_i$ occurring $f_i$ times:
$\sigma^2 = 1/N \sum_i f_i (x_i - \overline{x})^2.$
Here $N = \sum_i f_i$ is just the total count of observations, however they are grouped. Each deviation is counted $f_i$ times through the weight $f_i$, instead of being listed and squared $f_i$ separate times. The table format changes. The underlying question does not: how far, on average, do the values disagree with the mean?
One reweighted formula reads straight off the table nobody has time to unpack into a list.
Comparing consistency: the coefficient of variation
A student compares consistency across a 100-mark theory paper and a 30-mark practical exam. The two raw standard deviations cannot be compared directly. The scales are too different for that comparison to mean anything. The subject with bigger numbers will almost always show the bigger standard deviation, whatever its actual consistency.
The COEFFICIENT OF VARIATION fixes this. It reports standard deviation as a PERCENTAGE of the mean:
$\sigma/\overline{x} \times 100.$
Unlike standard deviation or variance, this carries no units at all. Grams, rupees, or marks all cancel out of the ratio. That is exactly what makes it possible to compare two data sets that use different units, or that simply have very different means. It is the theory-versus-practical comparison the student actually needs.
Standard deviation answers "how spread out." Coefficient of variation answers "how spread out, relative to the size of the numbers involved" — a fairer question across two different scales.
Compare the consistency of two groups by coefficient of variation
- Group A: mean $=20$, standard deviation $=4$
the two numbers a coefficient-of-variation comparison always starts from - $(4/20) \times 100 = 20$ percent
standard deviation as a percentage of the mean, for Group A - Group B: mean $=50$, standard deviation $=8$
Group B's raw standard deviation is larger than Group A's - $(8/50) \times 100 = 16$ percent
the same ratio, computed for Group B - Group B is the more consistent group
despite the larger raw standard deviation, Group B's smaller CV means less spread relative to its own mean
Every measure, one question
Every measure in this chapter answers one question: how much do the real values disagree with a single summary number?
Range uses only the two extremes. It ignores everything between them. Mean deviation forces every deviation positive with an absolute value, before averaging — so the raw deviations' guaranteed cancelling cannot hide the spread. Variance and standard deviation force the same positivity by squaring instead. That is a smoother operation, which is why nearly all further statistical theory builds on them, not on mean deviation. The coefficient of variation strips away units entirely, so two differently scaled data sets can be compared on consistency alone.
In practice, let the question decide the tool. Want the fastest possible sense of spread, with no computation to speak of? Range. Want every value counted the same way, whether it ran over or under the centre? Mean deviation. Want a measure smooth enough for further theory to build on? Variance, or its square root, standard deviation. Want to compare two data sets that live on entirely separate scales? Coefficient of variation, since it carries no units at all.
Every measure here exists because the raw sum of deviations is always zero and, by itself, says nothing.
Two traps this chapter sets
THE TRAP. Measure a data set's spread by averaging the raw deviations, $x_i - \overline{x}$, directly. No absolute value, no squaring needed.
THE REALITY. That sum is always exactly zero, for every data set, no matter how spread out it is. It carries no information about spread at all. A wildly scattered data set and a perfectly uniform one both give the same answer, zero, if the raw deviations are averaged unmodified. This is exactly why mean deviation takes an absolute value, and variance squares each deviation, before either one is averaged.
Skip the absolute value or the square, and the "spread" you compute is zero every time — not because the data has no spread, but because the method cannot see it.
Weaker. Take the data 2, 4, 6, 8, 10. The mean is 6, so the deviations are $-4$, $-2$, $0$, $2$ and $4$. Average them the obvious way: $(-4 - 2 + 0 + 2 + 4) / 5 = 0$. The answer says this data has no spread. Now run the same method on 1, 1, 1, 1, 1. The answer is 0 again. Run it on 0, 0, 0, 0, 30. Still 0. Three data sets that could hardly be less alike, and one number for all three. This is not a measure of spread that happens to be inaccurate. It is a measure that cannot tell any two data sets apart, ever.
Stronger. Same data, one change: drop the sign before averaging. The absolute deviations are 4, 2, 0, 2 and 4, and their average is $12 / 5 = 2.4$. Run the same three data sets through this version. For 1, 1, 1, 1, 1 the answer is 0 — correct, because that data really has no spread. For 0, 0, 0, 0, 30 the answer is 9.6. Three data sets, three different answers, and they come out in the right order. The absolute value is not tidying up the formula. It is the step that makes the formula able to see anything at all.
THE TRAP. To decide which of two data sets is "more consistent," compare their raw standard deviations directly. The smaller one wins.
THE REALITY. Standard deviation carries the same scale as the data itself. Comparing it directly is only fair when the two data sets share the same, or a similar, mean. When the means differ — the theory-versus-practical comparison from earlier in this chapter — the coefficient of variation is the fair comparison, not the raw standard deviation. A data set can carry a LARGER standard deviation and still be the MORE consistent one, once its larger mean is taken into account.
A bigger standard deviation is not automatically a less consistent data set. It can simply be a data set with bigger numbers to begin with.
Weaker. One student, one term. The theory paper is out of 100: mean $62$, standard deviation $12$. The practical is out of 30: mean $20$, standard deviation $5$. Compare the two standard deviations directly and the verdict comes fast — $5$ is smaller than $12$, so the practical marks must be the steadier ones. But the two numbers were never on one scale. A 12-mark swing on a 100-mark paper and a 5-mark swing on a 30-mark paper are not the same size of swing, and nothing in that comparison noticed.
Stronger. Divide each standard deviation by its own mean before comparing. Theory: $(12 slash 62) \times 100 = 19.4$ percent. Practical: $(5 slash 20) \times 100 = 25$ percent. The verdict reverses. The theory marks are the more consistent set, even though their standard deviation is more than twice as large — because the marks they vary around are more than three times as big. The coefficient of variation carries no units, which is the only reason two papers marked out of 100 and out of 30 can be compared at all.
Practice set
- practice Find the range of the data set $7, 10, 18, 25, 32$.
- practice Find the mean deviation about the mean of $3, 5, 7, 7, 8$.
- practice Find the mean deviation about the median of $8, 3, 10, 5, 9$.
- practice For the data set $4, 4, 4, 4, 4$, what is the mean deviation about the mean?
Answers
- $32 - 7 = 25$
- Mean $\overline{x} = 6$; mean deviation $= 8/5 = 1.6$
- Median $M = 8$; mean deviation $= 11/5 = 2.2$
- $0$
- practice Find the variance and standard deviation of $4, 6, 6, 8$.
- practice Use the shortcut formula to find the variance of $1, 2, 3, 4, 5$.
- practice A frequency table shows the value $1$ occurring $2$ times, $3$ occurring $4$ times, and $5$ occurring $2$ times. Find the variance.
Answers
- Mean $\overline{x} = 6$; variance $\sigma^2 = 8/4 = 2$; standard deviation $\sigma = \sqrt{2} \approx 1.41$
- $\sigma^2 = 55/5 - 3^2 = 11 - 9 = 2$
- Mean $\overline{x} = 3$; variance $\sigma^2 = 16/8 = 2$
- practice Brand A bulbs have mean life $1000$ hours with standard deviation $100$ hours. Brand B bulbs have mean life $1200$ hours with standard deviation $150$ hours. Which brand is more consistent?
- practice Data set P has mean $10$ and standard deviation $5$. Data set Q has mean $40$ and standard deviation $6$. Which data set is relatively more variable?
Answers
- $10$ percent (Brand A) versus $12.5$ percent (Brand B) — Brand A is steadier.
- $50$ percent (P) versus $15$ percent (Q) — P is more variable.
Chapter-end problems
- board-easy Find the range of the data set $12, 18, 25, 9, 30, 15$.
- board-easy Find the mean deviation about the mean of $4, 8, 12, 16$.
- board-easy Find the mean deviation about the median of $3, 9, 5, 3, 12$.
- board-easy Two students both average 70 marks across their exams. Which of these could reveal that they actually perform very differently, exam to exam?
- board-easy Find the variance of $3, 5, 5, 7$.
- board-easy Use the shortcut formula to find the variance of $2, 3, 4, 5, 6$.
- board-easy A data set has mean $25$ and standard deviation $5$. Find its coefficient of variation.
- board-easy A frequency table has the value $2$ occurring once, $4$ occurring twice, and $6$ occurring once. Find the variance.
- board-easy Find the variance of $6, 6, 6, 6$.
- board-easy Which measure of spread lets you fairly compare two data sets measured on completely different scales?
- board-standard A city recorded these daily high temperatures (in degrees): $18, 22, 17, 25, 20, 19, 23$. Find the range.
- board-standard Find the mean deviation about the mean of $10, 12, 14, 16, 18, 20$.
- board-standard Find the mean deviation about the median of $5, 7, 9, 11, 13$.
- board-standard A machine fills bags weighing $48, 50, 52, 49, 51$ grams. Find the standard deviation of the weights.
- board-standard Use the shortcut formula to find the variance of $1, 2, 3, 4, 5, 6, 7$.
- board-standard A frequency table has value $1$ (frequency $2$), $2$ (frequency $3$), $3$ (frequency $5$), $4$ (frequency $3$), and $5$ (frequency $2$). Find the variance.
- board-standard Class A has mean $50$ marks with standard deviation $10$. Class B has mean $80$ marks with standard deviation $12$. Which class is relatively more consistent?
- board-standard Machine X has mean output $200$ units with standard deviation $20$. Machine Y has mean output $150$ units with standard deviation $18$. Which machine is more consistent?
- board-standard For the data set $3, 5, 9, 11$, the raw (signed) deviations from the mean sum to zero. Explain why this can never be used, by itself, to measure spread.
- board-standard An investment’s monthly returns, in percent, are $2, 4, 3, 5, 6$. Find the variance and the standard deviation.
- board-standard For the data set $2, 3, 3, 8, 10$, find the mean deviation about the mean and about the median, and confirm which is smaller.
- board-standard Find the standard deviation of $10, 20, 30, 40, 50$ using the shortcut formula.
- JEE Five numbers $8, 10, 10, 12, x$ have mean $10$. Find $x$, then find the variance of the five numbers.
- JEE A frequency table has value $2$ (frequency $3$), $4$ (frequency $5$), $6$ (frequency $f$), and $8$ (frequency $2$), with mean $5$. Find $f$, then find the variance.
- JEE A data set has mean $20$ and coefficient of variation $15$ percent. Find its standard deviation.
- JEE A data set has six values. Five of the deviations from the mean are $-3, -1, 0, 2, 4$. Find the sixth deviation.
- JEE The mean deviation about the mean of six values is $3$. Five of the absolute deviations are $5, 2, 1, 4, 3$. Find the sixth.
- JEE A data set of five values has mean $6$ and variance $4$. Find the sum of the squares of the five values.
- JEE A survey of $20$ households records family size: $2$ members ($4$ households), $3$ members ($6$), $4$ members ($6$), $5$ members ($4$). Find the variance of family size.
- JEE Team A scores $40, 50, 60, 70, 80$ across five matches. Team B scores $20, 25, 30, 35, 40$. Compare their coefficients of variation.
Answers
- $21$
- $4$
- $3$
- Their range
- $2$
- $2$
- $20$ percent
- $2$
- $0$
- Coefficient of variation
- $8$
- $3$
- $2.4$
- $\sigma \approx 1.41$
- $4$
- $\sigma^2 \approx 1.47$
- Class B
- Machine X
- sum $= 0$
- $\sigma^2 = 2, \sigma \approx 1.41$
- MD about median $= 2.6$ is smaller
- $\sigma = 10\sqrt{2} \approx 14.14$
- $x = 10, \sigma^2 = 1.6$
- $f = 8, \sigma^2 = 29/9 \approx 3.22$
- $\sigma = 3$
- $-2$
- $3$
- $200$
- $\sigma^2 = 1.05$
- $23.57$ percent, equally consistent
JEE-application problems
- A data set has values 8, 12, 23, 34, 45, 67. Find its range.
Check your answer
- A data set has values -7, -3, 2, 5, 8. Find its range.
Check your answer
- Find the mean deviation about the mean of 3, 5, 7, 9, 11.
Check your answer
- A factory’s packets weigh 48, 50, 52, 49, 51 grams. Find the mean deviation about the mean.
Check your answer
- Find the mean deviation about the median of 4, 7, 9, 15, 20.
Check your answer
- Find the variance of 5, 7, 9, 11, 13.
Check your answer
- Find the standard deviation of 1, 2, 3, 4, 5, 6, 7.
Check your answer
- Use the shortcut formula to find the variance of 4, 8, 12, 16, 20.
Check your answer
- Use the shortcut formula to find the variance of 3, 6, 9, 12, 15.
Check your answer
- A frequency table has value 2 (frequency 1), 4 (frequency 2), and 6 (frequency 1). Find the variance.
Check your answer
- A frequency table has value 5 (frequency 2), 10 (frequency 4), and 15 (frequency 2). Find the variance.
Check your answer
- A data set has mean 25 and standard deviation 5. Find its coefficient of variation.
Check your answer
- A data set has mean 40 and standard deviation 6. Find its coefficient of variation.
Check your answer
- A data set has mean 20 and coefficient of variation 15 percent. Find its standard deviation.
Check your answer
- A data set has mean 50 and coefficient of variation 8 percent. Find its standard deviation.
Check your answer
- A data set has five values. Four of the deviations from the mean are -5, -2, 1, 3. Find the fifth deviation.
Check your answer
- The mean deviation about the mean of five values is 4. Four of the absolute deviations are 6, 2, 5, 3. Find the fifth.
Check your answer
- A data set has values 12, 15, 18, 21, 24. Find the sum of the raw (signed) deviations from the mean.
Check your answer
- Class X has mean 80 and standard deviation 12. Class Y has mean 20 and standard deviation 4. Which class is relatively more consistent?
Check your answer
- Ten shops report daily sales, in thousands of rupees, 20 (4 shops), 25 (3 shops), 35 (3 shops). Find the standard deviation of daily sales.
Check your answer