MathemagiciansLibraryExplorationsDeep Dives
← Physics · Lower Secondary
PhysicsLower Secondary

Recording and processing data — tables and graphs

LSP1.2 — Measurement TechniquesLecture 2 of 2~2440 words

A table that hides a mistake

Ana hangs masses on a spring and measures its length each time. Here are her results. One of them is wrong. Can you find it?

Mass added in gLength in cm
010.1
5012.3
10014.7
15018.6
20019.4
25022.0

Every length is bigger than the one before, so nothing looks strange. To find the problem in the table, you would have to work out each step: 2.2, 2.4, 3.9, 0.8, 2.6. Few people do that. Now look at the same six numbers as a graph.

0 5 10 15 20 25 0 50 100 150 200 250 Mass added in g Length in cm anomalous
Ana's six readings. Five lie close to one straight line. The reading at 150 g sits well above it, so it is ringed as an anomalous reading.

The mistake is obvious at once. The reading at 150 g sits well above the line made by the other five. Ana measured again and got 17.4 cm. She had read the scale wrongly the first time.

This is the difference between a table and a graph. A table stores numbers safely. A graph shows the pattern in them, and anything that breaks the pattern. This lecture shows how to build both properly, and how to read real physics from a graph: its shape and its gradient.

Building a table that works

In an experiment, you change one quantity and measure another. The quantity you choose and change is the independent variable. Here it is the mass added. The quantity you measure is the dependent variable, because it depends on your choice. Here it is the length. A good table follows four rules, and each rule has a reason.

1. The independent variable goes in the first column. You decide its values before you start, so you can write that column in advance. The readings then fill the columns to its right.

2. Each heading gives the quantity and its unit. Write "Length in cm" at the top, and only numbers below it. The unit is written once, so it cannot be forgotten. The cells are plain numbers, so they are easy to compare. Some books write "Length (cm)" or "Length / cm". All three mean the same thing. Choose one form and use it for the whole table.

3. Every number in a column has the same number of decimal places. The lecture on measuring showed that you record a reading to the smallest division of the instrument. A ruler marked in millimetres reads to 0.1 cm. So a length of exactly 13 cm is written 13.0 cm. The ".0" is not decoration. It says "I measured this to the nearest 0.1 cm, and it was 13.0."

4. Repeat readings get their own columns, followed by a mean. The last lecture showed why. Repeating reduces random error, and a reading that is far from its repeat may be a mistake. Give the mean to the same number of decimal places as the readings. Leave out any anomalous reading, and measure it again if you can.

A good results table

Independent variable in the first column. Quantity and unit in every heading, numbers only in the cells. The same number of decimal places down each column. Repeats, then a mean, with anomalous readings left out.

Stop and think

A student's table has the heading "Time" and the entries 4.2 s, 4.25 s, 4 s and 3.9 s. What is wrong with it?

Show the answer

Three things. The unit should be in the heading ("Time in s"), not in every cell. The decimal places are mixed: a stopwatch read to 0.1 s gives 4.2, 4.3 (if 4.25 was rounded) and 4.0, not 4.25 and 4. And "4" hides how carefully it was read. Was it 4.0 or about 4? The corrected column reads 4.2, 4.3, 4.0, 3.9.

From a table to a graph

A graph turns each row of the table into one point. The rules for a good graph also have reasons.

Why not join the dots? Every reading has a little random error. Joining the dots draws every one of those errors as a bend in the line. The line of best fit is your best guess at the true relationship, with the random errors smoothed out. That is why it is more trustworthy than any single point.

The gradient: the physics inside the line

Here is Ana's corrected data, with its line of best fit. Notice that the line does not pass through the origin. With no mass added, the spring is still 10.0 cm long. That is its natural length.

0 5 10 15 20 25 0 50 100 150 200 250 Mass added in g Length in cm run = 200 g rise = 9.6 cm AB
Ana's corrected readings and the line of best fit. The gradient triangle joins two points on the line, A (25 g, 11.2 cm) and B (225 g, 20.8 cm).

