Find Mean of Grouped Data Using Direct Method — Step by Step

easy CBSE-10 NCERT Class 10 Chapter 14 5 min read

Question

The following table shows the number of plants in 40 houses in a locality. Find the mean number of plants per house.

Number of PlantsNumber of Houses (Frequency)
0 – 21
2 – 42
4 – 61
6 – 85
8 – 106
10 – 122
12 – 143

Total houses = 20 (standard NCERT version uses 20 houses)


Solution — Step by Step

For any class interval, the midpoint is xi=lower limit+upper limit2x_i = \dfrac{\text{lower limit} + \text{upper limit}}{2}.

This midpoint represents the “average” value of all data points in that class — we don’t know individual values, so we assume everyone in the class is at the centre.

ClassMidpoint xix_iFrequency fif_i
0–211
2–432
4–651
6–875
8–1096
10–12112
12–14133

Multiply each frequency by its class midpoint. This gives the “total plants contributed” by each group.

Classxix_ifif_ifixif_i x_i
0–2111
2–4326
4–6515
6–87535
8–109654
10–1211222
12–1413339
Σfi=1+2+1+5+6+2+3=20\Sigma f_i = 1 + 2 + 1 + 5 + 6 + 2 + 3 = 20 Σfixi=1+6+5+35+54+22+39=162\Sigma f_i x_i = 1 + 6 + 5 + 35 + 54 + 22 + 39 = 162

Always verify Σfi\Sigma f_i matches the total number of observations given in the problem. If it doesn’t, you’ve made an arithmetic error — catch it here, not after the final answer.

xˉ=ΣfixiΣfi=16220=8.1\bar{x} = \frac{\Sigma f_i x_i}{\Sigma f_i} = \frac{162}{20} = 8.1

Mean = 8.1 plants per house.


Why This Works

In raw data, mean = sum of all values ÷ count. Grouped data hides individual values inside classes, so we use midpoints as “stand-ins.” It’s an approximation — we assume data is uniformly spread within each class.

The formula xˉ=ΣfixiΣfi\bar{x} = \dfrac{\Sigma f_i x_i}{\Sigma f_i} is just a weighted average. A class with frequency 6 pulls the mean toward its midpoint six times harder than a class with frequency 1. That’s why the 8–10 class (frequency 6, midpoint 9) has strong influence on our answer of 8.1.

This method works cleanly when numbers are small. For messier data with large class midpoints (like ages 0–80 in 10-year groups), the Assumed Mean Method cuts down arithmetic — but the answer is identical.


Alternative Method

Shortcut check: Once you have Σfixi=162\Sigma f_i x_i = 162 and Σfi=20\Sigma f_i = 20, notice 162÷20=8.1162 \div 20 = 8.1 directly. No need to simplify a fraction — just divide.

We could also use the Assumed Mean Method to cross-verify. Take assumed mean A=7A = 7 (midpoint of the 6–8 class, roughly central):

Classxix_idi=xi7d_i = x_i - 7fif_ifidif_i d_i
0–21–61–6
2–43–42–8
4–65–21–2
6–87050
8–109+26+12
10–1211+42+8
12–1413+63+18
Σfidi=682+0+12+8+18=22\Sigma f_i d_i = -6 - 8 - 2 + 0 + 12 + 8 + 18 = 22 xˉ=A+ΣfidiΣfi=7+2220=7+1.1=8.1\bar{x} = A + \frac{\Sigma f_i d_i}{\Sigma f_i} = 7 + \frac{22}{20} = 7 + 1.1 = 8.1 \checkmark

Same answer. Use Assumed Mean when midpoints are large numbers (reduces calculation errors significantly).


Common Mistake

Using class limits instead of midpoints. A very common error: students write fixif_i x_i using the lower class limit (0, 2, 4, 6…) instead of the midpoint (1, 3, 5, 7…).

The lower limit is just the starting boundary — it doesn’t represent the class. If you use lower limits, you’ll get Σfixi=128\Sigma f_i x_i = 128 and mean =6.4= 6.4, which is wrong. Always compute midpoint as lower+upper2\dfrac{\text{lower} + \text{upper}}{2} first, before touching frequencies.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next