Distance Formula in 3D
The distance between two points in space extends the plane distance formula with a third coordinate. It is used in 3D geometry, computer graphics and for lengths of vectors between points.
LaTeX
d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}Variables
- the two points
- distance
Example
Find the distance between and .
- Differences: .
- .
Answer: .