Given line equation of 2-order:
$$x^{2} - 4 x + y + 1 = 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} = 1$$
$$a_{12} = 0$$
$$a_{13} = -2$$
$$a_{22} = 0$$
$$a_{23} = \frac{1}{2}$$
$$a_{33} = 1$$
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} = 1$$
|1 0|
I2 = | |
|0 0|
$$I_{3} = \left|\begin{matrix}1 & 0 & -2\\0 & 0 & \frac{1}{2}\\-2 & \frac{1}{2} & 1\end{matrix}\right|$$
$$I{\left(\lambda \right)} = \left|\begin{matrix}1 - \lambda & 0\\0 & - \lambda\end{matrix}\right|$$
|1 -2| | 0 1/2|
K2 = | | + | |
|-2 1 | |1/2 1 |
$$I_{1} = 1$$
$$I_{2} = 0$$
$$I_{3} = - \frac{1}{4}$$
$$I{\left(\lambda \right)} = \lambda^{2} - \lambda$$
$$K_{2} = - \frac{13}{4}$$
Because
$$I_{2} = 0 \wedge I_{3} \neq 0$$
then by line type:
this equation is of type : parabola
$$I_{1} \tilde y^{2} + 2 \tilde x \sqrt{- \frac{I_{3}}{I_{1}}} = 0$$
or
$$\tilde x + \tilde y^{2} = 0$$
$$\tilde y^{2} = \tilde x$$
- reduced to canonical form