LATEST
JEEBy Pareeksha Editorial Team· ⏱ 19 min read

Statistics for JEE: Mean, Median, Variance, Dispersion

Share𝕏fin
Alongside this guide

Find study material for your next topic

Browse the Reading Room and preview a chapter before choosing what to study.

Browse study material →
Statistics for JEE: Mean, Median, Variance, Dispersion
On this page
  1. What the syllabus asks
  2. Measures of central tendency
  3. Measures of dispersion
  4. Change of origin and scale
  5. Combining two groups
  6. Correcting wrong observations
  7. Question patterns that keep appearing
  8. Worked examples
  9. Common traps
  10. A one-page recap
  11. How to practise this chapter
  12. Frequently asked questions
  13. Is statistics in the JEE Main syllabus?
  14. Should I divide by $n$ or $n - 1$ for variance?
  15. Why does a wrong observation change the variance when it changes the mean only slightly?
  16. How do I remember the formula for the combined variance?
  17. Is the empirical relation between mean, median and mode always valid?

Statistics is the short chapter in JEE Mathematics that students treat as a free gift and then lose marks in. The formulas are few, none of the ideas is deep, and the questions are almost never long. What goes wrong is the small things: dividing by the wrong total, forgetting that a wrong observation changes the sum of squares as well as the sum, using the shift formula on a quantity that the shift does not touch, or applying a grouped-data formula to the wrong class. A student who has solved fifteen well-chosen problems in this chapter rarely loses a mark in it. A student who has only read the formulas often does.

This post is a complete study guide to descriptive statistics as the JEE Main syllabus uses it: measures of central tendency for raw and grouped data, measures of dispersion, how each measure behaves when every observation is shifted or scaled, how to combine two groups, how to correct a mistaken observation, and how to compare the consistency of two data sets. There are eleven worked examples in JEE style, each checked by computation before it was written down, a list of common traps, a one-page recap and a practice plan. For the overview of the whole block, see our cluster post on statistics and probability. For the probability half of the block, there are posts on conditional probability and Bayes and on random variables and the binomial distribution.

What the syllabus asks

All of the following is in the JEE Main syllabus. In our JEE Main mock blueprint the statistics chapter gets about 0.7 of the 25 questions in the Mathematics section, which is our design and not an official weightage.

Sub-topic What you should be able to do
Measures of central tendency Mean, median and mode for raw, frequency and grouped data
Measures of dispersion Range, mean deviation about the mean and the median, variance, standard deviation
Effect of change of origin and scale Predict the new mean, variance and standard deviation after $y = ax + b$
Combining groups Combined mean and combined variance of two groups
Corrections Recompute after one or more observations are corrected, added or removed
Comparison Coefficient of variation as a measure of relative consistency

Measures of central tendency

A measure of central tendency is a single number meant to represent the centre of a data set. Each of the three below answers a different question, and JEE-style problems check that you know which.

Arithmetic mean. For raw data $x_1, \dots, x_n$ the mean is

$$\bar{x} = \frac{\sum x_i}{n}$$

For a frequency table with values $x_i$ and frequencies $f_i$, and $N = \sum f_i$,

$$\bar{x} = \frac{\sum f_i x_i}{N}$$

For grouped data, $x_i$ is the class mark (the midpoint of the class). Because the mean uses every observation, it is the one measure that moves when any single value changes, and that is why correction questions are built on it. Two properties are used constantly. The sum of the deviations from the mean is zero, $\sum (x_i - \bar{x}) = 0$. And the sum of squared deviations $\sum (x_i - a)^2$ is smallest when $a = \bar{x}$.

Assumed mean and step-deviation. With $d_i = x_i - A$ for a convenient $A$, $\bar{x} = A + \dfrac{\sum f_i d_i}{N}$; with equal class width $h$ and $u_i = \dfrac{x_i - A}{h}$, $\bar{x} = A + h\,\dfrac{\sum f_i u_i}{N}$. They are the change-of-origin results below and give the same answer as the direct method.

