Mean, Median and Graphs

NCERT Solutions Class 8 Maths Part 2 Chapter 5 Figure it Out Page 127 — Tales by Dots and Lines

NCERT Class 8 Mathematics — Ganita Prakash Part 2, Chapter 5 Tales by Dots and Lines, the Figure it Out box on page 127 (running to page 132). All 15 questions solved.

This is the chapter’s main practice box. It asks you to build data with a given mean or median, to reason about how the mean and median react when values are added or changed, and to read and interpret line graphs, with a few projects at the end. The facts it runs on: total $=$ mean $\times$ count, the median of an even count is the mean of the two middle values, and a graph can only support a statement if the information is actually on it.

Key insight. To build data with a given mean, fix the total. To build data with a given median, fix the middle position. To judge a statement about a graph, ask whether the graph actually contains the information the statement needs.

The mean is the point where the data balances. Open full size

Question 1

Mean grids: (i) Fill a $3\times3$ grid with $9$ distinct numbers so that the average along each row, column and diagonal is $10$. (ii) Can we fill the grid by changing a few numbers and still get $10$ as the average in all directions?

Solution. An average of $10$ for three numbers means their sum is $30$, so every row, column and both diagonals must add up to $30$. Put $10$ in the centre, because the centre lies on four of the lines, and then choose pairs that are equally far from $10$ on opposite sides of the centre.

(i) A valid grid

Take rows $13, 6, 11$ / $8, 10, 12$ / $9, 14, 7$. Rows: $13+6+11=30$, $8+10+12=30$, $9+14+7=30$. Columns: $13+8+9=30$, $6+10+14=30$, $11+12+7=30$. Diagonals: $13+10+7=30$ and $11+10+9=30$. All nine numbers are different.

For example $13, 6, 11 \,/\, 8, 10, 12 \,/\, 9, 14, 7$. Any $9$ distinct numbers with every row, column and diagonal summing to $30$ is correct.

(ii) Changing a few numbers

Yes. Change six cells and keep the centre and the two corners $13$ and $7$: $13, 5, 12 \,/\, 9, 10, 11 \,/\, 8, 15, 7$. The rows add to $30, 30, 30$, the columns to $30, 30, 30$ and both diagonals to $30$, and the numbers are still distinct. Many other grids work too.

Yes, for example $13, 5, 12 \,/\, 9, 10, 11 \,/\, 8, 15, 7$. This is open-ended and other grids are fine.

Question 2

Give two examples of data for each condition: (i) $3$ numbers whose mean is $8$; (ii) $4$ numbers whose median is $15.5$; (iii) $5$ numbers whose mean is $13.6$; (iv) $6$ numbers whose mean equals the median; (v) $6$ numbers whose mean is greater than the median.

Solution. For a mean, make the sum equal to mean $\times$ count. For a median of an even count, make the two middle values average to the median. For mean $>$ median, include one very large value.

(i) Mean 8

The sum must be $3\times8=24$: $6+8+10$ and $7+8+9$.

For example $6, 8, 10$ and $7, 8, 9$ (any $3$ numbers with sum $24$).

(ii) Median 15.5

For four sorted numbers the median is the mean of the 2nd and 3rd, so they must add to $31$: $\frac{15+16}{2}=15.5$ and $\frac{12+19}{2}=15.5$.

For example $14, 15, 16, 17$ and $10, 12, 19, 31$ (the 2nd and 3rd values must add up to $31$).

(iii) Mean 13.6

The sum must be $5\times13.6=68$: $10+12+14+15+17=68$ and $13+13+14+14+14=68$.

For example $10, 12, 14, 15, 17$ and $13, 13, 14, 14, 14$ (any $5$ numbers with sum $68$).

(iv) Mean equals median

For $1, 2, 3, 4, 5, 6$ the mean is $\frac{21}{6}=3.5$ and the median is $\frac{3+4}{2}=3.5$. For six $2$s both are $2$.

For example $1, 2, 3, 4, 5, 6$ and $2, 2, 2, 2, 2, 2$.

(v) Mean greater than median

