2.1 Equation of a straight line
Studying this course? Keep your progress in one place.
Key facts
- Gradient : rise over run.
- Three forms: , and .
- The -intercept sets ; the -intercept (the zero) sets .
- Parallel lines have ; perpendicular lines have .
- In a linear model the gradient is the rate of change and is the starting value.
Gradient
The gradient is the change in for each one-unit change in .
For points and :
A positive gradient slopes up from left to right, a negative one slopes down, a horizontal line has and a vertical line has an undefined gradient.
For and : .
- Gradient
What is the gradient through and ?
Forms of the equation
Use point-gradient when you know a point and the gradient, then convert to whichever form is asked.
- Gradient-intercept: .
- Point-gradient: .
- General: , usually with integer coefficients.
Through with : , so , or .
To read the gradient from general form, rearrange: gives , so .
| Gradient-intercept | Point-gradient | General | |
|---|---|---|---|
| Form | |||
| Use when you know | Gradient and -intercept | A point and the gradient | Integer coefficients |
Gradient-intercept
- Form:
- Use when you know:
- Gradient and -intercept
Point-gradient
- Form:
- Use when you know:
- A point and the gradient
General
- Form:
- Use when you know:
- Integer coefficients
Worked example
Find the equation of the line through with gradient , in the form .
- 1
Point-gradient: .
- 2
Expand: .
- 3
Rearrange: , then move every term to one side.
What is the gradient of ?
Intercepts
Set for the -intercept and for the -intercept.
The -intercept is where the line crosses the -axis (). The -intercept is where it crosses the -axis (); it is the zero of the function.
In the -intercept is and the -intercept is .
For : gives , and gives , so the intercepts are and .
What is the -intercept of ?
Parallel and perpendicular lines
Parallel lines share a gradient; perpendicular gradients multiply to .
For gradients and :
- Parallel: .
- Perpendicular: , so (flip and change sign).
A line perpendicular to has gradient .
Worked example
Find the line perpendicular to through .
- 1
Given gradient 2, so the perpendicular gradient is .
- 2
Point-gradient: .
- 3
Expand and rearrange.
A line has gradient . What gradient is perpendicular to it?
Gradients in context
A gradient is a rate of change, found as rise over run with both lengths in the same units.
A road rising 150 m over 2500 m horizontally has gradient , a 6% incline. Its angle is .
In a linear model , the gradient is the rate of change, with units "units of per unit of " (for example 60 m per km), and is the starting value at .
- 1
Same units
2.5 km = 2500 m
- 2
Gradient
- 3
Percentage
6% incline
- 4
Angle
A taxi costs AED for km. What does the gradient 2.5 mean?
Try an exam question
The line passes through and . (a) Find the gradient of . (b) Find the equation of in the form . (c) The line is perpendicular to and passes through . Find the equation of .
[5 marks]
- [1].
- [1] and , so .
- [1]Perpendicular gradient .
- [1].
- [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