The gradient of a straight line tells you how steep it is: how much the quantity going up changes for each unit along the bottom.

To find it, choose two points on the drawn line, far apart. Here they are A (25 g, 11.2 cm) and B (225 g, 20.8 cm). Read their values from the scales, not by counting squares.

The unit of a gradient is always the unit up the side divided by the unit along the bottom. Here it is cm/g. Now say what it means: each extra gram stretches the spring by about 0.048 cm. So 100 g stretches it by about 4.8 cm.

That is it. That is the whole idea of a gradient in physics. It is not just a steepness. It is a real quantity with a unit, and it describes the object you measured. A stiffer spring would give a shallower line and a smaller gradient.

Why points on the line, and why far apart? Try it yourself below.

Graph builder — where should a gradient come from?

Move points A and B along the line of best fit and watch the gradient. Then try the buttons below, which use two of Ana's data points instead. Compare the answers.

Point A: 25 g

Point B: 225 g

Two data points:

The table compares gradients found from two points on Ana's line of best fit with gradients found from two of her data points.

Two points usedRise in cmRun in gGradient in cm/g
On the line: 25 g and 225 g9.62000.048
On the line: 100 g and 150 g2.4500.048
Data: 0 g and 250 g11.92500.048
Data: 100 g and 150 g2.7500.054
Data: 150 g and 200 g2.0500.040
Data: 200 g and 250 g2.6500.052

Every pair of points on the line gave 0.048 cm/g, because a straight line has the same gradient everywhere. Pairs of data points gave answers from 0.040 to 0.054 cm/g. Each data point carries its own small random error, and the line was drawn to smooth those errors out. Using two data points puts those errors back into the answer. Points far apart help too: a small mistake in reading a value matters less when it is divided by a large run.

What the shape of a graph tells you

Before you calculate anything, look at the shape. There are four shapes you will meet again and again.

Straight line through the origin y is directly proportional to x:double x, and y doubles. Straight line, not through the origin equal steps in x give equal steps in y,but y does not start at 0. Curve getting steeper the gradient increases:y changes faster and faster. Curve getting less steep the gradient decreases:y changes more and more slowly.
Four common graph shapes and what each one means. Falling versions of each shape mean the same things, with going down instead of up.

The spring's length graph is a straight line that does not pass through the origin. But the length is not the only way to measure the stretch. Subtract the natural length, 10.0 cm, from every length. What is left is the extension: how much longer the spring has become. With no mass, the extension is 0. So the extension graph passes through the origin. It is the same line, moved down by 10.0 cm.

A straight line through the origin means "directly proportional". Double the mass, and the extension doubles: 100 g gives about 4.8 cm, and 200 g gives about 9.6 cm. A later lecture on springs builds on exactly this graph. It plots the force on the spring, in newtons, against the extension, and calls the gradient the spring constant.

Now sort some real situations by the shape of their graphs.

Sorter — what shape would the graph be?

For each situation, imagine the graph, with the first quantity up the side and the second along the bottom. Put the card in the box for its shape.

Nine situations, sorted by the shape of their graphs, with the reason for each.

  • Through the origin: extension of a spring against the mass hung on it (before it is overstretched). No mass gives no extension, and double the mass gives double the extension.
  • Through the origin: mass of water against the volume poured into a beaker. Each cm³ of water adds the same mass, and no water has no mass.
  • Through the origin: distance travelled against time, for a car at a steady speed, timed from the start. Each second adds the same distance, starting from 0.
  • Straight, not through the origin: length of a spring against the mass hung on it. Each gram adds the same stretch, but the spring has a length before any mass is added.
  • Straight, not through the origin: cost of a taxi ride against distance, with a fixed starting charge. Each kilometre adds the same amount, on top of the starting charge.
  • Getting steeper: distance fallen by a dropped stone against time. The stone speeds up, so each second it falls further than the second before.
  • Getting steeper: area of a square against the length of its side. Area = side × side, so each extra centimetre of side adds more area than the one before.
  • Getting less steep: temperature of a cup of hot water against time as it cools. It cools quickly at first, then more and more slowly as it nears room temperature.
  • Getting less steep: distance travelled by a bicycle against time as it brakes to a stop. It slows down, so each second it covers less distance, until the distance stops changing.

