Polynomial division algorithm · Exercise-POLYNOMIAL-DIVISION-ALGORITHM-008
Step-by-step solved exercise: Polynomials and fields
Compute the remainder of dividing \(\displaystyle x^{5} + 3 x^{3} - x + 2\) by \(\displaystyle x^{2} + 1\) in \(\displaystyle \mathbb{Q}[x]\).
Step by step with comments, a check and common mistakes.
Step-by-step solution
Since \(\displaystyle x^2+1\) has degree 2, reduce powers using \(\displaystyle x^2\equiv -1\).
\[\displaystyle x^2\equiv -1 \pmod{x^2+1}\]
With that, \(\displaystyle x^4\equiv 1\), \(\displaystyle x^5\equiv x\) and \(\displaystyle x^3\equiv -x\).
\[\displaystyle x^5\equiv x,\quad x^3\equiv -x\]
Substitute into the given polynomial.
\[\displaystyle x^5+3x^3-x+2\equiv x-3x-x+2\]
Simplify the result; it has degree less than 2, as the algorithm requires.
\[\displaystyle r=2-3x\]
Answer
\(\displaystyle 2 - 3 x\)
By Pablo Morales