Gradient of a Linear Graph

Measure how steep a straight line is: draw a right-angled step on the line, count its vertical change and its horizontal change in the units of the axes, and divide.

Before you start

  • A point is fixed by its coordinates (x,y)(x, y): the xx-coordinate is read on the horizontal axis and the yy-coordinate on the vertical axis (Lesson 10.1). On some graphs one square stands for 2, 5 or 10 units, so read the numbers on the axis, not the squares.
  • The graph of a linear function y=ax+by = ax + b is a straight line, drawn through the points of a table of values (Lesson 10.4).
  • A fraction is written in its simplest form, and a negative number divided by a positive number is negative: 64=32\frac{6}{4} = \frac{3}{2} and −84=−2\frac{-8}{4} = -2.
  • A rate compares two quantities measured in different units, such as $4 per bowl or 6060 km/h.

What Gradient Measures

Some straight lines rise gently, some rise steeply and some fall. The gradient of a line is a number that measures how steep it is: how many units the line goes up (or down) for every 11 unit it goes across to the right.

To find it, choose two points on the line where it passes exactly through a corner of the grid. From the left-hand point draw a right-angled step: go across to the right until you are directly below (or above) the other point, then go up (or down) to it. The distance across is the horizontal change; the distance up or down is the vertical change.

Gradient of a straight line

gradient=vertical changehorizontal change\text{gradient} = \frac{\text{vertical change}}{\text{horizontal change}}

Both changes are counted in the units of the axes, going from the left-hand point to the right-hand point. So the horizontal change is always positive. The vertical change is positive when the step goes up and negative when it goes down.

Example 1: Finding a gradient with a step

Points A(1,2)A(1, 2) and B(4,8)B(4, 8) lie on a straight line. Draw the line and find its gradient.

Solution

Plot AA and BB, draw the line through them, and draw the step from AA, the left-hand point.

The line through A(1, 2) and B(4, 8), with a step from A: 3 across to (4, 2), then 6 up to Bxy3612345612345678910OA(1, 2)B(4, 8)

Across: from A(1,2)A(1, 2) go right to (4,2)(4, 2), directly below BB. The xx-coordinate goes from 11 to 44, so the horizontal change is 4−1=34 - 1 = 3.

Up: from (4,2)(4, 2) go up to B(4,8)B(4, 8). The yy-coordinate goes from 22 to 88, so the vertical change is 8−2=68 - 2 = 6.

gradient=63=2\text{gradient} = \frac{6}{3} = 2

The gradient of the line is 22: it goes up 22 units for every 11 unit across.

Positive, Negative and Zero Gradients

Read a line from left to right, as you read a sentence. Whether it goes up, goes down or stays level decides the sign of its gradient.

The sign of a gradient

A line that goes up from left to right has a positive gradient.

A line that goes down from left to right has a negative gradient: its step goes down, so its vertical change is negative.

A horizontal line has gradient 00: its vertical change is 00.

Example 2: A line going down

Points C(1,6)C(1, 6) and D(3,2)D(3, 2) lie on a straight line. Find the gradient of the line.

Solution

Draw the line and the step from CC, the left-hand point. The line goes down, so the step goes across and then down.

The line through C(1, 6) and D(3, 2), with a step from C: 2 across to (3, 6), then 4 down to Dxy2−412345123456789OC(1, 6)D(3, 2)

Across: from C(1,6)C(1, 6) go right to (3,6)(3, 6), directly above DD. The horizontal change is 3−1=23 - 1 = 2.

Down: from (3,6)(3, 6) go down to D(3,2)D(3, 2). The yy-coordinate falls from 66 to 22, so the vertical change is 2−6=−42 - 6 = -4.

gradient=−42=−2\text{gradient} = \frac{-4}{2} = -2

The gradient is −2-2: the line goes down 22 units for every 11 unit across.

Example 3: A horizontal line

Points P(1,3)P(1, 3) and Q(5,3)Q(5, 3) lie on the line y=3y = 3. Find its gradient.

Solution

The horizontal line y = 3 through P(1, 3) and Q(5, 3)xy123456712345Oy = 3P(1, 3)Q(5, 3)

Every point on the line has yy-coordinate 33, so the line is horizontal.

Across: from PP to QQ the horizontal change is 5−1=45 - 1 = 4.

Up or down: the yy-coordinate stays at 33, so there is no step up or down: the vertical change is 3−3=03 - 3 = 0.

