Linear Graphs
Studying this course? Keep your progress in one place.
Key facts
- A straight line is : is the gradient, is the y-intercept.
- Gradient .
- Rearrange into to read off and .
- Parallel lines have the same gradient.
- Perpendicular lines have gradients that multiply to : .
Equation of a line
y = mx + c: m is the steepness and c is where the line crosses the y-axis.
is the value of when . Extended candidates should rearrange into to identify and . Drag the sliders to see how and change the line.
Worked example
Rearrange into form.
- 1
Subtract : .
- 2
Divide by 3: .
What is the gradient of ?
Gradient
Divide the change in y by the change in x between two points.
Keep the order of subtraction consistent in the numerator and denominator: mixing the order gives the wrong sign.
- Gradient
Worked example
Find the gradient of the line through and .
- 1
Substitute: .
- 2
Simplify: .
Find the gradient of the line through (0, 5) and (2, 1).
Finding the equation
Find the gradient, substitute a known point to find c, then write y = mx + c.
Alternatively substitute a point and into and rearrange.
Worked example
Find the equation of the line through with gradient .
- 1
Start with .
- 2
Substitute : .
- 3
So .
A line has gradient 2 and passes through (1, 5). What is its equation?
Parallel and perpendicular
Parallel lines share a gradient; perpendicular gradients multiply to −1.
The perpendicular bisector of a segment is perpendicular to it and passes through its midpoint: combine the midpoint formula with the perpendicular gradient rule. For a gradient of 2, the perpendicular gradient is .
- Perpendicular
Worked example
Find the equation of the line parallel to through .
- 1
Parallel lines share the gradient, so .
- 2
Substitute: , so .
A line has gradient 3. What is the gradient of a perpendicular line?
Try an exam question
Find the equation of the line through that is perpendicular to the line .
[4 marks]
- [1]The gradient of the perpendicular line is .
- [1].
- [1]Substitute : .
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
A hiking trail's elevation, metres, changes with horizontal distance, km, along a straight section passing through and . Find the gradient of this section.
1 mark, marked against the mark scheme
A hiking trail's elevation, metres, changes with horizontal distance, km, along a straight section passing through and . Find the gradient of this section.
1 mark, marked against the mark scheme