I came across the question:
Determine if the element $x^3 + 2 + \langle x^4 − x^2\rangle\in (\mathbb{Z}/5[x])/\langle x^4 − x^2\rangle$ is a unit.
Notation: $\langle x^4 − x^2\rangle$ is the ideal generated by $ x^4 − x^2$.
My guess is that it is a unit, but I can't figure out how to calculate the multiplicative inverse. I know that for it to be a unit, there has to be a polynomial $p(x)\in (\mathbb{Z}/5)[x]$ such that \begin{equation} p(x)(x^3 +2)-1\in \langle x^4-x^2\rangle . \end{equation} In other words, there has to be polynomials $p(x)$ and $q(x)$ such that \begin{equation} p(x)(x^3 +2)= q(x)(x^4-x^2)+1. \end{equation} Which implies $p(x)$ has to have a constant term that is equal to $3$. But I don't know how to proceed from this point.
In an attempt to use another approach, I used the division algorithm which lead me to \begin{equation} (x^2+3x+1)(x^4-x^2)= (x^3+3x)(x^3+2). \end{equation} And this made me rethink, I am actually not sure if $x^3 + 2 + \langle x^4 − x^2\rangle$ is a unit now.
Any help is gladly appreciated.