For $1, 1, 1, 1, 1, 10$ the mean is $\frac{15}{6}=2.5$ and the median is $1$. For $1, 2, 3, 4, 5, 20$ the mean is $\frac{35}{6}\approx5.83$ and the median is $3.5$.

For example $1, 1, 1, 1, 1, 10$ and $1, 2, 3, 4, 5, 20$.

Question 3

Fill in the blanks so that the median of the collection is $13$: $5, 21, 14, \_\_\_, \_\_\_, \_\_\_$. How many possibilities exist if only counting numbers are allowed?

Solution. With six numbers the median is the mean of the 3rd and 4th values in order, so these must add up to $26$. Since $14$ is one of the numbers, the partner in the middle must be $12$. So one blank is $12$, another is any counting number up to $12$, and the third is any counting number from $14$ upwards. For example the sorted list $5, 10, 12, 14, 21, 30$ has median $\frac{12+14}{2}=13$. The third blank has no upper limit, so there are infinitely many ways.

Infinitely many possibilities, for example $5, 21, 14, 12, 10, 30$ has median $13$.

Question 4

Fill in the blanks so that the mean of the collection is $6.5$: $3, 11, \_\_\_, \_\_\_, 15, 6$. How many possibilities exist if only counting numbers are allowed?

Solution. Six numbers with mean $6.5$ have sum $39$. The known numbers add up to $3+11+15+6=35$, so the two blanks add up to $4$. With counting numbers the pairs are $(1,3)$, $(2,2)$ and $(3,1)$.

$3$ possibilities for the two blanks in order: $(1,3)$, $(2,2)$, $(3,1)$ (only $2$ if the order of the blanks is ignored).

Question 5

Check whether each statement is true, justifying with algebra if needed. (i) The average of two even numbers is even. (ii) The average of any two multiples of $5$ is a multiple of $5$. (iii) The average of any $5$ multiples of $5$ is also a multiple of $5$.

Solution. One counter-example is enough to show that a statement is false.

(i) Two even numbers

The average of $2$ and $4$ is $3$, which is odd. With algebra, $\frac{2a+2b}{2}=a+b$, which can be odd.

False.

(ii) Two multiples of 5

$5$ and $10$ have average $7.5$, not a multiple of $5$. In algebra, $\frac{5a+5b}{2}$ need not even be a whole number.

False.

(iii) Five multiples of 5

$5, 5, 5, 5, 10$ add up to $30$ and have average $6$, not a multiple of $5$. In algebra the average is $\frac{5(a+b+c+d+e)}{5}=a+b+c+d+e$, which need not be a multiple of $5$.

False.

Question 6

Two new students joined Sudhakar’s class a couple of days after the average height was found to be $150.2$ cm. (i) Which statements are correct? (a) The average will increase as there are $2$ new values. (b) The average will remain the same. (c) The heights of the new students have to be measured to find the new average. (d) The heights of everyone in the class have to be measured again. (ii) The new heights are $149$ cm and $152$ cm. Which statements about the average are correct? (a) it stays the same (b) it increases (c) it decreases (d) the information is not sufficient. (iii) Which statements about the median are correct? (a) it stays the same (b) it increases (c) it decreases (d) the information is not sufficient.

Solution. The new total is the old total plus the two new heights, and the old total is already known from $150.2\times$ (number of students).

(i) The statements before the heights are known

The new average depends on the new heights, which could be high or low, so (a) and (b) need not be true. Nobody else needs to be measured again because the old total is already known, so (d) is wrong. The new heights must be measured.

(c)

(ii) The new joinees are 149 cm and 152 cm

Their average is $\frac{149+152}{2}=150.5$ cm, which is more than $150.2$ cm. Adding values whose average is above the old average raises the overall average.

(b) The average will increase.

(iii) The median

The median depends on the sorted heights of all the students, and we are not given those, so we cannot say whether it stays the same, rises or falls.

(d) The information is not sufficient to make a claim about the median.

Question 7

Is $17$ the average of the data in the dot plot? Share the method.

