How do we work with the equation of a straight line in the coordinate plane?
Find the equation of a straight line from given conditions, and use gradients to test for parallel and perpendicular lines
A focused answer to the O-Level E-Maths outcome on the straight line in coordinate geometry. Finding a line's equation from points or a point and gradient, and the gradient conditions for parallel and perpendicular lines.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
SEAB wants you to find the equation of a straight line from given conditions in the coordinate plane, and to use gradients to decide whether two lines are parallel or perpendicular. This applies the straight-line ideas from the graphs strand to coordinate geometry problems.
The answer
The equation of a line
A straight line has equation , with gradient and -intercept . To determine it you need either two points, or one point and the gradient. From two points, compute the gradient, then substitute one point to find .
Using a point and a gradient
Given a gradient and a point , substitute directly into to find , or use the point-gradient relationship and rearrange into the required form. Both routes give the same equation.
Parallel lines
Two lines are parallel exactly when their gradients are equal. So a line parallel to has gradient , differing only in its intercept. Comparing gradients is the test for parallelism.
Perpendicular lines
Two lines are perpendicular when the product of their gradients is :
So the gradient of a perpendicular line is the negative reciprocal of the original gradient. A line perpendicular to one of gradient has gradient .
Finding where two lines intersect
A natural follow-on is finding the point where two lines cross, which you do by solving their equations simultaneously. Set the two expressions for equal (or use elimination), solve for , then substitute back to get . The intersection of and comes from , so , , and , giving the point . This single skill underlies many coordinate-geometry tasks, such as finding the foot of a perpendicular or the vertex of a shape, because those points are always intersections of two lines you can write down.
Reading the gradient from the general form
E-Maths sometimes gives a line as rather than , and you cannot read the gradient off it directly. Rearrange to make the subject first: from , you get , so the gradient is . Only after this rearrangement can you apply the parallel or perpendicular tests. Converting any line into gradient-intercept form before comparing gradients is a small but essential habit, since a sign error during rearrangement would flip every later conclusion about parallel or perpendicular.
Examples in context
Example 1. The perpendicular from a point. Finding the shortest path from a point to a line means constructing the perpendicular line through the point, which uses the negative-reciprocal gradient. This is the basis of finding a perpendicular distance.
Example 2. Sides of a rectangle. In a rectangle drawn on coordinate axes, adjacent sides are perpendicular and opposite sides are parallel. Checking gradients confirms the shape, a common coordinate-geometry verification.
Try this
Q1. State the gradient of a line perpendicular to . [1 mark]
- Cue. Negative reciprocal of is .
Q2. Find the equation of the line with gradient through . [2 marks]
- Cue. , so , giving .
Q3. Are the lines and parallel, perpendicular or neither? [1 mark]
- Cue. Equal gradients of , so they are parallel.
Exam-style practice questions
Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Original4 marksA line passes through the point and is perpendicular to the line . Find the equation of this line.Show worked answer β
The given line has gradient . A perpendicular line has gradient equal to the negative reciprocal: .
Use through : , so and .
The equation is .
Markers reward the negative reciprocal for the perpendicular gradient, substituting the point to find , and the final equation.
Original3 marksThe points and are given. Find the equation of the line in the form .Show worked answer β
Gradient of : .
Use with : , so .
The equation is .
Markers reward the gradient calculation, substituting a point to find , and the equation.
Related dot points
- Calculate the distance between two points, the midpoint of a segment, and the gradient, and apply them to geometric problems
A focused answer to the O-Level E-Maths outcome on distance, midpoint and gradient. The distance formula from Pythagoras, the midpoint formula, the gradient between two points, and their use in geometry.
- Represent vectors in column form, add and subtract them and multiply by a scalar, and find the magnitude of a vector
A focused answer to the O-Level E-Maths outcome on two-dimensional vectors. Column-vector notation, addition and subtraction, scalar multiplication, and the magnitude of a vector.
- Use position vectors and the relationship between points to express vectors, and apply parallel and ratio properties in geometry
A focused answer to the O-Level E-Maths outcome on vector geometry. Position vectors, expressing one vector via a route through others, the parallel condition, and using vectors to prove collinearity and ratios.
- Interpret and use the equation y = mx + c, find the gradient and intercept, and determine the equation of a straight line
A focused answer to the O-Level E-Maths outcome on straight-line graphs. The form y = mx + c, finding gradient and intercept, determining a line's equation from points or a graph, and parallel lines.