Prime Ideals

Why does the equation xy≡0(mod6)xy \equiv 0 \pmod 6 have solutions like 2⋅32 \cdot 3? Neither factor here is congruent to 00. Yet xy≡0(mod5)xy \equiv 0 \pmod 5 forces xx or yy to vanish. The difference is arithmetic, but it is really about ideals. The ideal (6)(6) fails to detect factorizations the way (5)(5) does. Prime ideals abstract this phenomenon. They generalize prime numbers from Z\mathbb{Z} to arbitrary commutative rings. They give the correct language for asking "does this ring have zero divisors modulo this ideal?" The notion matters because factorization, divisibility, and quotient ring structure all depend on prime ideals. In Z\mathbb{Z}, the prime ideals are exactly (0)(0) and (p)(p) for pp prime. This recovers unique factorization. In a polynomial ring like C[x,y]\mathbb{C}[x,y], prime ideals correspond to irreducible algebraic varieties. This links ring theory directly to geometry. Understanding prime ideals is therefore a hinge. It connects elementary number theory, commutative algebra, and algebraic geometry. The big picture is this: a prime ideal PP is an ideal whose complement is multiplicatively closed. Its quotient ring R/PR/P has no zero divisors. This single equivalence — PP prime iff R/PR/P is an integral domain — is the load-bearing wall of the subject. It lets us transfer questions about products vanishing in RR into simpler questions. Those questions concern products vanishing in the ring R/PR/P, and vice versa. It also sets up the comparison with maximal ideals. Their quotients are fields, a strictly stronger condition. This article gives the formal definition of a prime ideal. It proves the characterization via quotient rings, using the Isomorphism Theorems for Rings. It builds geometric and arithmetic intuition with figures. It works through two nontrivial examples. It shows exactly where the hypothesis of commutativity-with-identity is needed. It closes by situating prime ideals as the natural predecessor to Maximal Ideals and Fields and to Unique Factorization Domains.

Key takeaways
  • A prime ideal P⊊RP \subsetneq R satisfies: whenever ab∈Pab \in P, either a∈Pa \in P or b∈Pb \in P.
  • Equivalently, PP is prime iff the quotient ring R/PR/P is an integral domain.
  • In Z\mathbb{Z}, prime ideals are exactly (0)(0) and (p)(p) for pp a prime number.
  • Every maximal ideal is prime, but not conversely — (0)(0) in Z\mathbb{Z} is prime but not maximal.
  • Commutativity and the requirement P≠RP \neq R are essential; dropping either breaks the theorem.
  • Key idea: primeness of an ideal is exactly the algebraic shadow of "no zero divisors" pushed through a quotient map.

Where this lives today

In algebraic number theory, prime ideals of rings of integers generalize prime numbers and are the objects that factor uniquely, restoring the unique factorization that individual algebraic integers can lack. In algebraic geometry, prime ideals of a polynomial ring correspond to irreducible varieties, and the set of all prime ideals of a ring — its spectrum — is the foundation of scheme theory. In commutative algebra broadly, localizing a ring at a prime ideal produces local rings that are the basic local-to-global tool for studying singularities and dimension. In cryptography, the structure of prime ideals in number fields underlies algorithms in computational number theory used for factoring and for lattice-based and ideal-lattice cryptosystems. In coding theory and combinatorics, quotients by prime ideals of polynomial rings appear when analyzing varieties over finite fields, connecting to Gröbner basis computations. Even in statistics and applied algebra, prime ideals of polynomial rings arise in algebraic statistics when describing the zero sets ("varieties") of constraints defining statistical models.

:::quiz[In Q[x,y]/(y−x2)≅Q[t]\mathbb{Q}[x,y]/(y-x^2) \cong \mathbb{Q}[t], what property of Q[t]\mathbb{Q}[t] shows (y−x2)(y-x^2) is prime?]

  • Q[t]\mathbb{Q}[t] is a field
  • Q[t]\mathbb{Q}[t] is an integral domain because degrees add under multiplication ✓
  • Q[t]\mathbb{Q}[t] has finitely many elements
  • Q[t]\mathbb{Q}[t] is isomorphic to Q[x,y]\mathbb{Q}[x,y]

