So, it is given that -
The tangent plane to the ellipsoid $4x^2 + y^2 + 2z^2 = 16$ is $2x + y + 2z = k$.
I’m trying to find k, and the point of tangency between those two.
What I did - Assumed that the normal to the plane is parallel to the gradient of the ellipsoid, so I get $(8x, 2y, 4z) = (2, 1, 2)$. But then I get point $(x, y, z)$ which isn’t on the ellipsoid.
Why is my assumption wrong?
Substituting the plane equation into the ellipsoid we have
$$ 4 x^2 + (k - 2 x - 2 z)^2 + 2 z^2 = 16 $$
Solving for $x$ we have
$$ x = \frac{1}{4} \left(k-2 z\pm\sqrt{4 k z-8 z^2-k^2+32}\right) $$
but at tangency we need
$$ 4 k z-8 z^2-k^2+32 = 0 $$
solving now for $z$
$$ z = \frac{1}{4} \left(k\pm \sqrt{64-k^2}\right) $$
but at tangency $64-k^2 = 0$ then $k = \pm 8$
NOTE
At tangency we have
$$ (8x,2y,4z)=\lambda(2,1,2) $$
then
$$ x = \frac{\lambda}{4}\\ y = \frac{\lambda}{2}\\ z = \frac{\lambda}{2} $$
now after substitution into the ellipsoid equation we have the $\lambda$ value. Now with the tangency point, after substitution into the plane equation we get the $k$ value