WishWasTraining Academy
NDA & Naval Academy entrance exam school
โ† home
Chapter M8-3 ยท 3 of 8 in Statistics and Probability ยท 12 min read

Variance and standard deviation

49 real NDA questions of this kind in the 19 papers of 2017 to 2026.

Try three questions free โ†“
This chapter has a video lessonWatch it, practise with a drill and keep your record, all with a free account. No fee, no card.

Why this chapter matters. This chapter drew 16 questions in the seven papers from NDA II 2023 to NDA II 2026. The favourite question, asked in four of the last five papers, is: "the standard deviation (or variance) is given; a number is added to, or multiplied with, every observation; what is the new value?" It takes ten seconds if you know the rule in section 4. The other questions use the shortcut formula for variance, the mean deviation, and the coefficient of variation.

What you will be able to do

  • Find the mean deviation, variance and standard deviation of raw data and of a frequency table.
  • Use the shortcut "mean of the squares minus square of the mean".
  • Say at once how the variance and standard deviation change when every observation is changed in the same way.
  • Compare two sets of data with the coefficient of variation.

Before you start you should know: the mean and โ€‹\sum x_i = n\bar{x}โ€‹ (Chapter M8-2), and class marks (Chapter M8-1).

1. Why a mean is not enough

Two batsmen each have a mean score of 50 in three innings. The first scored โ€‹48, 50, 52โ€‹. The second scored โ€‹10, 50, 90โ€‹. The mean is the same, but the second set is far more spread out. A measure of dispersion is a number that tells how spread out the data are.

Two number lines from 0 to 100: the first batsman's scores 48, 50, 52 close together, the second batsman's scores 10, 50, 90 far apart; both have mean 50

The simplest one is the range: largest value minus smallest value. Here the ranges are 4 and 80. The range uses only two observations, so better measures are needed.

2. Mean deviation

The mean deviation about the mean is the average distance of the observations from the mean. Distances are taken as positive:

\text{M.D.} = \frac{\sum \lvert x_i - \bar{x} \rvert}{n}

For โ€‹2, 4, 6, 8, 10โ€‹ the mean is 6. The distances are โ€‹4, 2, 0, 2, 4โ€‹. So the mean deviation is โ€‹\dfrac{12}{5} = 2.4โ€‹.

The observations 2, 4, 6, 8, 10 on a number line with their distances 4, 2, 0, 2, 4 from the mean 6

With frequencies, each distance is multiplied by its frequency and the total is divided by โ€‹N = \sum f_iโ€‹. The mean deviation can also be taken about the median: use the median in place of โ€‹\bar{x}โ€‹.

3. Variance and standard deviation

The variance is the average of the squared deviations from the mean. The standard deviation (SD), written โ€‹\sigmaโ€‹, is the positive square root of the variance.

\sigma^2 = \frac{\sum (x_i - \bar{x})^2}{n} \qquad \sigma = \sqrt{\sigma^2}

For โ€‹2, 4, 6, 8, 10โ€‹: the squared deviations are โ€‹16, 4, 0, 4, 16โ€‹. Variance โ€‹= \dfrac{40}{5} = 8โ€‹ and โ€‹\sigma = \sqrt{8} = 2\sqrt{2} \approx 2.83โ€‹.

The shortcut. Expanding the square gives a form that is much quicker in the exam:

\sigma^2 = \frac{\sum x_i^2}{n} - \bar{x}^2

In words: mean of the squares minus square of the mean. Check: โ€‹\dfrac{4 + 16 + 36 + 64 + 100}{5} - 6^2 = 44 - 36 = 8โ€‹.

Data Variance
Raw data โ€‹\dfrac{\sum x_i^2}{n} - \left(\dfrac{\sum x_i}{n}\right)^2โ€‹
Frequency table, โ€‹N = \sum f_iโ€‹ โ€‹\dfrac{\sum f_i x_i^2}{N} - \left(\dfrac{\sum f_i x_i}{N}\right)^2โ€‹
Grouped table The same, with โ€‹x_iโ€‹ the class marks
First โ€‹nโ€‹ natural numbers โ€‹\dfrac{n^2 - 1}{12}โ€‹

Three facts follow from the definition:

  • Variance and SD are never negative. They are zero only when all observations are equal.
  • The SD has the same unit as the data (cm). The variance has the square of that unit (cmโ€‹^2โ€‹). The mean deviation has the unit of the data.
  • Rearranging the shortcut: โ€‹\bar{x}^2 + \sigma^2 = \dfrac{\sum x_i^2}{n}โ€‹.