Ask the tutor: How does the theorem "PP prime iff R/PR/P is a domain" change when we instead ask when R/PR/P is a field?

DefinitionPrime Ideal

Let RR be a commutative ring with identity 1≠01 \neq 0. An ideal P⊆RP \subseteq R is called a prime ideal if it satisfies both of the following conditions: 1. P≠RP \neq R (equivalently, 1∉P1 \notin P); 2. for all a,b∈Ra, b \in R, if ab∈Pab \in P then a∈Pa \in P or b∈Pb \in P. Condition (2) is called the prime property. Note that (0)(0) is a prime ideal precisely when RR itself has no zero divisors, i.e., when RR is an integral domain.

Intuition

Think of an ideal PP as a "sieve": elements of RR either fall through the sieve (land in PP) or do not. The prime property says the sieve cannot be fooled by a product — if the product abab falls through, at least one of aa or bb must already have fallen through on its own. Contrast this with a "leaky" ideal like (6)⊂Z(6) \subset \mathbb{Z}: the product 2⋅3=62 \cdot 3 = 6 falls into (6)(6), yet neither 22 nor 33 individually belongs to (6)(6). The sieve (6)(6) is leaky precisely because 6=2⋅36 = 2\cdot 3 is composite. The reformulation in terms of quotients makes this vivid. Passing to R/PR/P collapses everything in PP to zero. The prime property "if ab∈Pab \in P then a∈Pa \in P or b∈Pb \in P" becomes, after collapsing, "if aˉbˉ=0\bar a \bar b = 0 in R/PR/P then aˉ=0\bar a = 0 or bˉ=0\bar b = 0" — which is exactly the defining property of an integral domain. So checking primeness of PP is the same computation as checking that R/PR/P has no zero divisors; the definition and the theorem are two descriptions of one phenomenon, viewed before and after quotienting.

Figure
Prime vs. non-prime ideals in Z\mathbb{Z}, viewed as sieves
Ideal (5) — prime R = ℤ (5) = {…,-5,0,5,10,…} 2 3 2·3 = 6 ∉ (5): neither factor forced in no product of outsiders lands inside Ideal (6) — not prime R = ℤ (6) = {…,-6,0,6,12,…} 2 3 2·3 = 6 ∈ (6), but 2 ∉ (6) and 3 ∉ (6) the sieve is leaky: prime property fails
TheoremPrime Ideal Criterion via Quotients

Let RR be a commutative ring with identity 1≠01 \neq 0, and let PP be an ideal of RR. Then:

P is a prime ideal of R  ⟺  R/P is an integral domain.P \text{ is a prime ideal of } R \iff R/P \text{ is an integral domain.}
Proof

We recall the two facts this proof needs about the quotient construction, both standard consequences of the Isomorphism Theorems for Rings and the definition of the quotient ring:

  • The quotient ring R/PR/P is a commutative ring with identity 1ˉ=1+P\bar 1 = 1 + P, and it is the zero ring iff P=RP = R; in particular R/P≠{0}R/P \neq \{0\} iff 1∉P1 \notin P, i.e., iff P≠RP \neq R.
  • The canonical projection π:R→R/P\pi : R \to R/P, π(a)=a+P\pi(a) = a + P, is a surjective ring homomorphism, and for a∈Ra \in R we have π(a)=0+P\pi(a) = 0 + P if and only if a∈Pa \in P.

We prove both directions.

(⇒\Rightarrow) Suppose PP is prime. We must show R/PR/P is an integral domain: a commutative ring with 1≠01 \neq 0 and no zero divisors. Commutative with identity: R/PR/P inherits commutativity and the identity 1ˉ\bar 1 from RR, since for all a,b∈Ra,b \in R,

(a+P)(b+P)=ab+P=ba+P=(b+P)(a+P).(a+P)(b+P) = ab + P = ba + P = (b+P)(a+P).

