The chapter guide on statistics: mean, variance and dispersion gives every definition and the standard worked examples. A student who has read it can compute a variance. The questions that cost marks in JEE Main are the ones that ask for something slightly off the beaten path: a variance of a data set that is described only by sums, a variance after two observations are replaced, a variance after a group is removed, the coefficient of variation after a change of scale, or a mean deviation for grouped data about the median instead of the mean. Each of these is a short calculation once you see which identity to use, and a long messy one if you reach for the raw formula.
This post takes the dispersion half of the chapter further. We will collect the identities that turn these problems into three-line calculations, apply them to grouped and ungrouped data, and work through eleven examples that do not repeat the ones in the chapter guide. Every number below was checked with a short computer calculation, either by recomputing from the raw data or by testing the identity on random data sets.
The plan: the quantities and their relations; a method for grouped data; the sum-of-squares identity and what it buys; modifying a data set (adding, removing, replacing); change of origin and scale for the coefficient of variation; special data sets; and then the examples, traps, a recap, practice and FAQs.
What this post covers
| Idea | Where it appears in questions |
|---|---|
| Variance from $\sum x$, $\sum x^2$ and $n$ | Data given only by sums |
| Sums of squares about any point | Parallel-axis identity, "about 10" or "about 5" |
| Grouped data, step deviation | Frequency tables with class intervals |
| Mean deviation about mean and median | Ungrouped and grouped |
| Modifying a data set | Add, remove, replace observations |
| Change of origin and scale | Mean, SD and coefficient of variation of $y=ax+b$ |
| Special sets | Arithmetic progressions, two-valued data, bounds on variance |
Statistics is part of the JEE Main syllabus. The chapter has a small share of the Mathematics paper in our mock design, but the questions are short and scoring, which is why the chapter is worth a few hours of careful practice.
The quantities and the relations worth owning
For $n$ observations $x_1,\dots,x_n$ with mean $\bar x$, the population variance used in JEE is
$$\sigma^2=\frac1n\sum(x_i-\bar x)^2=\frac1n\sum x_i^2-\bar x^2 .$$
The standard deviation is $\sigma=\sqrt{\sigma^2}$. The mean deviation about a point $a$ is $\frac1n\sum|x_i-a|$, and the coefficient of variation is $\frac{\sigma}{\bar x}\times100\%$. Five relations carry most of the problems.
Relation 1: the second form of variance. Variance is the mean of the squares minus the square of the mean. Everything that gives you $\sum x$ and $\sum x^2$ gives you the variance, and vice versa: $\sum x^2=n(\sigma^2+\bar x^2)$.
Relation 2: parallel axis. For any number $A$,
$$\sum(x_i-A)^2=\sum(x_i-\bar x)^2+n(\bar x-A)^2 .$$
The sum of squared deviations is smallest when $A=\bar x$, and moving the reference point to $A$ adds $n(\bar x-A)^2$. This is the identity behind questions that give $\sum(x_i-10)$ and $\sum(x_i-10)^2$.
Relation 3: the mean deviation is smallest about the median. $\sum|x_i-a|$ is minimised at $a=$ median. So the mean deviation about the median is never larger than about the mean.
Relation 4: SD is at least the mean deviation about the mean. $\sigma\ge\frac1n\sum|x_i-\bar x|$, with equality only when all deviations have the same size. This is a one-line consequence of the fact that the root-mean-square is at least the mean of absolute values.
Relation 5: effect of a linear change. If $y_i=ax_i+b$, then $\bar y=a\bar x+b$, $\sigma_y=|a|\sigma_x$ and $\sigma_y^2=a^2\sigma_x^2$. The shift $b$ moves the mean and leaves every measure of spread unchanged; the scale $a$ multiplies every measure of spread by $|a|$ (the variance by $a^2$), and the sign of $a$ never matters for spread.
Also read: Prism, Dispersion and Total Internal Reflection for JEE
Grouped data and step deviation
A frequency table with class intervals is handled by replacing each class by its mid-value $x_i$ and treating the mid-value as the observation, repeated $f_i$ times. With total frequency $N=\sum f_i$:
$$\bar x=\frac{\sum f_ix_i}{N},\qquad \sigma^2=\frac{\sum f_ix_i^2}{N}-\bar x^2 .$$
When the mid-values are large, use step deviation: pick an assumed mean $A$ near the middle and a class width $h$, and set $u_i=\dfrac{x_i-A}{h}$. Then
$$\bar x=A+h\,\bar u,\qquad \sigma_x=h\,\sigma_u .$$
By relation 5 the shift $A$ does not affect the spread and the scale $h$ multiplies it. The $u_i$ are small integers like $-2,-1,0,1,2$, and so the arithmetic is light.
The median of grouped data uses the median class (the first class whose cumulative frequency reaches $N/2$):
$$\text{median}=l+\frac{N/2-C}{f}\times h,$$
where $l$ is the lower limit of the median class, $C$ the cumulative frequency before it, $f$ its frequency and $h$ its width. The mean deviation about the median for grouped data is $\frac1N\sum f_i|x_i-\text{median}|$, again with mid-values.
Modifying a data set: add, remove, replace
Almost every "a mistake was found" question reduces to updating $\sum x$ and $\sum x^2$.
Replace an observation $p$ by $q$: new $\sum x=\sum x-p+q$, new $\sum x^2=\sum x^2-p^2+q^2$, with $n$ unchanged. Replacing several observations does the same thing term by term. The chapter guide covers one replacement; two or more simply use more terms.
Add an observation $k$ to $n$ observations: new $n'=n+1$, new $\sum x=n\bar x+k$, new $\sum x^2=n(\sigma^2+\bar x^2)+k^2$. A special case is worth owning: if $k=\bar x$, the mean does not change, and the sum of squared deviations does not change either, so the new variance is $\sigma^2\cdot\frac{n}{n+1}$. Adding an observation at the mean always shrinks the variance, by the factor $\frac n{n+1}$.
Remove a group of $r$ observations with known mean $\bar x_r$ and variance $\sigma_r^2$ from a group of $n$ with mean $\bar x$ and variance $\sigma^2$: compute each group's $\sum x=n\bar x$ and $\sum x^2=n(\sigma^2+\bar x^2)$, subtract, and divide by $n-r$. This is the reverse of the combined-variance formula and is easier to run from raw sums than from the formula.
A good habit is to write the two running totals, $S_1=\sum x$ and $S_2=\sum x^2$, at the top of the solution, update them line by line, and compute the mean and variance only at the end.
Special data sets
Arithmetic progression. For $n$ terms in AP with common difference $d$, the variance is
$$\sigma^2=\frac{d^2(n^2-1)}{12},$$
independent of the first term. The variance of $1,2,\dots,n$ is the case $d=1$: $\frac{n^2-1}{12}$. If the observations are $a,\,a+d,\dots$, shifting $a$ changes the mean and nothing else.
Two values. For a data set with $n_1$ observations equal to $p$ and $n_2$ equal to $q$, the variance is $\dfrac{n_1n_2}{(n_1+n_2)^2}(p-q)^2$. For two observations $p,q$ alone, the variance is $\left(\frac{p-q}{2}\right)^2$.
A bound. If all observations lie in $[m,M]$ then $\sigma^2\le\left(\frac{M-m}{2}\right)^2$, with equality exactly when half the observations equal $m$ and half equal $M$. This bound turns "the maximum possible variance" questions into an observation about extremes.
Worked examples
Example 1 (numerical-value). The marks of 25 students are grouped as follows.
| Class | 10-20 | 20-30 | 30-40 | 40-50 | 50-60 |
|---|---|---|---|---|---|
| Frequency | 4 | 6 | 8 | 2 | 5 |
Find the variance of the marks.
Solution. Mid-values are $15,25,35,45,55$. Take $A=35$ and $h=10$ so that $u=-2,-1,0,1,2$. Then $\sum fu=4(-2)+6(-1)+0+2(1)+5(2)=-8-6+2+10=-2$ and $\sum fu^2=4\cdot4+6\cdot1+0+2\cdot1+5\cdot4=16+6+2+20=44$. So $\bar u=-\frac2{25}=-0.08$ and $\sigma_u^2=\frac{44}{25}-0.0064=1.7536$. The variance of the marks is $h^2\sigma_u^2=100\times1.7536=175.36$, and the mean is $35+10(-0.08)=34.2$. Recomputing from the raw mid-values gave the same answer. Answer: $175.36$.
Example 2 (numerical-value). Find the mean deviation about the median of $4,7,8,9,10,12,13,17$.
Solution. There are 8 observations in order, so the median is the average of the 4th and 5th: $\frac{9+10}{2}=9.5$. The absolute deviations are $5.5,\,2.5,\,1.5,\,0.5,\,0.5,\,2.5,\,3.5,\,7.5$, with sum $24$. The mean deviation is $\frac{24}{8}=3$. The mean of the data is $10$ and the mean deviation about the mean is $\frac{6+3+2+1+0+2+3+7}{8}=3$ too (a coincidence in this set); the point is that about the median the sum is never larger. Answer: $3$.
Example 3 (numerical-value). The numbers $3,7,a,b$ have mean $6$ and variance $7.5$. Find $ab$.
Solution. Mean $6$ gives $3+7+a+b=24$, so $a+b=14$. Variance $7.5$ gives $\frac{9+49+a^2+b^2}{4}-36=7.5$, so $58+a^2+b^2=174$ and $a^2+b^2=116$. Then $2ab=(a+b)^2-(a^2+b^2)=196-116=80$ and $ab=40$. The values are $a,b=4,10$, which reproduce the mean and variance on direct substitution. Answer: $40$.
Example 4 (single-correct). For 15 observations, $\sum(x_i-10)=-15$ and $\sum(x_i-10)^2=75$. The variance of the observations is
(A) $4$ (B) $5$ (C) $6$ (D) $\dfrac{74}{15}$
Solution. Let $d_i=x_i-10$. The variance of $x$ equals the variance of $d$ (a shift does not change spread). $\bar d=\frac{-15}{15}=-1$ and $\frac{\sum d^2}{15}=5$, so $\sigma^2=5-(-1)^2=4$. The mean of $x$ is $10-1=9$. The trap is to report $\frac{75}{15}=5$, which is the mean square about $10$, not the variance. By the parallel-axis relation, $\sum(x-10)^2=n\sigma^2+n(\bar x-10)^2=60+15=75$, which confirms it. Answer: (A).
Example 5 (numerical-value, two decimals). The variance of an arithmetic progression with 10 terms and common difference 3 is ______.
Solution. $\sigma^2=\dfrac{d^2(n^2-1)}{12}=\dfrac{9\times99}{12}=74.25$. A direct computation on $0,3,6,\dots,27$ gives the same value. The first term does not matter. Answer: $74.25$.
Example 6 (numerical-value, one decimal). Nine observations have mean $10$ and variance $16$. A tenth observation equal to $10$ is added. Find the new variance.
Solution. The mean stays $10$, because the added value equals the mean. The sum of squared deviations stays $9\times16=144$, since the new observation contributes $(10-10)^2=0$. Divide by $10$ observations: $\sigma'^2=\frac{144}{10}=14.4$. This matches the rule $\sigma^2\cdot\frac n{n+1}=16\times\frac9{10}$, and a check on random data sets confirmed that the rule holds for any nine observations. Answer: $14.4$.
Example 7 (numerical-value, two decimals). Twenty observations have mean $15$ and variance $9$. It is found that two observations, $10$ and $14$, were wrongly recorded and should have been $12$ and $18$. Find the correct variance.
Solution. Start with $S_1=20\times15=300$ and $S_2=20(9+225)=4680$. Correct them: $S_1'=300-10-14+12+18=306$, so the new mean is $15.3$. $S_2'=4680-100-196+144+324=4852$. The new variance is $\frac{4852}{20}-15.3^2=242.6-234.09=8.51$. The mean rose by $0.3$, but the variance fell, because the corrected values lie closer to the mean than the wrong ones were. Answer: $8.51$.
Example 8 (single-correct). A data set has mean $10$ and standard deviation $2$. Every observation is transformed by $y=3x-5$. The coefficient of variation of $y$ is
(A) $20\%$ (B) $24\%$ (C) $30\%$ (D) $6\%$
Solution. The new mean is $3(10)-5=25$ and the new standard deviation is $3\times2=6$ (the shift $-5$ has no effect on spread). The coefficient of variation is $\frac{6}{25}\times100=24\%$. The original was $\frac2{10}\times100=20\%$, so a shift changed the coefficient of variation even though it did not change the spread. This is the property that makes the coefficient of variation useful only for data measured from a true zero. Answer: (B).
Example 9 (multiple-correct, Advanced flavour). For the data $1,2,3,4,100$, which of the following are correct?
(A) The mean deviation about the median is less than the mean deviation about the mean. (B) The standard deviation exceeds the mean deviation about the mean. (C) The mean exceeds the median. (D) After removing the observation $100$, the standard deviation of the remaining data is less than $1$.
Solution. The mean is $22$ and the median is $3$. Mean deviation about the mean: $\frac{21+20+19+18+78}{5}=31.2$. About the median: $\frac{2+1+0+1+97}{5}=20.2$. So (A) is correct, as relation 3 predicts. Variance: $\frac{441+400+361+324+6084}{5}=1522$, and $\sigma\approx39.01>31.2$, so (B) is correct, as relation 4 predicts. (C) is correct, since $22>3$. For (D), the remaining data $1,2,3,4$ have variance $1.25$ and $\sigma\approx1.118>1$, so (D) is incorrect. Answer: (A), (B), (C).
Example 10 (numerical-value). Thirty observations have mean $20$ and variance $16$. A subset of 10 observations with mean $22$ and variance $4$ is removed. Find the variance of the remaining 20 observations.
Solution. For all 30: $S_1=600$ and $S_2=30(16+400)=12480$. For the removed 10: $S_1=220$ and $S_2=10(4+484)=4880$. Remaining: $S_1=380$, $S_2=7600$, with $20$ observations. Mean $19$, and variance $\frac{7600}{20}-19^2=380-361=19$. Answer: $19$.
Example 11 (numerical-value, two decimals). The following table is given.
| Class | 0-10 | 10-20 | 20-30 | 30-40 | 40-50 |
|---|---|---|---|---|---|
| Frequency | 5 | 8 | 15 | 16 | 6 |
Find the mean deviation about the median.
Solution. $N=50$, so $\frac N2=25$. Cumulative frequencies: $5,13,28,\dots$. The median class is $20$-$30$ with $C=13$, $f=15$, $h=10$: median $=20+\frac{25-13}{15}\times10=28$. Mid-values $5,15,25,35,45$ give deviations $23,13,3,7,17$. Then $\sum f|x-28|=5(23)+8(13)+15(3)+16(7)+6(17)=115+104+45+112+102=478$, and the mean deviation is $\frac{478}{50}=9.56$. Answer: $9.56$.
Common traps
- Reporting the mean square about a point as the variance. In example 4 the mean of $(x-10)^2$ is $5$, but the variance is $4$, because the mean is $9$, not $10$. Subtract the square of the mean of the deviations.
- Dividing by the wrong total. After adding, removing or replacing observations, check what $n$ is now. Replacement leaves $n$ unchanged; addition and removal do not.
- Using class limits instead of mid-values. In a grouped table, the observation is represented by the mid-value $\frac{\text{lower}+\text{upper}}2$. Using the lower limit shifts the mean by half a class width.
- Forgetting that the scale factor multiplies the variance by its square. If every observation is multiplied by $3$, the variance is multiplied by $9$ and the standard deviation by $3$. A negative multiplier never produces a negative standard deviation.
- Believing a shift changes the spread. Adding the same number to every observation changes the mean and leaves the variance, standard deviation and mean deviation unchanged. It does change the coefficient of variation, since the mean changes.
- Using the mean in a mean-deviation-about-median question. The question names the point about which to measure. For grouped data, compute the median first, then the weighted absolute deviations from it.
- Applying the combined-variance formula as if the means were equal. When groups are merged or removed, the formula carries the term $\frac{n_1n_2}{(n_1+n_2)^2}(\bar x_1-\bar x_2)^2$. Working from $\sum x$ and $\sum x^2$ avoids forgetting it.
- Rounding too early. In example 7, rounding the mean to $15$ would give the wrong variance; keep exact values until the last step.
- Assuming the empirical mean-median-mode relation is exact. The relation (mean minus mode) equals $3\times$(mean minus median) holds approximately for moderately skewed data, and a question will say "use the empirical relation" if it wants it.
- Counting the median position wrongly for an even number of observations. With 8 observations the median is the average of the 4th and 5th, not the 4th.
A one-page recap
- $\sigma^2=\dfrac{\sum x^2}{n}-\bar x^2$; $\sum x^2=n(\sigma^2+\bar x^2)$.
- Parallel axis: $\sum(x-A)^2=n\sigma^2+n(\bar x-A)^2$.
- Linear change $y=ax+b$: $\bar y=a\bar x+b$, $\sigma_y=|a|\sigma_x$; coefficient of variation changes with a shift.
- Step deviation: $\bar x=A+h\bar u$, $\sigma_x=h\sigma_u$; use mid-values.
- Grouped median: $l+\frac{N/2-C}{f}h$.
- Adding the mean: variance multiplied by $\frac n{n+1}$.
- AP of $n$ terms: $\sigma^2=\dfrac{d^2(n^2-1)}{12}$; variance bound $\left(\frac{M-m}2\right)^2$.
- Mean deviation about the median is the smallest; $\sigma\ge$ mean deviation about the mean.
- Modify data by updating $S_1=\sum x$ and $S_2=\sum x^2$.
Also read: Prism, Dispersion, Total Internal Reflection in Telugu: JEE
How to practise this topic
Use the statistics chapter tests as the main drill. Start with the first Statistics chapter test and continue through the second, third, fourth and fifth. The chapter has five tests of 15 questions each in our design. The book chapter has further solved problems: English, Hindi and Telugu. The whole series is on the JEE shelf.
A 7-day plan we suggest:
| Day | Work |
|---|---|
| 1 | Re-derive the five relations; do examples 3, 4 and 5 without notes |
| 2 | Grouped data: examples 1 and 11, then four tables of your own with different class widths |
| 3 | Modifying data: examples 6, 7 and 10; invent two more of each type |
| 4 | Change of origin and scale; example 8; ten transformation problems |
| 5 | Multiple-correct set: example 9 and the bound on variance |
| 6 | Chapter tests 1 and 2 under a 36-minute limit; log each error |
| 7 | Chapter tests 3 to 5, then redo every wrong answer |
After that, mix the chapter into the JEE Main Mathematics practice tests and the full mocks. The free 10-question mini mock is a quick all-subject check that needs no sign-up. Full mocks, practice tests and chapter tests are part of the Pro Pass. For related reading, see the statistics and probability overview, the post on conditional probability and independence, the guide to binomial distribution and random variables, and the method for calculation speed and approximation.
Frequently asked questions
Should I divide by $n$ or by $n-1$ in JEE variance questions?
JEE Main treats the data as the whole population and divides by $n$. If a question intends a sample variance it will say so. In all standard problems the formula $\frac{\sum x^2}n-\bar x^2$ is the one to use.
Why does adding an observation equal to the mean reduce the variance?
The sum of squared deviations stays the same, because the new observation deviates by zero, while the number of observations grows by one. The variance is therefore multiplied by $\frac n{n+1}$. In words, the data become more concentrated around the same centre.
What is the quickest way to handle "sum of $(x-a)$ and sum of $(x-a)^2$ are given"?
Treat $d=x-a$ as the data. Its mean is $\frac{\sum d}n$, and its variance is $\frac{\sum d^2}n-\bar d^2$. The variance of $x$ equals the variance of $d$, and the mean of $x$ is $a+\bar d$.
Does the coefficient of variation change when every observation is shifted?
Yes. The standard deviation stays the same, but the mean changes, so the ratio changes. It does not change if every observation is multiplied by the same positive number, since both mean and standard deviation scale by that number.
How do I find the median of grouped data quickly?
Find the first class where the cumulative frequency reaches $\frac N2$, then apply $l+\frac{N/2-C}{f}h$. Write the cumulative frequency column explicitly; most errors come from using the wrong $C$.
Is the mean deviation about the mean always smaller than the standard deviation?
Yes, it is at most the standard deviation, with equality only when all the deviations from the mean have equal absolute value. This is a quick check in multiple-correct questions.
How can I find the maximum possible variance of data lying in an interval?
Put half the observations at each end of the interval. The variance is then $\left(\frac{M-m}{2}\right)^2$, and no data set within the interval can exceed it.

Comments (0)
No comments yet. Be the first to share your thoughts.