📐 Coordinate Geometry — Revision Notes

Give a point two numbers and geometry turns into arithmetic. A length becomes Pythagoras' Theorem, a slope becomes a fraction, and a whole straight line collapses into y = mx + c. This chapter is those three tools, and what they do together on a shape. Syllabus outcomes G6 6.1, 6.2, 6.3 and 6.4.

The three tools — and which question wants which

Nothing here is on the formula sheet Coordinates exact, lengths 3 s.f.

The questionWhere it is answeredThe tool
How far apart are two points? 11.1 Length of a Line Segment the distance formula — Pythagoras' Theorem laid on the axes
How steep is the line, and which way does it lean? 11.2 Gradient gradient = vertical change ÷ horizontal change
What is the equation of the line? 11.3 Equation of a Straight Line y = mx + c, with m the gradient and c the y-intercept
Is this shape a parallelogram? Is that triangle right-angled? Where is the missing vertex? What is the area? 11.4 Geometric Problems all three, chosen by what the shape's definition actually says
More detail

K310 says only that "relevant mathematical formulae will be provided", and the paper's printed MATHEMATICAL FORMULAE page holds compound interest, mensuration, trigonometry and statistics — and nothing from coordinate geometry. So all three tools above are carried in your head. Only the distance formula is worth memorising word for word; the gradient formula and y = mx + c can be rebuilt from a sketch in about ten seconds.

Working is marked as well as answers, so the line that quotes a formula and the line that substitutes into it each carry marks of their own. On accuracy: coordinate answers — gradients, values of c, missing coordinates — are nearly always exact, and an exact answer is left as it is. It is lengths that usually stop being exact, and those are given to 3 significant figures (angles in degrees, to 1 decimal place) unless the question names a different accuracy, rounded once, on the last line.

Cartesian coordinates — the recap ⓘ Recap

Everything in this chapter rests on one idea you already have.

A Cartesian plane is two number lines crossing at right angles at a point O, the origin. The horizontal line is the x-axis and the vertical line is the y-axis. Every point P in the plane is located by an ordered pair (x, y), called the coordinates of P.
P(x, y) x y x y O
Fig. 11.1
The x-coordinate is how far the point lies to the right of the y-axis; the y-coordinate is how far it lies above the x-axis. Ordered matters: (3, 5) and (5, 3) are different points.
A line and a line segment are different. A line has no endpoints, so no definite length; a line segment is the part between two endpoints, and that is what gets measured. Every "find the length" question here names its two endpoints.

The distance formula

Two points, and the straight-line distance between them. It is Pythagoras' Theorem laid on the axes.

The length of a line segment PQ, where P and Q have coordinates (x1, y1) and (x2, y2), is PQ= (x2x1)2 + (y2y1)2
Either point can be the first one. Swapping P and Q reverses the sign of each difference, and squaring destroys the sign, so both orders give the same length. A gradient is not so forgiving (see 11.2).

Walkthrough 1 — length of a line segment Basic

Find the length of the line segment joining P(−5, 3) and Q(7, −2).
  1. Length of PQ = (x2x1)2+(y2y1)2
    A distance between two points is Pythagoras' Theorem written in coordinates: the segment is the hypotenuse of a right-angled triangle whose other two sides run along the axes. Quoting the formula is the first line of working, and it carries a mark.
  2. = (7(−5))2+(−23)2
    Take (x1, y1) = P and (x2, y2) = Q, and substitute. Each negative coordinate goes in inside its own brackets, so the double minus in 7 − (−5) stays visible.
  3. = 122+(−5)2 = 144+25
    12 is the horizontal change and −5 the vertical change: Q is 12 to the right of P and 5 below it. Squaring makes both positive, which is why the order of the two points does not affect the length.
  4. = 169
    144 + 25 = 169. The addition happens inside the root, because the theorem squares the two sides and adds those; taking the roots first would give 12 + 5 = 17, which is the length of the path round the triangle, not across it.
  5. = 13 units
    169 is a perfect square, so the length is exact — nothing to round and no decimal point. Write units: a length is a measurement even when the axes carry no scale.

Walkthrough 2 — when the length is not a whole number Basic

The coordinates of C and D are (−2, 5) and (4, −2). Find the length of CD, giving your answer correct to 3 significant figures.
  1. CD = (4(−2))2+(−25)2
    Straight into the distance formula, with (x1, y1) = C and (x2, y2) = D. Each substituted value keeps its own brackets so that 4 − (−2) cannot collapse to 4 − 2.
  2. = 62+(−7)2 = 36+49
    6 across and 7 down. (−7)² = 49, not −49 — the square of a negative number is positive, so a downward step contributes exactly as much length as an upward one of the same size.
  3. = 85 = 9.2195…
    85 is not a perfect square, so this length is not exact. Copy several figures off the calculator before doing anything else: the rounding is a separate, final step, and rounding here would be rounding twice.
  4. = 9.22 units (to 3 s.f.)
    The first three significant figures are 9, 2 and 1; the next figure is 9, so the last one is rounded up to 2. State the accuracy in brackets so the marker can see you knew the answer was not exact.

