Line graphs
🖨 Print a self-study sheet Why print?
On a summer day Hà puts a thermometer in the yard and writes down the temperature every two hours, from 6 a.m. to 6 p.m. Her table looks like this (made-up data):
| Time | 6 | 8 | 10 | 12 | 14 | 16 | 18 |
|---|---|---|---|---|---|---|---|
| Temperature (°C) | 24 | 26 | 29 | 33 | 34 | 31 | 28 |
From the table you can say at once that at 12 o'clock it was 33 °C. But what if someone asks how the day warmed up and cooled down, and when the temperature rose fastest? You would have to compare pair after pair of numbers, which is tiring. Is there a way to see the whole story of the day at a single glance?
There is, and you have met it before: hospital charts, river levels in the flood season and a shop's takings are all drawn this way. In the last lesson, bar charts helped us compare separate items. This lesson helps us follow one quantity as it changes over time.
Line graphs
Exploring: from a table to a broken line
First we look at how much the temperature changes every two hours:
| Interval | 6–8 | 8–10 | 10–12 | 12–14 | 14–16 | 16–18 |
|---|---|---|---|---|---|---|
| Change (°C) | +2 | +3 | +4 | +1 | −3 | −3 |
In the morning the temperature rises, with bigger rises until 12 o'clock, then a smaller one; in the afternoon it falls. Now we draw that story. Each reading becomes a point: the horizontal coordinate is the time and the vertical coordinate is the temperature. Then we join consecutive points with straight line segments.
Now you can see it straight away: the line climbs in the morning, peaks at 14 o'clock and then goes down. The steeper a segment is, the faster the temperature changes there. This kind of picture is called a line graph.
Going deeper. A segment that goes up shows an increase, one that goes down shows a decrease, and a horizontal one shows no change. When the time intervals are equal, a steeper segment means a faster change. One thing to remember: we only measured at the times recorded. The part of a segment between two points helps the eye follow the trend, but a value read from it is an estimate, not a measurement.
A line graph does not replace a bar chart. A bar chart suits comparing separate items (sports, classes). A line graph suits data in time order (hour by hour, month by month, week by week).
Reading and describing a line graph
Now that you can read single points, we compare two times and work out the change.
Drawing a line graph
In this graph the segment from month 3 to month 4 is steeper than the one from month 4 to month 5, because the rises are 10 and 5 million đồng.
A real-life problem
For problems with many numbers, we work in four steps: understand, plan, solve, look back.
The last example is something every family meets: the monthly electricity bill.
Connection. This lesson builds on the pictograms and bar charts you already know, and adds one important idea: time order. When you read a line graph you practise seeing one quantity depending on another, which is the spirit of the functions and graphs you will meet later.
Key terms
Summary
- A line graph shows how a quantity changes over time: each data value is a point, and consecutive points are joined by line segments.
- A segment going up means an increase, going down a decrease, horizontal no change. For equal time intervals, a steeper segment means a faster change.
- The change between two times is the difference of the two values; the average change is the total change divided by the number of intervals.
- When drawing: use even scales, write the unit, and join only consecutive points in time order.
- A value between two points is only an estimate; do not predict far beyond the data.
The question at the start now has an answer: that day was hottest at 14 o'clock (34 °C), and the temperature rose fastest between 10 and 12 o'clock. The best way to remember all this is to draw a graph from your own data, such as the temperature or the number of pages you read each day.
Practice
Each exercise comes with what you need and hints; open the solution after trying.
Use the graph of the temperature in Hà's yard.
a) What was the temperature at 16 o'clock?
b) At which times was the temperature above 30 °C?
c) By how many degrees was the temperature at 18 o'clock lower than at 12 o'clock?
What you need: read the vertical coordinate of the point for each time on the horizontal axis.
Steps:
- a) Find the point with horizontal coordinate 16.
- b) List the values greater than 30 in the table.
- c) Subtract the temperature at 18 o'clock from the temperature at 12 o'clock.
Show solution
a) The point with horizontal coordinate 16 has vertical coordinate 31. So at 16 o'clock the temperature was 31 °C.
b) The temperatures greater than 30 are 33 (12 o'clock), 34 (14 o'clock) and 31 (16 o'clock). So the temperature was above 30 °C at 12, 14 and 16 o'clock.
c) We have 33-28=5. So the temperature at 18 o'clock was 5 °C lower than at 12 o'clock.
Answer. a) 31 °C; b) 12, 14 and 16 o'clock; c) 5 °C.
The numbers of books borrowed from a school library from Monday to Friday of one week are (made-up data):
| Day | Monday | Tuesday | Wednesday | Thursday | Friday |
|---|---|---|---|---|---|
| Books borrowed | 20 | 35 | 30 | 50 | 40 |
a) On which day were the most books borrowed?
b) From Tuesday to Wednesday, did the number of books borrowed rise or fall, and by how many?
c) Between which two consecutive days was the rise the greatest?
What you need: the change between two consecutive days is the later value minus the earlier value.
Steps:
- a) Find the largest number in the table.
- b) Work out 30-35 and look at its sign.
- c) Work out the changes for the four intervals and pick the greatest rise.
Show solution
a) The largest number is 50, on Thursday. So the most books were borrowed on Thursday.
b) We have 30-35=-5. So from Tuesday to Wednesday the number of books borrowed fell by 5.
c) The changes in the intervals are 35-20=15; 30-35=-5; 50-30=20; 40-50=-10. The greatest rise is 20 books, from Wednesday to Thursday.
Answer. a) Thursday; b) a fall of 5 books; c) Wednesday to Thursday, a rise of 20 books.
The weight of a puppy in its first six months is as follows (made-up data):
| Month | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| Weight (kg) | 2 | 3 | 6 | 6 | 7 | 8 |
a) Describe how to draw a line graph of this table.
b) During which period did the puppy's weight stay the same?
c) Which segment is the steepest?
What you need: the steps for drawing a line graph; a horizontal segment means no change, and the steepest segment is the greatest rise.
Steps:
- a) The largest value is 8, so take the vertical axis from 0 to 8.
- b) Find two consecutive months with the same weight.
- c) Work out the change for each interval.
Show solution
a) To draw the line graph, proceed as follows.
Draw a horizontal axis with the months 1 to 6 equally spaced. Draw a vertical axis from 0 to 8, each mark standing for 1 kg, and write the unit "kg".
Mark the points (1, 2), (2, 3), (3, 6), (4, 6), (5, 7), (6, 8) as pairs (month, weight).
Join consecutive points with line segments and give the graph a title.
b) The weight in months 3 and 4 is 6 kg in both, so the segment joining (3, 6) and (4, 6) is horizontal.
So the puppy's weight stays the same from month 3 to month 4.
c) The rise in weight in each interval is: 3-2=1;\quad 6-3=3;\quad 6-6=0;\quad 7-6=1;\quad 8-7=1\ (\text{kg}).
The greatest rise is 3 kg, in the interval from month 2 to month 3. The months are equally spaced on the horizontal axis, so the segment with the greatest rise is the steepest.
So the segment from month 2 to month 3 is the steepest.
Answer. b) From month 3 to month 4; c) the segment from month 2 to month 3.
Which of the following data should be shown on a line graph? Why?
a) The number of students in each class of Year 7.
b) The outdoor temperature measured every hour during a day.
c) The number of pages Lan reads each day for a week.
d) The favourite sport of the students in a group.
What you need: a line graph is for data that changes over time; a bar chart is for comparing separate items.
Steps:
- For each set of data, ask: are the values in time order?
- If not, does a segment between two points mean anything?
Show solution
a) The classes are separate items with no time order, so use a bar chart.
b) The temperature is measured hour by hour, in time order, so use a line graph.
c) The number of pages read each day is in time order, so use a line graph.
d) The sports are separate items, so use a bar chart (or a pictogram).
Hence the data in b) and c) should be shown on a line graph.
Answer. b) and c).
The water used by a household in the first six months of the year is as follows (made-up data):
| Month | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| Water (m³) | 12 | 14 | 13 | 18 | 20 | 19 |
a) In which month was the most water used?
b) What was the greatest rise in water used from one month to the next, in cubic metres, and in which month did it happen?
c) Find the mean amount of water used per month. Which months used more than the mean?
What you need: the mean is the sum of the values divided by how many values there are.
Steps:
- a) Find the largest value.
- b) Work out the difference between consecutive values.
- c) Add the six values, divide by 6, then compare each month.
Show solution
a) The largest value is 20, in month 5. So the most water was used in month 5.
b) The changes are +2; -1; +5; +2; -1 (m³). The greatest rise is 5 m³, from month 3 to month 4.
c) The total amount of water is 12+14+13+18+20+19=96 (m³). The mean per month is 96\div6=16 (m³). The months with more than 16 are month 4 (18), month 5 (20) and month 6 (19).
Answer. a) Month 5; b) 5 m³, from month 3 to month 4; c) 16 m³; months 4, 5 and 6.
The number of motorbikes passing a crossroads in the morning is as follows (made-up data):
| Time | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|
| Motorbikes | 120 | 300 | 240 | 150 | 130 |
a) At what time were there the most motorbikes, and how many?
b) By how many did the number fall from 7 to 9 o'clock? What percentage of the number at 7 o'clock is this fall?
c) In which interval did the number rise the most?
What you need: a as a percentage of b is \dfrac{a}{b}\cdot100\%.
Steps:
- a) Find the largest value.
- b) Work out 300-150, then divide by 300 and multiply by 100\%.
- c) Work out the change for each interval.
Show solution
a) The largest number is 300, at 7 o'clock. So there were the most motorbikes at 7 o'clock: 300.
b) We have 300-150=150. The fall is \dfrac{150}{300}\cdot100\%=50\% of the number at 7 o'clock.
c) The changes in the intervals are 180; -60; -90; -20. The number only rises in the interval from 6 to 7 o'clock, by 180.
Answer. a) 7 o'clock, 300 motorbikes; b) 150 motorbikes, 50\%; c) from 6 to 7 o'clock.
A cyclist records the distance travelled since the start (made-up data):
| Time (hours) | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| Distance (km) | 0 | 12 | 24 | 24 | 36 |
a) During which period did the cyclist stop for a rest? How can you tell?
b) What was the cyclist's speed in the first hour, in kilometres per hour?
c) Suppose the cyclist rode steadily during the second hour. Estimate the distance covered after 1.5 hours.
What you need: an unchanged distance means the cyclist is standing still; speed is distance divided by time.
Steps:
- a) Find two consecutive times with the same distance.
- b) Divide 12 by 1 hour.
- c) 1.5 hours lies between 1 hour and 2 hours.
Show solution
a) The distance after 2 hours and after 3 hours is 24 km in both cases, so the segment joining those two points is horizontal. So the cyclist rested from hour 2 to hour 3.
b) In the first hour the cyclist covered 12 km, so the speed is 12\div1=12 (km/h).
c) If the cyclist rode steadily in the second hour, then after 1.5 hours the distance covered is \dfrac{12+24}{2}=18\ (\text{km}).
Answer. a) From hour 2 to hour 3; b) 12 km/h; c) about 18 km.
The number of students arriving late in a class over five consecutive weeks is (made-up data):
| Week | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Students late | 6 | 4 | 5 | 2 | 1 |
a) How many late arrivals were there altogether in the five weeks?
b) In which interval did the number of late students fall the most?
c) By what percentage did the number of late students in week 5 fall compared with week 1? (Round to the nearest whole number.)
What you need: the percentage fall is the fall divided by the starting value, then multiplied by 100\%.
Steps:
- a) Add the five values.
- b) Work out the difference between consecutive values and find the greatest fall.
- c) Work out (6-1)\div6.
Show solution
a) We have 6+4+5+2+1=18. So there were 18 late arrivals altogether.
b) The changes in the intervals are -2; +1; -3; -1. The greatest fall is 3 students, from week 3 to week 4.
c) From week 1 to week 5 the number of late students fell by 6-1=5, which is a fall of \dfrac{5}{6}\cdot100\%\approx83.3\%\approx83\%.
Answer. a) 18; b) from week 3 to week 4; c) about 83\%.
The temperatures at several times of day in two cities A and B are as follows (made-up data):
| Time | 6 | 9 | 12 | 15 | 18 |
|---|---|---|---|---|---|
| City A (°C) | 20 | 25 | 30 | 32 | 27 |
| City B (°C) | 22 | 24 | 27 | 28 | 26 |
a) At what time is the difference in temperature between the two cities greatest, and what is it?
b) For each city, what is the difference between the highest and lowest temperature of the day? Which city has the larger variation during the day, and how many times as large is it?
What you need: the difference of two numbers is the larger minus the smaller.
Steps:
- a) Work out the difference between A and B at each time.
- b) Find the largest and smallest value for each city.
Show solution
a) The differences at 6; 9; 12; 15; 18 o'clock are 2; 1; 3; 4; 1 (°C). The greatest difference is 4 °C, at 15 o'clock.
b) City A has a highest temperature of 32 °C and a lowest of 20 °C, a difference of 32-20=12 (°C). City B has a highest of 28 °C and a lowest of 22 °C, a difference of 28-22=6 (°C). We have 12\div6=2.
So city A has the larger variation during the day, 2 times that of city B.
Answer. a) 15 o'clock, 4 °C; b) A: 12 °C, B: 6 °C; A is 2 times as large.
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
Only the hourly temperature is data in time order. A, B and C are separate items, so a bar chart is better.
15\to11 is a fall of 4 million đồng. B is a rise of 3 million đồng, and C is no change (a horizontal segment).
30-22=8. A only counts the interval from 6 to 9 o'clock; C confuses the change with the temperature at 12 o'clock; D is the fall from 12 to 15 o'clock.
This is the definition of a line graph. A and C are the mistake of joining the wrong points; B is the mistake of an uneven scale.
Part II. True or false
| a) At 8 o'clock, 120 people entered the park. | ||
| b) From 7 to 9 o'clock, the number of people rose by 70. | ||
| c) The segment joining 9 o'clock and 10 o'clock goes down. | ||
| d) The most people entered at 10 o'clock. |
a) False: at 8 o'clock there were 80 people; 120 is the number at 9 o'clock. b) True: 120-50=70. c) True: from 120 down to 100. d) False: the most were at 9 o'clock.
Part III. Short answer
The changes are +6; -3; +9; -3. The greatest rise is 9 books (from the third day to the fourth).
After 3 weeks the plant has grown 14-4=10 (cm), so on average it grows 10\div3\approx3.3 (cm) per week.
Show answers and explanations
- Part I, question 1: A. Only the hourly temperature is data in time order. A, B and C are separate items, so a bar chart is better.
- Part I, question 2: B. 15\to11 is a fall of 4 million đồng. B is a rise of 3 million đồng, and C is no change (a horizontal segment).
- Part I, question 3: C. 30-22=8. A only counts the interval from 6 to 9 o'clock; C confuses the change with the temperature at 12 o'clock; D is the fall from 12 to 15 o'clock.
- Part I, question 4: D. This is the definition of a line graph. A and C are the mistake of joining the wrong points; B is the mistake of an uneven scale.
- Part II, question 1: a) False; b) True; c) True; d) False. a) False: at 8 o'clock there were 80 people; 120 is the number at 9 o'clock. b) True: 120-50=70. c) True: from 120 down to 100. d) False: the most were at 9 o'clock.
- Part III, question 1: 9. The changes are +6; -3; +9; -3. The greatest rise is 9 books (from the third day to the fourth).
- Part III, question 2: 3.3. After 3 weeks the plant has grown 14-4=10 (cm), so on average it grows 10\div3\approx3.3 (cm) per week.