Lesson 4

Distance between two points

Let \( A(x_1, \ y_1) \) and \( B(x_2, \ y_2) \) be two points in a plane. We want find the length of the line segment AB.

Diagram 1

© State of Victoria (DE) Virtual School Victoria, made with GeoGebra®.

A right-angled triangle ABC is constructed with AB as the hypotenuse. AB can be found by applying the Pythagoras theorem:

\( \begin{eqnarray} AB^2 &=& AC^2 + CB^2 \\ \\ AB^2 &=& (x_2 - x_1)^2 + (y_2 - y_1)^2 \\ \\ AB &=& \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \end{eqnarray} \)

Formula for finding the distance between two points

The distance between two points \( A = (x_1, \ y_1) \) and \( B = (x_2, \ y_2) \) is: \( AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \)

Example 11

Find the distance between \( P(6, \ 5) \) and \( Q(-3, \ -2) \).

Written Solution

Let \( x_1=6, \ y_1=5 \) and \( x_2=-3, \ y_2=-2 \)

It does not matter which is the first point and which is the second point, but \( x_1 \) and \( y_1 \) need to be co-ordinates of the same point.

Using the formula:

\( \begin{eqnarray} PQ &=& \sqrt{(-3-6)^2 + (-2-5)^2} \\ &=& \sqrt{(-9)^2 + (-7)^2} \\ &=& \sqrt{81+49} \\ &=& \sqrt{130} \end{eqnarray} \)

The distance between \( P \) and \( Q \) is \( \sqrt{130} \approx 11.40 \) units.

Diagram 2

© State of Victoria (DE) Virtual School Victoria, made with GeoGebra®.

Video Solution