I am given the following problem:
Given the line $$r \{ R = (1,0,a) + \lambda [a \quad a \quad 0]$$ and the sphere $$S \{ 8x^2 + 8y^2 +8z^2 - 16x +24y -8z + 19 = 0$$ find, relating to values of $a$, when the line is external, tangent and secant to the sphere.
I completed the square on the sphere's equation for some clarity
$$(x-1)^2 + \left( y + \frac{3}{2} \right)^2 + \left( z - \frac{1}{2} \right)^2 = \frac{9}{8}$$
which gave me a center $C = \left( 1 , - \frac{3}{2}, \frac{1}{2} \right)$ and a radius $r = \frac{3}{2 \sqrt{2}}$.
To evaluate when a line is external or not to a sphere one must relate the distance of the center of the sphere to the line and check if it is greater (or not) than the radius. And my question is: how can I do that given the fact that the line has two variables?
Is the problem not well-made?