Compute the class of \(\displaystyle x^2+1\) in \(\displaystyle R/I\) with \(\displaystyle R=\mathbb{Z}[x]\) and \(\displaystyle I=(x)\), giving it as an integer.
Step by step with comments, a check and common mistakes.
Step-by-step solution
In \(\displaystyle R/I\) with \(\displaystyle I=(x)\), the coset of \(\displaystyle x\) is zero.
\[\displaystyle x+I=0+I\]
Then the coset of \(\displaystyle x^2\) is also zero.
\[\displaystyle x^2+I=0+I\]
Adding \(\displaystyle 1\) makes the coset of \(\displaystyle x^2+1\) equal to that of \(\displaystyle 1\).
\[\displaystyle x^2+1+I=0+1+I\]
Therefore, the requested coset, written as an integer, is \(\displaystyle 1\).