Walkthrough 3 — a distance that is given, a coordinate that is not Intermediate

The distance between the points A(1, k) and B(9, 4) is 10 units. Find the possible values of k.
  1. (91)2+(4k)2=102
    The distance formula has been used with both sides squared. Squaring clears the root immediately and turns the whole question into ordinary algebra; it is safe here because both sides are lengths, and lengths are never negative.
  2. 64 + (4k)2 = 100
    8² = 64 and 10² = 100. The bracket (4 − k)² is deliberately left un-expanded — expanding it would produce a k² that only has to be undone again.
  3. (4k)2=36
    Subtracting 64 from both sides leaves the square by itself, which is the one shape you are allowed to take a square root of in a single step.
  4. 4 − k = 6  or  4 − k = −6
    36 has two square roots, 6 and −6, so the bracket could be either. The plural in "possible values" is the question saying that both of them count.
  5. k = −2  or  k = 10
    4 − k = 6 gives k = −2, and 4 − k = −6 gives k = 10. Both are genuine: A is 8 units across from B either way, so it can sit 6 below B's level or 6 above it.
Where this comes from

Two points that share a y-coordinate are joined by a horizontal segment, and its length is just the difference of the x-coordinates. Two points that share an x-coordinate are joined by a vertical segment, and its length is the difference of the y-coordinates. Everything else is handled by dropping the awkward segment into a right-angled triangle whose other two sides are one of each.

A(−3, 2) B(5, 8) C(5, 2) horizontal change = 8 units vertical change = 6 units −4 −2 2 4 6 2 4 6 8 x y O
Fig. 11.2
Take A(−3, 2) and B(5, 8). Draw AC parallel to the x-axis and CB parallel to the y-axis; then C is (5, 2), AC = 5 − (−3) = 8 units and CB = 8 − 2 = 6 units. The angle at C is a right angle by construction, so AB² = 8² + 6² = 100 and AB = 10 units.

Nothing in that paragraph depended on the particular numbers. Replace them by P(x1, y1) and Q(x2, y2): the third corner is at (x2, y1), the horizontal side is x2x1 and the vertical side is y2y1. Pythagoras' Theorem then gives the formula.

In symbols, that is why (x2x1)2+(y2y1)2 and (x1x2)2+(y1y2)2 always agree: swapping P and Q turns x2x1 into x1x2, and the squaring removes the difference.

Check yourself

  • Find the length of the line segment joining E(3, −6) and F(−9, 3).
    Answer

    EF = (−93)2+(3(−6))2 = 144+81 = 225 = 15 units (exact).

  • Find the length of GH, where G is (−7, 4) and H is (2, −1), correct to 3 significant figures.
    Answer

    GH = 92+(−5)2 = 106 = 10.2956… = 10.3 units (to 3 s.f.).

  • Explain why you do not need the distance formula for M(6, 2) and N(6, −9), and write down the length of MN.
    Answer

    M and N have the same x-coordinate, so MN is a vertical segment and its length is just the difference of the y-coordinates: 2 − (−9) = 11 units. (The formula still works — it gives 02+112 — but there is no triangle to speak of.)

  • Using P(−1, 4) and Q(3, 1), work out the length of PQ twice: once taking P first, and once taking Q first. Why must the two agree?
    Answer

    P first: (3 − (−1))² + (1 − 4)² = 16 + 9 = 25.
    Q first: (−1 − 3)² + (4 − 1)² = 16 + 9 = 25.
    Both give 5 units. Swapping the points only reverses the sign of each difference, and squaring destroys the sign, so the two sums are identical.

  • The distance between R(−3, 2) and S(t, 2) is 7 units. Find the possible values of t.
    Answer

    The y-coordinates match, so (t − (−3))² + 0² = 7², i.e. (t + 3)² = 49.
    So t + 3 = 7 or t + 3 = −7, giving t = 4 or t = −10 — one point 7 units to the right of R, one 7 units to the left.

Past-paper questions

G3 N2017 · Paper 1 · Q12 3 marks

ABC is a triangle.

AB = (5−1),   AC = (−18).

Calculate the length of BC. [3]

Worked solution

Go from B to C through A, the only point both given vectors are measured from:

BC = BA + AC = −AB + AC = −(5−1) + (−18) = (−69)

BC = (−6)2+92 = 36+81 = 117 = 10.8166…

BC = 10.8 units (3 s.f.)

Why this works. Tests the distance formula on a column vector: the entries of BC→ are the horizontal and vertical changes, so the length is x2+y2. The marks sit on the route B to A to C, written as a vector sum before any numbers go in. Walking back along AB subtracts its column, and a length ends in units.