±«Óătv

The length of a line segment

can be used to calculate the distance between two points.

Points X and Y, joined by a line

The line between points X and Y is a line segment. A line segment is a part of a line which has two end points.

Example

Point A has the coordinates (3,2).

Point B has the coordinates (11,8).

Calculate the distance AB.

Image gallerySkip image gallerySlide 1 of 2, Points A and B, First plot the points

Use Pythagoras' theorem to calculate the distance AB.

\(c^2 = a^2 + b^2\)

\(\text{AB}^2 = 6^2 + 8^2\)

\(\text{AB}^2 = 36 + 64\)

\(\text{AB}^2 = 100\)

The length of AB is 10 cm.