topic badge
Australia
Year 9

4.09 Gradients in context

Lesson

Introduction

We have already learnt that a rate is a ratio between two measurements with different units.

When we graph these rates, the rate of change can be understood as the gradient, steepness or slope of a line. Further, we look at the equations in gradient-intercept form (that is, y=mx+b, where m is the gradient), the larger the absolute value of m, the steeper the slope of the line.

For example, a line with a slope of of 4 is steeper than a line with a slope of \dfrac23. Similarly, a line with a slope of -2 is steeper than a line with a slope of 1, even though one is positive and one is negative.

Gradient

The rate of change of a line is a measure of how steep it is. In mathematics we also call this the gradient.

The rate of change in a graph can be positive or negative.

The rate of change in a graph can be positive or negative. The lines below have positive rates of change. Notice how as the values on the x-axis increase, the values on the y-axis also increase.

Three graphs showing positive gradients. Ask your teacher for more information.

These next graphs have negative rates of change. Unlike graphs with a positive slope, as the values on the x-axis increase, the values on the y-axis decrease.

Three graphs showing negative gradients. Ask your teacher for more information.

The rate of change is a single value that describes:

  • if a line is increasing (has positive gradient)

  • if a line is decreasing (has negative gradient)

  • how far up or down the line moves (change in the y-value) with every unit step to the right (for every 1 unit increase in x)

-2
-1
1
2
x
-2
-1
1
2
y

Take a look at this line for example. The highlighted lines are the horizontal and vertical steps. We call the horizontal measurement the run and the vertical measurement the rise.

Here, for every 1 step across (run of 1), the line goes up 2 (rise of 2). This line has a rate of change of 2.

Sometimes it is difficult to measure how far the line goes up or down (how much the y-value changes) in 1 horizontal unit. In this case we calculate the gradient by using a formula: \text{gradient}= \dfrac{\text{rise}}{\text{run}}

Where you take any two points on the line whose coordinates are known or can be easily found, and look for the rise and run between them.

Idea summary

Remember that an increasing line has a positive gradient, while a decreasing line has a negative gradient.

1
2
3
4
5
6
x
1
2
3
4
5
6
y

We can calculate the gradient by using the formula: \text{gradient}= \dfrac{\text{rise}}{\text{run}}

The rise and run can be found by drawing a right-angled triangle where the line is the hypotenuse.

Gradient from coordinates

If you have a pair of coordinates, such as A (3, 6) and B (7, -2), we can find the gradient of the line between these points using the rule: m=\dfrac{y_2-y_1}{x_2-x_1}

Let's substitute our coordinates into this formula: \begin{aligned} m&=\dfrac{y_2-y_1}{x_2-x_1} & \text{Write the formula}\\ &=\dfrac{6-(2)}{3-7} & \text{Substitute the coordinates}\\ &=\dfrac{6+2}{3-7} & \text{Simplify the numerator}\\ &=\dfrac{8}{-4} & \text{Evaluate both parts} \\ &=-2 & \text{Simplify}\end{aligned}

So the rate of change between these coordinates is -2.

Examples

Example 1

After Mae starts running, her heartbeat increases at a constant rate.

a

Complete the table.

\text{Number of minutes passed }(x)024681011
\text{Heart rate }(y)495561677379
Worked Solution
Create a strategy

Determine how much y changes if x increases.

Apply the idea

For every 2 minutes that pass, heart rate (y) increases by 6. So we can say that for every 1 minute that pass, heart rate (y) increase by 3.

\text{Number of minutes passed }(x)024681011
\text{Heart rate }(y)49556167737982
b

By how much is her heartbeat increasing each minute?

Worked Solution
Create a strategy

Use the answer in part (a).

Apply the idea

In part (a), we determined that y increases by 3 when the x increases by 1.

\text{Constant rate}=3

c

Form an equation that describes the relationship between the number of minutes passed (x) and Mae’s heartbeat (y).

Worked Solution
Create a strategy

Mae’s heartbeat, y, is equal to the change in heart rate in x minutes plus the beginning heart rate.

