Let \(a\) belong to a ring \(R\) with \(1\) and suppose that \(a^n=0\) for some positive integer \(n\) (such an \(a\) is called nilpotent). Show that \(1-a\) is a unit.
Let \(a\) and \(b\) be nilpotent elements in a commutative ring \(R\text{.}\) Then there exist positive integers \(n\) and \(m\) such that \(a^n=0\) and \(b^m=0\text{.}\) Then we have
For each term in the sum, either \(k \geq n\) or \(k\lt n\) and so \(m+n-k \gt m\text{.}\) In either case one of \(a^k\) or \(b^{m+n-k}\) is zero, so the entire sum is zero. Thus \(b-a\) is nilpotent. Similarly, we have
Thus \(ab\) is nilpotent. Since \(0\) is nilpotent, we have that the set of nilpotent elements is closed under addition and multiplication and is non-empty, so it is a subring by the Subring Test.
We prove the contrapositive: if a ring \(R\) has a non-zero nilpotent element, then it is not an integral domain. Let \(a\) be a non-zero nilpotent element of \(R\text{.}\) Then there exists a least positive integer \(n\geq 2\) such that \(a^n=0\text{.}\) Then we have \(a^{n-1}\neq 0\) and \(a\neq 0\text{,}\) but \(a^{n-1}a=0\text{.}\) Thus \(R\) has zero divisors and is not an integral domain.
Suppose \(R\) is an integral domain. We have that \(0\) and \(1\) are idempotent since \(0^2=0\) and \(1^2=1\text{.}\) Now if \(a^2=a\) and \(a\neq 0\) we have by cancellation that \(a=1\text{.}\) Thus \(0\) and \(1\) are the only idempotents in an integral domain.
For each \(n\) given, determine if \(\Z_n\) has any nilpotent elements: \(n=2,4,6,9,12\text{.}\) Make a conjecture about what should be true about \(n\) for \(\Z_n\) to have a nilpotent element.
\(\Z_4\text{,}\)\(\Z_9\text{,}\) and \(\Z_{12}\) have nilpotent elements. In particular, \(2^2=0\) in \(\Z_4\text{,}\)\(3^2=0\) in \(\Z_9\text{,}\) and \(6^2=0\) in \(\Z_{12}\text{.}\) The other rings do not have nilpotent elements. A conjecture is that \(\Z_n\) has a nilpotent element if and only if \(n\) is not square-free.
So we need \(a,b,c,d\in \Z_5\) such that not both \(a,b\) or both \(c,d\) are zero with \(ac=bd \bmod{5}\) and \(ad=-bc \bmod{5}\text{.}\) One solution is \(a=1,b=2,c=2,d=1\text{:}\)