I am trying to find the roots of $$\tag{1} x^3 -6x^2 +13x -12$$ by applying the method outlined here (I think this Cardan’s method).
Letting $y= x-2$, we can transform $(1)$ into $$\tag{2} y^3 + y -2=0.$$
It is clear that $1$ is a root of $(2)$, and, from the formula $$u - \frac{h}{u}=1,$$ we get $$\tag{3} u= \frac{3+ \sqrt{21}}{6}.$$
Given that the formula for the other two roots of $(2)$ are $$u\omega -\frac{h\omega^2}{u}, \quad u\omega^2 -\frac{h\omega}{u},$$ we can use $(3)$ and the fact that $\omega=\frac{1}{2}\Big(-1+\sqrt{3}i \Big)$ in order to find them, but this seems an incredibly tedious method.
Question: Is there a more expedient way to evaluate the last two roots of $(2)$?
Note: I am aware that you can use the fact that $x=3$ is a root of $(1)$ in order to factorise the equation, but I am trying here to use the Cubic Formula.
If you get one factor i.e $1$, so we have $y-1$ is a factor of $y^3+y-2$, now on dividing you would get a polynomial of degree $2$ in quotient, from there you can find the roots using quadratic formula. Hope it helps you.