I'm looking to understand how $t^3-1$ factorises to $(t-1)(t^2+t+1)$.
I know how to find the first factor $(t-1)$, but have trouble finding the second factor $(t^2+t+1)$.
I've tried doing long division of the original equation with the first factor, but that didn't work out.
Thanks for your help
$(t^3-1):(t-1)=t^2+t+1$
$-(t^3-t^2)$
$ t^2-1$
$ -(t^2-t)$
$ t-1$
$ -(t-1)$
$ 0$
The method proceeds as follows :
Divide the terms with the largest powers. Multiply the result with the denominator (here $t-1$) and subtract the result from the numerator (Here $t^3-1$).
Repeat this process with the remaining polynomial until the degree of the remaining polynomial after the subtraction is smaller than the degree of the denominator.
The degree of the remaining polynomial strictly decreases, so the process will terminate after a finite number of steps.
The last polynomial is the remainder of the division ($0$ in our case).