Solution. Read the crosses: $2$ at $14$, $2$ at $15$, $3$ at $16$, $5$ at $17$, $4$ at $18$, $4$ at $19$, $3$ at $20$, $1$ at $21$, none at $22$, $1$ at $23$. That is $2+2+3+5+4+4+3+1+1=25$ values with sum $28+30+48+85+72+76+60+21+23=443$. The mean is $\frac{443}{25}=17.72$. The tallest stack is at $17$, but that is the most common value (the mode), not the mean.

No. The average is $17.72$, not $17$.

Question 8

The average weight of a group was $65.3$ kg and the median $67$ kg last month. This month one person has lost $2$ kg and two have gained $1$ kg. What can we say about the change in mean and median?

Solution. The total change is $-2+1+1=0$ kg. The sum and the number of people are unchanged, so the mean is unchanged. The median depends on the middle value or values: the changes might push someone across the middle or might not touch it, so we cannot tell.

The mean stays the same at $65.3$ kg. The median may or may not change, so nothing can be said for sure.

Question 9

The table gives the January retail price (in ₹) of iodised salt in six states from 2016 to 2025. (i) Choose three states and present their data as a line graph on a suitable scale. (ii) What do you find interesting? (iii) Compare the price variation in Gujarat and Uttar Pradesh. (iv) In which state did the price rise the most from 2016 to 2025? (v) What are you curious to explore further?

Solution. The prices are in the table printed on page 129 of the book. Work from that table.

(i) A line graph of three states

Take Gujarat, Mizoram and West Bengal. Put the years $2016$ to $2025$ on the horizontal axis and the price on the vertical axis from $0$ to $35$ in steps of $5$. Plot rounded values, for example Gujarat $17, 15, 15, 15, 13, 14, 14, 15, 15, 19$, Mizoram $20, 20, 22, 22, 20, 22, 25, 28, 29, 30$ and West Bengal $9, 12, 12, 11, 11, 13, 16, 18, 22, 24$, and join each state’s points with its own marker and colour.

Open-ended drawing task. Plot the rounded yearly prices of any three states with a scale from $0$ to $35$ and join each state’s points.

(ii) What is interesting

Any sensible observation is welcome. For instance, West Bengal’s price rises almost every year and has more than doubled, Assam’s price doubled in one year (from $6$ to $12$ between 2016 and 2017), Gujarat’s price stayed in a narrow band for most years before jumping in 2025, and Mizoram is the most expensive throughout.

Open-ended. For example: West Bengal’s price rose almost every year, Assam’s doubled from $2016$ to $2017$, and Gujarat’s barely changed until $2025$.

(iii) Gujarat compared with Uttar Pradesh

Gujarat’s price had a minimum of ₹13 (2020) and a maximum of ₹19.2 (2025), a range of $19.2-13=6.2$. Uttar Pradesh had a minimum of ₹16.15 (2016) and a maximum of ₹26.9 (2024), a range of $26.9-16.15=10.75$.

Uttar Pradesh varies more than Gujarat. UP rose steadily from about ₹16 to about ₹27, while Gujarat stayed in a narrow band of about ₹13 to ₹19.

(iv) The biggest rise from 2016 to 2025

Increases: Andaman and Nicobar $20.99-16=4.99$; Assam $12.35-6=6.35$; Gujarat $19.2-16.5=2.7$; Mizoram $29.8-20=9.8$; Uttar Pradesh $24.81-16.15=8.66$; West Bengal $23.99-9.47=14.52$.

West Bengal, with a rise of about ₹14.52.

(v) What you are curious about

Open-ended. For example: why salt costs more in some states, and why prices jumped in certain years.

Question 10

The graph shows the share of households whose primary lighting source is electricity or kerosene in rural and urban India from 1983 to 2023. Which statements are valid? (i) In 1983 most rural households used kerosene while most urban households used electricity. (ii) Kerosene use has decreased over time in both rural and urban areas. (iii) In 2000, $10\%$ of urban households used electricity. (iv) In 2023 there were no power cuts.

Solution. Check each statement against the lines, and ask whether the graph can speak on the matter at all.

(i) The situation in 1983

In 1983 the rural kerosene line starts at about $83\%$ while rural electricity is only about $15\%$. In the urban graph electricity starts at about $64\%$ and kerosene at about $35\%$.

