Data handlingGo deeperabout 55 min
Why averages work, and which one to trust
Balance points, proofs, grouped data, combined groups and the art of choosing an average
Prove the mean is a balance point and how it reacts to shifts and scaling. Combine groups correctly, handle grouped data with class intervals, read double bar graphs, and choose between mean, median and mode with outliers, cricket averages and average speeds. Plus a history of statistics in India.
In this part you’ll
- Explain why deviations from the mean always add to zero, and use sum = mean × count in proofs.
- Prove how adding a constant or multiplying by a constant changes the mean, median, mode and range.
- Find a combined (weighted) mean and avoid averaging averages.
- Group data into class intervals, find the modal class and estimate the mean from midpoints; read double bar graphs.
- Choose and justify the right average for a situation, including outliers, cricket batting averages and average speed.
You can now calculate every average and predict how it behaves. This layer asks why. Why does sum ÷ count give a fair share? Why must deviations from the mean cancel out? Why is averaging two class averages usually wrong? Why is a cricketer's "average" not the mean of their scores? And when a newspaper says "the average Indian…", which average should it be using?
The arguments here are the kind mathematicians call proofs: reasons that work for every data set, not just the examples we try.
The class marks, salaries and journeys used as examples here are invented; the rainfall figures and Bradman's record are real, and the chapters say where they come from.
Chapter 01
The mean is a balance point
Put a ruler on your finger and place identical coins at the positions 3, 4, 5, 6 and 7 cm. Where must your finger go for the ruler to balance? At 5 cm, the mean. Move the coin at 7 to 12 and the balance point shifts right, to 6 cm, which is the new mean (3 + 4 + 5 + 6 + 12 = 30, and 30 ÷ 5 = 6).
This is not a coincidence. The mean is exactly the point where the "pull" of the values on each side cancels out. To see why, measure each value's deviation: how far it is from the mean, with a sign (+ above, − below).
| Value x | Deviation x − 5 | Meaning |
|---|---|---|
| 3 | −2 | 2 below |
| 7 | +2 | 2 above |
| 4 | −1 | 1 below |
| 6 | +1 | 1 above |
| 5 | 0 | on the mean |
| Sum | 0 | below and above cancel |
Worked example
0 / 5 steps shownProof: deviations from the mean always add to 0
Show that for any data set, the deviations from the mean add up to zero.
Try it
Chapter 02
Properties of the mean, proved
Investigate showed by experiment that adding a constant shifts the mean and multiplying scales it. Now we can prove it using nothing but sum = mean × count.
Worked example
0 / 5 steps shownProof: add k to every value → the mean increases by k
n values have mean M. Each value is increased by k. Show the new mean is M + k.
Try it
Try it
Chapter 03
Combining groups: the weighted mean
Section A of Class 7 has 30 students with a mean mark of 62. Section B has 20 students with a mean of 72. What is the mean of all 50 students?
It is tempting to say (62 + 72) ÷ 2 = 67. That is wrong. Section A has more students, so its average should count for more. Go back to totals:
- Section A total = 30 × 62 = 1,860.
- Section B total = 20 × 72 = 1,440.
- All 50 students: (1,860 + 1,440) ÷ 50 = 3,300 ÷ 50 = 66.
The combined mean, 66, is closer to Section A's 62 because Section A is bigger. This is called a weighted mean: each group's mean is weighted by its size.
Worked example
0 / 4 steps shownA weighted report card
A school counts the final exam as 60% of a subject grade, the half-yearly as 30% and projects as 10%. Meera scored 80 in the final, 70 in the half-yearly and 95 in projects. What is her grade?
Try it
Worked example
0 / 5 steps shownThe average-speed trap
A family drives 120 km to a wedding at 60 km/h and returns the same 120 km at 40 km/h because of traffic. What is the average speed for the whole trip?
Chapter 04
Grouped data and class intervals
When data has many different values, a frequency table with one row per value becomes long and bumpy. Here is an invented but realistic set of marks (out of 50) for 40 students in a Class 8 test:
8, 22, 47, 18, 13, 49, 40, 39, 22, 30, 37, 48, 30, 27, 32, 33, 39, 31, 36, 21, 17, 43, 17, 47, 27, 21, 22, 39, 29, 28, 39, 45, 38, 28, 30, 19, 7, 33, 20, 24.
Almost every mark appears only once or twice, so a mark-by-mark table tells us little. Instead we group the marks into class intervals of equal width: 0–10, 10–20, 20–30, 30–40, 40–50.
| Marks | Tally | Frequency f | Midpoint x | f × x |
|---|---|---|---|---|
| 0–10 | || | 2 | 5 | 10 |
| 10–20 | 卌 | 5 | 15 | 75 |
| 20–30 | 卌 卌 || | 12 | 25 | 300 |
| 30–40 | 卌 卌 |||| | 14 | 35 | 490 |
| 40–50 | 卌 || | 7 | 45 | 315 |
| Total | — | 40 | — | 1,190 |
Worked example
0 / 5 steps shownSummarising grouped data
Use the grouped table to find the modal class, the class containing the median, and an estimate of the mean. Compare the estimate with the exact mean.
Try it
Chapter 05
Double bar graphs: comparing side by side
A double bar graph puts two related data sets on the same axes, with a pair of bars for each category and a legend saying which bar is which. It is the natural way to compare two groups, two years or two places.
India has two monsoons. Mumbai, on the west coast, is soaked by the south-west monsoon from June to September. Chennai, on the east coast, gets its heaviest rain from the north-east monsoon in October to December. A double bar graph makes the contrast leap out.
| Month | Mumbai (M) | Chennai (C) | Wetter city |
|---|---|---|---|
| Jan | M 0 | C 16 | Chennai |
| Feb | M 0 | C 6 | Chennai |
| Mar | M 0 | C 2 | Chennai |
| Apr | M 0 | C 14 | Chennai |
| May | M 7 | C ▇ 43 | Chennai |
| Jun | M ▇▇▇▇▇▇▇▇▇▇▇ 526 | C ▇ 59 | Mumbai |
| Jul | M ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 920 | C ▇▇ 102 | Mumbai |
| Aug | M ▇▇▇▇▇▇▇▇▇▇▇ 561 | C ▇▇▇ 133 | Mumbai |
| Sep | M ▇▇▇▇▇▇▇▇ 384 | C ▇▇▇ 146 | Mumbai |
| Oct | M ▇▇ 91 | C ▇▇▇▇▇▇ 300 | Chennai |
| Nov | M 11 | C ▇▇▇▇▇▇▇ 374 | Chennai |
| Dec | M 2 | C ▇▇▇▇ 182 | Chennai |
Worked example
0 / 4 steps shownReading the double bar graph
Using the table: (a) In how many months is Chennai wetter than Mumbai? (b) Which city has more rain in the year, and by how much? (c) Which city's rainfall is more concentrated in its wettest three months?
Chapter 06
Choosing the right average
Nine people sit in a tea stall. Each earns about ₹25,000 a month. Their mean, median and mode income are all ₹25,000. Then a billionaire walks in who earns ₹100 crore a month.
- Total income in the room: 9 × 25,000 + 1,00,00,00,000 = ₹1,00,02,25,000.
- Mean income: ₹1,00,02,25,000 ÷ 10 = ₹10,00,22,500, about ₹10 crore a month each!
- Median income: the 10 values in order are nine 25,000s and one 100 crore; the middle two (5th and 6th) are both 25,000, so the median is ₹25,000.
- Mode: ₹25,000.
The mean now describes nobody in the room. Nine people earn far less, and one earns ten times more. This is why reports on incomes, house prices and wealth use the median: it tells you about a typical person, not about how much money is in the room.
| Average | Best when… | Weakness | Example |
|---|---|---|---|
| Mean | Data is numerical and fairly symmetric, or the total matters | Dragged by outliers | Mean daily electricity use to size a solar panel |
| Median | Data is skewed or has outliers; you want a typical member | Ignores how big the extremes are | Typical income, house price, waiting time |
| Mode | Data is categorical, or only actual values make sense | May not exist or may not be unique | Most popular flavour, shoe size to stock |
| (Range) | Not an average: describes spread | Uses only two values | Temperature swing in a day |
Lab
See how one very high salary makes the mean misleading while the median still describes a typical worker.
Monthly pay at a small workshop (₹ thousand), owner included (₹ thousand)
Challenge 1The owner cuts their own pay. What pay makes the mean ₹40 thousand?
Target: mean = 40. Right now the mean is 72. Add or remove dots below — it checks as you go.
Tap the number line to add a value; tap a dot to remove it. Dashed long line = mean (●), dotted line = median (▲).
The values (10)
- 20
- 20
- 30
- 30
- 30
- 40
- 40
- 50
- 60
- 400
sum ÷ count = 720 ÷ 10 = 72
202030303040405060400
10 values (even), so take the two middle ones: (30 + 40) ÷ 2 = 35.
30 appears 3 times — more than any other value.
max − min = 400 − 20 = 380
Text version of this activity
A dot plot of 10 monthly pays (₹ thousand): 20, 20, 30, 30, 30, 40, 40, 50, 60 and the owner's 400. Sum 720, so the mean is 72, higher than 9 of the 10 people. Median = (30 + 40) ÷ 2 = 35. Mode 30. Range 400 − 20 = 380.
Challenges:
- Mean 40: the total must be 400, so the owner's pay must fall by 320, to 80.
- Median 40: the 5th and 6th ordered pays must average 40. Raising one ₹30 thousand worker to 40 works: ordered 20, 20, 30, 30, 40, 40, 40, … so the 5th and 6th are both 40.
- Mode 20 only: 20 must appear more than 30 does; move two ₹30 thousand workers to ₹20 thousand (20 appears 4 times, 30 once).
- Range 50: change the owner's 400 to 70 (70 − 20 = 50).
The owner's pay controls the mean and range, but has no effect on the median or mode.
Lab
Choose the most suitable average for twelve real situations and say why.
Which average best describes each situation?
12 cards, 3 bins. Tap a card, then tap its bin. You can also drag, or press a bin’s number key.
Text version of this activity
A sorting game with three bins and 12 situations.
- Mean (the total matters, or data is symmetric): rainfall for a reservoir; class marks close together; daily electricity use to size a solar system; runs per match for a steady batter.
- Median (outliers or skew): house prices with mansions; village income with one crorepati; clinic waiting times with one 5-hour wait; race times with one fallen runner.
- Mode (categories or real values only): ice-cream flavour; shoe size to stock; passengers per auto-rickshaw; blood group.
Three questions help: Is the data categorical? (mode) Are there outliers or a long tail? (median) Does the total matter? (mean)
Chapter 07
Cricket averages are special
In cricket, a batter's batting average is not the mean runs per innings. It is
batting average = total runs ÷ number of times out.
Innings in which the batter was not out (marked with an asterisk, like 45*) add their runs to the total but do not add to the count of dismissals. The idea: a not-out innings is unfinished, so it would be unfair to treat it as a completed score. The side effect: batters who are often not out, like tail-enders or finishers, can have a batting average higher than any "fair share" of their innings.
Worked example
0 / 6 steps shownThree averages for one batter
In 7 innings a batter scored 12, 45*, 0, 78, 30*, 5, 60 (* = not out). Find the batting average, the mean runs per innings and the median innings.
Lab
Compare a batter's mean and median innings, and see how one big century inflates the mean.
A batter's runs in 10 innings (all out) (runs)
Challenge 1Replace the century (150) with a score that makes the mean 30.
Target: mean = 30. Right now the mean is 40. Add or remove dots below — it checks as you go.
Tap the number line to add a value; tap a dot to remove it. Dashed long line = mean (●), dotted line = median (▲).
The values (10)
- 0
- 5
- 10
- 15
- 25
- 30
- 40
- 50
- 75
- 150
sum ÷ count = 400 ÷ 10 = 40
0510152530405075150
10 values (even), so take the two middle ones: (25 + 30) ÷ 2 = 27.5.
Every value appears only once. The usual convention: when nothing repeats, we say there is no mode.
max − min = 150 − 0 = 150
Text version of this activity
A dot plot of 10 innings: 0, 5, 10, 15, 25, 30, 40, 50, 75, 150. Total 400, mean 40, median (25 + 30) ÷ 2 = 27.5, no mode, range 150.
The one century pulls the mean 12.5 runs above the median. In half of the innings the batter made 25 or fewer.
Challenges:
- Mean 30: the total must be 300, so change 150 to 50.
- Median 40: the 5th and 6th ordered scores must average 40; e.g. change 25 → 40 and 30 → 40.
- Mean 50 with one change: the total must be 500, 100 more; change any innings by +100 within the 0–150 scale, e.g. 0 → 100 or 50 → 150.
- Range 100: change 150 to 100.
Try it
Chapter 08
Measuring spread more robustly
The range has the same weakness as the mean: one outlier can wreck it. In the ten values 12, 14, 15, 15, 16, 17, 18, 19, 20, 48, the range is 48 − 12 = 36, but nine of the ten values lie within just 8 of each other.
A sturdier idea, used from Class 9 onwards, is the interquartile range (IQR). Put the data in order and split it into two halves. The median of the lower half is the lower quartile, the median of the upper half is the upper quartile. The IQR is their difference, and it measures the spread of the middle half of the data, ignoring the extremes.
Here the lower half is 12, 14, 15, 15, 16 (median 15) and the upper half is 17, 18, 19, 20, 48 (median 19). IQR = 19 − 15 = 4, a far better description of how spread out most values are.
Chapter 09
A short history of counting people and things
Collecting data is as old as governments. Rulers needed to know how many people, fields and animals they had, to raise taxes and armies and to plan for famine. The word statistics itself comes from state: it began as "facts about the state".
India has a long record. The Arthashastra, a text on statecraft traditionally linked with Kautilya (Chanakya) more than 2,000 years ago, describes officials who kept records of households, land and livestock. Under Akbar, Raja Todar Mal's revenue system measured land and recorded crop yields, and Abul Fazl's Ain-i-Akbari is packed with tables of data about the empire. Modern India has one of the largest statistical systems in the world, and one of its founders, P. C. Mahalanobis, is remembered on 29 June, his birthday, as National Statistics Day.
From clay tablets to the Census of India
- c. 300 BCEArthashastra A text on statecraft describes keeping records of population, land and cattle for taxation.
- 1590sAin-i-Akbari Abul Fazl's record of Akbar's empire includes detailed revenue and crop data from Todar Mal's land surveys.
- 1786The bar graph William Playfair, a Scottish engineer, publishes some of the first bar charts; he later popularises the pie chart (1801).
- 1858Nightingale's diagrams Florence Nightingale uses coloured diagrams of army death data to show that most soldiers died of disease, and wins hospital reform.
- 1872First census in India The first census across much of British India is completed in 1872, counted area by area over several years rather than everywhere on one date.
- 1881First synchronous census The first census counting everyone as at the same date; since then India has held a census about every ten years.
- 1931Indian Statistical Institute P. C. Mahalanobis founds the ISI in Kolkata, which becomes a world centre for statistics and sample surveys.
- 1950National Sample Survey India begins large nationwide sample surveys of households to measure spending, jobs and living conditions.
- 2011Census 2011 The 15th census counts about 121 crore people (1,21,08,54,977).
- 2026–27Census 2027 The census due in 2021 was postponed. India's 16th census is its first digital one: houses are listed between April and September 2026, people are counted in February 2027, and the reference moment is midnight on 1 March 2027.
Chapter 10
Round-up
Lab
Connect the properties of the mean to their effects, and the Deepen examples to their answers.
Match each situation to its effect or value.
9 pairs are hiding in two mixed-up columns. Pick one from each side to join them.
Text version of this activity
Nine pairs:
- Add 10 to every value → mean rises by 10; range unchanged.
- Multiply every value by 3 → mean and range both multiplied by 3.
- Add a new value equal to the mean → mean unchanged.
- Sum of deviations from the mean → always 0.
- Mean × number of values → the sum.
- Remove a value above the mean → mean goes down.
- 30 students with mean 62 and 20 with mean 72 → combined mean (1,860 + 1,440) ÷ 50 = 66.
- 120 km at 60 km/h and back at 40 km/h → 240 km in 5 hours = 48 km/h.
- 6,996 runs and 70 dismissals → batting average ≈ 99.94 (Bradman).
Lab
Rapid practice with totals, missing values, combined means and batting averages.
10 questions on multiplication, division with some word problems mixed in.
Get three in a row and the numbers level up!
Text version of this activity
A sprint of multiplication and division warm-ups, then eight word problems:
- Mean 15 of 8 numbers → sum 8 × 15 = 120.
- Mean 12 of 5 numbers → total 60; fifth = 60 − 47 = 13.
- 630 runs, 14 dismissals → 45.
- 20 × 140 + 30 × 145 = 2,800 + 4,350 = 7,150; ÷ 50 = 143 cm.
- Mean 23, add 7 to each → 30.
- 60 km at 30 km/h (2 h) + 60 km at 60 km/h (1 h) → 120 ÷ 3 = 40 km/h.
- Midpoints 15 and 25: (4 × 15 + 6 × 25) ÷ 10 = 210 ÷ 10 = 21.
- Total 500 − 95 = 405; ÷ 9 = 45.
Words to know
All maths vocabulary →Words from this layer
- deviation
- How far a value is from the mean, with a sign: positive above, negative below.
- Example: 7 − 5 = +2.
- balance point
- The point where the values' deviations cancel out; the mean.
- weighted mean
- A mean in which some values or groups count more than others, according to their weights (such as group sizes).
- Example: Combined mean of two sections.
- class interval
- A range of values used as one group in grouped data, such as 20–30.
- class width
- The difference between the upper and lower limits of a class interval.
- Example: 30 − 20 = 10.
- lower limit / upper limit
- The smallest and largest boundaries of a class interval; usually the lower is included and the upper excluded.
- midpoint (class mark)
- The middle of a class interval, (lower + upper) ÷ 2, used to estimate the mean of grouped data.
- Example: (20 + 30) ÷ 2 = 25.
- modal class
- The class interval with the highest frequency.
- histogram
- A bar graph for grouped continuous data, with bars touching because the intervals join up.
- double bar graph
- A bar graph with pairs of bars for comparing two data sets, with a legend.
- legend
- The key on a graph that says what each colour or bar style stands for.
- batting average
- In cricket, total runs divided by the number of times the batter was out.
- Example: 6,996 ÷ 70 ≈ 99.94.
- quartiles
- The values that cut ordered data into four equal parts; the lower and upper quartiles are the medians of the two halves.
- interquartile range (IQR)
- Upper quartile − lower quartile: the spread of the middle half of the data.
- statistics
- The science of collecting, organising, summarising and interpreting data; the word comes from "state".
Quick check
Reasoning check
10 questions · answer what you can, then check. Getting one wrong is useful.
Keep this
Cheat sheet
- Deviations from the mean always add to 0: the mean is the balance point. Proof: Σx − n × mean = S − S = 0.
- sum = mean × count is the master key for proofs, missing values and combined groups.
- Add k to all values → mean, median, mode + k, range same. Multiply all by k → all × k (range by the size of k).
- Combined mean = (n₁ × mean₁ + n₂ × mean₂) ÷ (n₁ + n₂). Never average averages of unequal groups.
- Average speed = total distance ÷ total time, not the mean of the speeds.
- Grouped data. Lower limit included, upper excluded. Modal class = highest frequency. Estimated mean uses midpoints.
- Histogram: bars touch. Double bar graph: paired bars plus a legend.
- Which average? Categories → mode. Outliers or skew → median. Total matters or symmetric → mean.
- Batting average = runs ÷ times out (not innings). Bradman: 6,996 ÷ 70 ≈ 99.94.
- IQR = upper quartile − lower quartile: a spread measure that resists outliers.
Reflect
This stays on this page only. It isn’t saved or sent anywhere.
Helps you understand
Order of operationsWeighted means like (30 × 62 + 20 × 72) ÷ 50 need the correct order of operations.
Helps you understand
Properties of numbersThe proof that deviations sum to zero uses the distributive property: n × M = M + M + … + M.
Related to
AnglesPie charts, in the next layer, turn frequencies into angles at the centre of a circle.
Used in
ElectricitySizing a rooftop solar system uses the mean daily electricity use, because the total energy is what matters.
Where this comes from
Sources
Mathematics, Class 7 (withdrawn edition), Chapter 3: Data Handling — archived chapter PDF (opens another website) — NCERT, archived by the Internet Archiveawaiting owner check
Supports representative values, the arithmetic mean and range (§3.2), mode (§3.3), median (§3.4) and double bar graphs (§3.5). NCERT has withdrawn this book and its replacement, Ganita Prakash Class 7, has no data-handling chapter.
Mathematics, Class 8, Chapter 4: Data Handling (chapter PDF) (opens another website) — NCERTawaiting owner check
Supports pie charts or circle graphs, including central angle = fraction x 360 degrees (§4.2), and chance and probability with equally likely outcomes (§4.3). The rationalised edition no longer covers grouped frequency tables or histograms.
Histograms (opens another website) — Math is Funawaiting owner check
Supports grouping numerical data into class intervals and the difference between a histogram (bars touch, each bar is a number range) and a bar graph (gaps, each bar is a category).
Summarizing quantitative data (opens another website) — Khan Academyawaiting check
Supports mean, median and mode as measures of centre, range as a measure of spread, the effect of outliers, and choosing a measure of centre. Not opened: the site answers automated requests with a bot-challenge page.
Don Bradman (opens another website) — Wikipediaawaiting owner check
Supports Bradman’s Test record: 6,996 runs in 80 innings with 10 not out (70 dismissals), a batting average of 99.94, and that 4 more runs in his final innings in 1948 would have made it exactly 100.
Prasanta Chandra Mahalanobis (opens another website) — Wikipediaawaiting owner check
Supports the founding of the Indian Statistical Institute in December 1931, Mahalanobis’s pioneering of large-scale sample surveys in India, and National Statistics Day on 29 June.
Census of India table A-02: Decadal Variation in Population 1901-2011, India (opens another website) — Office of the Registrar General and Census Commissioner, Indiaawaiting owner check
Supports India’s census population at each census from 1951 to 2011 (1,21,08,54,977 in 2011) and the published decadal growth rates: 21.51, 24.80, 24.66, 23.87, 21.54 and 17.70 per cent.
Registrar General and Census Commissioner of India addresses Press Conference on Census-2027 (opens another website) — Press Information Bureau, Government of Indiaawaiting owner check
Supports Census 2027 being India’s 16th census and its first digital one, with houselisting from April to September 2026, population enumeration in February 2027 and 1 March 2027 as the reference date.
India Meteorological Department (opens another website) — Ministry of Earth Sciences, Government of Indiaawaiting owner check
Supports the India Meteorological Department as the body that records daily temperature and rainfall for Indian cities and publishes forecasts and monsoon information.
Climatological Tables of Observatories in India 1991–2020 (opens another website) — India Meteorological Department, Puneawaiting owner check
Supports the monthly normals used in these lessons: mean daily maximum temperature for New Delhi (Safdarjung) and Chennai (Nungambakkam), and monthly rainfall and rainy days for Mumbai (Santacruz), Mumbai (Colaba) and Chennai (Nungambakkam).
End of Go deeper
What you just read
- Explain why deviations from the mean always add to zero, and use sum = mean × count in proofs.
- Prove how adding a constant or multiplying by a constant changes the mean, median, mode and range.
- Find a combined (weighted) mean and avoid averaging averages.
- Group data into class intervals, find the modal class and estimate the mean from midpoints; read double bar graphs.
- Choose and justify the right average for a situation, including outliers, cricket batting averages and average speed.
- Next depthGo deeper: ExtendProjects, harder problems, wider contexts and open questions.
- Practise80 questionsHints and a worked solution for every question — or play a 10-question round.
- Step backInvestigateGo back over the ground before this one — you can move up and down as often as you like.
- TopicAll of data handlingThe whole ladder, the connections and the words to know, on one page.
The web
Explore a connection
Builds on
Number systemReading, comparing and rounding numbers comes first when you sort data and round a mean.
Want to save topics or ask for new ones? Invited families can connect a learning device. Everything here stays free to read without signing in.
Revision 1 · release preview-7e1cbbcc4f · accepted 20/09/2026