Linear functions and graphs
Studying this course? Keep your progress in one place.
Key facts
- A linear function is : is the gradient, the -intercept.
- Gradient ; subtract in the same order.
- To sketch a line, find the intercepts with both axes.
- To find an equation, find , then substitute a point to find .
- In context the gradient is the rate of change and the intercept is the starting value.
The equation y = mx + c
In y = mx + c, m is the gradient (steepness) and c is where the line crosses the y-axis.
A positive gradient slopes up from left to right, a negative gradient slopes down.
has gradient (downward) and -intercept , so it passes through .
What is the gradient of ?
Calculating the gradient
Divide the change in y by the change in x, subtracting in the same order on top and bottom.
Worked example
Find the gradient of the line through and .
- 1
Rise .
- 2
Run .
- 3
.
Find the gradient of the line through and .
Plotting and sketching lines
Find where the line crosses each axis, mark both points and draw the line through them.
For : when , , giving . When , so , giving .
To plot a line, make a table of values. Three points are better than two, because the third checks for mistakes.
Find the intercepts of .
Finding the equation of a line
Find the gradient, put it in y = mx + c, then substitute a point to find c.
To test whether a point lies on a line, substitute its -value. For on we get , so it is not on the line.
Worked example
Find the equation of the line through and .
- 1
Gradient: , so .
- 2
Substitute : , so .
- 3
The equation is .
- 4
Check with the other point : .
Find the equation of the line with gradient through .
Rate of change in context
The gradient is the rate of change and the y-intercept is the starting value; always include units.
A pool fills so that . The gradient means 75 litres per minute, and the intercept means the pool starts empty.
Worked example
How long does the pool take to reach litres?
- 1
Set the equation equal to the given value: .
- 2
Divide by : .
A tank follows litres after minutes. What do and mean?
Try an exam question
Find the equation of the straight line through and .
[4 marks]
- [1]Gradient = (9 − 1) ÷ (6 − 2) = 2.
- [1]y = 2x + c.
- [1]Substitute (2, 1): 1 = 4 + c, so c = −3.
- [1]y = 2x − 3.
That's the notes covered.
Carry on to the next subtopic.
Try a question
What is the gradient of the line?
1 mark, marked against the mark scheme
What is the gradient of the line?
1 mark, marked against the mark scheme