"What points on the sphere centered at the origin with a radius of 3 are closest to and farthest from the point P = (6,6,-3)?"
The approach I took was to make a vector v going from the origin to P and see where it intersects the sphere:
$$ t<6,6,-3> $$
I found that v has a magnitude of 9. I compared the magnitude of v with the radius of the sphere, and found that v intersects the sphere at t = 1/3:
$$ \frac{1}{3}<6,6,-3>\ =\ <2,2,-1> $$ For the farthest point: $$-\frac{1}{3}<6,6,-3>\ =\ <-2,-2,1>$$
The points (2,2,-1) and (-2,-2,1) satisfy the equation $$ x^2 + y^2 + z^2 = 9$$ but are they the closest and farthest points, respectively, to P?