4. When every observation is changed

Adding a number to every observation moves all of them together. The spread does not change. Multiplying every observation by a number stretches the spread by that number.

Three number lines: the data 2, 4, 6, 8, 10; the same data plus 3, with the same gaps; the same data doubled, with the gaps doubled

In the picture the hollow dot is the mean. Adding 3 moves the mean from 6 to 9 and leaves the SD at โ€‹2.83โ€‹. Doubling moves the mean to 12 and doubles the SD to โ€‹5.66โ€‹.

Change Mean Standard deviation Variance
Add โ€‹bโ€‹ to every observation Increases by โ€‹bโ€‹ No change No change
Multiply every observation by โ€‹aโ€‹ Multiplied by โ€‹aโ€‹ Multiplied by โ€‹\lvert a \rvertโ€‹ Multiplied by โ€‹a^2โ€‹
Every โ€‹xโ€‹ becomes โ€‹ax + bโ€‹ โ€‹a\bar{x} + bโ€‹ โ€‹\lvert a \rvert\,\sigmaโ€‹ โ€‹a^2\sigma^2โ€‹

Dividing by 20 is the same as multiplying by โ€‹\dfrac{1}{20}โ€‹. The mean deviation behaves like the SD.

For example, if the SD is 6 and every observation becomes โ€‹3x + 5โ€‹, the new SD is โ€‹3 \times 6 = 18โ€‹ and the new variance is โ€‹9 \times 36 = 324โ€‹.

5. Coefficient of variation

To compare the spread of two sets of data with different means or different units, use the coefficient of variation:

\text{C.V.} = \frac{\sigma}{\bar{x}} \times 100

It is a percentage with no unit. The set with the smaller C.V. is more consistent (less variable).

6. Worked examples

Example 1. Find the variance and standard deviation of this distribution.

โ€‹xโ€‹ 1 2 3 4 5
โ€‹fโ€‹ 1 2 4 2 1

โ€‹N = 10โ€‹. โ€‹\sum f_i x_i = 1 + 4 + 12 + 8 + 5 = 30โ€‹, so the mean is 3. โ€‹\sum f_i x_i^2 = 1 + 8 + 36 + 32 + 25 = 102โ€‹. Variance โ€‹= \dfrac{102}{10} - 3^2 = 10.2 - 9 = 1.2โ€‹. SD โ€‹= \sqrt{1.2} \approx 1.10โ€‹.

Example 2. Find the variance of the first 10 natural numbers.

By the result in the table: โ€‹\dfrac{10^2 - 1}{12} = \dfrac{99}{12} = 8.25โ€‹. Check by the shortcut: the mean is 5.5 and the mean of the squares is โ€‹\dfrac{385}{10} = 38.5โ€‹, so the variance is โ€‹38.5 - 30.25 = 8.25โ€‹.

Example 3. The variance of a set of observations is 9. Each observation is multiplied by โ€‹-2โ€‹ and then 7 is added. Find the new variance and the new SD.

Adding 7 changes nothing. Multiplying by โ€‹-2โ€‹ multiplies the variance by โ€‹(-2)^2 = 4โ€‹. New variance โ€‹= 36โ€‹. New SD โ€‹= 6โ€‹, which is โ€‹\lvert -2 \rvert \times 3โ€‹. A standard deviation is never negative.

Example 4. For 20 observations, โ€‹\sum x_i = 100โ€‹ and โ€‹\sum x_i^2 = 820โ€‹. Find the SD.

Mean โ€‹= 5โ€‹. Variance โ€‹= \dfrac{820}{20} - 5^2 = 41 - 25 = 16โ€‹. SD โ€‹= 4โ€‹.

Example 5. Batsman A has mean score 50 and SD 10. Batsman B has mean score 40 and SD 6. Who is more consistent?

C.V. of A โ€‹= \dfrac{10}{50} \times 100 = 20\%โ€‹. C.V. of B โ€‹= \dfrac{6}{40} \times 100 = 15\%โ€‹. B has the smaller C.V., so B is more consistent.

7. From the real papers

Try each for 75 seconds before reading the solution.

NDA II 2023, Q103. If the mean and the sum of squares of 10 observations are 40 and 16160 respectively, then what is the standard deviation?

(a) 16โ€ƒโ€ƒ(b) 6โ€ƒโ€ƒ(c) 5โ€ƒโ€ƒ(d) 4

