Distance formula in 3 dimensions

Rock32
Messages
12
Reaction score
0
Edit*: problem solved. Thanks for the hint Dick.
 
Last edited:
Physics news on Phys.org
Try the pythagorian theorem: x = sqrt(y^2 + z^2)

Since you can have any value on the x axis, the shortest distance will always be a straight line.

To see it better, draw out a triangle, where Z is the height, and Y is the lenght, leaving the distance X which will be the hypotenuse.

Draw it out, it'll make it clear.

EDIT: X,Y,Z in your case being points A,B,C
 
A point on the x-axis is given by (d,0,0) for some value of d. What value of d will minimize the distance to (a,b,c)?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top