topic badge
iGCSE (2021 Edition)

18.05 Line graphs

Lesson

There are many different types of graphs that can be used to display different types of data. In this lesson, we will focus on three common types: line graphsconversion graphs and step graphs.

Common features of each of these graphs include:

  • a clear title
  • both axes should be labelled with the variable and units where appropriate
  • clear scale on each axis

Line graphs

A line graph is a type of chart displaying points connected by straight line segments. This used to show how one value varies as another variable changes and is most often used to show trends in data over time.

For example a line graph may show temperature in a city over a day. The graph would show a quick visualisation of the data, we could find the temperature given a particular time of day and we can further interpret the graph to find the maximum or minimum temperature and look for trends such as, at what times was the temperature increasing and when was it decreasing.

Worked example

Example 1

The following shows average fuel prices in a city over a week.

(a) Which was the best day to buy fuel and what was the average cost on this day?

Think: Which day had the lowest(cheapest) average cost and what was the cost?

Do: The lowest point on the graph occurs on Wednesday and the average cost that day $\$1.38$$1.38.

(b) On which day(s) was the average fuel price $\$1.40$$1.40?

Think: Trace a line across at a price of $\$1.40$$1.40 and see if any day(s) has this average cost.

Do: The average cost is at $\$1.40$$1.40 on Monday and Thursday.

(c) By how much did the price change from Monday to Friday?

Think: Find the difference between the fuel prices on these two days and note whether the price increased or decreased.

Do: The fuel price increased by: $\$1.46-\$1.40=\$0.06$$1.46$1.40=$0.06.

 

Practice questions

Question 1

The line graph shows the number of ice creams sold at certain times of the day.

Ice Cream SalesTimeNumber of Ice Creams Sold5101520253010am11am12pm1pm2pm3pm4pm5pm6pm

  1. At what time of day were the least amount of ice creams sold?

    $6$6pm

    A

    $4$4pm

    B

    $12$12pm

    C

    $10$10am

    D
  2. What were the most amount of ice creams sold at a particular time?

  3. There are two peak hours for ice cream sales, at lunch time ($1$1pm) and in the evening ($6$6pm).

    What was the difference in sales between the lunch time peak and the evening peak?

Question 2

The line graph shows the amount of petrol in a car’s tank.

  1. How much petrol was initially in the tank?

    $\editable{}$ litres.

  2. What happened at $9$9am and $1$1pm?

    The driver filled the tank.

    A

    The amount of petrol being used increased.

    B

    The car was travelling at a fast speed.

    C
  3. How much petrol was used between $1$1pm and $5$5pm?

  4. To the nearest hour, when did the petrol in the tank first fall below $18$18 litres?

    Approximately $\editable{}$$:$:$00$00

Question 3

From the beginning of 2012, the number of new houses built in the suburb of Woodford was recorded and figures are released every four months.

The following table contains the data from the beginning of 2012 to the end of 2015:

Time Period

Houses Built

April 2012 $103$103
August 2012 $92$92
December 2012 $105$105
April 2013 $99$99
August 2013 $88$88
December 2013 $104$104
April 2014 $93$93
August 2014 $85$85
December 2014 $103$103
April 2015 $93$93
August 2015 $83$83
December 2015 $96$96
  1. Plot the number of new houses built in the suburb of Woodford for every $4$4 months that the data was released.

  2. Sketch segments through each point to represent the overall time series.

  3. What is the overall trend?

    Downwards only

    A

    Upwards only

    B

    Seasonal and Upwards

    C

    Seasonal and Downwards

    D

 

Conversion graphs

Conversion graphs are line graphs which are used to convert one unit into another. We can find equivalent values between two different scales by looking at a point on the graph and comparing the values on the horizontal axis the vertical axis. This can include conversions between units of length, conversions between different currencies and conversions between different temperature scales.

We have encountered converting units in length, area, volume, mass as well as converting currency using exchange rates. When doing this we were given a conversion factor. When using a graph many values may be converted by reading points directly from the graphs. For graphs passing through the origin the conversion factor can be found by calculating the gradient of the line.

Worked example

Example 2

The following conversion graph displays the conversion between the units of speed kilometres per hour and miles per hour. Use the graph to answer the following questions.

(a) Find the equivalent speed of $80$80 km/h in miles per hour.

Think: Trace a line up from $80$80 kilometres per hour on the horizontal axis to meet the line and then across to find the equivalent speed on the vertical axis.

Do:

$80$80 km/h is equivalent to approximately $50$50 mi/h.

(b) A highway speed sign in the United States indicates a maximum speed of $70$70 mi/h, what would this speed be equivalent to in kilometres per hour?

Think: Trace a line across from $70$70 miles per hour on the vertical axis to meet the line and then down to find the equivalent speed on the horizontal axis.

Do: 

The line is just over the $110$110 km/h mark on the horizontal axis, so $70$70 miles per hour is equivalent to approximately $112$112 km/h.

(c) What is $1$1 mile per hour equivalent to in kilometres per hour? (What is the conversion factor between miles per hour and kilometres per hour?)

Think: This would be very hard to accurately read from the graph, but we can use that $80$80 km/h was equivalent to $50$50 mi/h to get a reasonable approximation.

Do:

From part a) we have $50$50 mi/h $=80$=80 km/h, dividing both sides of the equation by $50$50 we obtain:

