Topic guide · JSS 2, SS 1, SS 3
Coordinate Geometry
Plot points, find the gradient of a line, the distance between two points and the midpoint of a line segment — with an interactive coordinate plane.
Start the Gradient, Distance and Midpoint lesson →Coordinate Geometry explained
Coordinate geometry puts shapes on a grid, so you can use numbers to describe them. A point (3, −2) means 3 across and 2 down from the origin.
With just two points you can find how steep the line joining them is (its gradient), how long it is (the distance, using Pythagoras) and where its middle is (the midpoint).
Key ideas to remember
- Gradient m = (y₂ − y₁) ÷ (x₂ − x₁): the change in y over the change in x.
- Distance = √((x₂ − x₁)² + (y₂ − y₁)²) — it's Pythagoras on the grid.
- Midpoint = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2) — the average of the coordinates.
- A line going up from left to right has a positive gradient; going down, a negative gradient.
Worked example
Find the gradient of the line joining (3, −1) and (4, −5).
Step 1: Change in y and change in x
y₂ − y₁ = −5 − (−1) = −4
x₂ − x₁ = 4 − 3 = 1
Step 2: Divide
m = −4 ÷ 1 = −4
Final answer: −4
Practice questions
Have a go, then open the answer to check your working. Every answer was checked by the MathPlug maths engine.
Question 1
Find the distance between the points (3, −1) and (−3, −9).
- A10 units
- B100 units
- C11 units
- D14 units
Show answer and working
Step 1: Changes in x and y
x: −3 − 3 = −6
y: −9 − (−1) = −8
Step 2: Pythagoras
d = √(6² + 8²) = √100 = 10 units
Final answer: 10 units
Question 2
Find the gradient of the line joining (5, 4) and (8, −2).
- A−12
- B2
- C−2
- D213
Show answer and working
Step 1: Change in y and change in x
y₂ − y₁ = −2 − 4 = −6
x₂ − x₁ = 8 − 5 = 3
Step 2: Divide
m = −6 ÷ 3 = −2
Final answer: −2
Question 3
Find the midpoint of the line segment joining (−1, 2) and (9, −2).
- A(5, −2)
- B(4, 0)
- C(8, 0)
- D(0, 4)
Show answer and working
Step 1: Average the x-coordinates
(−1 + 9) ÷ 2 = 4
Step 2: Average the y-coordinates
(2 + (−2)) ÷ 2 = 0
Step 3: Midpoint
(4, 0)
Final answer: (4, 0)
Frequently asked questions
- Which coordinate comes first?
- x (across) always comes first, then y (up or down): (x, y).
- What is the gradient of a horizontal line?
- Zero, because the y-value doesn't change.