Canonical: https://knowlpedia.com/algebra-rings/field-iff-trivial-ideals/

# Fields and trivial ideals

A nonzero commutative ring with identity is a field exactly when its only ideals are zero and the whole ring.

Let \(R\) be a nonzero [commutative ring](https://knowlpedia.com/algebra-rings/commutative-ring/) with identity. Then \(R\) is a [field](https://knowlpedia.com/algebra-rings/field/) if and only if its only [ideals](https://knowlpedia.com/algebra-rings/ideal/) are \((0)\) and \(R\). Equivalently, every nonzero element of \(R\) is a [unit](https://knowlpedia.com/algebra-rings/unit/).

## Proof idea

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

This criterion is often paired with [maximal iff quotient is a field](https://knowlpedia.com/algebra-rings/maximal-iff-quotient-field/).