Solution. Variance โ€‹= \dfrac{16160}{10} - 40^2 = 1616 - 1600 = 16โ€‹. SD โ€‹= 4โ€‹. Option (a), 16, is the variance, not the SD. Answer (d).

NDA I 2024, Q120. The marks obtained by 10 students in a Statistics test are 24, 47, 18, 32, 19, 15, 21, 35, 50 and 41. What is the variance of the largest five observations?

(a) โ€‹14.6โ€‹โ€ƒโ€ƒ(b) โ€‹21.8โ€‹โ€ƒโ€ƒ(c) โ€‹25.2โ€‹โ€ƒโ€ƒ(d) โ€‹46.8โ€‹

Solution. The largest five are โ€‹32, 35, 41, 47, 50โ€‹. Their mean is โ€‹\dfrac{205}{5} = 41โ€‹. Deviations: โ€‹-9, -6, 0, 6, 9โ€‹. Squares: โ€‹81, 36, 0, 36, 81โ€‹, total 234. Variance โ€‹= \dfrac{234}{5} = 46.8โ€‹. Answer (d).

NDA I 2025, Q106. The sum and the sum of squares of the observations corresponding to length โ€‹Xโ€‹ (in cm) and weight โ€‹Yโ€‹ (in gm) of 50 tropical tubers are given as โ€‹\Sigma X = 200โ€‹, โ€‹\Sigma Y = 250โ€‹, โ€‹\Sigma X^2 = 900โ€‹ and โ€‹\Sigma Y^2 = 1400โ€‹. Which one of the following statements is correct?

(a) Coefficient of variation of โ€‹Xโ€‹ is strictly more than coefficient of variation of โ€‹Yโ€‹.โ€ƒโ€ƒ(b) Coefficient of variation of โ€‹Xโ€‹ is strictly less than coefficient of variation of โ€‹Yโ€‹.โ€ƒโ€ƒ(c) Coefficient of variation of โ€‹Xโ€‹ is same as coefficient of variation of โ€‹Yโ€‹.โ€ƒโ€ƒ(d) Coefficient of variation cannot be determined from the given data.

Solution. For โ€‹Xโ€‹: mean โ€‹= 4โ€‹, variance โ€‹= \dfrac{900}{50} - 16 = 2โ€‹. For โ€‹Yโ€‹: mean โ€‹= 5โ€‹, variance โ€‹= \dfrac{1400}{50} - 25 = 3โ€‹. Compare the squares of โ€‹\dfrac{\sigma}{\bar{x}}โ€‹: for โ€‹Xโ€‹ it is โ€‹\dfrac{2}{16} = 0.125โ€‹, for โ€‹Yโ€‹ it is โ€‹\dfrac{3}{25} = 0.12โ€‹. So the C.V. of โ€‹Xโ€‹ is more. Answer (a).

NDA II 2025, Q120. Consider the following statements : I. Mean and variance have the same unit of measurement. II. Mean deviation and standard deviation have the same unit of measurement. Which of the statements given above is/are correct?

(a) I onlyโ€ƒโ€ƒ(b) II onlyโ€ƒโ€ƒ(c) Both I and IIโ€ƒโ€ƒ(d) Neither I nor II

Solution. The mean has the unit of the data (say cm). The variance has the squared unit (cmโ€‹^2โ€‹). So I is wrong. Mean deviation and SD both have the unit of the data. So II is correct. Answer (b).

NDA I 2026, Q120. The frequency distribution of marks obtained by โ€‹100โ€‹ students in a certain subject is given below : Marks: 0-10, 10-20, 20-30, 30-40; No. of students: โ€‹10โ€‹, โ€‹20โ€‹, โ€‹fโ€‹, โ€‹40โ€‹ (respectively). What is the standard deviation?

(a) โ€‹8.5โ€‹โ€ƒโ€ƒ(b) โ€‹9โ€‹โ€ƒโ€ƒ(c) โ€‹9.5โ€‹โ€ƒโ€ƒ(d) โ€‹10โ€‹

Solution. The total is 100, so โ€‹f = 30โ€‹. Class marks โ€‹5, 15, 25, 35โ€‹ with frequencies โ€‹10, 20, 30, 40โ€‹. Mean โ€‹= \dfrac{50 + 300 + 750 + 1400}{100} = 25โ€‹. Deviations: โ€‹-20, -10, 0, 10โ€‹; squares: โ€‹400, 100, 0, 100โ€‹. Variance โ€‹= \dfrac{4000 + 2000 + 0 + 4000}{100} = 100โ€‹. SD โ€‹= 10โ€‹. Answer (d).

