Distance Formula

Distance Formula

How to find the distance between two points by using the distance formula: formula, example, and its solution.

Formula

The distance between two points (x1, y1) and (x2, y2) is sqrt[(x2 - x1)^2 + (y2 - y1)^2].

The distance between two points (x1, y1) and (x2, y2)
is √(x2 - x1)2 + (y2 - y1)2.

Example

Find the distance between A(-3, 1) and B(5, 4).

A(-3, 1), B(5, 4)

Then, by the distance formula,
d = √(5 - (-3))2 + (4 - 1)2.

5 - (-3) = 5 + 3
4 - 1 = 3

5 + 3 = 8
32 = 9

82 = 64

64 + 9 = 73

So √73 is the answer.

Let's see what you've solved.

The distance between A(-3, 1) and B(5, 4) is √73.