gradient=04=0\text{gradient} = \frac{0}{4} = 0

The line y=3y = 3 has gradient 00, as every horizontal line does.

Any Two Points Give the Same Gradient

A straight line is equally steep all along its length. So it does not matter which two points on it you choose: a small step and a big step on the same line give the same gradient. Choose points that make the counting easy.

Example 4: A small step and a big step

The line y=12x+1y = \frac{1}{2}x + 1 passes through A(2,2)A(2, 2), B(4,3)B(4, 3) and C(8,5)C(8, 5). Find its gradient using AA and BB, then using BB and CC, then using AA and CC.

Solution

The line through A(2, 2), B(4, 3) and C(8, 5), with a small step from A to B (2 across, 1 up) and a big step from B to C (4 across, 2 up)xy2142123456789123456OA(2, 2)B(4, 3)C(8, 5)

Small step, AA to BB: across 4−2=24 - 2 = 2, up 3−2=13 - 2 = 1. Gradient =12= \frac{1}{2}.

Big step, BB to CC: across 8−4=48 - 4 = 4, up 5−3=25 - 3 = 2. Gradient =24=12= \frac{2}{4} = \frac{1}{2}.

From AA to CC (not drawn): across 8−2=68 - 2 = 6, up 5−2=35 - 2 = 3. Gradient =36=12= \frac{3}{6} = \frac{1}{2}.

All three steps give the gradient 12\frac{1}{2}: the line goes up 11 unit for every 22 units across.

Axes with Different Scales

On many graphs one square across and one square up do not stand for the same amount. Then counting squares gives the wrong gradient: the changes must be read from the numbers on the axes.

Count in units, not in squares

Before you count, check what one square stands for on each axis. A step of 33 squares up is 33 units only when one square up is 11 unit.

Example 5: Unequal scales

The graph shows the line y=4x+2y = 4x + 2, with the points A(1,6)A(1, 6) and B(4,18)B(4, 18) on it. On the xx-axis one square is 11 unit; on the yy-axis one square is 22 units. Find the gradient of the line.

The line y = 4x + 2 through A(1, 6) and B(4, 18), on axes where one square across is 1 unit and one square up is 2 unitsxy12345624681012141618202224OA(1, 6)B(4, 18)

Solution

The line y = 4x + 2 on axes where one square across is 1 unit and one square up is 2 units, with a step from A(1, 6): 3 across, then 12 up to B(4, 18)xy31212345624681012141618202224OA(1, 6)B(4, 18)

Across: from A(1,6)A(1, 6) to (4,6)(4, 6). That is 33 squares, and each square across is 11 unit, so the horizontal change is 4−1=34 - 1 = 3.

Up: from (4,6)(4, 6) to B(4,18)B(4, 18). That is 66 squares, but each square up is 22 units, so the vertical change is 18−6=1218 - 6 = 12.

gradient=123=4\text{gradient} = \frac{12}{3} = 4

Counting squares would give 63=2\frac{6}{3} = 2, which is wrong: the line goes up 1212 units, not 66.

The gradient of the line is 44.

Comparing Steepness

The sign of a gradient tells you which way a line goes. Its size, ignoring the sign, tells you how steep it is.

Steepness

On the same axes, with the same scale on both, the larger the size of the gradient (ignoring its sign), the steeper the line.

Gradients 33 and −3-3 are equally steep: one line goes up 33 units for every 11 across and the other goes down 33 units.

So a larger gradient does not always mean a steeper line: −3-3 is smaller than 11, but a line with gradient −3-3 is steeper than a line with gradient 11.

On axes with different scales a line can look gentler or steeper than it is (the line of Example 5 looks as steep as a line of gradient 22), so compare the gradients, not the pictures.

Example 6: Which line is steepest?

The lines y=12xy = \frac{1}{2}x, y=xy = x, y=3xy = 3x and y=−3xy = -3x are drawn below from the origin to the right.

(a) Find the gradient of each line.

(b) Which two lines are equally steep?

(c) List the lines from the steepest to the least steep.

Four lines drawn from the origin: y = 3x up to (2, 6), y = x up to (6, 6), y = ½x up to (6, 3), and y = −3x down to (2, −6)xy−11234567−7−6−5−4−3−2−11234567Oy = 3xy = xy = ½xy = −3x

Solution

