Let RR be a nonzero with identity. Then RR is a if and only if its only are (0)(0) and RR. Equivalently, every nonzero element of RR is a .

Proof idea

In a field, an ideal containing a0a\ne 0 also contains a1a=1a^{-1}a=1, so it is all of RR. Conversely, if the only ideals are (0)(0) and RR, then (a)=R(a)=R for every a0a\ne 0, so ab=1ab=1 for some bRb\in R.

This criterion is often paired with .