Let RR be a and let IRI\subseteq R be an ideal.

Definition (primary ideal)

An ideal QRQ\subsetneq R is primary if for all a,bRa,b\in R,

abQ    (aQ or bnQ for some n1).ab\in Q \;\Rightarrow\; \bigl(a\in Q \text{ or } b^n\in Q \text{ for some } n\ge 1\bigr).

Equivalently, QQ is primary if R/QR/Q has the property that every zero-divisor is nilpotent.

If QQ is primary, then its radical Q\sqrt{Q} is a prime ideal; one often says that QQ is p\mathfrak p-primary when Q=p\sqrt{Q}=\mathfrak p.

Definition (primary decomposition)

A primary decomposition of II is an expression

I=Q1QrI = Q_1\cap \cdots \cap Q_r

where each QiQ_i is a primary ideal of RR.

A primary decomposition is called minimal if (i) the radicals Qi\sqrt{Q_i} are pairwise distinct and (ii) no QiQ_i can be omitted without changing the intersection. The primes Qi\sqrt{Q_i} that occur in a minimal decomposition are intrinsic invariants (the “associated primes” of II), even though the QiQ_i themselves need not be unique.

Existence in Noetherian rings

Primary decompositions do not exist in arbitrary rings. The fundamental existence theorem is the , often packaged as : if RR is a , then every ideal IRI\subseteq R admits a primary decomposition.

Examples
  1. In Z\mathbb{Z}. In the PID Z\mathbb{Z}, primary ideals are exactly (pn)(p^n) for primes pp. Using (a)(b)=(lcm(a,b))(a)\cap(b)=(\mathrm{lcm}(a,b)), one gets
    (12)=(4)(3),(12) = (4)\cap(3),
    where (4)(4) is (2)(2)-primary and (3)(3) is (3)(3)-primary.
  1. A squarefree monomial ideal. Over a field kk, in k[x,y]k[x,y] one has
    (xy)=(x)(y).(xy) = (x)\cap(y).
    Here (x)(x) and (y)(y) are prime (hence primary), so this is a primary decomposition.
  1. A “one-piece” primary decomposition. In k[x,y]k[x,y], the ideal Q=(x,y)2=(x2,xy,y2)Q=(x,y)^2=(x^2,xy,y^2) is (x,y)(x,y)-primary. Thus it is already a primary decomposition of itself:
    (x,y)2=Q.(x,y)^2 = Q.