Back to Blogs
by |Nov 18, 2026|Study Skills|5 min read

Coordinate Geometry of the Line: Slope, Midpoint, Distance and Equation

Irish student with headphones plotting points and lines on a laptop in an online maths grind

Quick answer: For points (x₁, y₁) and (x₂, y₂): slope m = (y₂ − y₁) ÷ (x₂ − x₁); midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2); distance = √((x₂ − x₁)² + (y₂ − y₁)²). The equation of a line through (x₁, y₁) with slope m is y − y₁ = m(x − x₁).

One pair of points, four answers

A(1, 2) and B(7, 10)

  • Slope: (10 − 2) ÷ (7 − 1) = 8/6 = 4/3

  • Midpoint: ((1 + 7)/2, (2 + 10)/2) = (4, 6)

  • Distance: √(6² + 8²) = √100 = 10

  • Equation: y − 2 = 4/3(x − 1) → 3y − 6 = 4x − 4 → 4x − 3y + 2 = 0

Check with B: 4(7) − 3(10) + 2 = 0 ✓.

Parallel and perpendicular lines

  • Parallel lines have the same slope.

  • Perpendicular slopes multiply to −1: flip and change the sign.

A line perpendicular to AB has slope −3/4.

Exam tips

  1. Label (x₁, y₁) and (x₂, y₂) before substituting.

  2. Check the formulae and tables booklet for which formulas are given.

  3. Test your equation with both points.

Tips are MMS editorial guidance.

Common mistakes

Mixing x and y in the slope formula. It's rise over run: y on top.

Sign errors with negative coordinates. Use brackets: x₂ − (−3).

Forgetting the square root in the distance formula.

When extra support might help

Support is worth considering when coordinate geometry questions feel confusing, or before the mocks.

A grind can't guarantee a grade, but can build method and confidence. Math Make Smart offers online maths grinds, and you can book a free grind. See also our solving linear equations guide.

Frequently asked questions

What is the slope formula?
m = (y₂ − y₁) ÷ (x₂ − x₁).

How do you find the midpoint?
Average the x-values and average the y-values.

What is the slope of a perpendicular line?
The negative reciprocal: flip the fraction and change the sign.

Build your study plan