Distance Between Two Points

The straight line distance between two points in cartesian coordinates.

Two points given by P1 and P2

Where

d = distance between two points
x1,y1 = cartesian coordinates of point 1
x2,y2 = cartesian coordinates of point 2

This is easily extended to points in three dimensions:

Where

d = distance between two points
x1,y1,z1 = cartesian coordinates of point 1
x2,y2,z2 = cartesian coordinates of point 2


See also: Line, Point.

Previous PageView links to and from this pageNext Page

Subjects: Mathematics