Valid. Rural: about $83\%$ kerosene against about $15\%$ electricity. Urban: about $64\%$ electricity.

(ii) Kerosene over time

Both kerosene lines slope downwards from 1983 to 2023, ending near $0\%$.

Valid. Kerosene use falls in both rural and urban areas.

(iii) Urban electricity in 2000

In 2000 the urban electricity line is at about $90\%$. It is the urban kerosene line that is near $10\%$, which is probably where the statement goes wrong.

Not valid. About $90\%$ of urban households used electricity in 2000, not $10\%$.

(iv) Power cuts in 2023

Not valid. The graph cannot support this statement.

The graph shows only the share of households using electricity or kerosene as their main lighting source. It says nothing about power cuts, and a household can use electricity as its main source and still face cuts.

Question 11

Answer based on the line graph of average daily time spent on hobbies and games. (i) How long do children aged $10$ in urban areas spend each day? (ii) At what age is the average time spent by rural kids $1.5$ hours? Options: (a) $8$ (b) $10$ (c) $12$ (d) $14$ (e) $18$ years. (iii) Are the statements correct? (a) The average time at age $15$ is twice that at age $10$. (b) All rural kids aged $15$ spend at least $1$ hour on hobbies and games every day.

Solution. Find the age on the horizontal axis, go up to the curve, then read across to the vertical axis.

(i) Urban children aged 10

The urban curve is just above the $2$ hour line at age $10$.

About $2$ hours a day.

(ii) Age at which rural kids average 1.5 hours

Start at $1.5$ hours, halfway between the $1$ h and $2$ h lines, and move across until you meet the rural (orange) curve. It crosses at about age $14$.

(d) $14$ years.

(iii) The two statements

(a) At age $15$ the urban value is only about $1.1$ hours, roughly half of the $2$ hours at age $10$ (the graph is falling, not rising), so it is not twice. (b) The graph shows averages. The average for rural kids at $15$ is a bit above $1$ hour, but that does not mean every child spends at least an hour.

(a) Not correct (it is about half, not double). (b) Not correct (an average says nothing about every child).

Question 12

Individual project: make your own activity strip for different days of the week. (i) Do you eat and sleep at regular times every day? How long do you typically spend outdoors? (ii) Calculate the average time spent per activity and represent this average day with a strip. (iii) Track the activities of an adult at home and compare.

Solution. This is a personal activity, so the answer depends on your own days. Each strip has $48$ boxes of $30$ minutes, so every box is half an hour.

(i) Regular times

Open-ended. Compare the strips for several days: if sleep and meals fall in the same boxes each day, the routine is regular. Typical outdoor time is also read by counting boxes.

(ii) The average day

For each activity, count its boxes on each day you recorded, add them and divide by the number of days. A model: sleeping $16, 15, 17$ boxes on three days gives $\frac{48}{3}=16$ boxes, which is $8$ hours. Colour that many boxes for each activity, in a sensible order, to make the average strip.

Open-ended. Average boxes per activity $=$ (total boxes over the days) $\div$ (number of days), then colour the strip. For example sleep: $\frac{16+15+17}{3}=16$ boxes $=8$ hours.

(iii) An adult’s strip

Open-ended. Make a strip for an adult and compare, for example the length of sleep, working hours and time for hobbies.

Question 13

Small group project (groups of $3$ or $4$). Do at least one: (i) track the daily sleep of all family members for a week, represent it on strips, pool the group’s data, calculate the average and median sleep of children, adults and the elderly, and share findings; (ii) collect the daily timings of different schools for Grade $8$, including class and break time, then analyse and present them (Manoj’s school runs from $9{:}30$ am to $4{:}30$ pm, which is $7$ hours).

Solution. Both are projects. In (i) the average is the total hours of sleep divided by the number of values and the median is the middle value of the sorted list, taken separately for each age group. In (ii) work out each school’s length of day as end time minus start time, then compare means and medians of the day length and the break time.

(i) Sleep project

Open-ended project. For each group (children, adults, elderly), list the daily sleep values, find the mean as total $\div$ count and the median as the middle sorted value, then compare.

