Linear functions and graphs
Studying this course? Keep your progress in one place.
Key facts
- A linear function has the equation and a straight-line graph.
- Gradient (rise over run); is the -intercept.
- Sketch a line from its two intercepts, and use a third point to check.
- To find an equation, work out , then substitute a point to find .
- In context, the gradient is the rate of change and is the starting value.
The equation y = mx + c
In , is the gradient (steepness) and is where the line crosses the -axis.
A linear function has a straight-line graph. A positive gradient slopes up from left to right and a negative gradient slopes down. For example has gradient and -intercept , so it passes through .
What is the gradient of ?
Calculating the gradient
The gradient is the rise divided by the run, taking the coordinates in the same order on the top and bottom.
Subtract the coordinates in the same order on the top and bottom. The rise is the vertical change and the run is the horizontal change.
- Gradient
Worked example
Find the gradient between and .
- 1
.
- 2
.
Find the gradient between and .
Plotting and sketching lines
Find where the line crosses each axis, mark both points and draw the line through them.
To plot a line, make a table of values and join the points with a ruler. To sketch quickly, find the intercepts: put for the -intercept and for the -intercept. Three points are better than two, because the third checks for mistakes.
Worked example
Sketch .
- 1
When , , giving .
- 2
When , , so , giving .
- 3
Mark both points and draw the line through them.
Where does cross the -axis?
Finding the equation of a line
Find the gradient, put it into , then substitute a point to find .
From a gradient and a point: put into , substitute the point and solve for . From two points: find first, then do the same. To test whether a point lies on a line, substitute its -value and compare .
Worked example
Find the equation of the line through and . Does lie on it?
- 1
, so .
- 2
Using : , so and .
- 3
Check with : .
- 4
For : .
A line has gradient and passes through . What is its equation?
Rate of change in context
In a real situation the gradient is the rate of change and the -intercept is the starting value.
The rate of change is how much the output changes for every 1 unit of input. The starting value is the output when . Always include units: say "75 litres per minute", not just "75".
Worked example
A pool fills so that . Interpret the gradient and find when .
- 1
The gradient means litres per minute, and the intercept means the pool starts empty.
- 2
, so .
For , what does the intercept 0 mean?
Try an exam question
A line passes through and . Find the equation of the line and state where it crosses the -axis.
[4 marks]
- [1]Gradient .
- [1]Writes and substitutes a point, e.g. .
- [1], so .
- [1]Crosses the -axis at .
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