(a) From the origin, follow each line to a corner of the grid and use that step.

y=12xy = \frac{1}{2}x: from (0,0)(0, 0) to (2,1)(2, 1), across 22 and up 11. Gradient =12= \frac{1}{2}.

y=xy = x: from (0,0)(0, 0) to (1,1)(1, 1), across 11 and up 11. Gradient =11=1= \frac{1}{1} = 1.

y=3xy = 3x: from (0,0)(0, 0) to (1,3)(1, 3), across 11 and up 33. Gradient =31=3= \frac{3}{1} = 3.

y=−3xy = -3x: from (0,0)(0, 0) to (1,−3)(1, -3), across 11 and down 33. Gradient =−31=−3= \frac{-3}{1} = -3.

(b) The gradients 33 and −3-3 have the same size, 33. The line y=3xy = 3x goes up 33 units for each unit across and y=−3xy = -3x goes down 33 units, so they are equally steep.

(c) The sizes of the gradients, ignoring signs, are 12\frac{1}{2}, 11, 33 and 33.

(a) 12\frac{1}{2}, 11, 33 and −3-3. (b) y=3xy = 3x and y=−3xy = -3x. (c) y=3xy = 3x and y=−3xy = -3x (equally steep), then y=xy = x, then y=12xy = \frac{1}{2}x.

Gradient from Two Points or from a Table

When you are given two points but no grid, make a quick sketch: mark the two points roughly where they belong, draw the step from the left-hand point, and work out each change by subtracting coordinates.

The two changes from coordinates

Horizontal change == the xx-coordinate of the right-hand point −- the xx-coordinate of the left-hand point.

Vertical change == the yy-coordinate of the right-hand point −- the yy-coordinate of the left-hand point.

Example 7: Two given points

Find the gradient of the line through P(−1,7)P(-1, 7) and Q(3,−1)Q(3, -1).

Solution

Sketch the line with its step. PP is the left-hand point, since −1-1 is less than 33.

The line through P(−1, 7) and Q(3, −1), with a step from P: 4 across to (3, 7), then 8 down to Qxy4−8−2−112345−3−2−1123456789OP(−1, 7)Q(3, −1)

Horizontal change: from x=−1x = -1 to x=3x = 3, so 3−(−1)=3+1=43 - (-1) = 3 + 1 = 4.

Vertical change: from y=7y = 7 down to y=−1y = -1, so −1−7=−8-1 - 7 = -8. It is negative because the step goes down.

gradient=−84=−2\text{gradient} = \frac{-8}{4} = -2

The gradient of the line through PP and QQ is −2-2.

In a table of values for a straight line, each column is a point on the line. So any two columns give a step: the change in xx is the horizontal change and the change in yy is the vertical change.

Example 8: Gradient from a table of values

The table shows values of xx and yy for a straight line. Find the gradient of the line.

xx−2-2002244
yy−1-1225588

Solution

From each column to the next, xx increases by 22 and yy increases by 33: a step 22 across and 33 up, as the graph of the table shows.

The points (−2, −1), (0, 2), (2, 5) and (4, 8) on a straight line, with a step from (2, 5): 2 across, then 3 up to (4, 8)xy23−3−2−112345−2−1123456789O

gradient=32\text{gradient} = \frac{3}{2}

Check with the first and last columns: xx goes from −2-2 to 44, a change of 66; yy goes from −1-1 to 88, a change of 99. Gradient =96=32= \frac{9}{6} = \frac{3}{2}.

The gradient of the line is 32\frac{3}{2}.

Drawing a Line with a Given Gradient

To draw a line through a given point with a given gradient, write the gradient as vertical changehorizontal change\frac{\text{vertical change}}{\text{horizontal change}} and use it as a step: from the point go across to the right, then up (or down), and mark a new point. Take the same step once more as a check, then join the points with a ruler.

A whole-number gradient is a step of 11 across: a gradient of −2-2 is −21\frac{-2}{1}, so 11 across and 22 down.

Example 9: Drawing a line with a negative gradient

Draw the line through A(1,5)A(1, 5) with gradient −32-\frac{3}{2}.

Solution

Write the gradient as −32\frac{-3}{2}: for every 22 units across to the right, the line goes 33 units down.

From A(1,5)A(1, 5): across 22 to x=3x = 3, then down 33 to y=2y = 2. Mark B(3,2)B(3, 2).

