2.1 Equations of straight lines
Studying this course? Keep your progress in one place.
Key facts
- Three forms: , and .
- The gradient is ; find intercepts by setting or .
- Parallel lines have ; perpendicular lines have .
- The shortest distance from a point to a line is along the perpendicular.
- In context, gradient is the vertical change divided by the horizontal change, in the same units.
Three forms of a line
A line can be written in gradient–intercept, general or point–gradient form; they all describe the same line.
Gradient–intercept: , with gradient and -intercept . General form: , often with integer . Point–gradient: .
For , make the subject: . The gradient is , not . Drag the sliders: tilts the line, slides it.
Gradient–intercept
- Read and
General
- Integer coefficients
Point–gradient
- Gradient and one point
What is the gradient of ?
Gradient and intercepts
The gradient is the change in over the change in ; intercepts come from setting or .
Through and , . A positive gradient slopes up to the right; a negative one slopes down. Subtract in the same order top and bottom.
The -intercept is found by setting ; the -intercept by setting . For these are and .
Worked example
Find the gradient of the line through and .
- 1
.
- 2
Substitute in the same order: .
- 3
.
Find the gradient of the line through and .
Parallel and perpendicular
Parallel lines have equal gradients; perpendicular gradients multiply to .
Lines with gradients and are parallel if and perpendicular if , so , the negative reciprocal. The perpendicular to has gradient .
To show lines are perpendicular, find both gradients, show the product is , and say so in words.
Worked example
Find the line perpendicular to through , in the form .
- 1
Gradient: negative reciprocal of is .
- 2
Point–gradient: .
- 3
Multiply by 3: .
A line has gradient . What is the gradient of a perpendicular line?
Intersections and shortest distance
Go along the perpendicular through the point, find where it meets the line, then use the distance formula.
A point lies on a line if its coordinates satisfy the equation. Two lines meet where their equations hold together, so solve them simultaneously.
The shortest distance is measured along the perpendicular. Find the foot of the perpendicular, then use .
Worked example
Find the shortest distance from to .
- 1
The perpendicular through is .
- 2
Solve : , , .
- 3
.
Along which line is the shortest distance from a point to a line measured?
Gradients in context
A real gradient is vertical change over horizontal change, often given as a percentage.
A road rising 84 m over a horizontal 1200 m has gradient , a gradient. Always use the horizontal distance and consistent units.
In a model , is the rate of change (metres of height per metre travelled) and is the starting value.
- Percentage gradient
Worked example
A path rises 150 m over a horizontal distance of 2.5 km. Find its percentage gradient.
- 1
Same units: .
- 2
Gradient .
- 3
Multiply by 100.
A road rises 30 m over a horizontal 600 m. What is its percentage gradient?
Try an exam question
Find the equation of the line perpendicular to that passes through the point . Give your answer in the form , where .
[4 marks]
- [1]States the perpendicular gradient .
- [1]Writes .
- [1]Multiplies by 3 to clear the fraction.
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the gradient of .
1 mark, marked against the mark scheme
Find the gradient of .
1 mark, marked against the mark scheme