Tales by Dots and Lines

Chapter 5 · Mathematics · Class 8 30 min read

Why This Matters

Open any newspaper. You will see numbers everywhere. The average rainfall this year. The middle income of a town. A graph of cricket scores match by match. A chart of who likes which subject in a class.

These are not just numbers. They are stories. A line that climbs tells the story of something growing. A short bar next to a tall one tells you one thing is far less common than another. A single dot sitting far away from the rest tells you something unusual happened.

But here is the catch. The same data can be told in honest ways and misleading ways. A shop owner could say “our customers spend ₹500 on average” — and that could be true even if almost everyone spends ₹100 and one rich customer spent ₹5000. The “average” hid the real story.

This chapter teaches you to read these stories carefully and tell them clearly. You will understand what an average really means (it is a balance point, not just a sum-divided-by-count). You will learn when the average lies and the median tells the truth. And you will learn to draw and read the pictures — dot plots, bar graphs and line graphs — that turn a pile of numbers into something you can see in one glance.

The Big Idea

The mean (average) of data is a balance point: it sits at the spot where the total distance to the values on its left exactly equals the total distance to the values on its right. The median is simply the middle value when the data is lined up in order. The mean uses every value, so one far-away value (an outlier) can drag it; the median only watches the middle, so it stays steady. To see data instead of just listing it, we draw dot plots (a dot for each value), bar graphs (bar height shows a count) and line graphs (a line shows how something changes over time).

Let’s Break It Down

Last year you met the mean and the median. We will not just repeat them. We will look at them in a fresh way and learn why they behave the way they do. Let us first jog your memory.

The mean is a balance point

Take just two numbers, say 3 and 7. Their mean is (3 + 7) ÷ 2 = 5. Notice something: 5 is exactly halfway between 3 and 7. It is 2 away from 3 on the left and 2 away from 7 on the right. The two distances are equal.

This is the real secret of the mean. The mean is the point where the data “balances”. Imagine the values as little weights placed along a ruler, and imagine the ruler resting on a single support, like a see-saw. The mean is exactly where you must put the support so the see-saw does not tip either way.

But be careful. People sometimes think the mean is just the middle of the smallest and largest value. It is not. What is really equal is the total distance on each side. Let us see this with the data 10, 10, 11, 17, whose mean is 12. Figure 5.1 below shows the see-saw.

A see-saw resting on a support at the value 12. Weights for 10, 10 and 11 sit on the left, and a weight for 17 sits on the right. The total distance on the left, 5, equals the total distance on the right, 5, so the see-saw balances at 12.
Figure 5.1 — The mean as a balance point. The four data values 10, 10, 11 and 17 are placed as weights along a number line. The blue support (triangle) is at the mean, 12. On the left, 10 is 2 away (and there are two of them, so 2 + 2), and 11 is 1 away — a left total of 2 + 2 + 1 = 5. On the right, the single value 17 is 5 away — a right total of 5. Because the left total (5) equals the right total (5), the distances balance, and the see-saw rests level exactly at 12. This is what it means to say the mean is the centre: the pulls from both sides cancel out.

Let us check that arithmetic, because it is the whole point. To the left of 12: the value 10 is 2 away, the second 10 is also 2 away, and 11 is 1 away. Add those distances: 2 + 2 + 1 = 5. To the right of 12: only 17, which is 17 − 12 = 5 away. Both sides total 5. They balance.

Total distance to the values on the left = total distance to the values on the right.

This also explains why there is only one mean. Suppose you tried a centre bigger than 12, say 13. Then every left value is now further away (their distances all grow) and the right value 17 is now closer (its distance shrinks). The two sides no longer match — 13 is not a balance point. The same goes for any value below 12. So 12 is the only place that balances, which is why every data set has exactly one mean.

Concept check

The mean of some data is 20. One value in the data is 26. How far is that value from the mean, and is it on the left or right of the balance point?

What happens to the mean when data changes?

Because the mean is a balance point, we can predict how it moves without redoing the whole sum. This saves a lot of work.

Adding a value bigger than the mean pushes the mean up. Think of the see-saw. If you drop a new weight far out on the right, the right side gets heavier, so the balance point must shift right to even things out. So the mean increases. In the same way, adding a value smaller than the mean pulls the mean down.

Adding a value exactly equal to the mean changes nothing. A weight placed right on the support does not tip the see-saw at all. So the mean stays the same.

Add the same number to every value, and the mean shifts by that same number. If every score goes up by 10, the whole picture slides 10 to the right — so its balance point slides 10 to the right too. Let us prove this neatly with algebra.

Why adding a fixed number to every value shifts the mean

The mean of some data is a. Now we add the number 3 to every single value. Show that the new mean is a + 3.

