# Prime and irreducible elements

A **prime element** of an integral domain is a nonzero nonunit p such that whenever p divides a product ab, p divides a or p divides b; an **irreducible element** is a nonzero nonunit c whose only factorizations c = ab have a unit as one factor. In the integers these notions coincide, but in a general integral domain every prime is irreducible while the converse fails.

| Key fact | Statement |
|---|---|
| Prime element | Nonzero nonunit p with p \| ab ⟹ p \| a or p \| b <sup>[1](https://encyclopediaofmath.org/wiki/Prime_element)</sup> |
| Ideal form | p is prime exactly when the principal ideal (p) is a prime ideal <sup>[1](https://encyclopediaofmath.org/wiki/Prime_element)</sup> |
| Prime ⟹ irreducible | Holds in every integral domain; the proof cancels a nonzero factor <sup>[2](https://people.reed.edu/~jerry/332/15euc.pdf)</sup> |
| Converse fails | 2 and 3 are irreducible but not prime in Z[√−5] <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup> |
| Coincidence domains | In a UFD irreducibles are prime <sup>[4](https://dummit.cos.northeastern.edu/docs/ringthy_4_arithmetic_and_factorization_in_domains.pdf)</sup>; every PID is a UFD <sup>[5](https://faculty.etsu.edu/gardnerr/4127/notes/IX-45.pdf)</sup>, and in a Euclidean domain an element is prime if and only if it is irreducible <sup>[6](https://dummit.cos.northeastern.edu/docs/numthy_4_unique_factorization_and_applications.pdf)</sup> |
| UFD criterion | An [atomic domain](https://www.edgepedia.org/atomic-domain) is a UFD if and only if every irreducible is prime <sup>[7](https://stacks.math.columbia.edu/tag/034O)</sup> |

## Definitions

Let R be an integral domain, a commutative ring with 1 ≠ 0 having no zero divisors. A **unit** is an element dividing 1, and elements a, b are **associates** if a = ub for a unit u <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup>. An element p is **prime** if p is a nonzero nonunit and p | ab implies p | a or p | b <sup>[8](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)</sup>. Equivalently, p is prime exactly when the principal ideal (p) is a prime ideal <sup>[1](https://encyclopediaofmath.org/wiki/Prime_element)</sup>. An element c is **irreducible** if c is a nonzero nonunit and every factorization c = ab has a or b a unit <sup>[8](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)</sup>.

The two conditions ask opposite questions of the divisibility relation. Primality is a criterion about how a given element fits into products, while irreducibility is a criterion about how products fit into a given element <sup>[2](https://people.reed.edu/~jerry/332/15euc.pdf)</sup>.

## Prime implies irreducible

Suppose \(p\) is prime and \(p = bc\). Then \(p \mid bc\), so primality gives \(p \mid b\) or \(p \mid c\); say \(b = pc\). Substituting, \(p = prc\). Since \(p \neq 0\), we may cancel \(p\) to conclude \(rc = 1\), so \(c\) is a unit <sup>[4](https://dummit.cos.northeastern.edu/docs/ringthy_4_arithmetic_and_factorization_in_domains.pdf)</sup>. The cancellation step is exactly where the argument uses that \(R\) is an integral domain: in a ring with zero divisors the implication can fail, and indeed in \(\mathbb{Z}_n\) with \(n \equiv 2 \pmod{4}\) the element \(2\) satisfies \(2 = 2(n/2 + 1)\) with neither factor a unit <sup>[8](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)</sup>. Hence in any integral domain, nonzero primes are irreducible <sup>[2](https://people.reed.edu/~jerry/332/15euc.pdf)</sup>.

## Where the converse fails

**The standard counterexample is Z[√−5].** The element 3 is irreducible, but it is not prime: 9 = (2 + √−5)(2 − √−5), so 3 divides the product without dividing either factor <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup>. The element 2 is not prime either: 2 divides 6 = (1 + √−5)(1 − √−5) but divides neither factor <sup>[2](https://people.reed.edu/~jerry/332/15euc.pdf)</sup>. The failure cascades: 6 = 2 × 3 = (1 + √−5)(1 − √−5) exhibits two distinct factorizations into irreducibles <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup>. The ring Z[√10] gives another quadratic example where 2 is irreducible but not prime <sup>[8](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)</sup>.

Function rings provide counterexamples too. In S = Q[x², x³], both x² and x³ are irreducible, as neither can be factored in S, and they are not associates; so x⁶ = x²x²x² = x³x³ gives two essentially distinct factorizations <sup>[9](https://www.ams.org/publicoutreach/feature-column/fcarc-factorization)</sup>. In D = F[x³, xy, y³] ⊂ F[x, y], the elements x³, xy, y³ are irreducible, and xy again divides x³y³ while dividing neither factor, so xy is irreducible but not prime <sup>[5](https://faculty.etsu.edu/gardnerr/4127/notes/IX-45.pdf)</sup>.

## Irreducibility and primality in special domains

A **unique factorization domain (UFD)** is an integral domain in which every nonzero nonunit factors into irreducibles, uniquely up to associates and the order of factors <sup>[4](https://dummit.cos.northeastern.edu/docs/ringthy_4_arithmetic_and_factorization_in_domains.pdf)</sup><sup> • </sup><sup>[8](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)</sup>. In a UFD, every irreducible is prime: if p is irreducible and p | ab, expand ab into irreducibles and append p; by uniqueness p must be associate to one of the irreducible factors of a or of b <sup>[4](https://dummit.cos.northeastern.edu/docs/ringthy_4_arithmetic_and_factorization_in_domains.pdf)</sup>. So prime and irreducible coincide in a UFD <sup>[5](https://faculty.etsu.edu/gardnerr/4127/notes/IX-45.pdf)</sup>.

Ideal theory sharpens the picture <sup>[8](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)</sup>:

- p is prime if and only if (p) is a nonzero prime ideal;
- c is irreducible if and only if (c) is maximal among the proper principal ideals of R;
- if R is a principal ideal domain (PID), then p is prime if and only if p is irreducible, because an irreducible p generates a maximal, hence prime, ideal <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup>.

Every PID is a UFD <sup>[5](https://faculty.etsu.edu/gardnerr/4127/notes/IX-45.pdf)</sup>; moreover, if R is a [Euclidean domain](https://www.edgepedia.org/euclidean-domain), then an element of R is prime if and only if it is irreducible <sup>[6](https://dummit.cos.northeastern.edu/docs/numthy_4_unique_factorization_and_applications.pdf)</sup>. The class of UFDs is strictly larger than the class of PIDs: Z[x] is a UFD but not a PID, because the ideal (2, x) is not principal <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup>.

## Elements, ideals, and the road to UFDs

The element-level and ideal-level notions of "prime" are related but distinct. An element p of a ring is prime if and only if the principal ideal (p) is a prime ideal <sup>[1](https://encyclopediaofmath.org/wiki/Prime_element)</sup>. For irreducibles the ideal analog changes: irreducibility of c corresponds to (c) being maximal only within the ordered set of proper principal ideals, a genuinely weaker condition than (c) being a maximal ideal of R <sup>[8](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)</sup>.

These definitions assemble into the standard characterization of unique factorization. Stacks Project Lemma 10.120.5 states: if R is a domain in which every nonzero nonunit factors into irreducibles, then R is a UFD if and only if every irreducible element is prime <sup>[7](https://stacks.math.columbia.edu/tag/034O)</sup>. The uniqueness half of the proof is a cancellation induction: if \(p_{1}\) is prime and divides a product \(q_{1} \cdots q_{m}\) of irreducibles, then \(p_{1}\) divides some \(q_{i}\), so \(p_{1}\) and \(q_{i}\) agree up to multiplication by a unit, and one inducts on the remaining factors <sup>[10](https://agag-gathmann.math.rptu.de/class/commalg-2013/commalg-2013-c8.pdf)</sup>. In the language of semigroup theory, in a Gauss semigroup prime and irreducible coincide <sup>[1](https://encyclopediaofmath.org/wiki/Prime_element)</sup>.

Two features of this characterization deserve emphasis. It says nothing about which domains admit factorizations into irreducibles at all; the hypothesis that factorizations exist (atomicity) is separate from the uniqueness condition. And it stops short of classifying UFDs: the class of UFDs is strictly larger than that of PIDs, with Z[x] witnessing that the inclusion is proper <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup>.

## By the numbers: small-norm computations in quadratic rings

The Z[√−5] counterexample is fully checkable by hand. The element 3 is irreducible, yet 3 divides 9 = (2 + √−5)(2 − √−5) without dividing either factor, so it fails primality <sup>[3](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)</sup>; likewise 2 divides 6 = (1 + √−5)(1 − √−5) without dividing either factor, and is not prime <sup>[2](https://people.reed.edu/~jerry/332/15euc.pdf)</sup>.

The Gaussian integers Z[i] show how the same style of computation behaves when a factorization exists: 5 is reducible in Z[i], since 5 = (2 + i)(2 − i) and neither 2 + i nor 2 − i is a unit in Z[i] <sup>[4](https://dummit.cos.northeastern.edu/docs/ringthy_4_arithmetic_and_factorization_in_domains.pdf)</sup>.

## Recent developments

Current research studies the prime/irreducible gap quantitatively rather than only through the classical examples. A November 2024 preprint constructs domains exhibiting the non-existence of primes and of absolutely irreducible elements that are not prime <sup>[11](https://arxiv.org/pdf/2411.01051)</sup>. Related work considers elements that are absolutely irreducible, meaning that every power of them has essentially only one factorization into irreducibles <sup>[12](https://pmc.ncbi.nlm.nih.gov/articles/PMC7454568/)</sup>, and characterizes when irreducible elements of rings of integer-valued polynomials Int(V) are absolutely irreducible, with binomial polynomials in Int(Z) shown absolutely irreducible <sup>[13](https://pmc.ncbi.nlm.nih.gov/articles/PMC10576700/)</sup>. On the arithmetic side, an April 2025 preprint computes the elasticity of orders in number fields with prime conductor <sup>[14](https://arxiv.org/html/2504.17957)</sup>.

## References

1. [Prime element — Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Prime_element)
2. [Reed College Math 332 lecture notes: Prime Factorization (Jerry Shurman)](https://people.reed.edu/~jerry/332/15euc.pdf)
3. [Primes and irreducibles — Instituto Superior Técnico, Universidade de Lisboa](https://fenix.tecnico.ulisboa.pt/downloadFile/2533893265687120/primes_and_irreducibles.pdf)
4. [Ring Theory: Arithmetic and Factorization in Domains (Dummit-style notes, Northeastern)](https://dummit.cos.northeastern.edu/docs/ringthy_4_arithmetic_and_factorization_in_domains.pdf)
5. [Part IX. Factorization (Gallian-based notes, ETSU)](https://faculty.etsu.edu/gardnerr/4127/notes/IX-45.pdf)
6. [Notes: Unique Factorization and Applications (Euclidean domains)](https://dummit.cos.northeastern.edu/docs/numthy_4_unique_factorization_and_applications.pdf)
7. [Section 10.120 (034O): Factorization — The Stacks Project](https://stacks.math.columbia.edu/tag/034O)
8. [Section III.3. Factorization in Commutative Rings (Hungerford-based notes, ETSU)](https://faculty.etsu.edu/gardnerr/5410/notes/III-3.pdf)
9. [AMS Feature Column on Factorization](https://www.ams.org/publicoutreach/feature-column/fcarc-factorization)
10. [Commutative Algebra course notes, Chapter 8 (Gathmann)](https://agag-gathmann.math.rptu.de/class/commalg-2013/commalg-2013-c8.pdf)
11. [Rings lacking primes, absolutely irreducibles, and related elements (arXiv, 2024)](https://arxiv.org/pdf/2411.01051)
12. [A graph-theoretic criterion for absolute irreducibility of integer-valued polynomials with square-free denominator](https://pmc.ncbi.nlm.nih.gov/articles/PMC7454568/)
13. [Integer-valued polynomials on valuation rings of global fields with prescribed lengths of factorizations](https://pmc.ncbi.nlm.nih.gov/articles/PMC10576700/)
14. [Elasticity of Orders with Prime Conductor (arXiv, 2025)](https://arxiv.org/html/2504.17957)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 11, 2026; Oct 15, 2026 · Last review: Sep 30, 2026*

Topic: Physical world and mathematics › Mathematics and statistics › Numbers and algebra › Algebraic structures › Ring theory › Factorization and orders › Irreducible and prime elements

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/prime-and-irreducible-elements
