PYQ Vault

MHT-CET Maths · Measures of Dispersion

Mean and Variance From Sums — Σx, Σx² and Deviations From an Assumed Mean

Variance is the mean of the squares minus the square of the mean: σ² = Σx²/n − x̄². Given any two of Σx, Σx², n, mean and variance, the rest follow — and deviations from an assumed mean plug into the same formula.

Why this matters

8 PYQs, none HARD — the formula page. The stems hand you Σx and Σx² (or Σ(x − a) and Σ(x − a)²) and ask for the SD, or hand you the mean and SD and ask for Σx²; one replaces a wrongly recorded observation, one adds three observations without moving the mean, two are frequency tables. All of it is the single identity below, rearranged.

Concept 1 of 4: σ² = Σx²/n − x̄²: Recover Any One Quantity From the Others

Variance is the average squared distance from the mean, and expanding (x−xˉ)2(x - \bar x)^2 turns that into the mean of the squares minus the square of the mean. Given the mean and SD, ∑x2=n(σ2+xˉ2)\sum x^2 = n(\sigma^2 + \bar x^2); given ∑x\sum x and ∑x2\sum x^2, the SD follows.

Definition

  • σ2=∑xi2n−xˉ2\sigma^2 = \dfrac{\sum x_i^2}{n} - \bar x^2, xˉ=∑xin\bar x = \dfrac{\sum x_i}{n}, SD =σ=σ2= \sigma = \sqrt{\sigma^2}.
  • n=100n = 100, xˉ=50\bar x = 50, σ=5\sigma = 5: ∑x2=100(25+2500)=252,500\sum x^2 = 100(25 + 2500) = 252{,}500.
  • Variance zero means every observation equals the mean: xˉ=5\bar x = 5, σ2=0\sigma^2 = 0, ∑x2=400⇒25n=400⇒n=16\sum x^2 = 400 \Rightarrow 25n = 400 \Rightarrow n = 16.
  • Six primes 7,11,13,17,19,237, 11, 13, 17, 19, 23: xˉ=15\bar x = 15, ∑x2=1518\sum x^2 = 1518, σ2=253−225=28\sigma^2 = 253 - 225 = 28.
  • CET uses the population variance (divide by nn), never n−1n - 1.

The identity

σ2=∑xi2n−xˉ2∑xi2=n(σ2+xˉ2)\sigma^2 = \frac{\sum x_i^2}{n} - \bar x^2 \qquad \sum x_i^2 = n\left(\sigma^2 + \bar x^2\right)

Visualization · move the points, watch the squared deviations

05101520mean = 6.00
Variance σ² = 8.00SD σ = 2.83Σ(xᵢ − x̄)² = 40.00

Each red square has side |xᵢ − x̄|, so its AREA is the squared deviation. Variance is the AVERAGE area. Pull all points toward the mean — every square shrinks. Pull them apart — they grow.

Worked example

The mean of 4040 observations is 1212 and their SD is 33. Find the sum of their squares.
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2023 · 2nd May Shift 1 · Q145Easy

Example 1 · Measures of Dispersion · Mean and Variance From Sums — Σx, Σx² and Deviations From an Assumed Mean

The mean of 100 observations is 50 and their standard deviation is 5, then the sum of all squares of all the observations is

Forgetting to add the mean squared

∑x2=nσ2\sum x^2 = n\sigma^2 gives 25002500, not 252,500252{,}500. The mean of the squares is the variance PLUS the square of the mean.

Concept 2 of 4: Deviations From an Assumed Mean: Σ(x − a) and Σ(x − a)²

Subtracting a constant aa from every observation shifts the mean by aa and leaves the variance alone. So with di=xi−ad_i = x_i - a: xˉ=a+∑dn\bar x = a + \dfrac{\sum d}{n} and σ2=∑d2n−(∑dn)2\sigma^2 = \dfrac{\sum d^2}{n} - \left(\dfrac{\sum d}{n}\right)^2 — the same identity, applied to the deviations.

