I refer to the Wikipedia page, https://en.wikipedia.org/wiki/Ellipse, giving formulas (in paragraph “General ellipse”) that make connection between canonical form parameters (semi-axes $a$ and $b$, rotation angle $\theta$, center coordinates $x_c$ and $y_c$) and general form coefficients ($A,B,C,D,E,F$).
Precisely, I am focusing on the equations: $$A = a^2 \sin^2 \theta + b^2 \cos^2 \theta$$ $$C = a^2 \cos^2 \theta + b^2 \sin^2 \theta$$ $$F = A x_c^2 + B x_c y_c + C y_c^2 - a^2 b^2$$
From which I can infer a system of $2$ equations with unknown variables $a^2$ and $b^2$: $$a^2 + b^2 = A + C$$ $$a^2 b^2 = A x_c^2 + B x_c y_c + C y_c^2 - F$$
Now, I introduce the following ellipse: $$0.2 x^2 + 0.4 x y + 0.25 y^2 + 1.5 x + 2 y - 1.5 = 0$$ $$(A=0.2, B=0.4, C=0.25, D=1.5, E=2, F=-1.5)$$
which center is given by the other $2$ equations from the same Wikipedia page (if I don't err): $$x_c = \frac{2CD - BE}{B^2 - 4AC} = 1.25$$ $$y_c = \frac{2AE - BD}{B^2 - 4AC} = -5$$
So that I am left with the equalities (if I didn't make any miscalculations...): $$a^2 + b^2 = 0.45$$ $$a^2 b^2 = 5.5625$$
I wonder how one can find $a^2$ and $b^2$ from these equalities...
Question in summary: what is the problem? where am I wrong?
$$b = \frac14 \sqrt{\frac{445}2 (9 - \sqrt{65})}\approx 3.7,$$
$$\theta \approx 46.6^\circ$$
– Jan-Magnus Økland Jun 29 '23 at 04:51