Gradient and y-intercept: reading the equation of a line
Ages 12–14GCSE (A10, R14)
What you will learn
The equation of a linear function has the form . You learn what the numbers and mean and how to find them from a graph, from two points or from a table of values.
Try it straight away: move only the ‘y-intercept c’ slider. What happens to the line? Then set ‘Gradient m’ to .
The line crosses the y-axis at 1 and rises by 1 for each step to the right: the gradient is 1.
Two numbers
The slider moves the line up or down without turning it. is the y-intercept: the line crosses the -axis at this height.
The slider turns the line about this point; at it is horizontal. is the gradient: the change in when grows by . A right-angled triangle on the line shows it: to the right, up or down.
The line crosses the -axis at and rises by for each step to the right.
Self-check
Where does the line cross the -axis?
Show the solution
At . For , . The number is the gradient, and the minus sign belongs to : .
Example 1
A line passes through the points and . What is its equation?
- 01
The point lies on the -axis. Read off there.
- 02
Go from the first point to the second: how far is it to the right, and how far up?
- 03
Divide the change upwards by the change to the right.
- 04
Substitute and into .
The equation is . Check with the second point: , which is right.
Rising, falling, horizontal
The sign of decides. If is positive, the line rises from left to right. If is negative, it falls. At it is horizontal. The further is from , the steeper the line.
If and is not , the line slants through the origin: then is a direct proportion.
risingy = 2x + 1
horizontaly = 1
fallingy = −2x + 1
Positive gradient, gradient , negative gradient: the -intercept is the same for all three lines.
Example 2
This table of values belongs to a line:
What is the equation of the line?
- 01
Read off : it is the value at .
- 02
See how changes when grows by .
- 03
The change is the same at every step: that is the gradient.
- 04
Substitute and into .
The equation is . The line falls because is negative. Check with : , as in the table.
Self-check
A line passes through the points and . What is its gradient ?
Show the solution
To the right: . Up: . So .
Self-check
Which equation describes a direct proportion?
Show the solution
: here , and the line passes through the origin . In , , and in , : these two lines cross the -axis above the origin.
For teachers: a lesson plan (45 min)
- 5 min
Starter
First ask without the simulation: what happens to the line when the at the end becomes a ? The class predicts. Then open the simulation with ‘Full screen’: someone moves only the ‘y-intercept c’ slider, then only ‘Gradient m’.
- 10 min
Two numbers
The figure with the triangle on the line: where else on the line could the triangle stand, and what would stay the same? Then the first self-check. Reveal Example 1 step by step together.
- 10 min
Rising, falling, horizontal
The figure with the three lines: how can you tell from the equation alone whether a line rises or falls? How would lie in this picture? Discuss the ‘Watch out’ box and, at the board, work out a gradient from two points once the right way and once the wrong way round.
- 15 min
Practice
Let pupils try Example 2 on their own first, then reveal it and compare. The second and third self-checks, alone or in pairs. Anyone who finishes early writes down an equation of their own that the simulation can set (gradient from to in steps of a half, an integer from to ), sketches the line in their exercise book and checks the sketch with the simulation.
- 5 min
Plenary
Read the ‘Remember’ box together. Ask: how do you find when the value at is missing from a table of values?
What you need first
Got an exercise on paper?
Take a photo of it and Math Explainer turns it into an explainer video with every step of the solution.