8A - Distances between points

8A - Distances between points

Coordinates describe position, but they also let you measure a length exactly. You will build the distance formula from a right-angled triangle, find missing coordinates from length conditions and use exact lengths to investigate geometric figures.

Distance from coordinate differences

From A(−1,2)A(-1,2) to B(5,6)B(5,6), you move 66 units across and 44 units up. Is the straight-line distance 1010 units?

That sum measures a journey along two sides of a right-angled triangle. The direct route is its hypotenuse, so Pythagoras gives its square as 62+42=526^2+4^2=52.

[DIAGRAM: asset_name: Coordinate differences form a right triangle; asset_slug: coordinate-distance; caption: The direct distance is the hypotenuse, with horizontal change 6 and vertical change 4; description: Equal-scale coordinate axes show A at minus 1 comma 2 and B at 5 comma 6, a right-angle corner at 5 comma 2, horizontal side 6, vertical side 4 and hypotenuse 2 square root 13.]
The direct distance is the hypotenuse, with horizontal change 6 and vertical change 4

Distance between two points

For A(x1,y1)A(x_1,y_1) and B(x2,y2)B(x_2,y_2),

AB2=(x2−x1)2+(y2−y1)2AB^2=(x_2-x_1)^2+(y_2-y_1)^2

and hence

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

The distance is nonnegative. It is zero exactly when the points coincide.

Not on the formulae sheet: learn it.

A coordinate difference may be negative; its square supplies the squared side length. Reversing both differences leaves the distance unchanged.

Worked example 1: the direct route

Question. Find the exact distance from A(−1,2)A(-1,2) to B(5,6)B(5,6).

Plan. Find the two coordinate changes, use Pythagoras and simplify the root.

AB2=(5−(−1))2+(6−2)2match coordinates=62+42=52square before addingAB=52=213take the nonnegative root\begin{aligned} AB^2&=(5-(-1))^2+(6-2)^2 &&\text{match coordinates}\\ &=6^2+4^2=52 &&\text{square before adding}\\ AB&=\sqrt{52}=2\sqrt{13} &&\text{take the nonnegative root} \end{aligned}

Answer. 2132\sqrt{13} units.

Check. 72<52<827^2<52<8^2, so the distance is between 77 and 88, shorter than the two-stage route of 1010.

Now let the horizontal change be negative. The sign changes the direction of travel, not the length.

Worked example 2: a negative coordinate change

Question. Find the exact distance from C(3,−4)C(3,-4) to D(−3,0)D(-3,0).

Plan. Keep the negative difference inside brackets before squaring.

CD2=(−3−3)2+(0−(−4))2subtract in the same order=(−6)2+42=52both squares are nonnegativeCD=213simplify the root\begin{aligned} CD^2&=(-3-3)^2+(0-(-4))^2 &&\text{subtract in the same order}\\ &=(-6)^2+4^2=52 &&\text{both squares are nonnegative}\\ CD&=2\sqrt{13} &&\text{simplify the root} \end{aligned}

Answer. 2132\sqrt{13} units.

Check. Reversing the direction gives changes 66 and −4-4, whose squares still sum to 5252.

The same formula includes horizontal and vertical segments. If the yy-coordinates agree, the distance is ∣x2−x1∣|x_2-x_1|; if the xx-coordinates agree, it is ∣y2−y1∣|y_2-y_1|. For example, (−2,3)(-2,3) to (5,3)(5,3) has length 77, and (4,−1)(4,-1) to (4,5)(4,5) has length 66.

Watch out

(−6)2=36(-6)^2=36, whereas −62=−36-6^2=-36. Put each complete coordinate difference in brackets. A negative final distance signals an error.

Use an exact root in the next calculation.

Equal-length conditions

When two lengths are equal, their squares are equal too, so you can often solve the condition without carrying square roots through the algebra.

For nonnegative lengths aa and bb, a=ba=b is equivalent to a2=b2a^2=b^2. This equivalence is why comparing squared distances loses no geometric information.

Worked example 3: equidistant from two points

Question. A(0,0)A(0,0), B(6,0)B(6,0) and P(t,4)P(t,4) satisfy PA=PBPA=PB. Find tt.

Plan. Set the squared distances equal and expand; the quadratic terms will cancel.

t2+42=(t−6)2+42use PA2=PB2t2+16=t2−12t+36+16expand the square12t=36cancel equal termst=3solve\begin{aligned} t^2+4^2&=(t-6)^2+4^2 &&\text{use }PA^2=PB^2\\ t^2+16&=t^2-12t+36+16 &&\text{expand the square}\\ 12t&=36 &&\text{cancel equal terms}\\ t&=3 &&\text{solve} \end{aligned}

Answer. t=3t=3.

Check. P(3,4)P(3,4) is 55 units from each endpoint: both squared distances are 9+16=259+16=25.

Continue this lesson.

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

Create free account