A-Level Maths / Pure Mathematics / Coordinate Geometry

Straight Lines (Equation, Gradient, Midpoint)

Equation of a straight line, gradient, midpoint, distance between two points, parallel and perpendicular lines.

Pure Mathematics AS 40 min

Learning Objectives

  • Calculate the gradient of a line given two points
  • Find the equation of a line in the forms y = mx + c and y - y₁ = m(x - x₁)
  • Calculate the midpoint and distance between two points
  • Determine whether lines are parallel or perpendicular using gradients

Key Formulae

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}
yy1=m(xx1)y - y_1 = m(x - x_1)
Midpoint=(x1+x22,y1+y22)\text{Midpoint} = \left(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2}\right)
d=(x2x1)2+(y2y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}
m1m2=1 for perpendicular linesm_1 \cdot m_2 = -1 \text{ for perpendicular lines}

Prior Knowledge Check

Answer at least 3 of 3 correctly to complete this section.

Q1. What is the gradient of the line y=5x3y = 5x - 3?
Q2. Does the point (3,7)(3, 7) lie on the line y=2x+1y = 2x + 1?
Q3. Rearrange 2y6x=42y - 6x = 4 into the form y=mx+cy = mx + c.

Why This Matters

Straight lines are everywhere in maths. They describe constant rates of change, model linear relationships, and appear as tangents and normals in calculus. The gradient is arguably the single most important concept in A-Level Maths — differentiation is just “gradient of a curve”.

If you can confidently find the equation of a line, compute gradients, and determine whether lines are parallel or perpendicular, you have a toolkit that gets used in almost every topic from here onwards.

1/5

Gradient

2/5

Equations of Lines

3/5

Midpoint and Distance

4/5

Parallel and Perpendicular Lines

5/5

Exam Practice

Common Patterns

TaskMethod
Gradient from two pointsm=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}
Equation from gradient + pointyy1=m(xx1)y - y_1 = m(x - x_1)
Equation from two pointsFind mm first, then use point-slope form
Midpoint(x1+x22,y1+y22)\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)
Distance(x2x1)2+(y2y1)2\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
Parallel conditionm1=m2m_1 = m_2
Perpendicular conditionm1×m2=1m_1 \times m_2 = -1
Perpendicular bisectorFind midpoint + perpendicular gradient, then equation
Collinear pointsShow equal gradients between pairs sharing a common point

Ready to practise?

Lock in what you've learned with exam-style questions and spaced repetition.

Exam Tips

  • Use y - y₁ = m(x - x₁) when given a point and gradient — it's faster than finding c
  • For perpendicular gradients, flip the fraction and change the sign
  • Always simplify your equation to the form asked for in the question
  • Sketch the lines to sanity-check your answer — does the gradient look right?

Specification

Edexcel A Level Maths
Pure: Coordinate Geometry > Straight Lines (Equation, Gradient, Midpoint)
WJEC A Level Maths
Pure: Coordinate Geometry > Straight Lines

Resources

Related Lessons