Hey guys. I am curious if I am doing this correctly. For some reason I am doubting my math here.

Question

Find the distance from the point (-3,0,1) to the line $\displaystyle \frac{x-2}{2} = \frac{y+2}{-2} = \frac{z}{-1} $

Solution

I know how to solve the problem when the line is in the form Ax + By + Cz + D, but I am unsure if I put it in that form correctly.

I first took the x and y and put both them equal to zero. So:

$\displaystyle -x - y - 3 = 0 $

**Now, this is where I am unsure of myself. Can I set $\displaystyle -x - y - 3 $ equal to $\displaystyle \frac {z}{-1} $?

If so, I get the equation: $\displaystyle x + y -z + 3 = 0 $. Which I can run through the formula I have, and I get the distance of:

$\displaystyle \frac{-1\sqrt{3}}{3} $

Hopefully someone can clear this up for me! There is no example similar to this in my text. There is with something equal to something else, but not equal to two other things... if you know what I mean. Hard to explain.

Thank you for reading!