From B(3,2)B(3, 2): across 22 to x=5x = 5, then down 33 to y=−1y = -1. Mark C(5,−1)C(5, -1).

Join AA, BB and CC with a ruler and extend the line.

The line through A(1, 5) with gradient −3/2: two steps of 2 across and 3 down, to B(3, 2) and C(5, −1)xy2−32−3−11234567−3−2−11234567OABC

Check: from AA to CC the line goes across 44 and down 66, and −64=−32\frac{-6}{4} = -\frac{3}{2}.

The line passes through A(1,5)A(1, 5), B(3,2)B(3, 2) and C(5,−1)C(5, -1), going down from left to right.

Gradient as a Rate

When the axes stand for real quantities, the gradient tells you how fast one quantity changes as the other increases: it is a rate. The scales of such graphs are often different, so count in the units of each axis.

Gradient as a rate

The unit of the gradient is the unit of the vertical axis per unit of the horizontal axis: dollars per bowl, litres per minute, kilometres per hour.

Example 10: Cost per item

A hawker stall sells fishball noodles at the same price for every bowl. The graph shows the cost of 11 to 66 bowls. One square across is 11 bowl; one square up is $2.

(a) Why are the points not joined?

(b) Find the gradient and say what it stands for.

The cost of 1 to 6 bowls of fishball noodles: the points (1, 4), (2, 8), (3, 12), (4, 16), (5, 20) and (6, 24), not joinedNumber of bowlsCost ($)1234567481216202428O

Solution

(a) A customer buys a whole number of bowls: there is no cost for 2122\frac{1}{2} bowls. So the points are plotted but not joined.

(b) The points lie on a straight line, so a step between any two of them gives its gradient. Use the points for 11 bowl and 55 bowls.

The cost of fishball noodles, with a step from (1, 4) to (5, 20): 4 bowls across, then $16 upNumber of bowlsCost ($)4 bowls$161234567481216202428O

Across: from 11 bowl to 55 bowls, 5−1=45 - 1 = 4 bowls.

Up: from $4 to $20, 20−4=1620 - 4 = 16 dollars (88 squares of $2 each).

gradient=164=4\text{gradient} = \frac{16}{4} = 4

(a) Only whole numbers of bowls are sold. (b) The gradient is 44 dollars per bowl: each bowl of fishball noodles costs $4.

Example 11: Litres per minute

Water flows into a tank at a steady rate. The graph shows the volume of water, VV litres, in the tank tt minutes after the tap is turned on. One square across is 11 minute; one square up is 55 litres.

(a) Find the gradient of the line, with its unit, and say what it stands for.

(b) How much water was in the tank when the tap was turned on?

The volume of water in a tank: a straight line from (0, 20) to (10, 70)Time (minutes)Volume (litres)1234567891010203040506070O

Solution

The graph is an unbroken line because time passes continuously and the volume rises smoothly with it.

(a) The line passes through (2,30)(2, 30) and (6,50)(6, 50) at corners of the grid. Draw the step between them.

The volume of water in a tank: a line from (0, 20) to (10, 70), with a step from (2, 30): 4 minutes across, then 20 litres up to (6, 50)Time (minutes)Volume (litres)4 min20 litres1234567891010203040506070O

Across: 6−2=46 - 2 = 4 minutes. Up: 50−30=2050 - 30 = 20 litres. (The step is 44 squares across and 44 squares up, but the squares stand for different amounts.)

gradient=204=5\text{gradient} = \frac{20}{4} = 5

(b) At t=0t = 0 the line is at V=20V = 20.

(a) The gradient is 55 litres per minute: water flows in at 55 litres every minute. (b) There were 2020 litres in the tank at the start.

Example 12: A distance–time graph

A coach travels from Singapore to Malacca at a constant speed. The graph shows the distance, dd km, it has travelled tt hours after it set off. One square across is half an hour; one square up is 2020 km. Find the gradient of the graph and say what it stands for.

The distance travelled by a coach: a straight line from (0, 0) to (4, 240)Time (hours)Distance (km)123454080120160200240280O

Solution

The line passes through (1,60)(1, 60) and (3,180)(3, 180) at corners of the grid. Draw the step between them.

The distance travelled by a coach: a line from (0, 0) to (4, 240), with a step from (1, 60): 2 hours across, then 120 km up to (3, 180)Time (hours)Distance (km)2 h120 km123454080120160200240280O

