Polynomial division algorithm · Exercise-POLYNOMIAL-DIVISION-ALGORITHM-006
Step-by-step solved exercise: Polynomials and fields
What is the remainder of dividing \(\displaystyle x^{101}+x^2+1\) by \(\displaystyle x+1\) in \(\displaystyle \mathbb{Q}[x]\)?
Step by step with comments, a check and common mistakes.
Step-by-step solution
The divisor \(\displaystyle x+1\) has degree 1, so the remainder is a constant equal to \(\displaystyle f(-1)\).
\[\displaystyle r=f(-1)\]
Evaluate each term: \(\displaystyle (-1)^{101}=-1\), \(\displaystyle (-1)^2=1\) and the constant is 1.
\[\displaystyle (-1)^{101}+(-1)^2+1=-1+1+1\]
Add the values to get the remainder.
\[\displaystyle r=1\]
By Pablo Morales