Double every value, and the mean doubles. If you stretch every weight’s position to twice its distance from zero, the whole arrangement stretches out, and so does the balance point. By the same algebra (multiply each value by 5, factor the 5 out of the sum), multiplying every value by a number multiplies the mean by that number too.

This idea is genuinely useful. Here is a classic example.

Correcting an average without re-measuring

Shreyas measured the heights of 24 students and got an average of 150.2 cm. Then the teacher noticed every student was wearing shoes that add 1 cm to their height. What is the correct average height (without shoes)? Do we need to measure everyone again?

Finding a missing value using the mean

The mean links the sum and the count. If you know the mean and the count, you know the sum. That lets you fish out a missing value.

The smudged weight

Coach Balwan wrote down the weights of 10 wrestlers: 42, 40, 39, 33, 48, 38, 42, 35, 32, and one more that got smudged. The mean weight is 39.2 kg. Find the smudged weight w.

When the median beats the mean: outliers

Here is where the mean can mislead. An outlier is a value that sits far away from all the others — a giant or a tiny one.

Because the mean uses every value in its sum, a single outlier can drag it a long way. The median, on the other hand, only watches the middle position. It does not care how far out the extreme value is. So an outlier usually pulls the mean but leaves the median calm.

Let us see it with five test marks: 18, 19, 20, 21, 22. Both the mean and median are 20. Now imagine the last mark was actually 90 (maybe a typing error, or one student who did spectacularly). Figure 5.2 below compares the two cases.

Two number lines. In panel a, the marks 18, 19, 20, 21, 22 are bunched together, with mean and median both at 20. In panel b, the last mark is 90, far to the right. The mean is dragged to 33.6 while the median stays at 20.
Figure 5.2 — An outlier pulls the mean but not the median. Panel (a) shows ordinary marks 18, 19, 20, 21, 22 bunched together; the mean (red) and median (green) both sit at 20. Panel (b) replaces the last mark with 90 — an outlier, circled in yellow far to the right. The mean is now (18 + 19 + 20 + 21 + 90) ÷ 5 = 33.6, dragged towards the outlier (red dashed arrow). But the middle value of the sorted list is still 20, so the median (green) does not move. When data has an outlier, the median often describes the typical value better than the mean.

Check the mean in case (b): (18 + 19 + 20 + 21 + 90) ÷ 5 = 168 ÷ 5 = 33.6. That “average” of 33.6 is higher than four of the five marks! It does not describe a typical student at all. The median, 20, still does. This is why, for things like incomes or house prices where a few huge values exist, people often report the median — it is not fooled by the giants.

The median follows its own version of the “include a value” rule too. If you add a value bigger than the current median, the middle shifts up a little, so the median rises (or stays). Add a value smaller than the median, and it falls (or stays). But it shifts gently, by position — never leaping the way the mean can.

Concept check

A small company has salaries (in thousands) of 20, 22, 24, 25, and the owner takes 500. Would the mean or the median better describe a typical worker's salary?

Organising data with frequencies

When the same value appears many times, writing it out again and again is wasteful. Instead we make a frequency table: one row of values, one row saying how many times (the frequency) each value occurs.

Say we collect the family size of 36 students. The table might look like this:

Family size345678910
Frequency (no. of students)311973111

A tempting mistake is to do (3 + 4 + 5 + 6 + 7 + 8 + 9 + 10) ÷ 8. But that pretends each value happened once! The number 4 happened eleven times — it should count eleven times. To find the mean, multiply each value by its frequency, add those up, and divide by the total count.

Mean and median from a frequency table

Using the family-size table above (36 students in all), find the mean and the median family size.

Notice the trick in Step 4: we did not write out all 36 numbers. By adding up frequencies, we found which value sits in the middle positions quickly. This is the everyday way to read a median off a frequency table.

Visualising data: dot plots

Numbers in a list are hard to feel. A picture makes the shape of the data jump out. The simplest picture is a dot plot: draw a number line, and put one dot above a value for each time it occurs. A tall stack means that value is common.

Here is the same family-size data as a dot plot (using a smaller class so it is easy to see). Figure 5.3 shows it.

A dot plot of family size. Above 3 there are 3 dots, above 4 there are 6 dots, above 5 there are 4 dots, above 6 there are 2 dots, above 7 there is 1 dot. A red dashed line marks the mean near 4.4.
Figure 5.3 — A dot plot of family size. Along the bottom is a number line of family sizes (3 to 7). Each blue dot stands for one student, stacked above the value that student reported. The stack above 4 is the tallest (6 dots), so 4 is the most common family size; only 1 student reported 7. The red dashed line marks the mean (about 4.4). A dot plot lets you see at a glance where the data piles up and where the balance point lies.