Median. Arrange the data in order. For an odd number $n$ of observations the median is the middle value; for an even number it is the average of the two middle values. For grouped data with a median class (the class whose cumulative frequency first reaches $N/2$):

$$\text{Median} = l + \frac{\dfrac{N}{2} - C}{f}\times h$$

where $l$ is the lower limit of the median class, $C$ is the cumulative frequency of the class before it, $f$ is its frequency and $h$ is its width. The formula assumes the observations are spread evenly across the class. It is a linear interpolation, and you can rebuild it from that idea if you forget it.

Mode. The most frequent value. For grouped data with modal class (the class of highest frequency):

$$\text{Mode} = l + \frac{f_1 - f_0}{2f_1 - f_0 - f_2}\times h$$

where $f_1$ is the modal-class frequency and $f_0$, $f_2$ are the frequencies of the classes just before and after it. The relation that holds approximately for moderately skewed data, $\text{Mode} \approx 3\,\text{Median} - 2\,\text{Mean}$, is sometimes used when two of the three are given and the third is asked for. Use it only when the question allows it ("empirical relation").

A data set can have no mode, one mode or several. The median is not affected by extreme values, which is why it is preferred for skewed data; the mean is.

Also read: Measures of Dispersion Problems for JEE

Measures of dispersion

Two data sets can have the same mean and look completely different. A measure of dispersion says how spread out the values are.

Range is the largest value minus the smallest. It uses only two observations, so it is a rough guide.

Mean deviation about a point $a$ (the mean or the median) is the average absolute distance from $a$:

$$\text{MD}(a) = \frac{\sum f_i\,|x_i - a|}{N}$$

The sum of absolute deviations is smallest about the median, so $\text{MD}(\text{median}) \le \text{MD}(\text{mean})$ for any data set. The absolute value signs are not optional; with them removed the sum about the mean is zero.

Variance and standard deviation. The variance is the average squared deviation from the mean:

$$\sigma^2 = \frac{\sum f_i (x_i - \bar{x})^2}{N} = \frac{\sum f_i x_i^2}{N} - \bar{x}^{\,2}$$

and the standard deviation is $\sigma = \sqrt{\sigma^2}$. The second form (mean of squares minus square of the mean) is the one to use for raw data, because you can find $\sum x_i$ and $\sum x_i^2$ in a single pass. It is also the form that correction questions require, since a wrong observation changes both sums. Variance and standard deviation use the population form with divisor $N$ here, which is what the JEE Main syllabus treats; the divisor $N - 1$ belongs to sample estimation and is not what these questions ask for.

For the first $n$ natural numbers:

$$\bar{x} = \frac{n+1}{2}, \qquad \sigma^2 = \frac{n^2 - 1}{12}$$

This is worth memorising. It follows from $\sum k = \frac{n(n+1)}{2}$ and $\sum k^2 = \frac{n(n+1)(2n+1)}{6}$, and it gives the variance of any arithmetic progression of $n$ terms with common difference $d$ as $d^2\,\dfrac{n^2-1}{12}$.

Coefficient of variation. To compare the spread of two data sets with different means or different units, use the relative measure

$$\text{CV} = \frac{\sigma}{\bar{x}} \times 100\%$$

The set with the smaller CV is the more consistent. Comparing raw standard deviations answers a different question and is wrong when the means differ.

Change of origin and scale

If every observation is changed by $y_i = a x_i + b$, then

$$\bar{y} = a\bar{x} + b, \qquad \sigma_y^2 = a^2\sigma_x^2, \qquad \sigma_y = |a|\,\sigma_x$$

The additive constant $b$ shifts the mean and does nothing to the spread. The multiplier $a$ stretches both. The standard deviation scales by $|a|$, so a negative multiplier never produces a negative standard deviation. The mean deviation about the mean scales by $|a|$ too, and the median shifts and scales in the same way as the mean.

