I saw this post recently deriving the equation of a conic section from the equation of a plane and a double cone.
I'm attempting the inverse, solving for the equation of a plane given the double cone and conic section.
Following the logic of the linked post, we have the following definitions:
$$p'x + q'y + z + s' = 0$$ $$ax^2 + by^2 + cz^2 + dxy + exz + fyz = 0$$ $$A = a + cp'^2 - ep'$$ $$B = d + 2cp'q' - eq' - fq'$$ $$C = b + cq'^2 - fq'$$ $$D = 2cp's' - es' = s' (2cp' - e)$$ $$E = 2cq's' - fs' = s' (2cq' - f)$$ $$F = cs'^2$$ $$Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0$$
Solving for $s'$ is easy since we have the F equation (which we can then substitute into other equations for $s'$): $$s'=\sqrt{\frac{F}{c}}$$ Solving the equations of $A$ and $D$ for $0$, we get the following equation: $$cp'^2 - ep' + a - A - 2cp's' - es' = 0$$ Which can then be solved for $p'$ (and checked with Wolfram|Alpha): $$p'=\frac{e+2c\sqrt{\frac{F}{c}}\pm\sqrt{e^2-4c(D+a-A-F)}}{2c}$$
The same logic when solving for $p'$ can be used to solve for $q'$: $$q'=\frac{f+2c\sqrt{\frac{F}{c}}\pm\sqrt{f^2-4c(E+b-C-F)}}{2c}$$
I plugged it all into GeoGebra's 3D calculator: https://www.geogebra.org/3d/t7feqgza
At first, everything seemed fine, though upon changing coefficients I found the graph is undefined.
For example, if the sign of $a$ and $b$ are the same as the sign of $c$, the plane is undefined. Furthermore, if $d$, $e$, and $f$ are all equal to $0$ (in addition to the other double cone coefficients having the same sign) then the conic is undefined.
My only possible explanation for this is that the $B$ equation is not used when deriving the equations of $p'$ and $q'$. The next step would obviously be to derive the equations of $p'$ and $q'$ including the $B$ equation. Except for that the $B$ equation includes both $p'$ and $q'$ so neither of them can be solved without including the other, which has the same problem in turn.
What are the equations for $p'$ and $q'$?
Edit #1
After receiving some negative feedback, I'd like to clarify a few things about the problem:
- The values of $a, b, c, d, e, f, A, B, C, D, E$ and $F$ are known. In addition, the following condition is true: $$\{a,b,c,d,e,f,A,B,C,D,E,F\} \subset\mathbb{R}$$
- The double cone is defined by $$ax^2+by^2+cz^2+dxy+exz+fyz=0$$
- The conic section is defined by $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0$$
- Both the double cone and plane are infinite (so there is only one possible plane)
Edit #2 For more clarification:
In the equation of the conic section, a point $P(x,y)$ lies on the plane.
In the equation of the plane and the double cone, a point $P(x,y,z)$ is in 3D coordinate space.