A dot plot is great for small data. You can instantly spot the most common value (the tallest stack), any gaps, and any lonely dot far from the rest (an outlier). And because you can see each value’s distance from the centre, a dot plot is the natural way to picture the balance-point idea.

Visualising data: bar graphs

When you are comparing separate groups — not a number line, but categories like fruits or subjects — a bar graph is the right picture. Each group gets a bar, and the bar’s height shows its count. Taller bar, bigger count.

The most important rule: the heights must be drawn to scale. If 12 is the value, the bar must reach the 12 mark on the vertical axis — not “a bit taller than the others”. Figure 5.4 shows a bar graph of favourite fruits, drawn carefully to scale.

A bar graph of favourite fruit. Mango 12, banana 9, apple 6, orange 4, guava 3. Each bar's height matches its number on the vertical scale, so mango is tallest and guava shortest.
Figure 5.4 — A bar graph of the favourite fruit in a class. The vertical axis counts the number of students (marked 0, 2, 4, … up to 12); the horizontal axis lists the fruits. Each bar's height is drawn exactly to that scale: mango reaches 12, banana 9, apple 6, orange 4, guava 3. Because the heights are true to scale, you can compare groups just by comparing bar heights — mango is the clear favourite, more than double apple. Note the bars are separated by gaps, because the categories (fruits) are separate things, not points on a number line.

To read a bar graph, look across from the top of a bar to the vertical scale. To draw one: choose a scale that fits your biggest value, mark the axis evenly, then draw each bar up to its value. Keep all bars the same width and leave equal gaps.

Visualising data: line graphs

Now the most powerful picture for one special job: showing how something changes over time. For that, we use a line graph. We mark each value as a point, then join the points in time order with straight line segments. The line itself tells the story — climbing, falling, flat.

Figure 5.5 below shows the monthly maximum temperature of two states across a year.

A line graph of monthly maximum temperature for two states. Punjab, blue circles, rises from about 19 in January to about 38 in June, then falls to about 23 in December. Kerala, red squares, stays nearly flat between 29 and 33 all year.
Figure 5.5 — A line graph comparing the monthly maximum temperature of two states. The horizontal axis is the month (January to December); the vertical axis is temperature in degrees Celsius. Punjab (blue line, circle markers) starts cool near 19°C in January, climbs steeply to a peak around 38°C in June, then falls steadily to about 23°C by December — a line that rises and falls a lot. Kerala (red line, square markers) stays nearly flat between 29°C and 33°C all year. Reading the picture: the steepness of a line segment shows how fast the value is changing, so Punjab's steep slopes mean rapid change, while Kerala's flat line means its temperature barely shifts across the year. The different marker shapes (circles vs squares) let you tell the two lines apart even in black and white.

Read a line graph in two steps. Step 1 — identify what is given: what do the axes measure, what scale is used, which line is which (here, circles vs squares and a legend tell you). Step 2 — infer and interpret: read the trend. In Figure 5.5, Punjab’s temperature varies a lot (steep rise to June, steep fall after), while Kerala’s is almost constant. The steeper a segment, the faster the change.

Why a line graph and not 24 separate bars? Because the line connects the points, your eye follows the trend smoothly. A clustered bar graph of 12 months × 2 states would be 24 bars crowded together — hard to read the pattern. Line graphs are made for change over time.

Concept check

You want to show how the price of petrol changed each month over the last year. Which graph fits best — a bar graph or a line graph?

Common Mistakes

These slips trip up students every year. Read them once and you will dodge them.

⚠️ Common mistake
What students think

The mean is just the middle of the smallest and largest value (smallest plus largest, divided by 2).

Why it seems right

For two numbers, the mean really is exactly halfway between them, so students over-generalise that nice rule to all data sets.

What actually happens

With three or more values, the mean is the balance point, where the total distance to the values on each side is equal — not the midpoint of the extremes. For 10, 10, 11, 17 the midpoint of 10 and 17 is 13.5, but the actual mean is 12. You must add ALL the values and divide by how many there are.

⚠️ Common mistake
What students think

To find the mean from a frequency table, just add up the different values and divide by how many different values there are.

Why it seems right

The frequency table lists each value only once, so it looks like a short list of a few numbers, and students average those few numbers directly.

What actually happens

Each value must be counted as many times as its frequency. Multiply every value by its frequency, add those products, then divide by the TOTAL count (the sum of the frequencies), not by the number of different values. A value that occurs 11 times pulls the mean 11 times as hard as one that occurs once.

⚠️ Common mistake
What students think

An outlier (one very big or very small value) changes the median just as much as it changes the mean.

Why it seems right

Since an outlier clearly shifts the mean a lot, it feels like it must shake up every measure of the centre, including the median.

