Pure Mathematics Year 1, chapter 5 (Straight line graphs), section 5.1
The equation of a line
A straight line can be written as
- is the gradient (how steep the line is, and which way it slopes).
- is the -intercept (where the line crosses the -axis, at ).
Gradient
For two points and on the line:
- : the line slopes up to the right.
- : the line slopes down to the right.
- : a horizontal line, .
- A vertical line, , has no gradient defined.
Rearranging
Equations are often not in the form , so rearrange to make the subject.
Worked example 1
Find the gradient and -intercept of .
The gradient is and the -intercept is .
Worked example 2: sketching
Sketch .
Put : , so . Put : , so . Join the two points with a straight line, which slopes down because the gradient is negative.
Worked example 3: does a point lie on the line?
Does lie on ?
Substitute : , which matches. Yes, it lies on the line.
Does lie on it? . No.
Writing an equation from and
A line with gradient 3 that cuts the -axis at has equation .
Common mistake: reading the gradient straight from an equation that is not rearranged. In the gradient is not . Always make the subject first, and divide every term.
Exam tip: when asked to sketch a line, find both intercepts by putting and then , and label them with coordinates. Check a third point, or the sign of the gradient, to catch errors.
Check yourself
State the gradient and -intercept of .
The gradient is and the -intercept is .
Find the gradient of the line through and .
.
Rearrange to find the gradient.
, so and the gradient is .