NDA II 2026, Q101. The variance of 10 observations is 25. If 2 is multiplied to each of the observations and subsequently 7 is subtracted from each multiplied observation, then what is the new variance?

(a) โ€‹125โ€‹โ€ƒโ€ƒ(b) โ€‹100โ€‹โ€ƒโ€ƒ(c) โ€‹50โ€‹โ€ƒโ€ƒ(d) โ€‹25โ€‹

Solution. Subtracting 7 changes nothing. Multiplying by 2 multiplies the variance by โ€‹2^2 = 4โ€‹. New variance โ€‹= 100โ€‹. The number of observations is not needed. Answer (b).

8. Mistakes that cost marks

  1. Stopping at the variance when the SD is asked, or the other way round. Read the last line of the question again before marking.
  2. Multiplying the variance by โ€‹aโ€‹. When every observation is multiplied by โ€‹aโ€‹, the SD is multiplied by โ€‹\lvert a \rvertโ€‹ but the variance by โ€‹a^2โ€‹.
  3. Changing the SD when a number is added. Adding or subtracting the same number changes the mean only. The SD and the variance stay the same.
  4. Writing "square of the mean minus mean of the squares". The order is mean of the squares first. If your variance is negative, you have the order wrong.

9. Quick check

Do these without help. Answers are at the end.

  1. Find the variance and the SD of โ€‹3, 5, 7, 9, 11โ€‹.
  2. The mean of 5 observations is 8 and the sum of their squares is 370. Find the variance.
  3. The SD of a set of observations is 6. Each observation is multiplied by โ€‹-2โ€‹ and then 5 is added. Find the new SD.
  4. A set of data has mean 50 and SD 5. Find its coefficient of variation.
  5. Find the mean deviation about the mean of โ€‹1, 3, 5, 7, 9, 11โ€‹.

10. Read and watch more, free

What Where Language
Textbook NCERT Class 11 Mathematics, Chapter 13 Statistics ยท Hindi edition English, Hindi
Self-study notes NIOS Mathematics, Lesson 17 Measures of Dispersion ยท Hindi edition English, Hindi
Video, the whole of Statistics for NDA Defence Wallah: Statistics (one class, about 4 hours 40 minutes) Hinglish
Video, topic by topic Mohit Tyagi: Statistics (12 lessons, up to variance) Hinglish
Video, short lessons on the NCERT chapter Khan Academy India: Statistics, Grade 11 English

The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.

Answers to the quick check

  1. Mean โ€‹= 7โ€‹. Squared deviations โ€‹16, 4, 0, 4, 16โ€‹. Variance โ€‹= \dfrac{40}{5} = 8โ€‹; SD โ€‹= 2\sqrt{2} \approx 2.83โ€‹.
  2. โ€‹\dfrac{370}{5} - 8^2 = 74 - 64 = 10โ€‹.
  3. โ€‹\lvert -2 \rvert \times 6 = 12โ€‹. Adding 5 has no effect.
  4. โ€‹\dfrac{5}{50} \times 100 = 10\%โ€‹.
  5. Mean โ€‹= 6โ€‹. Distances โ€‹5, 3, 1, 1, 3, 5โ€‹. Mean deviation โ€‹= \dfrac{18}{6} = 3โ€‹.

Next chapter: Correlation and regression.

Free ยท no sign-up

Try three questions on this chapter

Exam-pattern questions from this chapter's drill. Pick an answer for each, then check.

  1. Question 1 of 3
    The classes 0โ€“10, 10โ€“20 and 20โ€“30 have frequencies 1, 2 and 1 respectively. What is the standard deviation of the distribution?
  2. Question 2 of 3
    Consider the following statements: I. The variance of a set of observations is not affected by a change of scale. II. If the same constant is added to every observation, the standard deviation increases by that constant. Which of the statements given above is/are correct?
  3. Question 3 of 3
    What is the variance of the first 7 natural numbers?
Free sign-up

You have read the chapter. Now make it stick.

A free account adds the video lesson, a drill of ten questions on this chapter marked like the exam, the timed mock papers, a study plan to your exam date and your own record of what you have done. No fee, no card.

Past questions quoted are from the official UPSC paper named in the text; the explanations are WishWas's own and have been checked against the official key. The links under โ€œRead and watch moreโ€ go to free material on other sites; nothing is copied.