鶹Լ

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.

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

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

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

The length of AB is 10.