Background:
I came across the following problem in class and my teacher was unable to help. The problem was factorise $x^6 - 1$, if you used the difference of 2 squares then used the sum and difference of 2 cubes you came out with the following factorisation; $(x-1)(x+1)(x^2 +x + 1)(x^2 - x + 1)$. However if you used the sum and difference of 2 cubes first you factorised to the following; $(x-1)(x+1)(x^4 + x^2 + 1)$. How would I factorise further from there?
Question
How do you factorise $x^4 + x^2 + 1$?
Thanks
In such biquadratic expressions it is often useful to complete the square not as usual from the "quadratic" (=degree 4) and "linear" (=degree 2) terms, but from the "quadratic" and constant terms. Thus consider the best of $$ x^4+1+x^2=(x^2+1)^2-x^2=(x^2-1)^2+3x^2 $$ Another classical example is $$ x^4+1=(x^2+1)^2-2x^2 $$