How does one calculate the inverse of $(2x+3)+I$ in $\mathbb{Z}_5[x] / \langle x^2+x+2\rangle$?
Give me some hint to solve this problem.
Thanks in advance.
How does one calculate the inverse of $(2x+3)+I$ in $\mathbb{Z}_5[x] / \langle x^2+x+2\rangle$?
Give me some hint to solve this problem.
Thanks in advance.
On
You need $$(2x+3)p(x)\equiv1\pmod{x^2+x+2}$$ in ${\Bbb Z}_5[x]$. That is, $$(2x+3)p(x)+(x^2+x+2)q(x)=1\ ,$$ and you can solve this by using the Euclidean algorithm (not forgetting that all the arithmetic of coefficients is modulo $5$).
If you have seen how to use the Euclidean algorithm in $\Bbb Z$ to solve equations such as $23x+112y=1$, this problem is very similar.
The generator $x^2 + x + 2$ of the ideal is quadratic, so every element admits an (in fact unique) linear representative, $$ ax + b . $$ We want to find the element $ax + b + I$ such that $$[(2x + 3) + I][(ax + b) + I] = 1 + I.$$
Simplifying gives $$ 2a x^2 + (3a + 2b) x + (3b - 1) \in I.$$