Definition

  • n=20n = 20, ∑(x−2)=20\sum(x - 2) = 20, ∑(x−2)2=100\sum(x - 2)^2 = 100: σ2=10020−(2020)2=5−1=4\sigma^2 = \dfrac{100}{20} - \left(\dfrac{20}{20}\right)^2 = 5 - 1 = 4, SD 22. (The mean is 2+1=32 + 1 = 3, not needed.)
  • 5050 observations with ∑(x−30)=50\sum(x - 30) = 50: xˉ=30+5050=31\bar x = 30 + \dfrac{50}{50} = 31.
  • The correction term (∑dn)2\left(\dfrac{\sum d}{n}\right)^2 vanishes only when aa IS the mean; otherwise it must be subtracted.
  • Choosing aa near the centre keeps the deviations small — the point of the method in hand calculation.

Assumed-mean formulas

xˉ=a+∑din,σ2=∑di2n−(∑din)2,di=xi−a\bar x = a + \frac{\sum d_i}{n},\qquad \sigma^2 = \frac{\sum d_i^2}{n} - \left(\frac{\sum d_i}{n}\right)^2,\qquad d_i = x_i - a

Worked example

For 1010 observations, ∑(x−5)=10\sum(x - 5) = 10 and ∑(x−5)2=50\sum(x - 5)^2 = 50. Find the mean and the variance.
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2024 · 12th May Shift 2 · Q149Moderate

Example 2 · Measures of Dispersion · Mean and Variance From Sums — Σx, Σx² and Deviations From an Assumed Mean

For 20 observations of variable xx, if ∑(xi−2)=20\sum(x_i-2)=20 and ∑(xi−2)2=100\sum(x_i-2)^2=100, then the standard deviation of variable xx is

Reading Σ(x − 2)²/n as the variance

10020=5\dfrac{100}{20} = 5 is the mean of the squared deviations from 22, not from the mean. Subtract (∑dn)2=1\left(\dfrac{\sum d}{n}\right)^2 = 1; the SD is 22, not 5\sqrt5.

Concept 3 of 4: A Wrong Observation Replaced, or Observations Added: Fix the Sums First

Everything runs through ∑x\sum x and ∑x2\sum x^2. Replacing a value changes both sums by the difference of the old and new values (and of their squares); adding observations changes nn and the sums, and 'the mean stays the same' is an equation in the unknown.

Definition

  • n=15n = 15, ∑x=170\sum x = 170, ∑x2=2830\sum x^2 = 2830; 2020 replaced by 3030: ∑x=180\sum x = 180, ∑x2=2830−400+900=3330\sum x^2 = 2830 - 400 + 900 = 3330; σ2=222−144=78\sigma^2 = 222 - 144 = 78.
  • Mean xˉ\bar x of nn values; add n+1n + 1, n−1n - 1, 2n−12n - 1 (sum 4n−14n - 1) with the mean unchanged: nxˉ+4n−1n+3=xˉ⇒4n−1=3xˉ⇒n=3xˉ+14\dfrac{n\bar x + 4n - 1}{n + 3} = \bar x \Rightarrow 4n - 1 = 3\bar x \Rightarrow n = \dfrac{3\bar x + 1}{4}.
  • A wrongly recorded value that is REMOVED (not replaced) also reduces nn by one.
  • Recompute the mean from the corrected sum before the variance; using the old mean with the new sum of squares is the standard slip.

Correcting sums

∑xnew=∑x−xwrong+xright,∑xnew2=∑x2−xwrong2+xright2\sum x_{\text{new}} = \sum x - x_{\text{wrong}} + x_{\text{right}},\qquad \sum x^2_{\text{new}} = \sum x^2 - x_{\text{wrong}}^2 + x_{\text{right}}^2

Worked example

The mean of 1010 observations is 2020 and their variance is 99. One observation, recorded as 1515, should have been 2525. Find the corrected variance.
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2023 · 11th May Shift 1 · Q128Moderate

Example 3 · Measures of Dispersion · Mean and Variance From Sums — Σx, Σx² and Deviations From an Assumed Mean

In an experiment with 15 observations for x, the following results were available ∑x2=2830\sum x^2 = 2830, ∑x=170\sum x = 170. One observation 20 was found to be wrong and was replaced by the correct value 30. Then the corrected variance is

Keeping the old mean after correcting the sum

333015−(17015)2\dfrac{3330}{15} - \left(\dfrac{170}{15}\right)^2 is wrong; the corrected mean is 1212, giving 222−144=78222 - 144 = 78.

Concept 4 of 4: Grouped Data: Midpoints, Σfx and Σfx²

