CG1, CG2 - Distances and mid-points

CG1, CG2 - Distances and mid-points

Coordinates let you measure a straight journey without drawing it to scale. CG1 turns horizontal and vertical changes into an exact distance; CG2 locates the point halfway along a segment. You will also work backwards when a length or a mid-point is known but an endpoint is missing.

Distance between two points

Two delivery points are at A(−2,1)A(-2, 1) and B(4,9)B(4, 9). A road route goes 66 units across and 88 up, a total of 1414. How much shorter is the straight route, and where should a meeting point halfway along it go?

The straight route is the hypotenuse of a right-angled triangle. The coordinate differences give its other two sides. That small triangle is the bridge from GCSE Pythagoras to coordinate geometry.

You already know

For a right-angled triangle with hypotenuse cc, a2+b2=c2a^2+b^2=c^2. Pythagoras' theorem is on the formulae sheet. Keep a non-square square root exact, simplifying it as in the surds lesson.

Subtract coordinates in matching pairs: horizontal change 4−(−2)=64-(-2)=6, vertical change 9−1=89-1=8. The distance is 62+82=10\sqrt{6^2+8^2}=10, so going straight saves 44 units. Notice that distance is never negative, even when one or both changes are negative.

[DIAGRAM: asset_name: Distance and the halfway point; asset_slug: cg18-distance-midpoint; caption: A straight distance of 10 replaces a horizontal and vertical route of 14; description: A coordinate grid shows A at minus 2 comma 1, B at 4 comma 9 and M at 1 comma 5. A blue segment joins A to B with equal halves marked. Dashed sage horizontal and vertical legs have lengths 6 and 8 and meet at a right angle at 4 comma 1.]
A straight distance of 10 replaces a horizontal and vertical route of 14

Distance between two points

AB=(x2−x1)2+(y2−y1)2AB=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}

For points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) in two dimensions. It also works for horizontal or vertical segments, when one difference is zero, and gives zero when the points coincide.
Not on the formulae sheet: learn it.

The squares make the choice of direction harmless: reversing both subtractions gives the same distance. Consistency still helps prevent slips.

Worked example 1: an exact distance

Question. Find the exact distance between P(1,−2)P(1, -2) and Q(5,4)Q(5, 4).

Plan. Find the two coordinate changes, then apply Pythagoras.

Δx=5−1=4horizontal changeΔy=4−(−2)=6vertical changePQ=42+62=52Pythagoras=213remove a square factor\begin{aligned} \Delta x&=5-1=4 && \text{horizontal change}\\ \Delta y&=4-(-2)=6 && \text{vertical change}\\ PQ&=\sqrt{4^2+6^2}=\sqrt{52} && \text{Pythagoras}\\ &=2\sqrt{13} && \text{remove a square factor} \end{aligned}

Why square the changes? They are perpendicular sides, not pieces of the straight route to add together.

Answer. PQ=213PQ=2\sqrt{13} units.

Check. (213)2=52(2\sqrt{13})^2=52; the distance lies between 66 and 4+6=104+6=10, as the triangle requires.

The next example changes the vertical change to zero. The same formula still works; there is no need to invent a different distance rule.

Worked example 2: a horizontal segment

Question. Find the distance between R(−4,3)R(-4, 3) and S(5,3)S(5, 3).

Plan. Use the coordinate differences, keeping the zero vertical change.

RS=(5−(−4))2+(3−3)2distance formula=92+02=9non-negative root\begin{aligned} RS&=\sqrt{(5-(-4))^2+(3-3)^2} && \text{distance formula}\\ &=\sqrt{9^2+0^2}=9 && \text{non-negative root} \end{aligned}

Why retain the zero? It shows that horizontal distance is a special case of the general result.

Answer. RS=9RS=9 units.

Check. Counting from −4-4 to 55 on the horizontal axis also gives 99.

The subtraction inside the square is where negative coordinates need care.

Watch out

Wrong: 4−(−2)=24-(-2)=2. Subtracting a negative means adding: 4−(−2)=64-(-2)=6. Put negative coordinates in brackets before substituting.

Try a vertical segment this time.

The mid-point of a segment

The halfway point uses half of each coordinate change, so each of its coordinates is the average of the corresponding endpoint coordinates.

For the opening journey, half of the horizontal change is 33 and half of the vertical change is 44. Starting at (−2,1)(-2, 1) therefore puts the meeting point at (−2+3,1+4)=(1,5)(-2+3, 1+4)=(1, 5). Algebra gives the same result: x1+x2−x12=x1+x22x_1+\frac{x_2-x_1}{2}=\frac{x_1+x_2}{2}, and similarly for yy.

Mid-point

The mid-point of a line segment lies on the segment and divides it into two equal lengths. Being equally far from the endpoints is not enough: there are other equidistant points off the segment.

Averages work with negative coordinates too. Halfway between −5-5 and 33 is −1-1, not 44; the sign tells you where the point lies.

Mid-point coordinates

M=(x1+x22,y1+y22)M=\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)

For endpoints (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), average horizontal coordinates together and vertical coordinates together.
Not on the formulae sheet: learn it.

There is a lovely consequence: a segment's mid-point can have fractional coordinates even when both endpoints lie on grid intersections. A grid does not restrict the points between its lines.

Worked example 3: a whole-number mid-point

Question. Find the mid-point of A(−5,2)A(-5, 2) and B(3,8)B(3, 8).

Plan. Average each matching pair of coordinates.

xM=−5+32=−1average the horizontal coordinatesyM=2+82=5average the vertical coordinates\begin{aligned} x_M&=\frac{-5+3}{2}=-1 && \text{average the horizontal coordinates}\\ y_M&=\frac{2+8}{2}=5 && \text{average the vertical coordinates} \end{aligned}

Why keep the pairs separate? Each coordinate measures a different direction.

Answer. M=(−1,5)M=(-1, 5).

Check. From AA to MM the changes are (4,3)(4, 3); from MM to BB they are also (4,3)(4, 3).

Only one feature changes next: an odd coordinate sum makes one coordinate a half-integer.

Worked example 4: a fractional mid-point

Question. Find the mid-point of C(−5,2)C(-5, 2) and D(4,8)D(4, 8).

Plan. Average the coordinate pairs without rounding.

xM=−5+42=−12retain the exact fractionyM=2+82=5average as before\begin{aligned} x_M&=\frac{-5+4}{2}=-\frac12 && \text{retain the exact fraction}\\ y_M&=\frac{2+8}{2}=5 && \text{average as before} \end{aligned}

Why leave −12-\frac12? A mid-point does not have to be a grid intersection.

Answer. M=(−12,5)M=(-\frac12, 5).

Check. Both half-segments have horizontal change 92\frac92 and vertical change 33.

The mid-point and length answer different questions: location and measurement.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account