Across: 3−1=23 - 1 = 2 hours. Up: 180−60=120180 - 60 = 120 km.

gradient=1202=60\text{gradient} = \frac{120}{2} = 60

The unit is kilometres per hour: the coach covers 6060 km in every hour.

The gradient is 6060 km/h: it is the speed of the coach.

The Gradient of y=ax+by = ax + b

Look back at some of the lines in this lesson, their equations and the gradients you found:

LineEquationGradient
Example 1y=2xy = 2x22
Example 2y=−2x+8y = -2x + 8−2-2
Example 3y=3y = 3, that is y=0x+3y = 0x + 300
Example 4y=12x+1y = \frac{1}{2}x + 112\frac{1}{2}
Example 5y=4x+2y = 4x + 244
Example 7y=−2x+5y = -2x + 5−2-2

The equations of Examples 1, 2 and 7 were not given there. Check each by substituting its two points: 2=2(1)2 = 2(1) and 8=2(4)8 = 2(4); 6=−2(1)+86 = -2(1) + 8 and 2=−2(3)+82 = -2(3) + 8; 7=−2(−1)+57 = -2(-1) + 5 and −1=−2(3)+5-1 = -2(3) + 5.

Each time, the gradient is the number in front of xx. This is no accident: in y=ax+by = ax + b, each time xx increases by 11, axax increases by aa, so yy changes by aa for every 11 unit across.

Gradient and equation

The graph of y=ax+by = ax + b is a straight line with gradient aa.

It crosses the yy-axis at (0,b)(0, b), because y=by = b when x=0x = 0.

In Example 11 the line is V=5t+20V = 5t + 20: the gradient 55 is the rate of flow in litres per minute, and 2020 litres is the volume at the start.

Common Mistakes

  • Counting squares on unequal scales. In Example 5, counting squares gives half the true gradient. Read the changes from the axis numbers.
  • Turning the fraction upside down. The gradient is the vertical change divided by the horizontal change, not the other way round.
  • Losing the minus sign. Count across from left to right. If the line goes down, the vertical change is negative and so is the gradient.
  • "The bigger the gradient, the steeper the line." This is false for negative gradients: −4-4 is smaller than 22, but a line with gradient −4-4 is steeper. Compare the sizes, ignoring the signs.
  • Using points that are not exactly on the line. Choose points where the line passes through a corner of the grid, or points given in the question or the table.
  • Leaving out the unit of a rate. A gradient of 55 on a volume–time graph is 55 litres per minute.

Practice Questions

Try each question before you open its solution. For every gradient, draw or sketch the step.

Question 1

Find the gradient of the line shown. The points AA and BB lie on the line at corners of the grid.

A straight line going up from left to right, with the points A and B marked on itxy1234512345678OAB
ShowHide solution

Read the points: A(1,1)A(1, 1) and B(3,5)B(3, 5). Draw the step from AA.

The line through A(1, 1) and B(3, 5), with a step from A: 2 across, then 4 up to Bxy241234512345678OAB

Horizontal change =3−1=2= 3 - 1 = 2. Vertical change =5−1=4= 5 - 1 = 4 (up).

gradient=42=2\text{gradient} = \frac{4}{2} = 2

The gradient of the line is 22.

Question 2

Find the gradient of the line shown, which passes through the points AA and BB.

A straight line going down from left to right, with the points A and B marked on itxy−6−5−4−3−2−11234567−2−11234567OAB
ShowHide solution

Read the points: A(−4,5)A(-4, 5) is the left-hand point and B(2,2)B(2, 2) the right-hand point.

The line through A(−4, 5) and B(2, 2), with a step from A: 6 across, then 3 down to Bxy6−3−6−5−4−3−2−11234567−2−11234567OAB

Horizontal change =2−(−4)=6= 2 - (-4) = 6. The line goes down, so the vertical change is 2−5=−32 - 5 = -3.

gradient=−36=−12\text{gradient} = \frac{-3}{6} = -\frac{1}{2}

The gradient of the line is −12-\frac{1}{2}.

Question 3

Sketch the line through each pair of points with its step, and find its gradient.

(a) (2,5)(2, 5) and (6,13)(6, 13)

(b) (−2,9)(-2, 9) and (4,0)(4, 0)

(c) (−3,−2)(-3, -2) and (5,−2)(5, -2)

ShowHide solution

