Math Explainer.

Coordinate geometry

Ages 14–16GCSE (A9b, A9c, G20a)

The idea

On a coordinate grid every point has two numbers. So you can do geometry by calculating instead of measuring: how long a line segment is, where its middle lies and how steep it is.

Try it: drag B and watch the length, the midpoint and the gradient. Then think: does a vertical segment have a gradient too? Check it: drag B straight above A.

Line segment AB on a coordinate grid, with its midpoint MA coordinate grid from −7 to 7 on both axes; the numbers from −6 to 6 are at the left and bottom edges of the grid. Drag the points A and B onto grid points from −6 to 6, move them with the arrow keys or type their coordinates into the boxes; they always stay at least 2 units apart. The segment AB is green, and its midpoint M is a small dark dot. Under the coordinate boxes are the length d of the segment, the two coordinates of the midpoint and the gradient m.
A
B
d=45≈6.71xM=0yM=0.5m=12=0.5\begin{aligned} d &= \sqrt{45} \approx 6.71 \\ x_M &= 0 \qquad y_M = 0.5 \\ m &= \frac{1}{2} = 0.5 \end{aligned}

The segment from A(−3, −1) to B(3, 2) has length √45 ≈ 6.71. Its midpoint is M(0, 0.5), and its gradient is 1/2 = 0.5.

Three answers

You work out the length dd, the midpoint MM and the gradient mm from the coordinates of the endpoints.

The gradient says how far the segment goes up or down for each step to the right. If the segment is vertical, there is no step to the right, and you cannot divide by 00: it has no gradient. A horizontal segment has gradient 00.

One segment, three answers: it is 55 long, its middle is MM, and for 44 to the right it goes 33 up.

Self-check

Where is the midpoint of the segment from A(0,0)A(0, 0) to B(4,2)B(4, 2)?

Your answer
Show the solution

M(2,1)M(2, 1). From A to B it is 44 to the right and 22 up, so to the middle it is 22 to the right and 11 up. (4,2)(4, 2) is the point B itself, and at (2,2)(2, 2) only the way to the right has been halved.

What you need it for

A map app uses coordinates to work out how far away your destination is. A computer game checks the same way whether two characters collide. And on a building plan, coordinates show whether two walls are parallel or perpendicular.

Self-check

How long is the segment from the origin (0,0)(0, 0) to the point (6,8)(6, 8)?

Show the solution

It is 66 to the right and 88 up. By Pythagoras’ theorem the length is 62+82=36+64=100=10\sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = 10.

Lessons

  1. 01Distance and midpoint: calculating with coordinatesWorking out the distance between two points on a coordinate grid with Pythagoras’ theorem, and finding the midpoint of a line segment from the means of the coordinates. With a simulation, a self-check and two worked examples.
  2. 02Finding the equation of a line: two points, or one point and the gradientFinding the equation y = mx + c of a line: from two points, first the gradient and then the y-intercept, or from one point and the gradient. With a simulation, a self-check and two worked examples.
  3. 03Parallel and perpendicular lines: what the gradients tell youHow to tell from the equations of two lines whether they are parallel or perpendicular: equal gradients, or gradients whose product is −1. With a simulation, a self-check and two worked examples.

For teachers

  • GCSE · A9b, A9c, G20a
  • Three 45-minute lessons

Learning goals

  • Work out the distance between two points with Pythagoras’ theorem and find the midpoint of a line segment.

  • Find the equation y=mx+cy = mx + c of a line when two of its points are known, or one point and the gradient.

  • Tell from the gradients whether two lines are parallel or perpendicular.

  • Give the parallel and the perpendicular to a line through a given point.

What the class should know

  • Pythagoras’ theorem: working out the hypotenuse from the two legs.

  • Reading and plotting points on a coordinate grid, including points with negative coordinates.

  • The equation of a line y=mx+cy = mx + c, with the gradient mm and the yy-intercept cc.

  • Calculating with fractions and negative numbers, and finding a reciprocal.

Common mistakes

  1. 01

    The two differences are taken in different orders, one from A to B and the other from B to A.

    How to spot it

    For A(1,2)A(1, 2) and B(3,8)B(3, 8) the working shows m=8−21−3=−3m = \frac{8 - 2}{1 - 3} = -3, although the line rises.

    What helps

    Have pupils start both differences at the same point and check the result against a sketch: if the line rises, mm is positive.

  2. 02

    The sign is lost when a negative coordinate is subtracted.

    How to spot it

    For A(−2,1)A(-2, 1) and B(4,9)B(4, 9) the working shows 4−2=24 - 2 = 2 instead of 4−(−2)=64 - (-2) = 6.

    What helps

    Have pupils always put negative coordinates in brackets when they substitute them. The simulation of the Distance and midpoint lesson writes the calculation with these brackets.

  3. 03

    The gradient is worked out the wrong way round: the difference in the xx-coordinates divided by the difference in the yy-coordinates.

    How to spot it

    For 22 to the right and 66 up the working shows m=26m = \frac{2}{6} instead of m=62=3m = \frac{6}{2} = 3.

    What helps

    Have pupils show on the triangle drawn on the line which side goes where: the way up above the fraction line, the way to the right below it.

  4. 04

    For the perpendicular, only the sign of the gradient is changed; the reciprocal is missing.

    How to spot it

    For y=2x+1y = 2x + 1, the line y=−2x+3y = -2x + 3 is given as a perpendicular.

    What helps

    Ask for the check: the product of the two gradients must be −1-1, and here it is −4-4. In the simulation of the Parallel and perpendicular lines lesson, no right angle appears at 22 and −2-2.

In class

Open the simulation with ‘Full screen’ and, before each move, say where B will go. The class predicts: will the segment get longer, where will M move, will the segment get steeper? Only then does someone drag B, and you compare. At the end, ask whether a vertical segment has a gradient too, and someone drags B straight above A.

Your own exercise as an explainer video for your class

Take a photo of an exercise from your lessons. Math Explainer turns it into a narrated video with every step of the solution, and a link to share with your class.

Start free

Got an exercise on paper?

Take a photo of it and Math Explainer turns it into an explainer video with every step of the solution.

Upload a photo