Free Mathematics Class 11 CBSE notes · practise this chapter with an AI quiz

← All study notes

Squaring the Gaps Gives the Most Useful Measure of Spread

Define variance and standard deviation, compute them for raw data by definition and by the shortcut formula, for discrete distributions and for continuous distributions by step-deviation, and compare variability with the coefficient of variation.

Why square the deviations instead of taking absolute values?

Mean deviation removed negative signs with absolute values, which are hard to handle in algebra. Squaring also removes the signs, and squares can be expanded, added and averaged freely.

The average of the squared deviations is the variance, and its square root — back in the original units — is the standard deviation.

This part covers variance and standard deviation for raw data, discrete distributions and continuous distributions, and how to compare variability.

How do you find variance and standard deviation for raw data, by definition and by shortcut?

Variance is σ2=1n∑(xi−xˉ)2\sigma^2 = \frac{1}{n}\sum (x_i - \bar{x})^2 and standard deviation is σ=σ2\sigma = \sqrt{\sigma^2}; the equivalent shortcut σ2=1n∑xi2−xˉ2\sigma^2 = \frac{1}{n}\sum x_i^2 - \bar{x}^2 avoids working out every deviation.

Worked example — definition.
Riya's marks 60,62,64,66,6860, 62, 64, 66, 68 have xˉ=64\bar{x} = 64.

(xi−64)2:16,4,0,4,16σ2=405=8σ=8≈2.83(x_i - 64)^2 : 16, 4, 0, 4, 16 \qquad \sigma^2 = \frac{40}{5} = 8 \qquad \sigma = \sqrt{8} \approx 2.83

Same data — shortcut.

∑xi2=3600+3844+4096+4356+4624=20520σ2=205205−642=4104−4096=8\sum x_i^2 = 3600 + 3844 + 4096 + 4356 + 4624 = 20520 \qquad \sigma^2 = \frac{20520}{5} - 64^2 = 4104 - 4096 = 8

Kabir's marks 40,50,64,78,8840, 50, 64, 78, 88 with the same mean give squared deviations 576,196,0,196,576576, 196, 0, 196, 576:

σ2=15445=308.8σ≈17.57\sigma^2 = \frac{1544}{5} = 308.8 \qquad \sigma \approx 17.57

An everyday example. A machine filling 1 kg packets of atta is working well when the standard deviation of the packet weights is small — nearly every packet weighs the same.

The substance. Standard deviation has the same unit as the data, while variance has the unit squared.

How do you find the standard deviation of a discrete frequency distribution?

For values xix_i with frequencies fif_i and N=∑fiN = \sum f_i, σ2=1N∑fi(xi−xˉ)2\sigma^2 = \frac{1}{N}\sum f_i(x_i - \bar{x})^2, or by shortcut σ2=1N∑fixi2−xˉ2\sigma^2 = \frac{1}{N}\sum f_i x_i^2 - \bar{x}^2.

Worked example.
xx: 10,20,30,40,5010, 20, 30, 40, 50 with ff: 3,5,8,3,13, 5, 8, 3, 1, so N=20N = 20 and xˉ=54020=27\bar{x} = \frac{540}{20} = 27.

By definition.

∑fi(xi−27)2=3(289)+5(49)+8(9)+3(169)+1(529)\sum f_i(x_i - 27)^2 = 3(289) + 5(49) + 8(9) + 3(169) + 1(529)

=867+245+72+507+529=2220σ2=222020=111= 867 + 245 + 72 + 507 + 529 = 2220 \qquad \sigma^2 = \frac{2220}{20} = 111

By shortcut, as a check.

∑fixi2=300+2000+7200+4800+2500=16800σ2=1680020−272=840−729=111\sum f_i x_i^2 = 300 + 2000 + 7200 + 4800 + 2500 = 16800 \qquad \sigma^2 = \frac{16800}{20} - 27^2 = 840 - 729 = 111

σ=111≈10.54\sigma = \sqrt{111} \approx 10.54

An everyday example. The number of runs scored off each ball in an over, tallied across a match, forms a discrete distribution whose standard deviation shows how steady the scoring was.

The substance. Multiply each squared deviation by its frequency before adding — each value counts as many times as it occurs.

How do you find the standard deviation of a continuous distribution by step-deviation?

Using class mid-points xix_i, an assumed mean AA and class width hh, set di=xi−Ahd_i = \frac{x_i - A}{h}; then σ2=h2[∑fidi2N−(∑fidiN)2]\sigma^2 = h^2\left[\frac{\sum f_i d_i^2}{N} - \left(\frac{\sum f_i d_i}{N}\right)^2\right].

Worked example.
Classes 00-1010 to 4040-5050 with ff: 5,8,15,16,65, 8, 15, 16, 6, so N=50N = 50. Take A=25A = 25 and h=10h = 10.

- did_i: −2,−1,0,1,2-2, -1, 0, 1, 2
- fidif_i d_i: −10,−8,0,16,12-10, -8, 0, 16, 12, total 1010
- fidi2f_i d_i^2: 20,8,0,16,2420, 8, 0, 16, 24, total 6868

Mean.

