Mean deviation

The range of a data set only looks at the two extreme values, so it says nothing about how the values in between are spread out. Mean deviation fixes this by measuring, on average, how far every single observation sits from a chosen centre — usually the mean xˉ\bar x or the median MM. Because raw deviations from the mean always cancel out to zero (positive and negative differences balance exactly), mean deviation takes the absolute value of each deviation before averaging, so genuine spread never disappears in the arithmetic. This idea, developed in the Statistics chapter of CBSE Class 11 Mathematics right after range, applies to three kinds of data: plain lists of numbers (ungrouped data), discrete frequency tables, and continuous (grouped) frequency distributions. In every case the recipe is the same — find the absolute distance of each value from the centre, weight by frequency if needed, and average.

The core insight

Mean deviation about a value aa is the average of the absolute deviations ∣xi−a∣|x_i - a| of all observations, and using absolute value (instead of signed deviation) is what stops the measure collapsing to zero.

The core idea

Why absolute value is essential. For any data set, ∑(xi−xˉ)=0\sum (x_i - \bar x) = 0 always — this is a basic property of the mean, not a coincidence of the example. So a raw average of signed deviations from the mean is always zero, useless as a measure of spread. Taking ∣xi−a∣|x_i - a| before averaging removes the sign and keeps every deviation's contribution positive, so the result genuinely reflects how spread out the data is.

Ungrouped data. For nn observations x1,x2,…,xnx_1, x_2, \ldots, x_n and a chosen reference point aa (mean or median):

MD(a)=1n∑i=1n∣xi−a∣\text{MD}(a) = \frac{1}{n}\sum_{i=1}^{n} |x_i - a|

where: xix_i are the individual observations, aa is the mean xˉ\bar x or the median MM, and nn is the number of observations.

Discrete and continuous frequency distributions. When each value xix_i occurs with frequency fif_i (or, for grouped data, xix_i is the mid-point of a class interval with frequency fif_i), each deviation must be weighted by how often it occurs:

MD(a)=1N∑i=1nfi ∣xi−a∣,where N=∑fi\text{MD}(a) = \frac{1}{N}\sum_{i=1}^{n} f_i\,|x_i - a|, \quad\text{where } N = \sum f_i

where: fif_i is the frequency of xix_i (or of the class with mid-point xix_i), and NN is the total frequency, ∑fi\sum f_i. The formula is identical for discrete and grouped continuous data — the only extra step for grouped data is computing each class mid-point first. a=xˉa = \bar x gives mean deviation about the mean; a=Ma = M gives mean deviation about the median. NCERT theory notes that, among all possible choices of aa, the median makes 1n∑∣xi−a∣\frac{1}{n}\sum|x_i-a| smallest — which is why the median is sometimes the preferred reference, although the mean is used just as often in problems.

Figure
Number line showing observations as dots and their absolute distances from a central point marked a
Absolute deviation of each point from the centre a x1 x2 a x3 x4 deviation from x1, all positive after absolute value deviation from x4, also made positive Every distance is measured as positive, whether the point lies left or right of a — so the deviations never cancel
Derivation AMean deviation about the mean, step by step

The goal is to compute the mean deviation about the mean for the eight numbers 6,7,10,12,13,4,8,126, 7, 10, 12, 13, 4, 8, 12, following the definition MD(xˉ)=1n∑∣xi−xˉ∣\text{MD}(\bar x) = \frac{1}{n}\sum|x_i - \bar x| exactly, so that every arithmetic step matches what the formula demands rather than a shortcut.

Step 1. Find the mean. xˉ=6+7+10+12+13+4+8+128=728=9\bar x = \dfrac{6+7+10+12+13+4+8+12}{8} = \dfrac{72}{8} = 9. This mean is the reference point aa that every deviation will be measured against.

Step 2. Compute the absolute deviation ∣xi−9∣|x_i - 9| for each of the eight values: ∣6−9∣=3|6-9|=3, ∣7−9∣=2|7-9|=2, ∣10−9∣=1|10-9|=1, ∣12−9∣=3|12-9|=3, ∣13−9∣=4|13-9|=4, ∣4−9∣=5|4-9|=5, ∣8−9∣=1|8-9|=1, ∣12−9∣=3|12-9|=3. Every result is non-negative regardless of whether xix_i was above or below the mean.

Step 3. Sum the absolute deviations. ∑∣xi−xˉ∣=3+2+1+3+4+5+1+3=22\sum |x_i - \bar x| = 3+2+1+3+4+5+1+3 = 22.