Exam questions apply this in two ways. Forward: "each observation is multiplied by 3 and then decreased by 2; find the new mean and variance." Backward: "after the change $y = (x - 50)/10$, the mean of $y$ is 4 and its variance is 9; find the mean and standard deviation of $x$." In the backward case, invert: $x = 10y + 50$, so $\bar{x} = 90$ and $\sigma_x = 30$.

Combining two groups

For groups of sizes $n_1, n_2$ with means $\bar{x}_1, \bar{x}_2$:

$$\bar{x} = \frac{n_1\bar{x}_1 + n_2\bar{x}_2}{n_1 + n_2}$$

The combined variance is not the average of the two variances. It must include the spread between the group means:

$$\sigma^2 = \frac{n_1\left(\sigma_1^2 + d_1^2\right) + n_2\left(\sigma_2^2 + d_2^2\right)}{n_1 + n_2}, \qquad d_1 = \bar{x}_1 - \bar{x},\ d_2 = \bar{x}_2 - \bar{x}$$

You can recall this from the identity $\sum x^2 = n(\sigma^2 + \bar{x}^2)$ for each group: add the two sums of squares, divide by $n_1 + n_2$, and subtract the square of the combined mean.

The same idea handles "an observation is added or removed". If a data set has mean $\bar{x}$ and you remove a value $v$, the new mean is $\dfrac{n\bar{x} - v}{n-1}$. For variance, recompute $\sum x^2$ and $\sum x$ and use mean-of-squares minus square-of-mean.

Correcting wrong observations

This is the most reliable question type in the chapter. The structure is always the same. A data set has $n$ observations, a stated mean and a stated variance (or standard deviation). One or more observations were recorded wrongly. You are asked for the corrected mean or variance.

  1. From the stated mean, recover $\sum x = n\bar{x}$.
  2. From the stated variance, recover $\sum x^2 = n(\sigma^2 + \bar{x}^2)$.
  3. Subtract the wrong value from $\sum x$ and add the right value; do the same with squares in $\sum x^2$.
  4. Recompute the mean as $\sum x/n$, then the variance as $\sum x^2/n - \bar{x}_{\text{new}}^2$.

The slip is to correct the sum and forget the sum of squares, or to subtract the old value's square from the new mean's square instead of working with totals. Work with totals throughout and divide only at the end.

Question patterns that keep appearing

The patterns are: raw data and frequency tables; grouped data (mean, median, mode); two missing observations found from a given mean and variance (the two conditions give $x+y$ and $x^2+y^2$, hence $xy$, hence a quadratic); corrections; forward and backward transformations; combined groups; consistency comparison; statement-based questions; and variance of an arithmetic progression.

Worked examples

Each example below was checked by direct computation in Python before inclusion.

Example 1 (numerical). Find the median of $7, 3, 9, 12, 5, 8$.

Solution. Arrange in order: $3, 5, 7, 8, 9, 12$. There are six values, so the median is the average of the third and fourth: $\dfrac{7 + 8}{2} = 7.5$. Answer: 7.50.

Example 2 (numerical). The mean of 10 observations is 20. It was later found that one observation, 12, had been read as 21. The correct mean is

Solution. The recorded total is $10 \times 20 = 200$. The correct total is $200 - 21 + 12 = 191$. The correct mean is $191/10 = 19.1$. Answer: 19.10.

Example 3 (single-correct). The table gives the marks of 50 students.

Marks 0 to 10 10 to 20 20 to 30 30 to 40 40 to 50
Students 5 8 15 12 10

The median of the data is

(A) 25 (B) 27 (C) 28 (D) 27.8

Solution. $N = 50$ and $N/2 = 25$. The cumulative frequencies are $5, 13, 28, 40, 50$, so the median class is $20$ to $30$, with $l = 20$, $C = 13$, $f = 15$, $h = 10$. Then $\text{Median} = 20 + \dfrac{25 - 13}{15}\times 10 = 20 + 8 = 28$. Answer: (C). For the same table the mean is $27.8$ (option D) and the mode, using $f_1 = 15$, $f_0 = 8$, $f_2 = 12$, is $20 + \dfrac{7}{10}\times 10 = 27$ (option B). The three measures differ, and a question that offers all three as options is testing whether you computed the one asked.

