Advanced Engineering Mathematics: A Computer Approach, Seventh Edition

To find the distance between two points (x 1 , y 1 , z 1 ) and (x 2 , y 2 , z 2 ).
Let P( x 1, y 1, z 1) and Q( x 2, y 2, z 2) be two given points. Through P and Q, draw PL and QM ?s on the XY-plane meeting it in the points L and M respectively.
Then in the XY-plane, L is the point ( x 1, y 1) and M is ( x 2, y 2), so that
Now, through P, draw PR ? QM.
Then clearly
and
In the right-angled triangle PRQ,
?
Cor. The distance of any point ( x, y, z) from the origin