Given line equation of 2-order:
$$9 x^{2} - 54 x + 4 y^{2} - 20 y + 106 = 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} = 9$$
$$a_{12} = 0$$
$$a_{13} = -27$$
$$a_{22} = 4$$
$$a_{23} = -10$$
$$a_{33} = 106$$
The invariants of the equation when converting coordinates are determinants:
$$I_{1} = a_{11} + a_{22}$$
|a11 a12|
I2 = | |
|a12 a22|
$$I_{3} = \left|\begin{matrix}a_{11} & a_{12} & a_{13}\\a_{12} & a_{22} & a_{23}\\a_{13} & a_{23} & a_{33}\end{matrix}\right|$$
$$I{\left(\lambda \right)} = \left|\begin{matrix}a_{11} - \lambda & a_{12}\\a_{12} & a_{22} - \lambda\end{matrix}\right|$$
|a11 a13| |a22 a23|
K2 = | | + | |
|a13 a33| |a23 a33|
substitute coefficients
$$I_{1} = 13$$
|9 0|
I2 = | |
|0 4|
$$I_{3} = \left|\begin{matrix}9 & 0 & -27\\0 & 4 & -10\\-27 & -10 & 106\end{matrix}\right|$$
$$I{\left(\lambda \right)} = \left|\begin{matrix}9 - \lambda & 0\\0 & 4 - \lambda\end{matrix}\right|$$
| 9 -27| | 4 -10|
K2 = | | + | |
|-27 106| |-10 106|
$$I_{1} = 13$$
$$I_{2} = 36$$
$$I_{3} = 0$$
$$I{\left(\lambda \right)} = \lambda^{2} - 13 \lambda + 36$$
$$K_{2} = 549$$
Because
$$I_{3} = 0 \wedge I_{2} > 0$$
then by line type:
this equation is of type : degenerate ellipse
Make the characteristic equation for the line:
$$- I_{1} \lambda + I_{2} + \lambda^{2} = 0$$
or
$$\lambda^{2} - 13 \lambda + 36 = 0$$
$$\lambda_{1} = 9$$
$$\lambda_{2} = 4$$
then the canonical form of the equation will be
$$\tilde x^{2} \lambda_{1} + \tilde y^{2} \lambda_{2} + \frac{I_{3}}{I_{2}} = 0$$
or
$$9 \tilde x^{2} + 4 \tilde y^{2} = 0$$
$$\frac{\tilde x^{2}}{\left(\frac{1}{3}\right)^{2}} + \frac{\tilde y^{2}}{\left(\frac{1}{2}\right)^{2}} = 0$$
- reduced to canonical form