Emzini weCodeUmhlahlandlelaMathematics 11.3 · Coordinates, Graphs and Functions NoticesAll books

Chapter 11/11.3Foundationabout 7 min

Gradient

Try this first

Two roads climb out of a valley. On the first, you climb 3 m for every 10 m you travel across. On the second, you climb 20 m for every 50 m across. Which road is steeper?

Compare the climb for each metre across: 3/10 = 0.3 and 20/50 = 0.4. The second road is steeper. Steepness is a rate, as in Chapter 5: height gained per unit across.

Definition

gradient The gradient of a straight line is the change in y divided by the change in x between any two points on it: gradient = rise/run. A line that goes up from left to right has a positive gradient, a line that goes down has a negative gradient, and a horizontal line has gradient 0.

To find the gradient, choose two points on the line, and always move from left to right. The run is how far you go across. The rise is how far you go up, and it is negative if you go down.

Worked example 11.3
Find the gradient of the line through
  1. (a)(1, 2) and (5, 8)
  2. (b)(−2, 5) and (4, 2).
(a)
Run = 5 − 1 = 4.
Rise = 8 − 2 = 6.
Gradient = 6/4 = 3/2.
(b)
Run = 4 − (−2) = 6.
Rise = 2 − 5 = −3.
Gradient = −3/6 = −1/2.

Now try one yourself

Key fact

The gradient formula. The gradient of the line through (x1, y1) and (x2, y2) is y2 − y1/x2 − x1.

It does not matter which point you call the first, as long as you subtract in the same order on the top and the bottom: 2 − 5/4 − (−2) and 5 − 2/−2 − 4 are both −1/2.

A vertical line has no gradient at all. Its run is 0, and we cannot divide by 0.

Why the gradient is the same everywhere. We have been saying "the" gradient of a line. Would two different pairs of points give the same answer? The figure shows two slope triangles on one line.

Slope triangles on one line are similarThe gold triangle is the teal one with every side doubled, so rise ÷ run is the same forboth.1TWO SLOPE TRIANGLES ON ONE LINE12345678910123456780xyrise ÷ run: 2 ÷ 3 = 4 ÷ 62POSITIVEgoes up from leftto rightrise is positive3NEGATIVEgoes down fromleft to rightrise is negative4ZEROhorizontalrise is 05NO GRADIENTverticalrun is 0run 3rise 2run 6rise 4y = 23x + 1
Figure 11.3 Two slope triangles on the same line. The larger is an enlargement of the smaller, so rise ÷ run is the same for both.
Key fact

The gradient of a straight line is the same wherever it is measured.

Proof

Draw any two slope triangles on the line, each with a horizontal run and a vertical rise. Their horizontal sides are parallel, their vertical sides are parallel, and their slanting sides lie on the same line. So the two triangles have the same three angles, and one is an enlargement of the other: they are similar shapes, which you will study in Chapter 12. In an enlargement every length is multiplied by the same scale factor k, so the second triangle has rise and run k times those of the first. Then k × rise/k × run = rise/run, and the gradient is unchanged.

Solving the grid point problem. The diagonal of the 84 by 60 rectangle goes from (0, 0) to (84, 60). Its gradient is 60/84 = 5/7 in simplest form, dividing top and bottom by their HCF, 12. So the line rises 5 for every 7 across, and it passes through (7, 5), (14, 10), (21, 15) and so on, up to (84, 60). Those are 13 grid points, counting (0, 0).

Could it pass through any other grid point? If (x, y) is on the line, then y = 5/7x, so 7y = 5x. The left side is a multiple of 7, so 5x is too. Since 5 and 7 are coprime, 7 must divide x itself. So x is a multiple of 7, and we have already listed all of those from 0 to 84. The answer is 13, which is the HCF of 84 and 60 plus 1. The same argument shows that the diagonal of an a by b rectangle meets HCF(a, b) + 1 grid points.

Check your understanding 11.3

  1. Find the gradient of the line through
    1. (a)(0, 1) and (2, 9)
    2. (b)(3, 4) and (7, 2)
    3. (c)(−1, −3) and (2, 3)
    4. (d)(−4, 6) and (5, 6).
    Show answerHide answer
    1. (a)8/2 = 4
    2. (b)−2/4 = −1/2
    3. (c)6/3 = 2
    4. (d)0
  2. A ramp rises 0.6 m over a run of 4.8 m. Find its gradient as a fraction in simplest form.
    Show answerHide answer
    0.6/4.8 = 1/8
  3. Without drawing, decide whether the line through (2, 7) and (6, 3) goes up or down from left to right.
    Show answerHide answer
    Down: y falls from 7 to 3 as x increases.
  4. How many grid points does the diagonal of a 12 by 18 rectangle pass through?
    Show answerHide answer
    HCF(12, 18) + 1 = 6 + 1 = 7.