Given line equation of 2-order:
$$3 x^{2} - 8 x y - 8 x + 6 y^{2} + 4 y - 3 = 0$$
This equation looks like:
$$a_{11} x^{2} + 2 a_{12} x y + 2 a_{13} x + a_{22} y^{2} + 2 a_{23} y + a_{33} = 0$$
where
$$a_{11} = 3$$
$$a_{12} = -4$$
$$a_{13} = -4$$
$$a_{22} = 6$$
$$a_{23} = 2$$
$$a_{33} = -3$$
To calculate the determinant
$$\Delta = \left|\begin{matrix}a_{11} & a_{12}\\a_{12} & a_{22}\end{matrix}\right|$$
or, substitute
$$\Delta = \left|\begin{matrix}3 & -4\\-4 & 6\end{matrix}\right|$$
$$\Delta = 2$$
Because
$$\Delta$$
is not equal to 0, then
find the center of the canonical coordinate system. To do it, solve the system of equations
$$a_{11} x_{0} + a_{12} y_{0} + a_{13} = 0$$
$$a_{12} x_{0} + a_{22} y_{0} + a_{23} = 0$$
substitute coefficients
$$3 x_{0} - 4 y_{0} - 4 = 0$$
$$- 4 x_{0} + 6 y_{0} + 2 = 0$$
then
$$x_{0} = 8$$
$$y_{0} = 5$$
Thus, we have the equation in the coordinate system O'x'y'
$$a'_{33} + a_{11} x'^{2} + 2 a_{12} x' y' + a_{22} y'^{2} = 0$$
where
$$a'_{33} = a_{13} x_{0} + a_{23} y_{0} + a_{33}$$
or
$$a'_{33} = - 4 x_{0} + 2 y_{0} - 3$$
$$a'_{33} = -25$$
then equation turns into
$$3 x'^{2} - 8 x' y' + 6 y'^{2} - 25 = 0$$
Rotate the resulting coordinate system by an angle φ
$$x' = \tilde x \cos{\left(\phi \right)} - \tilde y \sin{\left(\phi \right)}$$
$$y' = \tilde x \sin{\left(\phi \right)} + \tilde y \cos{\left(\phi \right)}$$
φ - determined from the formula
$$\cot{\left(2 \phi \right)} = \frac{a_{11} - a_{22}}{2 a_{12}}$$
substitute coefficients
$$\cot{\left(2 \phi \right)} = \frac{3}{8}$$
then
$$\phi = \frac{\operatorname{acot}{\left(\frac{3}{8} \right)}}{2}$$
$$\sin{\left(2 \phi \right)} = \frac{8 \sqrt{73}}{73}$$
$$\cos{\left(2 \phi \right)} = \frac{3 \sqrt{73}}{73}$$
$$\cos{\left(\phi \right)} = \sqrt{\frac{\cos{\left(2 \phi \right)}}{2} + \frac{1}{2}}$$
$$\sin{\left(\phi \right)} = \sqrt{1 - \cos^{2}{\left(\phi \right)}}$$
$$\cos{\left(\phi \right)} = \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}}$$
$$\sin{\left(\phi \right)} = \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}}$$
substitute coefficients
$$x' = \tilde x \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}} - \tilde y \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}}$$
$$y' = \tilde x \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}} + \tilde y \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}}$$
then the equation turns from
$$3 x'^{2} - 8 x' y' + 6 y'^{2} - 25 = 0$$
to
$$6 \left(\tilde x \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}} + \tilde y \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}}\right)^{2} - 8 \left(\tilde x \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}} + \tilde y \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}}\right) \left(\tilde x \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}} - \tilde y \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}}\right) + 3 \left(\tilde x \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}} - \tilde y \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}}\right)^{2} - 25 = 0$$
simplify
$$- 8 \tilde x^{2} \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}} \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}} - \frac{9 \sqrt{73} \tilde x^{2}}{146} + \frac{9 \tilde x^{2}}{2} - \frac{24 \sqrt{73} \tilde x \tilde y}{73} + 6 \tilde x \tilde y \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}} \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}} + \frac{9 \sqrt{73} \tilde y^{2}}{146} + 8 \tilde y^{2} \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}} \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}} + \frac{9 \tilde y^{2}}{2} - 25 = 0$$
$$- \frac{\sqrt{73} \tilde x^{2}}{2} + \frac{9 \tilde x^{2}}{2} + \frac{\sqrt{73} \tilde y^{2}}{2} + \frac{9 \tilde y^{2}}{2} - 25 = 0$$
Given equation is ellipse
2 2
\tilde x \tilde y
------------------------ + ------------------------ = 1
2 2
/ 1 \ / 1 \
|---------------------| |---------------------|
| ____________ | | ____________ |
| / ____ | | / ____ |
| / 9 \/ 73 | | / 9 \/ 73 |
| / - - ------ *1/5| | / - + ------ *1/5|
\\/ 2 2 / \\/ 2 2 /
- reduced to canonical form
The center of canonical coordinate system at point O
(8, 5)
Basis of the canonical coordinate system
$$\vec e_1 = \left( \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}}, \ \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}}\right)$$
$$\vec e_2 = \left( - \sqrt{\frac{1}{2} - \frac{3 \sqrt{73}}{146}}, \ \sqrt{\frac{3 \sqrt{73}}{146} + \frac{1}{2}}\right)$$