(a) From (2,5)(2, 5) go across to (6,5)(6, 5), then up to (6,13)(6, 13). Horizontal change =6−2=4= 6 - 2 = 4; vertical change =13−5=8= 13 - 5 = 8. Gradient =84=2= \frac{8}{4} = 2.

(b) The left-hand point is (−2,9)(-2, 9). Go across to (4,9)(4, 9), then down to (4,0)(4, 0).

The line through (−2, 9) and (4, 0), with a step from (−2, 9): 6 across to (4, 9), then 9 downxy6−9−3−2−1123456−112345678910O(−2, 9)(4, 0)

Horizontal change =4−(−2)=6= 4 - (-2) = 6; vertical change =0−9=−9= 0 - 9 = -9. Gradient =−96=−32= \frac{-9}{6} = -\frac{3}{2}.

(c) Both points have yy-coordinate −2-2, so the line is horizontal. Horizontal change =5−(−3)=8= 5 - (-3) = 8; vertical change =−2−(−2)=0= -2 - (-2) = 0. Gradient =08=0= \frac{0}{8} = 0.

(a) 22 (b) −32-\frac{3}{2} (c) 00

Question 4

The table gives points on a straight line. Find the gradient of the line.

xx11335577
yy77665544
ShowHide solution

From each column to the next, xx increases by 22 and yy decreases by 11: a step 22 across and 11 down.

The points (1, 7), (3, 6), (5, 5) and (7, 4) on a straight line, with a step from (1, 7): 2 across, then 1 down to (3, 6)xy2−11234567812345678O

gradient=−12=−12\text{gradient} = \frac{-1}{2} = -\frac{1}{2}

Check with the first and last columns: across 7−1=67 - 1 = 6, vertical change 4−7=−34 - 7 = -3, and −36=−12\frac{-3}{6} = -\frac{1}{2}.

The gradient of the line is −12-\frac{1}{2}.

Question 5

Five lines have these gradients. Line PP: 22. Line QQ: −4-4. Line RR: 12\frac{1}{2}. Line SS: −2-2. Line TT: 00.

(a) Which lines go down from left to right? Which line is horizontal?

(b) Which two lines are equally steep?

(c) List the lines from the steepest to the least steep.

ShowHide solution

(a) A negative gradient means the line goes down from left to right: QQ and SS. A gradient of 00 means a horizontal line: TT.

(b) Ignoring the signs, the sizes of the gradients are 22, 44, 12\frac{1}{2}, 22 and 00. Lines PP and SS both have size 22: PP goes up 22 units for every 11 across and SS goes down 22 units, so they are equally steep.

(c) Order the sizes from the largest to the smallest: 44 (QQ), 22 (PP and SS), 12\frac{1}{2} (RR), 00 (TT).

(a) QQ and SS go down; TT is horizontal. (b) PP and SS. (c) QQ; then PP and SS, equally steep; then RR; then TT.

Question 6

The graph shows a straight line through the points AA and BB. One square across is 11 unit; one square up is 55 units. Wei Ming counts 22 squares across and 22 squares up from AA to BB, and says that the gradient is 11.

(a) Explain his mistake.

(b) Find the correct gradient.

A straight line on axes where one square across is 1 unit and one square up is 5 units, with the points A and B marked on itxy1234565101520253035OAB
ShowHide solution

(a) The squares do not stand for the same amount on the two axes: one square up is 55 units. He counted squares instead of units.

(b) Read the points: A(1,10)A(1, 10) and B(3,20)B(3, 20).

The line through A(1, 10) and B(3, 20), with a step from A: 2 across, then 10 up to Bxy2101234565101520253035OAB

Horizontal change =3−1=2= 3 - 1 = 2. Vertical change =20−10=10= 20 - 10 = 10: 22 squares of 55 units each.

gradient=102=5\text{gradient} = \frac{10}{2} = 5

(a) He counted squares, but each square up is 55 units. (b) The gradient is 55.

Question 7

(a) Draw the line through (0,2)(0, 2) with gradient 33.

(b) Draw the line through (1,1)(1, 1) with gradient 23\frac{2}{3}.

For each line, give the coordinates of two more points on it.

ShowHide solution

(a) A gradient of 33 is 31\frac{3}{1}: 11 across and 33 up. From (0,2)(0, 2) go to (1,5)(1, 5), then to (2,8)(2, 8). Join the points.

