Starting with
$A x^2 + B xy + C y^2 + D x + E y + F = 0$
write the above in terms of the $2D$ vector $r = [x, y]^T$ as
$ r^T Q r + b^T r + c = 0 $
where,
$ Q = \begin{bmatrix} A && B/2 \\ B/2 && C \end{bmatrix} $
$ b = [ D , E ]^T $
$ c = F $
Since it is assumed that this quadratic equation represents an ellipse, then $Q$ is invertible. So the next step is to find the center of the ellipse, using the formula,
$ \text{Center} = r_0 = -\frac{1}{2} Q^{-1} b $
Now the equation, using the center $r_0$ becomes
$ (r - r_0)^T Q (r - r_0) - {r_0}^T Q {r_0} + c = 0 $
Dividing through by $( {r_0}^T Q {r_0} - c )$ , results in,
$ (r - r_0)^T E (r - r_0) = 1 $
where,
$E = \dfrac{1}{{r_0}^T Q {r_0} - c} Q = \begin{bmatrix} E_{11} && E_{12} \\ E_{12} && E_{22} \end{bmatrix} $
The next step is to diagonalize $E$ and this is always possible because $E$ is a symmetric matrix, and for that define $\theta$ as follows
$\theta = \frac{1}{2} \tan^{-1} \dfrac{2 E_{12} }{E_{11} - E_{22}} $
Then $E = R D R^T $
where $R$ is a rotation matrix by an angle $\theta$,
$R = \begin{bmatrix} \cos \theta && - \sin \theta \\ \sin \theta && \cos \theta \end{bmatrix} $
And $D$ is a diagonal matrix, whose diagonal entries are given by,
$D_{11} = E_{11} \cos^2 \theta + E_{22} \sin^2 \theta + 2 E_{12} \cos \theta \sin \theta $
$D_{22} = E_{11} \sin^2 \theta + E_{22} \cos^2 \theta - 2 E_{12} \cos \theta \sin \theta $
Now we have the diagonalization specification complete, so we can write,
$ (r - r_0)^T R D R^T (r - r_0) = 1 $
Define the vector $q =[q_x, q_y]^T = R^T (r - r_0) $, then
$ q^T D q = 1 $
And this reads $D_{11} q_x^2 + D_{22} q_y^2 = 1 $
which represents an ellipse in standard position in the $ q_x q_y $ coordinates, with semi-axis lengths of $\dfrac{1}{\sqrt{D_{11}}} $ and $\dfrac{1}{\sqrt{D_{22}}} $. Thus parametrically, we have
$(q_x, q_y)(t) = D^{-\frac{1}{2}} u(t) $
where $u(t) = (\cos t , \sin t ) $ is a rotating unit vector.
To obtain the ellipse in $r$ coordinates, we use
$ r = r_0 + R q = r_0 + R D^{-\frac{1}{2}} u $
The matrix $R D^{-\frac{1}{2}} = [v_1, v_2] $ is the matrix whose columns are the semi-axes vectors of the ellipse.