Syllabus coverage
- Use and request lines in different forms, e.g. , ,
- Find the equation of a straight line when the graph is given
- Find the gradient or -intercept of a graph from an equation, e.g. find the gradient and -intercept of
- Give equations of a line in a fully simplified form
- Find the gradient and equation of a straight line parallel to a given line
- Find the gradient of a perpendicular line and the equation of a perpendicular bisector
Part of the O Level Maths syllabus 4024.
: the two numbers that describe a line
In , the coefficient is the gradient and the constant is the -intercept, the height at which the line crosses the -axis. The equation is a description of every point on the line: a point is on the line exactly when its coordinates satisfy the equation.
So has gradient 2 and crosses the -axis at . Starting from that intercept, every step of 1 to the right takes you 2 up, which lands on , and so on. Two numbers fix a straight line completely: a gradient without an intercept gives a whole family of parallel lines, and an intercept without a gradient gives every line through that point.
When a line falls, is negative and the equation still reads the same way: drops 3 for every 1 across and meets the -axis at 4. The minus sign belongs to the gradient, not to the whole expression.
| Equation | Gradient | Crosses the -axis at | Direction |
|---|---|---|---|
| rising | |||
| falling | |||
| gentle, rising | |||
| falling |
Building an equation from a gradient and a point
Start from and put in the gradient you are given. That leaves one unknown, . Substitute the coordinates of the point, solve for , and write the finished equation.
For a line of gradient through : the equation is . Substituting gives , so and . The line is . Check it by putting back in: , which is the point you were given.
The same routine works with a fractional gradient and with negative coordinates, because the substitution does not care about signs. The check at the end is worth the ten seconds: if the given point does not satisfy your equation, the intercept is wrong.
Building an equation from two points
With two points, the gradient comes first. Use , then substitute either point into to find . Either point gives the same , so use the one with simpler numbers.
For and : the gradient is . Then gives , so . The equation is . Checking with the other point: , which matches.
If one of the points is the -intercept, the work is shorter: the -coordinate of that point is itself. A line through and has and gradient , so .
- and :
- and :
- and : , so
- and : , so
The form , and the vertical line
Cambridge writes lines in three shapes. is the most useful, often appears when the coefficients are whole numbers, and is the only way to write a vertical line, which has no gradient and so cannot be put in the form .
To convert between them, rearrange by the ordinary rules of algebra. From , multiply by 3: , then collect: . Going the other way, becomes , so .
A vertical line through is , because every point on it has -coordinate 5 whatever its -coordinate. A horizontal line through the same point is . These two are easy marks and easy losses: the vertical one is not .
| Form | Example | Best used for |
|---|---|---|
| reading the gradient and intercept | ||
| whole-number coefficients | ||
| vertical lines | ||
| horizontal lines |
Reading the gradient and intercept out of any equation
An equation in the form hides its gradient. Make the subject first, then read the numbers off. For : subtract to get , then divide by 4 to get . The gradient is and the -intercept is 2.
The pattern is worth knowing as a check: for , the gradient is and the -intercept is . Both come from dividing by , which is why the -intercept is not unless .
Do not divide only the left-hand side. Every term must be divided by , including the constant, and the -term keeps its minus sign. An answer with the wrong sign on the gradient describes a line sloping the wrong way, which a quick sketch would reveal.
| Equation | Rearranged | Gradient | -intercept |
|---|---|---|---|
Fully simplified form
An equation of a line has infinitely many equivalent writings, so Cambridge asks for one in a fully simplified form: no fractions in the coefficients if whole numbers will do, no common factor left in all three terms, and no brackets waiting to be expanded.
is the same line as , and only the second is acceptable. should be divided through by 2 to give . should be expanded to .
When the question names a form, use that form. If it says give your answer in the form where , and are integers, then fractions such as are not in the required form until you multiply through by 2 to get .
- simplifies to
- simplifies to
- becomes
- becomes
Parallel lines: the same gradient
Parallel lines never meet, which happens exactly when they have the same gradient. So a line parallel to has gradient 4 and some different intercept; the equation is for a value of you find from a point.
Through : gives , so the parallel line is . It is parallel to the original because both have gradient 4, and it is a different line because the intercepts differ.
If the given line is in the form , rearrange it first. A line parallel to has gradient , because . The numbers and stay in the same ratio on every parallel line: is parallel to .
Perpendicular lines: negative reciprocals
Two lines are perpendicular when their gradients multiply to : . Equivalently, the second gradient is the negative reciprocal of the first, found by turning the fraction upside down and changing its sign.
So a line of gradient is perpendicular to one of gradient , because . A line of gradient is perpendicular to one of gradient . A horizontal line (gradient 0) is perpendicular to a vertical line (undefined gradient), which is the one case the product rule cannot express.
Watch the sign. The reciprocal of is , and the perpendicular gradient is , not and not . Reading the gradient of the given line correctly is half the battle: for , divide by 2 first to see the gradient is , and only then invert.
| Given gradient | Perpendicular gradient | Product |
|---|---|---|
The perpendicular bisector, and a routine for line questions
A perpendicular bisector cuts a segment in half at right angles, so it needs two things: the midpoint of the segment, which it passes through, and the perpendicular gradient. Find the midpoint with the averaging formula, find the gradient of the segment, turn it into the negative reciprocal, then build the equation from that gradient and that point.
For and : the midpoint is . The gradient of is , so the perpendicular gradient is 1. Then gives , and the bisector is , or in the other form.
The routine for any line question is the same three steps: get the gradient, get one point, substitute into . Parallel questions reuse the gradient; perpendicular questions flip and negate it; bisector questions find the point by averaging. Nothing else is needed.
| Question asks for | Gradient to use | Point to use |
|---|---|---|
| line through two points | calculate from the points | either given point |
| parallel line | same as the given line | the given point |
| perpendicular line | negative reciprocal | the given point |
| perpendicular bisector | negative reciprocal of the segment | the midpoint |
Key terms you must be able to define
- Gradient-intercept form
- , where is the gradient and is the -intercept.
- Gradient
- The change in for each unit of change in ; the coefficient of once is the subject.
- -intercept
- The value of where the line crosses the -axis, which is the constant in .
- General form
- , with the terms collected on one side; useful when the coefficients are whole numbers.
- Vertical line
- A line of the form , with undefined gradient, through every point whose -coordinate is .
- Horizontal line
- A line of the form , with gradient 0.
- Fully simplified form
- No common factor in the coefficients, no fractions where integers will do, and no brackets left unexpanded.
- Parallel lines
- Lines with the same gradient, which therefore never meet.
- Perpendicular lines
- Lines that meet at a right angle; their gradients satisfy .
- Negative reciprocal
- The result of flipping a fraction and changing its sign, such as from .
- Perpendicular bisector
- The line through the midpoint of a segment at right angles to it.
- Midpoint
- The point halfway along a segment, used as the point on a perpendicular bisector.
In context
Cambridge sets 4024 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.
Find the equation of the line with gradient through . , so and . The line is . Check: at , .
Find the equation of the line through and . Gradient . Then gives , so . Using instead gives , the same .
Find the gradient and -intercept of . Rearranged: , so . The gradient is and the intercept is 2. The intercept is 2 because every term was divided by 4, including the 8.
Find the equation of the line parallel to that passes through . Parallel means gradient 4, so . Then and , giving .
Find the perpendicular bisector of the segment joining and . Midpoint . Gradient of , so the perpendicular gradient is 1. Then with gives , so , or .
Flashcards
Click a card to flip it. Mark honestly — the tracker uses this.
Exam-style questions
8 questions, 23 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.
Mark scheme — tick each point you actually made
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1gradient , -intercept not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- B1parallel lines have the same gradient, and the given line has gradient not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1
Mark scheme — tick each point you actually made
- M1
- M1
- M1
- A1not checked yet
Exam technique for this topic
- Substitute the given point into rather than adding coordinates. The intercept is a height on the -axis, not a distance along the line.
- When the line is given as , rearrange to make the subject before reading the gradient. Dividing only the -term is the error that follows.
- Check a finished equation by substituting each point you were given. Both must satisfy it, and a failure means the gradient or the intercept is wrong, not the point.
- Perpendicular gradient: flip the fraction, then change the sign. Check by multiplying the two gradients together; the answer must be .
- Give the equation in the form the question asks for, fully simplified. If it asks for integers in , clear any fractions before you write the final line.
Why students lose marks here
Where this fits in O Level Maths 4024
This page is one topic of Cambridge O Level Maths 4024. O Level Maths 4024 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Maths 4024 syllabus page.