Worked examples

Worked Example 1 — Completing a table with repeats

Kofi measures the length of a different spring twice for each mass. At 150 g his readings are 17.2 cm and 18.9 cm, so he takes a third reading: 17.4 cm. Complete the mean column.

Mass added in gLength in cm (1st)Length in cm (2nd)Mean length in cm
010.010.010.0
5012.512.312.4
10014.815.014.9
15017.218.9 (17.4)17.3
20019.619.819.7

Most pairs of readings differ by 0.2 cm or less. At 150 g they differ by 1.7 cm, so one of them is almost certainly a mistake. The third reading, 17.4 cm, agrees with 17.2 cm. So 18.9 cm is anomalous and is left out.

Mean at 150 g: cm. The other means are found the same way, for example cm. Every mean is given to 0.1 cm, like the readings.

Check: the means rise by 2.4, 2.5, 2.4 and 2.4 cm for each 50 g. These steps are steady, so no anomalous value is hiding in the mean column.

Worked Example 2 — Gradient from the line, not from the table

A student finds the gradient of Kofi's graph using the first and last rows of the table, (0, 10.0) and (200, 19.7). Is that the right method? Kofi's line of best fit passes through (20 g, 11.0 cm) and (180 g, 18.8 cm). Find the gradient properly.

The student's method is wrong, even if the answer is close. Rows of the table are data points, and each has its own random error. The gradient must come from points on the drawn line.

Answer: about 0.049 cm/g. Each extra gram tends to stretch Kofi's spring by about 0.049 cm.

Check: from 0 g to 200 g the line should rise by about cm, and the means rise by 9.7 cm. They agree closely, as they should when the points lie near the line.

Worked Example 3 — Choosing a scale

Times from 0 to 48 s must go along the bottom of a grid that is 10 large squares wide. Which scale should you choose: 2, 4, 5 or 10 seconds for each large square?

Work out how many squares each scale needs for 48 s.

  • 2 s per square: 48 ÷ 2 = 24 squares. Too many: it does not fit.
  • 4 s per square: 48 ÷ 4 = 12 squares. It still does not fit.
  • 5 s per square: 48 ÷ 5 = 9.6 squares. It fits, and uses almost the whole width.
  • 10 s per square: 48 ÷ 10 = 4.8 squares. It fits, but uses less than half the width.

Answer: 5 s per large square. It is an even step, it fits, and it spreads the points widely.

Check: with 5 s per square, a time of 32 s is 6.4 squares along, which is easy to place.

Trap 1 — Joining the dots

A line from point to point draws every random error as a bend. Draw one straight line or one smooth curve of best fit, with points on both sides of it.

Trap 2 — Gradient from two data points

Rows of the table are not points on the line. Read two points from the drawn line, far apart, and read their values from the scales. Then give the gradient a unit.

Trap 3 — Units in the cells, or no units at all