xˉ=25+1050×10=27\bar{x} = 25 + \frac{10}{50} \times 10 = 27

Variance and standard deviation.

σ2=100[6850−(1050)2]=100(1.36−0.04)=132σ=132≈11.49\sigma^2 = 100\left[\frac{68}{50} - \left(\frac{10}{50}\right)^2\right] = 100(1.36 - 0.04) = 132 \qquad \sigma = \sqrt{132} \approx 11.49

An everyday example. Monthly electricity bills of the flats in a housing society, grouped in ₹500 classes, are analysed exactly this way.

The substance. Do not forget the factor h2h^2 — the did_i are measured in class widths, so the variance must be scaled back.

How do you compare the variability of two data sets?

When two data sets have equal means, the one with the larger standard deviation is more variable; when means or units differ, compare the coefficient of variation C.V.=σxˉ×100\text{C.V.} = \frac{\sigma}{\bar{x}} \times 100, and the lower C.V. is the more consistent.

Worked example 1 — equal means.
Riya and Kabir both average 6464, with σ=2.83\sigma = 2.83 and σ=17.57\sigma = 17.57. Riya is far more consistent.

Worked example 2 — different units. Suppose a class's heights have xˉ=150\bar{x} = 150 cm and σ=6\sigma = 6 cm, and its weights have xˉ=45\bar{x} = 45 kg and σ=4.5\sigma = 4.5 kg.

C.V. (heights)=6150×100=4C.V. (weights)=4.545×100=10\text{C.V. (heights)} = \frac{6}{150} \times 100 = 4 \qquad \text{C.V. (weights)} = \frac{4.5}{45} \times 100 = 10

Weights vary more, even though 4.54.5 is smaller than 66.

Worked example 3 — different means. Suppose batter P averages 5050 runs with σ=10\sigma = 10 and batter Q averages 4040 with σ=6\sigma = 6. C.V. is 2020 for P and 1515 for Q, so Q is more consistent while P scores more.

An everyday example. Comparing the price swings of tomatoes and rice needs C.V., because their average prices are very different.

The substance. C.V. has no unit, which is exactly why it can compare centimetres with kilograms.
Exam tip

What earns full marks on variance and standard deviation?

Set up a table with xix_i, fif_i, did_i, fidif_i d_i and fidi2f_i d_i^2, total the columns, and substitute into one clearly written formula.

-
Raw data
: σ2=1n∑xi2−xˉ2\sigma^2 = \frac{1}{n}\sum x_i^2 - \bar{x}^2
- Frequency data: σ2=1N∑fixi2−xˉ2\sigma^2 = \frac{1}{N}\sum f_i x_i^2 - \bar{x}^2
- Step-deviation: multiply by h2h^2 at the end
- C.V. =σxˉ×100= \frac{\sigma}{\bar{x}} \times 100; lower means more consistent
- Report σ\sigma to two decimal places unless told otherwise

The trap. Giving the variance when the question asks for the standard deviation. Take the square root as the last step.
Did you know

Why don't grace marks change a class's standard deviation?

Give every student 5 grace marks: Riya's 60,62,64,66,6860, 62, 64, 66, 68 become 65,67,69,71,7365, 67, 69, 71, 73. The mean rises to 6969, but every deviation from the mean stays the same, so σ\sigma is still 2.832.83.

Now
double every mark
instead: the marks become 120120 to 136136, every deviation doubles, and σ\sigma doubles to 5.665.66.

So adding a constant shifts the data without spreading it, while multiplying by kk multiplies the standard deviation by ∣k∣|k|.
Exam relevance

How are variance and standard deviation tested in JEE Main?

Variance and standard deviation for grouped and ungrouped data are part of the Statistics and Probability unit in JEE Main.

What gets asked. Finding missing observations from a given mean and variance, the effect of adding or multiplying every value by a constant, correcting a wrongly copied observation, the combined variance of two groups, and comparing consistency.

Question types. Multiple-choice and numerical-value questions that reward the shortcut formula.

The trap that costs marks. Applying a change to the variance the same way as to the mean — adding a constant changes the mean but leaves the variance unchanged.
Key takeaways

What must you be able to do from this part?

- Variance σ2=1n∑(xi−xˉ)2=1n∑xi2−xˉ2\sigma^2 = \frac{1}{n}\sum (x_i - \bar{x})^2 = \frac{1}{n}\sum x_i^2 - \bar{x}^2; Riya's marks give σ2=8\sigma^2 = 8
- Discrete: the example distribution gives σ2=111\sigma^2 = 111 and σ≈10.54\sigma \approx 10.54
- Step-deviation: σ2=h2[∑fidi2N−(∑fidiN)2]\sigma^2 = h^2\left[\frac{\sum f_i d_i^2}{N} - \left(\frac{\sum f_i d_i}{N}\right)^2\right]; the grouped example gives 132132
- C.V. =σxˉ×100= \frac{\sigma}{\bar{x}} \times 100; heights 44, weights 1010

Find the variance and standard deviation of 2,4,6,8,102, 4, 6, 8, 10 by both the definition and the shortcut, and check that they agree.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Statistics — Part 2Create a free account
← Back to all articles