Example 4 (numerical). Find the variance of the numbers $1, 2, 3, \dots, 20$.

Solution. Use $\sigma^2 = \dfrac{n^2-1}{12}$ with $n = 20$: $\dfrac{400 - 1}{12} = \dfrac{399}{12} = 33.25$. Answer: 33.25. Direct computation confirms it. For the even numbers $2, 4, \dots, 20$ the common difference is 2, so the variance is $4\times\dfrac{100-1}{12} = 33$.

Example 5 (numerical). Find the mean deviation about the mean of $3, 5, 8, 11, 13$.

Solution. The mean is $\dfrac{3+5+8+11+13}{5} = 8$. The absolute deviations are $5, 3, 0, 3, 5$, which sum to $16$. So $\text{MD} = \dfrac{16}{5} = 3.2$. Answer: 3.20. About the median (also 8 here) the value is the same, as it must be when mean and median coincide.

Example 6 (numerical). Group A has 30 observations with mean 10 and variance 4. Group B has 20 observations with mean 15 and variance 9. Find the variance of the combined 50 observations.

Solution. The combined mean is $\dfrac{30\times 10 + 20\times 15}{50} = \dfrac{600}{50} = 12$. The deviations of the group means are $d_1 = 10 - 12 = -2$ and $d_2 = 15 - 12 = 3$. Then

$$\sigma^2 = \frac{30(4 + 4) + 20(9 + 9)}{50} = \frac{240 + 360}{50} = 12$$

Answer: 12. The simple average of the two variances is $6.5$, which is wrong; the extra amount comes from the separation of the group means.

Example 7 (numerical). For 10 observations, $\sum x_i = 60$ and $\sum x_i^2 = 500$. Find the variance.

Solution. The mean is $6$. The variance is $\dfrac{500}{10} - 6^2 = 50 - 36 = 14$. Answer: 14.

Example 8 (numerical). The mean and the variance of five observations $1, 2, 6, x, y$ (with $x < y$) are $4$ and $5.2$ respectively. Find $y - x$.

Solution. The mean gives $1 + 2 + 6 + x + y = 20$, so $x + y = 11$. The variance gives $\dfrac{\sum x^2}{5} - 16 = 5.2$, so $\sum x^2 = 106$. Since $1 + 4 + 36 = 41$, we get $x^2 + y^2 = 65$. Then $xy = \dfrac{(x+y)^2 - (x^2+y^2)}{2} = \dfrac{121 - 65}{2} = 28$. So $x$ and $y$ are the roots of $t^2 - 11t + 28 = 0$, which are $4$ and $7$. Hence $y - x = 3$. Answer: 3. The check: $1 + 2 + 6 + 4 + 7 = 20$ and $1 + 4 + 36 + 16 + 49 = 106$.

Example 9 (single-correct). Data set P has mean 50 and standard deviation 5. Data set Q has mean 80 and standard deviation 6. Which statement is correct?

(A) P is more consistent because its standard deviation is smaller (B) Q is more consistent because its coefficient of variation is smaller (C) Both are equally consistent (D) Q is less consistent because its standard deviation is larger

Solution. $\text{CV}_P = \dfrac{5}{50}\times 100 = 10\%$ and $\text{CV}_Q = \dfrac{6}{80}\times 100 = 7.5\%$. The smaller CV belongs to Q, so Q is more consistent. Answer: (B). Options (A) and (D) compare raw standard deviations, which is the wrong comparison when the means differ.

Example 10 (numerical). Twenty observations have mean 10 and standard deviation 2. It was found that one observation, 8, was wrongly entered as 12. Find the variance of the correct data.