1ˉ≠0ˉ\bar 1 \neq \bar 0 in R/PR/P: Since PP is prime, condition (1) of the definition gives P≠RP \neq R, hence 1∉P1 \notin P, hence 1ˉ=1+P≠0+P=0ˉ\bar 1 = 1 + P \neq 0 + P = \bar 0. No zero divisors: Let aˉ,bˉ∈R/P\bar a, \bar b \in R/P with aˉbˉ=0ˉ\bar a \bar b = \bar 0. Writing aˉ=a+P\bar a = a + P and bˉ=b+P\bar b = b + P for some a,b∈Ra, b \in R, this says

ab+P=0+P,i.e., ab∈P.ab + P = 0 + P, \quad \text{i.e., } ab \in P.

Since PP is prime, condition (2) gives a∈Pa \in P or b∈Pb \in P, i.e., aˉ=0ˉ\bar a = \bar 0 or bˉ=0ˉ\bar b = \bar 0. Thus R/PR/P has no zero divisors, and combined with the previous two paragraphs, R/PR/P is an integral domain.

(⇐\Leftarrow) Suppose R/PR/P is an integral domain. We must verify both conditions in the definition of prime ideal. Condition (1), P≠RP \neq R: Since R/PR/P is an integral domain, by definition it has 1ˉ≠0ˉ\bar 1 \neq \bar 0, i.e., 1+P≠0+P1 + P \neq 0 + P, i.e., 1∉P1 \notin P. Since PP is an ideal, if P=RP = R then 1∈P1 \in P; contrapositively, 1∉P1 \notin P forces P≠RP \neq R. Condition (2), the prime property: Let a,b∈Ra, b \in R with ab∈Pab \in P. Applying the projection π\pi,

π(ab)=π(a)π(b)\pi(ab) = \pi(a)\pi(b)

because π\pi is a ring homomorphism, and π(ab)=0+P\pi(ab) = 0 + P because ab∈Pab \in P. So π(a)π(b)=0ˉ\pi(a)\pi(b) = \bar 0 in R/PR/P. Since R/PR/P is an integral domain, it has no zero divisors, so π(a)=0ˉ\pi(a) = \bar 0 or π(b)=0ˉ\pi(b) = \bar 0. That is, a∈Pa \in P or b∈Pb \in P. Both conditions hold, so PP is a prime ideal. This establishes both implications, completing the proof. ■\blacksquare The proof technique in both directions is direct verification via the projection homomorphism: no auxiliary machinery beyond the definition of quotient ring and the basic homomorphism property π(ab)=π(a)π(b)\pi(ab)=\pi(a)\pi(b) is used, so the argument does not depend on any later result (in particular it does not presuppose the maximal-ideal/field theorem, avoiding circularity with that companion statement).

∎
CorollaryPrime ideals and the zero ideal

A commutative ring RR with 1≠01 \neq 0 is an integral domain if and only if (0)(0) is a prime ideal of RR.

Proof

Apply the theorem with P=(0)P = (0): R/(0)≅RR/(0) \cong R via the isomorphism a+(0)↦aa + (0) \mapsto a (a direct check that this map is a well-defined bijective ring homomorphism), so R/(0)R/(0) is an integral domain iff RR is. By the theorem, (0)(0) is prime iff R/(0)R/(0) is an integral domain iff RR is an integral domain. ■\blacksquare

∎

Worked examples

