You are on page 1of 2

Distance

The distance between two points is the length of


the path connecting them.

In the plane, the distance between points (x1, y1)


and (x2, y2) is given by the Pythagorean theorem,
d=

Source:

(x2 x1)2 + (y2 y1)2

Wolfram MathWorld
1

Distance cont
In Euclidean three-space, the distance between points
(x1, y1, z1) and (x2, y2, z2) is
d=

(x2 x1)2 + (y2 y1)2 + (z2 z1)2

In general, the distance between points x and y and


in a Euclidean space Rn is given by
v
u n
uX
|xi yi|2
d = |x y | = t
i=1

You might also like