- Home
- Courses
- AQA A-Level Maths
- Coordinate Geometry
- Straight-Line Graphs
Straight-Line Graphs
A straight line is captured entirely by two numbers: its gradient and where it sits. From those you can write its equation, test whether two lines are parallel or perpendicular, and find lengths and midpoints.
The big picture
Coordinate geometry is where algebra and geometry meet: shapes become equations, and geometric questions (“are these lines perpendicular?”, “where do they cross?”) become algebra you can solve. The straight line is the foundation of all of it. The gradient idea you meet here — rate of change of with — is exactly what differentiation generalises to curves, so time spent here pays off directly in calculus. And the parallel/perpendicular conditions reappear whenever you find a tangent or a normal to a curve.
What you'll be able to do
- Find the gradient between two points and interpret it as a rate
- Write the equation of a line in and forms
- Use the parallel () and perpendicular () conditions
- Find the midpoint and length of a line segment
Gradient: steepness as a number
The measures how steeply a line climbs: the change in divided by the change in between any two points on it — “rise over run”. A positive gradient rises left-to-right, a negative one falls, and zero is flat.
Because a straight line has the gradient everywhere, you can compute it from any two points and it will always agree. That constancy is precisely what makes the line straight.
Example 1Find the gradient of the line through and .
Gradient is a rate: “for every 1 across, 3 up”. This is the same idea as speed (distance per time) or the derivative later — a straight line is just the case where the rate never changes.
Writing the equation of a line
The familiar form names the gradient and the -intercept . But when you know a gradient and a (not the intercept), the point-gradient form is faster: . Substitute and rearrange to whatever form the question wants.
Example 1Find the equation of the line with gradient 2 through .
Tip — Exam answers are often wanted as with integer coefficients — be ready to clear fractions and rearrange.
Parallel and perpendicular lines
Two lines are exactly when they have the . They are when their gradients multiply to — equivalently, each is the of the other. So a line perpendicular to one of gradient 2 has gradient .
Example 1Find the gradient of a line perpendicular to .
The rule is what lets you find a to a curve later: differentiate for the tangent gradient, then take the negative reciprocal for the perpendicular normal.
Midpoint and length
Two more essentials. The of a segment is the average of the endpoints. The comes straight from Pythagoras on the horizontal and vertical gaps.
Example 1Find the midpoint and length of the segment from to .
Think like an examiner
- For a perpendicular line, use the negative reciprocal — a sign slip or forgetting to flip is the classic lost mark.
- If the answer is required as , clear fractions so the coefficients are integers.
- Keep the points in a consistent order in the gradient formula — swapping one but not the other flips the sign.
- A “normal” to a curve is a perpendicular line; expect to combine differentiation with the rule.
Common misconceptions
Straight-line toolkit
Stretch yourself
The points , are given. Find the equation of the perpendicular bisector of .
Hint — The perpendicular bisector passes through the midpoint of with a gradient perpendicular to .
Reveal solution
Questions students ask
How do I find the equation of a line from two points?
What is the gradient of a line perpendicular to another?
When should I use versus ?
What is a perpendicular bisector?
Key takeaways
- Gradient measures steepness as a rate.
- Write lines as or .
- Parallel: equal gradients. Perpendicular: gradients multiply to (negative reciprocal).
- Midpoint averages the coordinates; length uses Pythagoras.
- These ideas power tangents and normals to curves later.
How this fits the course
Test yourself
Answer a few questions, then review anything you missed.
Prefer paper? Open the written self-check
Answer each question before opening its answer. This self-check does not record a quiz score.
The gradient through and is:
Show answer and explanation
Answer:
.
A line perpendicular to has gradient:
Show answer and explanation
Answer:
Negative reciprocal of 4 is .
The line through with gradient is:
Show answer and explanation
Answer:
Intercept 5, gradient , so .
Two lines are parallel when:
- their gradients are equal
- their gradients multiply to
- they share a point
- their intercepts are equal
Show answer and explanation
Answer: their gradients are equal
Equal gradients means the lines never meet — parallel.
The midpoint of and is:
Show answer and explanation
Answer:
Average the coordinates: .
The distance between and is:
Show answer and explanation
Answer:
.
Keep practising
Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.
Related lessons
All 4 lessons- Same chapterEquation of a CircleCentre–radius form, completing the square, and tangents.
- Same chapterParametric EquationsCurves via a parameter and converting to Cartesian form.
- Same chapterModelling with Parametric EquationsInterpret t as time in a model
Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.