Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Is there a method to find the units in $\mathbb{Z}_{n}[x]$?

For instance, take $\mathbb{Z}_{4}$. How do we find all invertible polynomials in $\mathbb{Z}_{4}[x]$? Clearly $2x+1$ is one. What about the others? Is there any method?

share|cite|improve this question

marked as duplicate by Bill Dubuque abstract-algebra Jun 20 at 13:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Clearly, you can reduce the problem to $n=p^\alpha$ for $p$ prime, using Chinese remainder theorem. – Thomas Andrews Apr 1 '11 at 20:24
up vote 8 down vote accepted

Lemma 1. Let $R$ be a commutative ring. If $u$ is a unit and $a$ is nilpotent, then $u+a$ is a unit.

Proof. It suffices to show that $1-a$ is a unit when $a$ is nilpotent. If $a^n=0$ with $n\gt 0$, then $$(1-a)(1+a+a^2+\cdots+a^{n-1}) = 1 - a^n = 1.$$ QED

Lemma 2. If $R$ is a ring, and $a$ is nilpotent in $R$, then $ax^i$ is nilpotent in $R[x]$.

Proof. Let $n\gt 0$ be such that $a^n=0$. Then $(ax^i)^n = a^nx^{ni}=0$. QED

Lemma 3. Let $R$ be a commutative ring. Then $$\bigcap\{ \mathfrak{p}\mid \mathfrak{p}\text{ is a prime ideal of }R\} = \{a\in R\mid a\text{ is nilpotent}\}.$$

Proof. If $a$ is nilpotent, then $a^n = 0\in\mathfrak{p}$ for some $n\gt 0$ and all prime ideals $\mathfrak{p}$, and $a^n\in\mathfrak{p}$ implies $a\in\mathfrak{p}$.

Conversely, if $a$ is not nilpotent, then the set of ideals that do not contain any positive power of $a$ is nonempty (it contains $(0)$) and closed under increasing unions, so by Zorn's Lemma it contains a maximal element $\mathfrak{m}$. If $x,y\notin\mathfrak{m}$, then the ideals $(x)+\mathfrak{m}$ and $(y)+\mathfrak{m}$ strictly contain $\mathfrak{m}$, so there exists positive integers $m$ and $n$ such that $a^m\in (x)+\mathfrak{m}$ and $a^n\in (y)+\mathfrak{m}$. Then $a^{m+n}\in (xy)+\mathfrak{m}$, so $xy\notin\mathfrak{m}$. Thus, $\mathfrak{m}$ is prime, so $a$ is not in the intersection of all prime ideals of $R$. QED

Theorem. Let $R$ be a commutative ring. Then $$p(x) = a_0 + a_1x + \cdots + a_nx^n\in R[x]$$ is a unit in $R[x]$ if and only if $a_0$ is a unit of $R$, and each $a_i$, $i\gt 0$, is nilpotent.

Proof. Suppose $a_0$ is a unit and each $a_i$ is nilpotent. Then $a_ix^i$ is nilpotent by Lemma 2, and applying Lemma 1 repeatedly we conclude that $a_0+a_1x+\cdots+a_nx^n$ is a unit in $R[x]$, as claimed.

Conversely, suppose that $p(x)$ is a unit. If $\mathfrak{p}$ is a prime ideal of $R$, then reduction modulo $\mathfrak{p}$ of $R[x]$ maps $R[x]$ to $(R/\mathfrak{p})[x]$, which is a polynomial ring over an integral domain; since the reduction map sends units to units, it follows that $\overline{p(x)}$ is a unit in $(R/\mathfrak{p})[x]$, hence $\overline{p(x)}$ is constant. Therefore, $a_i\in\mathfrak{p}$ for all $i\gt 0$.

Therefore, $a_i \in\bigcap\mathfrak{p}$, the intersection of all prime ideals of $R$. The intersection of all prime ideals of $R$ is precisely the set of nilpotent elements of $R$, which establishes the result. QED

For $R=\mathbb{Z}_n$, let $d$ be the squarefree root of $n$ (the product of all distinct prime divisors of $n$). Then a polynomial $a_0+a_1x+\cdots+a_nx^n\in\mathbb{Z}_n[x]$ is a unit if and only if $\gcd(a_0,n)=1$, and $d|a_i$ for $i=1,\ldots,n$. In particular if $n$ is squarefree, the only units in $\mathbb{Z}_n[x]$ are the units of $\mathbb{Z}_n$.

share|cite|improve this answer
@Excellent! Thanks. I envy your students. – user6495 Apr 1 '11 at 22:18
In case you missed it, the theorem is already proved in the prior question linked in my post (click on the highlighted "HINT"). – Bill Dubuque Apr 1 '11 at 22:38
@Bill: I knew you had mentioned this before, and I tried to locate it, but couldn't find it. For some reason, while I was writing the answer above, I did not get a notification that you an answer had been posted (or I failed to notice it), so I didn't see your post (with its hint) until after I was done writing and posting. Had I realized (given the time frame, I was only about a quarter of the way through), I would have stopped writing and let your short post handle it... – Arturo Magidin Apr 2 '11 at 2:16

HINT $\rm\ r_0 + r_1\ x +\:\cdots\: + r_n\ x^n\ $ is a unit in $\rm\:R[x]\:\ \iff\ r_0\:$ is a unit and $\rm\: r_i\: $ is nilpotent for $\rm\ i\ge 1\:.$

share|cite|improve this answer
Thank you. – user6495 Apr 1 '11 at 22:38
@Downvoter In case you missed it, there is a link behind the word "Hint", which leads to a full conceptual proof. – Bill Dubuque Jun 20 at 13:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.