Apply the idea

We calculated the heart rate change per minute in part (b), which is 3. So we write the equation as: y=3x+49

d

In the equation, y=3x+49, what does 3 represent?

A
The change in one minute of Mae's heartbeat.
B
The total time Mae has run.
C
The total distance Mae has run.
Worked Solution
Create a strategy

By looking on part (b), 3 It represents the rate at which y is changing.

Apply the idea

The correct answer is option A: The change in one minute of Mae's heartbeat.

Example 2

Petrol costs a certain amount per litre. The table shows the cost of various amounts of petrol in dollars:

\text{Number of litres }(x)010203040
\text{Cost of petrol }(y)016.4032.8049.2065.60
a

Write an equation linking the number of litres of petrol pumped (x) and the cost of the petrol (y).

Worked Solution
Create a strategy

The cost of petrol is equal to the price per litre times the number of litres pumped.

Apply the idea

Find the price per litre:

\displaystyle y\displaystyle =\displaystyle \dfrac{16.40}{10}Divide 16.40 by 10
\displaystyle =\displaystyle 1.64Evaluate

Since we get the price per litre, we can write the equation as y=1.64x.

b

How much does petrol cost per litre?

Worked Solution
Create a strategy

Divide the cost of the petrol (y) by the number of litres (x).

Apply the idea
\displaystyle \text{Cost per litre}\displaystyle =\displaystyle \dfrac{16.40}{10}Divide 16.40 by 10
\displaystyle =\displaystyle \$1.64Evaluate
c

How much would 47 litres of petrol cost at this unit price?

Worked Solution
Create a strategy

Using the equation from part (a), subtitute x=47.

Apply the idea
\displaystyle y\displaystyle =\displaystyle 1.64xWrite the equation
\displaystyle =\displaystyle 1.64 \times 47Substitute x=47
\displaystyle =\displaystyle \$77.08Evaluate
d

In the equation, y=1.64x, what does 1.64 represent?

A
The unit rate of cost of petrol per litre.
B
The number of litres of petrol pumped.
C
The total cost of petrol pumped.
Worked Solution
Create a strategy

By looking on part (a), 1.64 represents the rate at which y increases.

Apply the idea

The correct answer is option A: The unit rate of cost of petrol per litre.

Idea summary

We can find the gradient of the line between these points using the rule. m=\dfrac{y_2-y_1}{x_2-x_1}

Gradient of horizontal and vertical lines

Horizontal lines have no rise value. The \text{rise}=0. So:

\begin{aligned} \text{gradient}&=\dfrac{\text{rise}}{\text{run}} \\ &= \dfrac{0}{\text{run}} \\ &= 0 \end{aligned}

It doesn't matter what the run is, the gradient will be 0.

Vertical lines have no run value. The \text{run}=0. So:

\begin{aligned} \text{gradient}&=\dfrac{\text{rise}}{\text{run}} \\ &= \dfrac{\text{rise}}{\text{0}} \end{aligned}

It doesn't matter what the rise is, any division by 0 results in the value being undefined.

Examples

Example 3

What kind of slope does the following line have?

-2
-1
1
2
x
-2
-1
1
2
y
A
Positive
B
Negative
C
Undefined
D
Zero
Worked Solution
Create a strategy

Plot points on the line and check the possible value of the gradient.

Apply the idea
-2
-1
1
2
x
-2
-1
1
2
y

We can see that the x-value is always the same for every point plotted on the line. This means the \text{run}=0. So, the correct option is C.

Idea summary

Description of gradient: \text{gradient}=\dfrac{\text{rise}}{\text{run}}

The gradient of a horizontal is always 0.

The gradient of a vertical is always undefined.

Outcomes

AC9M9A03

find the gradient of a line segment, the midpoint of the line interval and the distance between 2 distinct points on the Cartesian plane

AC9M9A05

use mathematical modelling to solve applied problems involving change including financial contexts; formulate problems, choosing to use either linear or quadratic functions; interpret solutions in terms of the situation; evaluate the model and report methods and findings

What is Mathspace

About Mathspace