With frequencies, every sum is weighted: xˉ=∑fxN\bar x = \dfrac{\sum f x}{N}, σ2=∑fx2N−xˉ2\sigma^2 = \dfrac{\sum f x^2}{N} - \bar x^2, where N=∑fN = \sum f and a class interval is represented by its midpoint.

Definition

  • Classes 00–66, 66–1212, 1212–1818 with f=2,4,6f = 2, 4, 6: midpoints 3,9,153, 9, 15; N=12N = 12; ∑fx=6+36+90=132\sum fx = 6 + 36 + 90 = 132, xˉ=11\bar x = 11; ∑fx2=18+324+1350=1692\sum fx^2 = 18 + 324 + 1350 = 1692; σ2=141−121=20\sigma^2 = 141 - 121 = 20, SD 252\sqrt5.
  • Frequencies in a parameter: marks 2,3,5,72, 3, 5, 7 with f=(x+1)2,2x−5,x2−3x,xf = (x+1)^2, 2x - 5, x^2 - 3x, x and N=20N = 20: 2x2+2x−4=20⇒x=32x^2 + 2x - 4 = 20 \Rightarrow x = 3; frequencies 16,1,0,316, 1, 0, 3; ∑fx=32+3+0+21=56\sum fx = 32 + 3 + 0 + 21 = 56; mean 2.82.8.
  • A frequency must be a whole number ≥0\ge 0; that is what rejects the negative root of the quadratic in xx.
  • 20=25\sqrt{20} = 2\sqrt5: options list both forms, and both are the same answer.

Weighted sums

xˉ=∑fixiN,σ2=∑fixi2N−xˉ2,N=∑fi\bar x = \frac{\sum f_i x_i}{N},\qquad \sigma^2 = \frac{\sum f_i x_i^2}{N} - \bar x^2,\qquad N = \sum f_i

Visualization · change the bin width, watch the shape change

352355444210255075100
Bin width:

Same 30 data points each time — only the bin width changes. At width 50 the shape looks almost uniform; at width 5 it looks jagged. Choosing bin width is part of the analysis, not the data.

Worked example

Find the SD of the distribution: values 1,2,31, 2, 3 with frequencies 1,2,11, 2, 1.
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2024 · 9th May Shift 1 · Q149Moderate

Example 4 · Measures of Dispersion · Mean and Variance From Sums — Σx, Σx² and Deviations From an Assumed Mean

The standard deviation of the following distribution: C.I.: 0–6, 6–12, 12–18; fif_i: 2, 4, 6

Using class limits instead of midpoints

The class 66–1212 contributes at x=9x = 9. Using 66 or 1212 shifts every sum and lands on a distractor.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • σ² = Σx²/n − x̄²: Recover Any One Quantity From the Others

    The identity

    σ2=∑xi2n−xˉ2∑xi2=n(σ2+xˉ2)\sigma^2 = \frac{\sum x_i^2}{n} - \bar x^2 \qquad \sum x_i^2 = n\left(\sigma^2 + \bar x^2\right)
  • Deviations From an Assumed Mean: Σ(x − a) and Σ(x − a)²

    Assumed-mean formulas

    xˉ=a+∑din,σ2=∑di2n−(∑din)2,di=xi−a\bar x = a + \frac{\sum d_i}{n},\qquad \sigma^2 = \frac{\sum d_i^2}{n} - \left(\frac{\sum d_i}{n}\right)^2,\qquad d_i = x_i - a
  • A Wrong Observation Replaced, or Observations Added: Fix the Sums First

    Correcting sums

    ∑xnew=∑x−xwrong+xright,∑xnew2=∑x2−xwrong2+xright2\sum x_{\text{new}} = \sum x - x_{\text{wrong}} + x_{\text{right}},\qquad \sum x^2_{\text{new}} = \sum x^2 - x_{\text{wrong}}^2 + x_{\text{right}}^2
  • Grouped Data: Midpoints, Σfx and Σfx²

    Weighted sums

    xˉ=∑fixiN,σ2=∑fixi2N−xˉ2,N=∑fi\bar x = \frac{\sum f_i x_i}{N},\qquad \sigma^2 = \frac{\sum f_i x_i^2}{N} - \bar x^2,\qquad N = \sum f_i

Watch out for (4)

Test yourself on Measures of Dispersion

15 past MHT-CET questions from this chapter, timed at 27 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes