Step-by-step solved exercise: Polynomials and fields
In \(\displaystyle \mathbb{Z}_5[x]\), what are the quotient \(\displaystyle q\) and remainder \(\displaystyle r\) of dividing \(\displaystyle x^{3} + 2 x + 1\) by \(\displaystyle 2 x + 3\)?
Step by step with comments, a check and common mistakes.
Step-by-step solution
In \(\displaystyle \mathbb{Z}_5\), the inverse of 2 is 3, because \(\displaystyle 2\cdot 3=6\equiv 1\).
\[\displaystyle 2^{-1}=3 \text{ en } \mathbb{Z}_5\]
Factor \(\displaystyle 2x+3=2(x+4)\), since \(\displaystyle 8\equiv 3\) mod 5.
\[\displaystyle 2x+3=2(x+4)\]
Divide \(\displaystyle x^3+2x+1\) by \(\displaystyle x+4\): the remainder is 4 and the quotient is \(\displaystyle x^2+x+3\).
\[\displaystyle x^3+2x+1=(x+4)(x^2+x+3)+4\]
Multiply the quotient by 3 to return to the divisor \(\displaystyle 2x+3\); the remainder 4 does not change.