Distance x1 x22y2y12 z2 z12 distance x 1 x 2 2 y 2 y 1 2 z 2 z 1 2. D x₂ x₁² y₂ y₁². Just add another term into the formula because we have to account for the z-axis now.
The Distance Formula You know that the distance A B between two points in a plane with Cartesian coordinates A x 1 y 1 and B x 2 y 2 is given by the following formula.
The length of the hypotenuse is the distance between the two points. The Distance Formula itself is actually derived from the Pythagorean Theorem which is a2 b2 c2 where c is the longest side of a right triangle also known as the hypotenuse and a and b are the other shorter sides known as the legs of a right triangle. Dsqrtleftx_2-x_1right2lefty_2-y_1right2. If you want to determine the distance between two points on a coordinate plane you use the distance formula D.