Step 4. Divide by n=8n = 8 to get the mean of these absolute deviations: MD(xˉ)=228=2.75\text{MD}(\bar x) = \dfrac{22}{8} = 2.75. On average, each observation lies 2.752.75 units from the mean of 99 — that single number is the mean deviation.

Worked example

Find the mean deviation about the median for this discrete frequency distribution.

xix_i256810
fif_i23433

Step 1. Find the total frequency. N=2+3+4+3+3=15N = 2+3+4+3+3 = 15.

Step 2. Locate the median. Since xix_i is already sorted, the median is the value at position N+12=162=8\frac{N+1}{2} = \frac{16}{2} = 8 in the ordered list of all 15 observations. Cumulative frequencies are: up to x=2x=2 it is 2, up to x=5x=5 it is 5, up to x=6x=6 it is 9, up to x=8x=8 it is 12, up to x=10x=10 it is 15. Position 8 falls in the range covered by x=6x=6 (positions 6 to 9), so M=6M = 6.

Step 3. Compute ∣xi−6∣|x_i - 6| and multiply by fif_i for each row.

xix_ifif_i∣xi−6∣\lvert x_i-6\rvertfi∣xi−6∣f_i\lvert x_i-6\rvert
2248
5313
6400
8326
103412

Step 4. Sum the weighted deviations and divide by NN. ∑fi∣xi−M∣=8+3+0+6+12=29\sum f_i|x_i-M| = 8+3+0+6+12 = 29, so MD(M)=2915≈1.93\text{MD}(M) = \dfrac{29}{15} \approx 1.93. The mean deviation about the median is approximately 1.93.

Competitive stretch

If the same distribution's mean deviation were instead required about the mean, the method would not change — only the reference point would. First compute xˉ=∑fixiN=2(2)+5(3)+6(4)+8(3)+10(3)15=4+15+24+24+3015=9715≈6.47\bar x = \dfrac{\sum f_i x_i}{N} = \dfrac{2(2)+5(3)+6(4)+8(3)+10(3)}{15} = \dfrac{4+15+24+24+30}{15} = \dfrac{97}{15} \approx 6.47, then rebuild the fi∣xi−xˉ∣f_i|x_i-\bar x| column with this new aa and divide by NN again. This is exactly why exam questions specify "about the mean" or "about the median" — the two answers are computed by the identical formula but are generally different numbers.

Common traps

  • Skipping the absolute value and using signed deviations — this always sums to (approximately) zero around the mean and is a red flag that the step was missed.
  • For grouped data, forgetting to use class mid-points as xix_i, or forgetting to multiply each ∣xi−a∣|x_i - a| by its frequency fif_i before summing.
  • Confusing the median's position N+12\frac{N+1}{2} with N2\frac{N}{2}, or misreading the cumulative-frequency column when locating the median in a table.
  • Dividing by the wrong total — always nn for raw ungrouped data or N=∑fiN = \sum f_i for frequency data, never the number of distinct xix_i values.

Ask the tutor: if you're stuck locating the median in a frequency table or setting up mean deviation for grouped data, ask the AI tutor to walk through your specific data set step by step.

Why do we sometimes use the mean and sometimes the median as the reference point a

Both are valid centres, and the formula works identically either way — you just plug in xˉ\bar x or MM for aa. NCERT notes that the median actually minimizes 1n∑∣xi−a∣\frac{1}{n}\sum|x_i-a| over all possible choices of aa, so mean deviation about the median is, in principle, the smallest such value you can get. In practice, questions simply specify which one to use, and the mean is asked about just as often as the median because it connects mean deviation to other mean-based measures like variance later in the syllabus.

Do I always need to find the mean or median before I can compute mean deviation

Yes — mean deviation is defined relative to a chosen point aa, so if the question says "about the mean" you must compute xˉ\bar x first, and if it says "about the median" you must locate MM first (including sorting the data and finding its position). Only after that reference point is fixed can you build the column of absolute deviations ∣xi−a∣|x_i-a| and average them. Skipping straight to deviations without first nailing down aa is the most common source of wrong answers.

What is the difference between mean deviation for ungrouped data and for a frequency distribution

The underlying idea is identical — average the absolute deviations from aa — but frequency data requires weighting: each ∣xi−a∣|x_i-a| is multiplied by how many times that value occurs, fif_i, before summing, and you divide by the total frequency N=∑fiN = \sum f_i instead of a plain count nn. For continuous (grouped) data, there's one extra step first: replace each class interval with its mid-point to get an xix_i to work with, then proceed exactly as for discrete frequency data.

Before this

Where this leads