The line through (0, 2) with gradient 3: two steps of 1 across and 3 up, to (1, 5) and (2, 8)xy1313123412345678910O

(b) A gradient of 23\frac{2}{3} means 33 across and 22 up. From (1,1)(1, 1) go to (4,3)(4, 3), then to (7,5)(7, 5). Join the points.

The line through (1, 1) with gradient 2/3: two steps of 3 across and 2 up, to (4, 3) and (7, 5)xy323212345678123456O

(a) For example (1,5)(1, 5) and (2,8)(2, 8). (b) For example (4,3)(4, 3) and (7,5)(7, 5).

Question 8

A money changer at Raffles Place uses the graph below to change Singapore dollars (S$) into Malaysian ringgit (RM) at a fixed rate. One square across is S$5; one square up is RM10.

(a) Use the points (25,80)(25, 80) and (50,160)(50, 160) on the line to find its gradient.

(b) What does the gradient stand for?

(c) Use the gradient to find how many ringgit Ali gets for S$40.

A conversion graph: a straight line from (0, 0) to (50, 160), Singapore dollars across and Malaysian ringgit upSingapore dollars (S$)Malaysian ringgit (RM)10203040506020406080100120140160180O
ShowHide solution

(a) Draw the step from (25,80)(25, 80) to (50,160)(50, 160).

The conversion graph with a step from (25, 80): S$25 across, then RM80 up to (50, 160)Singapore dollars (S$)Malaysian ringgit (RM)S$25RM8010203040506020406080100120140160180O

Across: 50−25=2550 - 25 = 25 Singapore dollars. Up: 160−80=80160 - 80 = 80 ringgit.

gradient=8025=3.2\text{gradient} = \frac{80}{25} = 3.2

(b) The gradient is 3.23.2 ringgit per Singapore dollar: the money changer gives RM3.20 for every S$1.

(c) Each Singapore dollar buys RM3.20, so S$40 buys 40×3.2=12840 \times 3.2 = 128 ringgit.

(a) 3.23.2 ringgit per Singapore dollar (b) The rate of exchange: S$1 = RM3.20. (c) RM128

Question 9

Siti plays a game on her phone, and its battery runs down steadily. The graph shows the charge left in the battery, as a percentage of a full charge, tt hours after she starts. One square across is 11 hour; one square up is 10%.

(a) What was the charge at the start?

(b) Find the gradient of the line, with its unit.

(c) What does the gradient tell you?

(d) After how many hours is the battery flat?

The charge left in a phone battery: a straight line from (0, 90) down to (6, 0)Time (hours)Charge (%)1234567102030405060708090100O
ShowHide solution

(a) At t=0t = 0 the line is at 90%.

(b) Use the points (2,60)(2, 60) and (4,30)(4, 30), at corners of the grid.

The phone battery graph, with a step from (2, 60): 2 hours across, then 30% down to (4, 30)Time (hours)Charge (%)2 h−30%1234567102030405060708090100O

Across: 4−2=24 - 2 = 2 hours. The line goes down, so the vertical change is 30−60=−3030 - 60 = -30, in percent of a full charge.

gradient=−302=−15\text{gradient} = \frac{-30}{2} = -15

The unit is the unit up per unit across: percent per hour. So the gradient is −15-15% per hour.

(c) The charge falls by 15% of a full charge every hour.

(d) The line meets the time axis at t=6t = 6: the battery is flat after 6 hours. Check: 90% at 15% an hour lasts 90÷15=690 \div 15 = 6 hours.

(a) 90% (b) −15-15% per hour (c) The charge falls by 15% of a full charge every hour. (d) After 66 hours

Question 10

Priya uses her EZ-Link card for bus rides that all cost the same fare. The table shows the balance on her card after nn rides.

Number of rides, nn00224466
Balance ($)20.0020.0017.4017.4014.8014.8012.2012.20

(a) Show that the points lie on a straight line.

(b) Find the gradient of the graph of the balance against nn, and say what it means.

(c) After how many rides will the balance first fall below $5?

ShowHide solution

(a) For every 22 more rides the balance goes down by the same amount: 20.00−17.40=2.6020.00 - 17.40 = 2.60, 17.40−14.80=2.6017.40 - 14.80 = 2.60 and 14.80−12.20=2.6014.80 - 12.20 = 2.60. Equal steps in nn give equal steps in the balance, so the points lie on a straight line.