Example 1: Prime ideals of Z\mathbb{Z}, and a leaky non-example. Let R=ZR = \mathbb{Z}. We determine which ideals (n)(n), n≥0n \geq 0, are prime, using the theorem rather than checking the definition by hand. Every ideal of Z\mathbb{Z} has the form (n)(n) for a unique n≥0n \geq 0 (a fact from the classification of ideals of Z\mathbb{Z} as a principal ideal domain). We compute Z/(n)\mathbb{Z}/(n) in each case:

  • If n=0n = 0: Z/(0)≅Z\mathbb{Z}/(0) \cong \mathbb{Z}, which is an integral domain. So (0)(0) is prime.
  • If n=1n = 1: Z/(1)\mathbb{Z}/(1) is the zero ring, excluded by definition since 1∉Z1 \notin \mathbb{Z} would be false (P=RP = R here). So (1)(1) is not prime.
  • If n≥2n \geq 2 and nn is prime (in the elementary-number-theory sense): Z/(n)=Zn\mathbb{Z}/(n) = \mathbb{Z}_n is a field (every nonzero residue is invertible by unique factorization applied to gcd⁡(a,n)=1\gcd(a,n)=1), and every field is trivially an integral domain. So (n)(n) is prime.
  • If n≥2n \geq 2 and nn is composite, say n=rsn = rs with 1<r,s<n1 < r, s < n: then in Z/(n)\mathbb{Z}/(n), the classes rˉ,sˉ\bar r, \bar s are both nonzero (since 0<r,s<n0 < r, s < n), yet rˉsˉ=rs‾=nˉ=0ˉ\bar r \bar s = \overline{rs} = \bar n = \bar 0. So Z/(n)\mathbb{Z}/(n) has zero divisors and is not an integral domain, hence (n)(n) is not prime.

Concretely take n=91=7×13n = 91 = 7 \times 13, an asymmetric composite (not a small "textbook" number like 44 or 66). In Z/(91)\mathbb{Z}/(91), 7‾≠0ˉ\overline{7} \neq \bar 0 and 13‾≠0ˉ\overline{13} \neq \bar 0, but 7‾⋅13‾=91‾=0ˉ\overline{7}\cdot\overline{13} = \overline{91} = \bar 0. Directly in Z\mathbb{Z}: 7⋅13=91∈(91)7 \cdot 13 = 91 \in (91), but 7∉(91)7 \notin (91) and 13∉(91)13 \notin (91) (since 91∤791 \nmid 7 and 91∤1391 \nmid 13). So (91)(91) fails the prime property, confirming via the theorem that Z/(91)\mathbb{Z}/(91) is not an integral domain — matching the direct check above. Conclusion: the complete list of prime ideals of Z\mathbb{Z} is (0)(0) together with (p)(p) for each prime number pp.

Example 2: A prime ideal in a polynomial ring, checked two ways. Let R=Q[x,y]R = \mathbb{Q}[x,y] and let P=(y−x2)P = (y - x^2), the ideal generated by the single polynomial y−x2y - x^2. Quotient computation. Consider the evaluation-type homomorphism

φ:Q[x,y]→Q[t],φ(f(x,y))=f(t,t2),\varphi : \mathbb{Q}[x,y] \to \mathbb{Q}[t], \qquad \varphi(f(x,y)) = f(t, t^2),

sending x↦tx \mapsto t and y↦t2y \mapsto t^2 (well-defined by the universal property of polynomial rings: a ring homomorphism out of Q[x,y]\mathbb{Q}[x,y] is determined by where x,yx,y go, subject to Q\mathbb{Q}-coefficients being fixed). Surjectivity: φ(x)=t\varphi(x) = t, so tt, and hence every polynomial in tt, is in the image. Kernel: We claim ker⁡φ=P=(y−x2)\ker \varphi = P = (y-x^2). (⊇)(\supseteq) Since φ(y−x2)=t2−t2=0\varphi(y - x^2) = t^2 - t^2 = 0, the generator y−x2y - x^2 lies in ker⁡φ\ker\varphi, and since ker⁡φ\ker\varphi is an ideal, (y−x2)⊆ker⁡φ(y - x^2) \subseteq \ker\varphi. (⊆)(\subseteq) Let f(x,y)∈Q[x,y]f(x,y) \in \mathbb{Q}[x,y]. Perform polynomial division of ff by y−x2y - x^2, treating ff as a polynomial in yy with coefficients in Q[x]\mathbb{Q}[x]: since y−x2y - x^2 is monic of degree 11 in yy, division gives