Solution. The recorded totals are $\sum x = 200$ and $\sum x^2 = 20(4 + 100) = 2080$. The wrong value is $12$ and the correct one is $8$. So the corrected totals are $\sum x = 200 - 12 + 8 = 196$ and $\sum x^2 = 2080 - 144 + 64 = 2000$. The corrected mean is $9.8$, and the variance is $\dfrac{2000}{20} - 9.8^2 = 100 - 96.04 = 3.96$. Answer: 3.96. Keeping the old mean in the formula would give $100 - 100 = 0$, which is not a variance of a real data set; this is a sign that the mean needed updating.

Example 11 (multiple-correct, Advanced flavour). For the data $2, 4, 4, 4, 5, 5, 7, 9$, which of the following are correct?

(A) The mean is 5 (B) The variance is 4 (C) The median is 4 (D) If every observation is multiplied by $-2$, the standard deviation of the new data is $-4$

Solution. The sum is $40$, so the mean is $5$ and (A) is correct. The deviations $-3, -1, -1, -1, 0, 0, 2, 4$ have squares $9, 1, 1, 1, 0, 0, 4, 16$ with sum $32$, so the variance is $32/8 = 4$ and (B) is correct. The sorted list has the fourth and fifth values $4$ and $5$, so the median is $4.5$ and (C) is wrong, even though $4$ is the mode. The standard deviation after scaling by $-2$ is $|-2|\times 2 = 4$, never negative, so (D) is wrong. Answer: (A), (B).

Common traps

  1. Using the wrong total. In a frequency table the divisor is $\sum f_i$, not the number of classes. In a grouped table with an unknown frequency, write $N$ with the unknown inside it.
  2. Forgetting to sort before the median. Always rewrite the data in order. For an even count the median is the average of two values, and may not be a data value.
  3. Using class limits instead of class marks. The mean of a grouped table uses midpoints. The modal and median formulas use the lower limit $l$ of the class, so know which formula uses which.
  4. Correcting the sum but not the sum of squares. A mistaken observation changes both. Update both totals and recompute the variance from them.
  5. Treating the combined variance as an average of variances. The spread between the group means contributes. When the group means are equal, and only then, the simple weighted average is correct.
  6. Adding to the variance under a shift. Adding 8 to every observation changes the mean by 8 and leaves the variance and standard deviation unchanged.
  7. Scaling the variance by $a$. The variance scales by $a^2$ and the standard deviation by $|a|$. After multiplying by $-3$, the standard deviation is multiplied by $3$.
  8. Comparing consistency by standard deviation alone. Compare the coefficient of variation when the means differ.
  9. Applying the first-$n$ formula to the wrong set. $\dfrac{n^2-1}{12}$ is for consecutive integers. For $1, 3, 5, \dots$ the common difference is 2 and the formula needs the factor $d^2$.

A one-page recap

Item Result
Mean (frequency data) $\bar{x} = \dfrac{\sum f x}{N}$
Step deviation $\bar{x} = A + h\dfrac{\sum f u}{N}$, $u = \dfrac{x - A}{h}$
Median (grouped) $l + \dfrac{N/2 - C}{f}\,h$
Mode (grouped) $l + \dfrac{f_1 - f_0}{2f_1 - f_0 - f_2}\,h$
Empirical relation Mode $\approx$ $3$ Median $-$ $2$ Mean
Mean deviation $\dfrac{\sum f\,|x - a|}{N}$, least about the median
Variance $\dfrac{\sum f x^2}{N} - \bar{x}^2$
First $n$ naturals Mean $\dfrac{n+1}{2}$, variance $\dfrac{n^2-1}{12}$
AP with difference $d$ Variance $d^2\dfrac{n^2-1}{12}$
Under $y = ax + b$ $\bar{y} = a\bar{x} + b$, $\sigma_y^2 = a^2\sigma_x^2$, $\sigma_y = |a|\sigma_x$
Combined mean $\dfrac{n_1\bar{x}_1 + n_2\bar{x}_2}{n_1 + n_2}$
Combined variance $\dfrac{n_1(\sigma_1^2 + d_1^2) + n_2(\sigma_2^2 + d_2^2)}{n_1 + n_2}$
Recover sums $\sum x = n\bar{x}$, $\sum x^2 = n(\sigma^2 + \bar{x}^2)$
Consistency $\text{CV} = \dfrac{\sigma}{\bar{x}}\times 100$; smaller is steadier

