Polynomial division algorithm · Exercise-POLYNOMIAL-DIVISION-ALGORITHM-004
Step-by-step solved exercise: Polynomials and fields
Over \(\displaystyle \mathbb{Q}\), what is the division of \(\displaystyle x^{4} + 1\) by \(\displaystyle x^{2} + x + 1\)?
Step by step with comments, a check and common mistakes.
Step-by-step solution
Use the factorization \(\displaystyle x^3-1=(x-1)(x^2+x+1)\).
\[\displaystyle x^3-1=(x-1)(x^2+x+1)\]
Write \(\displaystyle x^4+1\) using \(\displaystyle x^3-1\).
\[\displaystyle x^4+1=x(x^3-1)+x+1\]
Substitute the factorization to get the quotient-remainder form.
\[\displaystyle x^4+1=(x^2+x+1)(x^2-x)+(x+1)\]
Since the remainder \(\displaystyle x+1\) has degree 1, less than 2, the division is correct.
\[\displaystyle q=x^2-x,\quad r=x+1\]
Answer
\(\displaystyle q=x^{2} - x,\ r=x + 1\)
By Pablo Morales