f(x,y)=q(x,y) (y−x2)+r(x)f(x,y) = q(x,y)\,(y - x^2) + r(x)

for some q∈Q[x,y]q \in \mathbb{Q}[x,y] and remainder r∈Q[x]r \in \mathbb{Q}[x] (degree 00 in yy). Applying φ\varphi:

φ(f)=φ(q)⋅0+r(t)=r(t).\varphi(f) = \varphi(q)\cdot 0 + r(t) = r(t).

If f∈ker⁡φf \in \ker\varphi, then r(t)=0r(t) = 0 as a polynomial in tt, forcing r=0r = 0 in Q[x]\mathbb{Q}[x] (a polynomial in one variable over a field vanishes identically only if all its coefficients vanish). Hence f=q⋅(y−x2)∈(y−x2)f = q\cdot(y-x^2) \in (y-x^2). So ker⁡φ=(y−x2)=P\ker\varphi = (y-x^2) = P. By the First Isomorphism Theorem for rings (from The Isomorphism Theorems for Rings),

R/P=Q[x,y]/(y−x2)  ≅  Q[t].R/P = \mathbb{Q}[x,y]/(y-x^2) \;\cong\; \mathbb{Q}[t].

Since Q[t]\mathbb{Q}[t] is an integral domain (a polynomial ring over a field has no zero divisors: the degree of a product of nonzero polynomials equals the sum of the degrees, which cannot be −∞-\infty unless a factor is zero), R/PR/P is an integral domain. By the theorem, P=(y−x2)P = (y - x^2) is a prime ideal. Direct check, as a sanity confirmation. Suppose f(x,y)g(x,y)∈(y−x2)f(x,y) g(x,y) \in (y - x^2) in Q[x,y]\mathbb{Q}[x,y]. Substituting y=t2,x=ty = t^2, x = t (i.e. applying φ\varphi) must send the product to 00 in Q[t]\mathbb{Q}[t], since φ\varphi kills (y−x2)(y-x^2). So φ(f)φ(g)=0\varphi(f)\varphi(g) = 0 in Q[t]\mathbb{Q}[t], an integral domain, so φ(f)=0\varphi(f) = 0 or φ(g)=0\varphi(g) = 0, i.e. f∈ker⁡φ=Pf \in \ker\varphi = P or g∈ker⁡φ=Pg \in \ker\varphi = P — exactly the prime property, matching the quotient argument. Geometrically, PP consists of all polynomials vanishing on the parabola y=x2y = x^2, and the fact that PP is prime reflects that the parabola is an irreducible curve — it cannot be split into two smaller algebraic pieces, foreshadowing the dictionary between prime ideals and irreducible varieties used throughout Unique Factorization Domains and algebraic geometry.

CounterexampleDropping commutativity breaks the theorem

The theorem requires RR to be commutative. To see why, consider R=M2(R)R = M_2(\mathbb{R}), the ring of 2×22\times 2 real matrices, which is not commutative, and let P={0}P = \{0\}, the zero ideal. For noncommutative rings, "prime ideal" is usually defined (when the concept is used at all) via the condition: for all ideals I,JI, J, if IJ⊆PIJ \subseteq P then I⊆PI \subseteq P or J⊆PJ \subseteq P. We use this natural extension and show the quotient-is-a-domain characterization fails. Claim: {0}\{0\} satisfies the two-sided-ideal prime condition in M2(R)M_2(\mathbb{R}). The ring M2(R)M_2(\mathbb{R}) is simple: its only two-sided ideals are {0}\{0\} and M2(R)M_2(\mathbb{R}) itself. (Sketch: if I≠{0}I \neq \{0\} is a two-sided ideal, pick a nonzero matrix A∈IA \in I with entry aij≠0a_{ij} \neq 0. Using elementary matrix units EklE_{kl}, one computes EkiAEjl=aijEkl∈IE_{ki} A E_{jl} = a_{ij} E_{kl} \in I for all k,lk,l, and dividing by the scalar aija_{ij} — allowed since we're over the field R\mathbb{R} and II is closed under left/right multiplication by scalar matrices — shows every Ekl∈IE_{kl} \in I, so I=M2(R)I = M_2(\mathbb{R}).) Consequently, if IJ⊆{0}IJ \subseteq \{0\} for two-sided ideals I,JI,J with J≠{0}J \neq \{0\}, then J=M2(R)J = M_2(\mathbb{R}), forcing I⋅M2(R)={0}I \cdot M_2(\mathbb{R}) = \{0\}; but I⋅M2(R)=II \cdot M_2(\mathbb{R}) = I whenever II contains an idempotent generating the whole ring appropriately — concretely, since the identity matrix lies in M2(R)=JM_2(\mathbb{R})=J, I=I⋅Id⊆IJ={0}I = I\cdot \mathrm{Id} \subseteq I J = \{0\}, so I={0}I = \{0\}. Hence the two-sided-ideal-product condition forces I={0}I=\{0\} or J={0}J=\{0\}, so {0}\{0\} behaves like a "prime ideal" in this generalized sense. Yet the quotient is not an integral domain (in fact it is not even commutative), and it has genuine zero divisors from noncommutative products. Here R/{0}≅M2(R)R/\{0\} \cong M_2(\mathbb{R}) itself, and M2(R)M_2(\mathbb{R}) has honest zero-divisor pairs of nonzero matrices whose product is zero, e.g.

(1000)(0001)=(0000),\begin{pmatrix}1&0\\0&0\end{pmatrix}\begin{pmatrix}0&0\\0&1\end{pmatrix} = \begin{pmatrix}0&0\\0&0\end{pmatrix},

with both factors nonzero. So even though {0}\{0\} satisfies the ideal-theoretic "prime" condition, R/{0}R/\{0\} is nowhere close to an integral domain — it is not even commutative, and the element-wise implication "ab∈P⇒a∈Pab \in P \Rightarrow a \in P or b∈Pb \in P" flatly fails for the specific elements a,ba,b displayed above. This shows commutativity is not a cosmetic hypothesis: without it, the ideal-product notion of primeness and the element-wise notion of primeness used in our theorem diverge completely, and neither one implies "quotient is a domain." The theorem as stated is a genuinely commutative-ring phenomenon.

Scope, edge cases & common traps

SituationWhat happensWhy
RR not commutativeTheorem fails as statedelement-wise prime property and quotient-domain property decouple (see counterexample)
RR without identity"R/PR/P integral domain" definition itself needs adjustmentintegral domains are usually required to have 1≠01 \neq 0
P=RP = RExcluded by definitionR/R={0}R/R = \{0\}, the zero ring, is never called an integral domain
RR itself a fieldOnly prime ideals are (0)(0) and RR; RR excluded, so only (0)(0)fields have no nontrivial ideals
PP prime but not maximalCommon, e.g. (0)⊂Z(0) \subset \mathbb{Z}prime is strictly weaker than maximal in general

The mathematician behind it

Origins · 1 minRichard Dedekind and how this was discovered
RD
Richard Dedekind
1831–1916 · German mathematician, foundational figure in ring theory and algebraic number theory

Dedekind, working in Göttingen and Braunschweig, was the first to isolate the notion of an ideal as the right substitute for "numbers" in rings of algebraic integers where unique factorization of elements fails. He introduced prime ideals to restore a form of unique factorization at the level of ideals rather than elements — the theorem that every ideal in a ring of integers factors uniquely into prime ideals is his creation, and it directly generalizes the ordinary primes of Z\mathbb{Z}. His work built on Ernst Kummer's earlier "ideal numbers," introduced to repair failed unique factorization in cyclotomic integers, and Dedekind's abstraction of these into genuine ideals inside a ring is the ancestor of the modern definition used throughout commutative algebra.

History
- 1843–1847: Kummer introduces "ideal numbers" to rescue unique factorization in cyclotomic integer rings.
- 1871: Dedekind gives the modern definition of an ideal in a ring of algebraic integers, in supplements to Dirichlet's number theory lectures.
- 1882: Dedekind and Heinrich Weber extend ideal theory to function fields, linking it to algebraic curves.
- 1920s: Emmy Noether axiomatizes commutative ring theory, formalizing prime and maximal ideals in general Noetherian rings.
- 1930s onward: Prime ideals become the basic building block of the spectrum of a ring, later central to Grothendieck's scheme theory.
Is every prime ideal also a maximal ideal?

No. Every maximal ideal is prime (this is proved separately using that quotients by maximal ideals are fields, and every field is an integral domain), but the converse fails. The standard example is (0)⊂Z(0) \subset \mathbb{Z}: it is prime because Z/(0)≅Z\mathbb{Z}/(0) \cong \mathbb{Z} is an integral domain, but it is not maximal because (0)⊊(2)⊊Z(0) \subsetneq (2) \subsetneq \mathbb{Z} shows a strictly larger proper ideal exists. In general rings, prime and maximal coincide only in special cases, such as nonzero prime ideals in a principal ideal domain, or when the ring has Krull dimension zero.

Does the zero ideal being prime tell us anything useful?

Yes — it exactly recovers the statement that RR itself is an integral domain, as shown in the corollary above. This is a good sanity check on the definition: prime ideals generalize integral domains the way quotienting generalizes "looking at the whole ring." Whenever you want to know if RR has zero divisors, you are asking whether (0)(0) is prime; whenever you want to know about a quotient R/IR/I, you are asking whether II is prime.

How do I actually check whether a given ideal is prime, in practice?

Two strategies both appear in the worked examples. First, direct verification: assume ab∈Pab \in P and show a∈Pa \in P or b∈Pb \in P, often using division or substitution tricks. Second, and often easier, identify the quotient ring R/PR/P explicitly (frequently via a well-chosen surjective homomorphism and the First Isomorphism Theorem), and then check whether that concrete ring is an integral domain, which is often visibly true or false, e.g. a polynomial ring over a field, or a finite ring you can check by hand.

Are prime ideals related to prime numbers in a precise sense?

Yes, exactly: in Z\mathbb{Z}, the prime ideals are (0)(0) and (p)(p) for pp ranging over the prime numbers, with no other prime ideals existing, as shown in Example 1. This is not a coincidence of terminology; Dedekind chose the word "prime" for ideals specifically because they were designed to restore unique factorization once ordinary elements could no longer be trusted to factor uniquely, as happens in more general rings of algebraic integers.

Can a prime ideal contain zero divisors of the original ring RR?

Yes, and this is a common point of confusion. The prime property is about products landing in PP, not about whether elements of PP are zero divisors in RR. For instance in Z[x]\mathbb{Z}[x], the ideal (x)(x) is prime (since Z[x]/(x)≅Z\mathbb{Z}[x]/(x) \cong \mathbb{Z}, an integral domain), yet Z[x]\mathbb{Z}[x] itself has no zero divisors at all, so the question of "zero divisors in RR" versus "the prime property of PP" are logically separate concerns entirely.

What goes wrong if RR is allowed to be the zero ring?

The zero ring has 1=01 = 0, which the definition of integral domain (and of prime ideal, via condition (1)) explicitly excludes by requiring 1≠01 \neq 0. If this convention were dropped, the zero ideal of the zero ring would vacuously satisfy the implication in condition (2), and we would be forced to call the zero ring an integral domain and its zero ideal prime, which contradicts the intended meaning of these terms as generalizing genuinely nontrivial arithmetic structures like Z\mathbb{Z}.

How does this topic set up maximal ideals and fields?

Once you know PP prime iff R/PR/P is a domain, the natural next question is: what ideal condition forces the stronger conclusion that R/PR/P is a field? The answer, developed in Maximal Ideals and Fields, is that R/PR/P is a field exactly when PP is maximal — a proper ideal contained in no larger proper ideal. Since every field is a domain but not conversely, this immediately explains why maximal ideals are always prime but the converse can fail.

Before this

Where this leads