Eliminate the D and E terms of the general equation of a Conic section

analytic geometryconic sections

We have the general equation of a conic section:

$$Ax^{2} + Bxy + Cy^{2} + Dx + Ey + F = 0$$

Where, the $D.x$ and $E.y$ terms determine the translation/offset of the conic section from the origin.

I have an equation with all these terms and am trying to eliminate these terms in order to translate my conic section equation to the origin:

$$Ax^{2} + Bxy + Cy^{2} + F = 0$$

Where $D=E=0$.

I tried understanding how the equation changes with such a translation by manually moving a conic to the origin on Geogebra:

Example

Unfortunately, it seems the D and E terms aren't eliminated (at least on Geogebra) and instead, get offsetted by some amount and the F value also seems to change drastically.

How can I achieve the same result? That is, generate the equation for the conic being centred at the origin. With or without the D and E terms (the latter preferred). Thanks!

Best Answer

$2Ax+By+D=0,By+2Cy+E=0$ has solution $(x,y)=\left(\frac{2CD-BE}{B^2-4AC},-\frac{BD-2AE}{B^2-4AC}\right)$,

provided $B^2-4AC\not=0$, thus the conic should not be a parabola. Geometrically, the formula breaks down for a parabola because it intends to identify the center of the conic but the center of a parabola does not exist.

Then substituting $(x,y)\to \left(x+\frac{2CD-BE}{B^2-4AC},y-\frac{BD-2AE}{B^2-4AC}\right),$ we get $$A\left(x+\frac{2CD-BE}{B^2-4AC}\right)^2+B\left(x+\frac{2CD-BE}{B^2-4AC}\right)\left(y-\frac{BD-2AE}{B^2-4AC}\right)+C\left(y-\frac{BD-2AE}{B^2-4AC}\right)^2+D\left(x+\frac{2CD-BE}{B^2-4AC}\right)+E\left(y-\frac{BD-2AE}{B^2-4AC}\right)+F=0$$ which expands to $$Ax^2+Bxy+Cy^2+F+\frac{-AE^2+BDE-CD^2}{4AC-B^2}=0$$

Related Question