"Length" with no unit, or "12.4 cm" in every cell, makes a table harder to read and easier to get wrong. Put the unit once, in the heading, and write only numbers below it.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Rewrite this table correctly. Headings: "Temperature", "Time". Rows: (2 min, 25 °C), (4 min, 31.5 °C), (6 min, 38 °C), (8 min, 44.5 °C). The time was chosen in advance, and the thermometer reads to 0.5 °C.

    Hint 1

    Which variable was chosen in advance? That one goes first.

    Hint 2

    Move the units into the headings. Then look at the decimal places in the temperature column.

    Full answer

    Time is the independent variable, so it goes in the first column. Headings: "Time in min" and "Temperature in °C". Rows: 2, 25.0 · 4, 31.5 · 6, 38.0 · 8, 44.5. The temperatures were read to 0.5 °C, so each is written with one decimal place: 25.0 and 38.0, not 25 and 38. Check: no cell contains a unit, and each column has one consistent style.

  2. Lina times a ball rolling down a ramp three times: 2.14 s, 2.09 s and 2.71 s. Which value should she use as the time? Explain.

    Hint 1

    Compare each reading with the other two. Is one far from the rest?

    Hint 2

    An anomalous reading is left out of the mean. Then give the mean to the same number of decimal places as the readings.

    Full answer

    2.14 s and 2.09 s are 0.05 s apart, but 2.71 s is about 0.6 s longer than both. That is far more than the usual scatter, so 2.71 s is anomalous: perhaps the stopwatch was stopped late. Leave it out and, if possible, repeat. Mean = (2.14 + 2.09) ÷ 2 = 2.115 s, which is 2.12 s to two decimal places (2.115 sits exactly halfway, and the usual rule rounds a 5 up). Check: 2.12 s lies between the two readings used, as a mean must.

  3. A toy car moves along a track. Its distance-time graph is a straight line of best fit through the points (1.0 s, 0.8 m) and (5.0 s, 4.0 m). Find the gradient, give its unit, and say what it means.

    Hint 1

    Gradient = change in distance ÷ change in time, using the two points on the line.

    Hint 2

    The unit is the unit up the side divided by the unit along the bottom.

    Full answer

    Gradient = (4.0 − 0.8) ÷ (5.0 − 1.0) = 3.2 m ÷ 4.0 s = 0.80 m/s. The unit m/s is a speed: the car travels about 0.80 m in every second. So the gradient of a distance-time graph is the speed, an idea the motion lectures use all the time. Check: in 4.0 s at 0.80 m/s, the car goes 3.2 m, and 0.8 + 3.2 = 4.0 m.

  4. A different spring is 6.0 cm long with no load. With loads of 1, 2, 3 and 4 N its lengths are 7.5, 9.0, 10.5 and 12.6 cm. (a) Find the extension for each load. (b) Is the extension directly proportional to the load? (c) Describe the shape of the extension-load graph, and suggest what happened at 4 N.

    Hint 1

    Extension = length − natural length, so subtract 6.0 cm from each length.

    Hint 2

    If the extension is proportional, doubling the load doubles the extension. Test each step.

    Full answer

    (a) Extensions: 0, 1.5, 3.0, 4.5 and 6.6 cm for 0 to 4 N. (b) Up to 3 N, yes: each newton adds 1.5 cm, and 2 N gives exactly twice the extension of 1 N. At 4 N, no: proportional stretching would give 6.0 cm, but it is 6.6 cm. (c) The graph is a straight line through the origin up to 3 N, then it bends upwards, getting steeper. The spring has been stretched beyond the point where it stretches evenly. The later lecture on springs names this point. Check: 1.5 × 4 = 6.0 cm, and 6.6 cm is 0.6 cm more, far more than a reading error of 0.1 cm.

The bigger idea

In 1998, two teams of astronomers announced a result that nobody expected. They had studied about 50 very distant exploding stars, called supernovae. A certain type of supernova always gives out about the same amount of light. So the fainter it looks, the further away it is.

The teams plotted how faint each supernova looked against how fast it was moving away from us. Everyone expected the points to show that the expansion of the universe was slowing down, because gravity pulls everything together. Instead, the most distant supernovae were fainter than the expected curve allowed. They were further away than they should have been. The expansion of the universe is speeding up.

The cause has been named dark energy, and nobody yet knows what it is. Today's best measurements suggest that it makes up about 68% of all the matter and energy in the universe. In 2011, three leaders of the two teams, Saul Perlmutter, Brian Schmidt and Adam Riess, shared the Nobel Prize in Physics for the discovery.

Notice the difference from Ana's spring. Ana measured again, and her odd point disappeared: it was a mistake. The astronomers measured again and again, in two separate teams, and their odd points stayed. An anomalous point is a question, not an answer. When it disappears on checking, it was a mistake. When it survives every check, it may be a discovery. A graph is where you first see the question. The next topic uses graphs to describe motion.

Key concepts in this lesson