$1$1 mi/h $=1.6$=1.6 km/h 

This is close to the actual conversion factor of $1.609344$1.609344.

 

Practice questions

Question 4

Attached is a conversion graph of Celsius to Fahrenheit.

  1. Water freezes at $0^\circ$0°C. What is this temperature in Fahrenheit?

    $\editable{}$ °F

  2. Would $80^\circ$80°F be above or below normal body temperature (approximately $37^\circ$37°C)?

    Above

    A

    Below

    B
  3. If the temperature increases by $1^\circ$1°C, how many degrees Fahrenheit does it increase by? Give your answer as a decimal.

  4. Complete the rule for conversion between Celsius (C) and Fahrenheit (F):

    F $=$= $1.8$1.8C $+$+ $\editable{}$

  5. Finally, convert $35^\circ$35°C into Fahrenheit.

Question 5

The graph shows the amount of Euros that can be bought with Australian Dollars.

Loading Graph...

  1. How many Euros can $20$20 Australian Dollars buy?

    AUD$$20$20 can buy € ​$\editable{}$

  2. How much Australian currency is required to buy $6$6 Euros?

    AUD$ $\editable{}$

  3. How many Euros does $$1$1 Australian buy? Leave your answer to two decimal places.

Step graphs

A step graph displays that a different rule applies depending on the input variable. Because of this, the graph doesn't change gradually but has distinct steps. This kind of graph is common for fee structures, like the tariff structures we encountered in household bills, where a certain amount was charged for the first block of energy and then a different amount was charged for the next block and so forth. 

The ends of each step in the graph indicate whether that value is included or not:

  • Closed circles are used to represent that the value is included in the interval
  • Open circles are used to represent that the value is not included in the interval

Such as:

Representing the following energy tariff structure:

Energy used, $x$x (MJ) Price per MJ (cents)
First $30\ MJ$30 MJ ($0\le x\le30)$0x30) $2.2$2.2
Next $20\ MJ$20 MJ ($3030<x50) $1.8$1.8
Next $20\ MJ$20 MJ ($5050<x70) $1.4$1.4
Any remaining ($x\ge70$x70) $1.2$1.2

 

Worked example

Example 3

The Melbourne Airport terminal car park charges the following fees for the first hour of parking.

(a) If a car is in the car park for $20$20 minutes, how much will they be charged?

Think: Run a line up from $20$20 minutes on the horizontal axis, which bar does this hit?

Do:

We can see the line hits the second fee bar and hence, the charge will be $\$8$$8.

(b) If a car is in the car park for $30$30 minutes, how much will they be charged?

Think: Run a line up from $30$30 minutes on the horizontal axis, which bar does this hit?

Do:

 

We can see the line touches the second bar but this circle is open so not included, if we continue the line up it hits the closed circle on the third bar, hence the charge will be $\$12$$12.

(c) If $\$24$$24 is charged for parking from $1$1 hour up to $3$3 hours and $\$34$$34 is charged for parking from $3$3 hours up to $4$4 hours, create a graph that displays charges for up to $4$4 hours of parking.

Think: We need to include the information on the first graph and add two new horizontal bars. The horizontal scale needs to now go up to $4$4 hours ($240$240 minutes) and the vertical scale needs to increase to include a fee of $\$34$$34.  

Do: The two new bars will be from $60$60 minutes to $180$180 minutes at $\$24$$24 and from $180$180 minutes to $240$240 minutes at $\$34$$34 - remember to note whether the ends of the interval are included or not. In this case we will draw a closed circle at the start of the interval and an open circle at the end of the interval.

 

Practice questions

Question 6

The graph shows the cost (in dollars) of a mobile phone call as a function of the length of the call.

Loading Graph...

  1. How much does a call that lasts $4$4 minutes and $5$5 seconds cost?

  2. How much does a $3$3-minute call cost?

  3. What is the longest possible call that could be made for $\$1.50$$1.50?

  4. What is the cost of each additional minute?

Question 7

At an indoor ski facility, the temperature is set to $-5$5$^\circ$°C at $2$2 pm. At $3$3 pm, the temperature is immediately brought down to $-12$12$^\circ$°C and left for $3$3 hours before immediately taking it down again to $-18$18$^\circ$°C, where it stays for the rest of the day’s operation.

  1. The facility operates until $10$10 pm.

    Fill in the gaps to complete the stepwise function that models the indoor temperature, $y$y, at a certain time of the day, $x$x hours after midday.

    $y$y $=$= $-5$5$^\circ$°C   $\editable{}$$\le x<3$x<3
    $\editable{}$$^\circ$°C   $3\le x<6$3x<6
    $\editable{}$$^\circ$°C   $6\le x\le10$6x10
  2. By moving the endpoints of the intervals, create a graph of the step function relating time of day and temperature inside the ski facility.

    Clicking the centre of each endpoint will change it from closed to open (or from open to closed).

    Loading Graph...

     

  3. Lakota entered the ski facility at $3:30$3:30 pm. What was the temperature inside the facility at this time?

  4. Xavier wants to wait till the indoor temperature is $-7$7$^\circ$°C or lower. When is the earliest he can enter the facility?

Outcomes

0607C11.3B

Line graphs

0607E11.3B

Line graphs

What is Mathspace

About Mathspace