Also read: Prism, Dispersion and Total Internal Reflection for JEE

How to practise this chapter

Start with the statistics chapter tests on the site, taken in order. The first is JEE Main Chapter Test: Statistics, test 1, and the chapter has five tests, so continue with test 2, test 3, test 4 and test 5. Each has 15 questions in 36 minutes. Our post on chapter tests and topic drills explains how to use them.

For reading, the book chapter on statistics is at /books/jee-math-statistics-probability/1, with the Hindi version at /books/jee-math-statistics-probability-hi/1 and the Telugu version at /books/jee-math-statistics-probability-te/1. The whole book is on the JEE shelf.

A seven-day plan that works for most students:

  • Day 1. Raw data: mean, median, mode, range and mean deviation. Redo Examples 1, 2 and 5 and make three new ones.
  • Day 2. Variance in both forms, the first-$n$ result and the AP extension (Examples 4 and 7).
  • Day 3. Grouped data: mean by direct and step-deviation methods, then median and mode (Example 3). Build one table of your own and compute all three.
  • Day 4. Change of origin and scale, forward and backward. Take chapter test 1.
  • Day 5. Corrections, missing observations and combined groups (Examples 2, 6, 8, 10). Take chapter test 2.
  • Day 6. Coefficient of variation and statement-based questions (Examples 9 and 11). Take chapter tests 3 and 4.
  • Day 7. Chapter test 5, then sort each wrong answer into formula slip, bookkeeping slip (a total not updated) or arithmetic slip.

After the chapter tests, move to mixed practice. The JEE Main Mathematics practice tests (25 questions in 60 minutes, for example Mathematics Practice Test 01) and the full mocks (for example JEE Main Mock 01) show whether you keep your accuracy when statistics questions arrive among thirty unrelated ones. Full mocks, practice tests and chapter tests are part of the Pro Pass, and the 10-question JEE Main mini mock is free to start. For a strategy for the subject as a whole, see the JEE Main Maths preparation strategy, and for how to spot the method from the wording, recognising patterns in JEE Maths.

Frequently asked questions

Is statistics in the JEE Main syllabus?

Yes. Measures of central tendency and dispersion, including mean deviation, variance and standard deviation, are part of the JEE Main Mathematics syllabus. Check NTA's current information bulletin for the exact syllabus of the year you are appearing in.

Should I divide by $n$ or $n - 1$ for variance?

For the questions in this syllabus use $n$ (or $N$ for a frequency table). The divisor $n - 1$ is used when a sample is used to estimate a population variance, which is outside what these questions ask. If a question states a formula, follow the formula it states.

Why does a wrong observation change the variance when it changes the mean only slightly?

Because the variance is built from $\sum x^2$ as well as $\sum x$. A wrong value contributes its square to the sum of squares, so a small error in a large observation can move $\sum x^2$ a lot. Always correct both totals before you recompute.

How do I remember the formula for the combined variance?

Do not memorise it; derive it. For each group, $\sum x^2 = n(\sigma^2 + \bar{x}^2)$. Add the two sums of squares, divide by $n_1 + n_2$, and subtract the square of the combined mean. This is the same result in a form you can rebuild in under a minute.

Is the empirical relation between mean, median and mode always valid?

No. It is an approximation for moderately skewed data, and a question will say so when it wants you to use it. Where a table is given, compute the median and mode directly from the grouped-data formulas.

Now test yourself: free, no sign-up to start

Share:𝕏fin
Put what you read into practice

Find study material for your next topic

Browse the Reading Room and preview a chapter before choosing what to study.

Browse study material →

Make this reading part of your preparation

Create your free account to bookmark Reading Room chapters and track your practice scores. You’ll return to this article after signing in.

By continuing, you agree to our terms and privacy policy.

No payment needed. Already registered? Use the same options to sign in.

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts.