Graphs of Linear Functions
Studying this course? Keep your progress in one place.
Key facts
- : is the gradient and is the y-intercept.
- Gradient .
- To find a line's equation, find , then substitute a point to find .
- Parallel lines have the same gradient; perpendicular lines have gradients that multiply to (Higher Tier).
- On a distance-time graph the gradient is speed; on a speed-time graph the gradient is acceleration and the area is distance.
y = mx + c
is the gradient, how steep the line is, and is where it crosses the y-axis.
In , is the gradient and is the y-intercept, the point .
The gradient is the change in divided by the change in . A positive gradient slopes up, a negative one slopes down and zero gives a horizontal line. A vertical line has no gradient and cannot be written as .
In the line crosses the y-axis at and rises 2 for every 1 to the right.
- Gradient
What are the gradient and y-intercept of ?
Plotting and interpreting
Plot the y-intercept, use the gradient to find a second point, and join them.
To plot: mark , then move right 1 and up or down by to find another point, and draw the line through both.
To interpret a graph: read the intercept where the line crosses the y-axis, and choose two clear points to find .
To test whether a point is on the line, substitute its coordinates into the equation.
Worked example
Plot .
- 1
The y-intercept is .
- 2
The gradient is : move right 1 and down 2 to reach .
- 3
Draw the line through and .
Does lie on ?
Finding the equation of a line
Find the gradient, then substitute a point into to find .
Through two points: find , substitute and one point into to find , then write the equation.
Through one point with a given gradient: substitute and the point to find .
Alternatively use and rearrange. Check by substituting the original points back in.
Worked example
Find the equation of the line through and .
- 1
Gradient: .
- 2
Substitute : , so .
Find the equation of the line through and .
Parallel and perpendicular lines
Parallel lines have equal gradients; perpendicular gradients multiply to .
Parallel lines have the same gradient but different values, such as and .
Perpendicular lines have gradients that are negative reciprocals. Gradient 2 is perpendicular to , and to .
To find a line through a point, use the same gradient for parallel or the negative reciprocal for perpendicular, then find .
- Parallelsame gradient
- Perpendicular
Worked example
Find the line perpendicular to through .
- 1
The given gradient is 2, so the perpendicular gradient is .
- 2
Substitute : .
- 3
So .
A line has gradient . What is the gradient of a perpendicular line?
Real-life graphs
On a distance-time graph the gradient is speed; on a speed-time graph the gradient is acceleration and the area is distance.
On a distance-time graph, a straight line with positive gradient is constant speed, a horizontal line is stationary, and a steeper line is faster. The gradient is speed.
On a speed-time graph, a positive gradient is constant acceleration and a negative gradient is deceleration. A horizontal line is constant speed. The gradient is acceleration and the area under the line is the distance travelled.
Always say what the gradient or area means in context, with units.
On a speed-time graph, what does the area under the line represent?
Try an exam question
Find the equation of the straight line that passes through the points and .
[4 marks]
- [1]Gradient .
- [1].
- [1]Substitute : , so .
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
What is the gradient of line ?
1 mark, marked against the mark scheme
What is the gradient of line ?
1 mark, marked against the mark scheme