(b) From one column to the next the step is 22 rides across and $2.60 down, so the vertical change is −2.60-2.60.

gradient=−2.602=−1.30\text{gradient} = \frac{-2.60}{2} = -1.30

The balance falls by $1.30 for each ride: each bus ride costs $1.30.

(c) After 1111 rides the balance is 20.00−11×1.30=20.00−14.30=5.7020.00 - 11 \times 1.30 = 20.00 - 14.30 = 5.70 dollars. After 1212 rides it is 5.70−1.30=4.405.70 - 1.30 = 4.40 dollars, which is below $5.

(a) The balance falls by $2.60 for every 2 rides, so the steps are equal and the points lie on a straight line. (b) −1.30-1.30 dollars per ride: each ride costs $1.30. (c) After 1212 rides (balance $4.40).

Question 11

Mdm Lim's class orders printed T-shirts for Sports Day. The cost, CC dollars, of xx T-shirts is C=8x+150C = 8x + 150.

(a) Copy and complete the table.

xx00101020203030
CC

(b) Use the table to find the gradient of the graph of CC against xx.

(c) Compare your answer with the equation. What do the numbers 88 and 150150 stand for?

ShowHide solution

(a) C=8(0)+150=150C = 8(0) + 150 = 150; C=8(10)+150=230C = 8(10) + 150 = 230; C=8(20)+150=310C = 8(20) + 150 = 310; C=8(30)+150=390C = 8(30) + 150 = 390.

xx00101020203030
CC150150230230310310390390

(b) For every 1010 more T-shirts, CC goes up by 8080: a step 1010 across and 8080 up.

gradient=8010=8\text{gradient} = \frac{80}{10} = 8

(c) The gradient 88 is the number in front of xx, as for every line y=ax+by = ax + b. It is the rate: $8 for each T-shirt. The 150150 is the value of CC when x=0x = 0: a fixed charge of $150, paid however many T-shirts are ordered.

(a) 150150, 230230, 310310, 390390 (b) 88 (c) $8 per T-shirt, and a fixed charge of $150.

Question 12

A straight line passes through A(−2,1)A(-2, 1) and B(4,k)B(4, k). Its gradient is 32\frac{3}{2}.

(a) Find kk.

(b) Show that the point C(2,7)C(2, 7) lies on the line.

ShowHide solution

(a) Sketch the step from AA, the left-hand point. Horizontal change =4−(−2)=6= 4 - (-2) = 6.

A gradient of 32\frac{3}{2} means 33 up for every 22 across. Across 66 is 33 lots of 22, so the line goes up 3×3=93 \times 3 = 9.

So k=1+9=10k = 1 + 9 = 10.

The line through A(−2, 1) and B(4, 10), with a step from A: 6 across, then 9 up to B, and the point C(2, 7) on the linexy69−3−2−1123451234567891011OABC

(b) From A(−2,1)A(-2, 1) to C(2,7)C(2, 7): across 2−(−2)=42 - (-2) = 4 and up 7−1=67 - 1 = 6, so the gradient from AA to CC is 64=32\frac{6}{4} = \frac{3}{2}.

This is the gradient of the line. Only one straight line passes through AA with gradient 32\frac{3}{2}, so CC lies on it.

(a) k=10k = 10 (b) The step from AA to CC has gradient 32\frac{3}{2}, the same as the line, so CC is on the line.

Key Points

  • The gradient of a straight line measures its steepness: gradient=vertical changehorizontal change\text{gradient} = \frac{\text{vertical change}}{\text{horizontal change}}.
  • Find it with a right-angled step between two points on the line, going from left to right.
  • Count both changes in the units of the axes, not in squares, above all when the scales differ.
  • Up from left to right: positive gradient. Down: negative gradient. Horizontal: gradient 00.
  • Any two points on a straight line give the same gradient.
  • On the same axes, with the same scale on both, the larger the size of the gradient, ignoring its sign, the steeper the line; 33 and −3-3 are equally steep.
  • To draw a line with a given gradient, step across and up (or down) from the given point, twice, and join.
  • On a graph from a real setting the gradient is a rate, with the unit of the vertical axis per unit of the horizontal axis.
  • The graph of y=ax+by = ax + b has gradient aa and crosses the yy-axis at (0,b)(0, b).

‹ 10.4 Graphs of Linear Functions

All Secondary 1 (Grade 7) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 1 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.