Inspired by this problem, I would like to find the locus of all points from which three mutually perpendicular tangent lines can be drawn to a given ellipsoid.
The ellipsoid is given by
$$ \dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} + \dfrac{z^2}{c^2} = 1 $$
My attempt:
Let the vector $r = [x, y, z]^T$ be the position vector of a point on the ellipsoid. And let
$$ Q = \begin{bmatrix} \dfrac{1}{a^2} && 0 && 0 \\ 0 && \dfrac{1}{b^2} && 0 \\ 0 && 0 && \dfrac{1}{c^2} \end{bmatrix} $$
Then the equation of the ellipsoid is
$$ r^T Q r = 1 $$
From a point $P$ outside the ellipsoid a line is constructed with a direction vector $V$, then the equation of this line is
$ r = P + t V $
This line is to intersect the ellipsoid in exactly one point. This way we know it is tangent to it. Substituting the equation of the line into the equation of the ellipsoid gives
$ (P + t V)^T Q (P + t V) = 1 $
Expand this you get
$ P^T Q P + 2 t V^T Q P + t^2 V^T Q V = 1 $
This is a quadratic equation in $t$ and will have exactly one root if and only if its discriminant is $0$. Therefore, we impose that to get
$ (V^T Q P)^2 - (P^T Q P - 1) (V^T Q V) = 0 $
This is actually the equation of all possible directions that satisfy tangency from P.
This is where I am at. I am not sure how to continue from here. Any hints or full solutions are highly appreciated.
Comment: In two d it seems that the locus of such points is a circle. Now if you revolve the construction about the major axis you get an ellipsoid and and sphere as the locus.This is when you work in front plane(yz plane) which is shown in picture a.
another case is when we draw the tangent on the right plane(xz plane) (picture b)and planes parallel xz plane. In this case the locus will be an ellipsoid.
The third case is when we draw tangents from space between the front and right planes(xyz space). In this case the locus of points can be a combination of sphere and ellipsoid or generally an ellipsoid.
The situation is shown in the third picture. I do not think finding the general equation representing all cases is easy.