What actually happens

The mean adds every value, so a far-out value drags it hard. The median only depends on the MIDDLE position, not on how extreme a value is. So an outlier usually moves the mean a lot but leaves the median almost or completely unchanged. That is exactly why the median is safer when outliers are present.

Quick Check

Try these. Each one checks an idea from the chapter.

The mean is best described as which of these?

The mean of some data is 50. You add one new value, 80. What happens to the mean?

A data set is 12, 13, 14, 15, 200. Which measure best describes a typical value?

You want to show how a town's population changed every year from 2015 to 2024. Which graph is the best choice?

Practice Problems

Try each one yourself first. Only then tap to see the full solution.

Easy

easy

Find the mean of 8, 10, 12, 14, 16.

easy

The mean of a set of 15 values is 134. Find the sum of the data.

Medium

medium

The mean of 8, 13, 10, 4, 5, 20, y, 10 is 10.375. Find the value of y.

medium

Shreyas measured 24 students' heights and got an average of 150.2 cm, but everyone wore shoes adding 1 cm. Two new students then joined, with heights (without shoes) of 149 cm and 152 cm. (a) What is the correct average of the original 24, without shoes? (b) After the 2 join, does the average go up, down, or stay the same?

medium

The number of trials students took to hit a dart board's centre is given. No. of trials: 5, 6, 7, 8, 9, 10. No. of students: 4, 9, 12, 15, 10, 10. Find the mean number of trials (round to one decimal place).

Challenge

challenge

Find the median of 8, 10, 19, 23, 26, 34, 40, 41, 41, 48, 51, 55, 70, 84, 91, 92. Then: (i) what single value could you add WITHOUT changing the median? (ii) what value could you remove without changing the median?

challenge

The mean of the numbers 12, 47, 8, 73, 18, 35, 39, 8, 29, 25, p is unknown, but the median of these 11 numbers is 29. Which of these could p be: 10, 25, 40, 100, 29, 47, 30?

challenge

The weights of a group were measured each month. Last month the mean was 65.3 kg and the median was 67 kg. This month, one person lost 2 kg and two people gained 1 kg each. What can we say about the change in the mean and the median?

Summary

  • The mean (average) = sum of all values ÷ number of values. Deeper still, the mean is a balance point: the total distance to the values on its left equals the total distance on its right. That is why each data set has exactly one mean.
  • Because the mean balances, you can predict its moves: adding a value above the mean raises it, a value below lowers it, and a value equal to it changes nothing. Add a fixed number to every value and the mean shifts by that number; double every value and the mean doubles.
  • The median is the middle value of the sorted data (the average of the two middle values if the count is even). You can find it from a frequency table by adding up frequencies until you reach the middle position.
  • An outlier (a far-away value) drags the mean but usually leaves the median steady, so the median often describes a typical value better when extremes are present.
  • To find a mean from a frequency table, multiply each value by its frequency, add the products, and divide by the total count.
  • Dot plots show each value as a dot (good for small data and spotting outliers). Bar graphs compare separate groups by bar height, drawn to scale. Line graphs join points in time order and are best for showing change over time — the steeper the line, the faster the change.

What’s Next

You can now read a pile of numbers as a story — where its centre sits, when an average can mislead, and which picture tells the tale best. That habit of asking “what is this data really saying?” is a life skill, not just an exam topic.

Next we return to the world of symbols and patterns. The next chapter is Algebra Play, where you will use letters to stand for numbers and uncover the rules that hide behind them. See you there!

Frequently Asked Questions

What is the mean of a set of numbers?

The mean, also called the average, is the sum of all the values divided by how many values there are. For example, the mean of 4, 6 and 8 is (4 + 6 + 8) divided by 3, which is 18 divided by 3, equal to 6. The mean acts like a balance point of the data.

What is the difference between mean and median?

The mean is the sum of all values divided by the number of values. The median is the middle value when the data is sorted in order. If there are two middle values, the median is the average of those two. The mean uses every value, but the median only looks at the position in the middle.

Why does the median not change when there is an outlier?

An outlier is a value far away from the rest. The mean adds up every value, so a very large or very small value drags it. The median only cares about the middle position, not how far away the extreme value is, so one outlier usually leaves the median unchanged.

What happens to the mean if every value increases by the same number?

The mean increases by that same number. If you add 10 to every value, the whole data shifts right by 10, so its balance point also shifts right by 10. In the same way, if every value is doubled, the mean doubles too.

When should I use a line graph instead of a bar graph?

Use a line graph when you want to show how a value changes over time, like temperature across months. The connected line makes the trend easy to see. A bar graph is better for comparing separate groups, like the favourite fruit of a class.