(ii) School timings project

Open-ended project. For each school, day length $=$ end time $-$ start time (Manoj’s is $7$ hours), then compare the mean and median and present them in a table or graph.

Question 14

The graphs show sunrise and sunset times across the year at $4$ places in India (Kibithu, Ghuar Moti, Srinagar, Kanyakumari). Are you able to identify the sunrise and sunset lines? (i) Where does the sun rise earliest in January, and what is the approximate day length there? (ii) Which place has the longest day length over the year? (iii) Share your observations and what you are curious to find out.

Solution. In each graph the upper line (around $16{:}00$ to $20{:}00$) is the sunset and the lower line (around $04{:}00$ to $08{:}00$) is the sunrise. Day length is sunset minus sunrise.

(i) Earliest sunrise in January

In January Kibithu’s sunrise is at about $06{:}00$, the earliest of the four (Kanyakumari about $06{:}40$, Srinagar and Ghuar Moti about $07{:}45$). Its sunset is about $16{:}30$, so the day is about $10.5$ hours.

Kibithu, with a January day of about $10.5$ hours (sunrise near $06{:}00$, sunset near $16{:}30$).

(ii) Longest day of the year

The longest days come around June and July. Srinagar: sunrise about $05{:}25$, sunset about $19{:}45$, a day of about $14.3$ hours. Kibithu is about $14$ hours, Ghuar Moti about $13.5$ hours, and Kanyakumari barely changes from about $12$ hours.

Srinagar, with a longest day of about $14$ to $14.5$ hours around June.

(iii) Observations

Open-ended. For example: Kanyakumari, near the equator, has an almost constant day length; places farther north have much longer summer days than winter days; Kibithu in the east has sunrise and sunset much earlier than Ghuar Moti in the west. One might wonder why.

Question 15

The graph shows moonrise (yellow diamonds) and moonset (blue squares) times over a month. (i) On what dates were amavasya (new moon) and purnima (full moon)? (ii) What do you notice? What do you wonder?

Solution. At the new moon the moon rises and sets roughly with the sun, so moonrise is near $06{:}00$ and moonset near $18{:}00$. At the full moon it is the other way round: moonrise is near $18{:}00$ (sunset) and moonset near $06{:}00$ (sunrise).

(i) The two dates

The moonrise line reaches about $18{:}00$ near the middle of the month, while moonset is about $06{:}00$ a little earlier, around the 13th. Moonrise is about $06{:}00$ and moonset about $18{:}00$ around the 28th and 29th.

Purnima about the 13th (roughly the 12th to 14th) and amavasya about the 28th to 29th of the month.

(ii) What do you notice

Open-ended. For example: both moonrise and moonset get later by roughly $50$ minutes every day, unlike the sun, so the lines slope upwards, and the pattern repeats about every $29$ to $30$ days. One might wonder why it is about $50$ minutes and not $24$ hours, which is because the moon also moves around the Earth.

Common mistakes

  • Question 1: making a row sum to $10$ instead of $30$. An average of $10$ over three numbers needs a sum of $30$.
  • Question 3: forgetting that with $6$ numbers the median uses the 3rd and 4th values, not just one middle number.
  • Question 4: treating $(1,3)$ and $(3,1)$ as the same pair. Blanks are in a fixed order, so there are $3$ fillings, and $2$ only if order is ignored.
  • Question 5: testing only one example that works and then calling the statement true. One counter-example proves it false.
  • Question 7: taking the tallest stack of dots as the average. The tallest stack is the mode.
  • Question 10 (iii): mixing up the electricity and kerosene lines, and (iv) claiming something the graph does not contain.
  • Question 11 (iii): treating an average as if it described every individual.

Practise next

Done with this exercise? Try the short quiz on the whole chapter — free, no sign-in needed.

Keep track of what you have finished — create a free account.

Doubts are answered by Shiwam, usually within a day. Ask about this question specifically — a general question about the chapter is better asked in class.

Ask your doubt

Stuck on this question? Ask Shiwam directly.

A free account lets you post a doubt on any question, keep track of the exercises you have finished, and come back to the answer later.

Create a free accountI already have one