1. Home
  2. Explore
  3. Mathematics
  4. Commutative Algebra

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Commutative Algebra

Foundations of Commutative Algebra: Rings, Subrings, Homomorphisms, and Ideals

This lesson establishes the basic language of commutative algebra. The central objects are commutative rings with identity, together with their subrings, homomorphisms, ideals, quotient rings, and special elements such as zero divisors, nilpotents, and units.

These ideas form the foundation for later topics including modules, localization, integral dependence, Noetherian rings, primary decomposition, Artinian rings, Hilbert’s Nullstellensatz, and graded rings.

1. The broader course structure

The subject develops in stages. It begins with basic ring theory, especially the study of ideals and operations involving ideals. Two important operations are extension and contraction, which compare ideals in different rings connected by a ring map.

The next major structure is module theory. Modules generalize vector spaces by allowing scalars from a ring rather than only from a field.

After that, the theory develops toward:

  • Localization, which allows certain elements of a ring to be made invertible.
  • Integral dependence, concerning elements that satisfy monic polynomial equations over a ring.
  • Chain conditions, which control increasing or decreasing sequences of ideals.
  • Noetherian rings, an especially important class of rings in commutative algebra.
  • Primary decomposition, which breaks ideals into primary pieces.
  • Artinian rings, which satisfy a descending chain condition on ideals.
  • Hilbert’s Nullstellensatz, connecting ideals in polynomial rings with algebraic sets.
  • Graded rings, in which elements are organized into degrees.

The first step toward all of these topics is a precise understanding of rings and ideals.

A commutative ring with identity is a set equipped with addition and multiplication, satisfying the ring axioms, with multiplication commutative and possessing a multiplicative identity.

2. What is a ring?

A ring AAA is a set equipped with two binary operations:

  1. Addition, written +++.
  2. Multiplication, usually written by juxtaposition as xyxyxy.

The addition operation makes AAA into an abelian group. This means:

  • Addition is associative: (x+y)+z=x+(y+z).(x+y)+z=x+(y+z).(x+y)+z=x+(y+z).
  • There is an additive identity, denoted by 000, such that x+0=x.x+0=x.x+0=x.
  • Every element xxx has an additive inverse −x-x−x satisfying x+(−x)=0.x+(-x)=0.x+(−x)=0.
  • Addition is commutative: x+y=y+x.x+y=y+x.x+y=y+x.

Multiplication is associative:

(xy)z=x(yz).(xy)z=x(yz).(xy)z=x(yz).

Multiplication distributes over addition on both sides:

x(y+z)=xy+xzx(y+z)=xy+xzx(y+z)=xy+xz

and

(x+y)z=xz+yz.(x+y)z=xz+yz.(x+y)z=xz+yz.

In commutative algebra, two additional assumptions are made throughout:

  • Multiplication is commutative: xy=yx.xy=yx.xy=yx.
  • The ring contains a multiplicative identity, denoted by 1A1_A1A​, satisfying 1Ax=x1A=x1_Ax=x1_A=x1A​x=x1A​=x for every x∈Ax\in Ax∈A.

Thus, the rings studied here are specifically commutative rings with identity.

The zero ring

The smallest possible ring is the zero ring, consisting of only one element:

A={0}.A=\{0\}.A={0}.

In this ring, the additive identity and multiplicative identity are the same element:

1A=0.1_A=0.1A​=0.

This does not cause a contradiction. Since there is only one element, multiplication satisfies

0⋅0=0,0\cdot 0=0,0⋅0=0,

and the single element acts as the multiplicative identity.

The zero ring is also denoted simply by 000.

Think About It

Why is the zero ring allowed to have 1A=01_A=01A​=0, while a nonzero ring cannot have its identity equal to zero?

3. Standard examples of commutative rings

Several familiar number systems are commutative rings with identity:

  • The integers Z\mathbb ZZ.
  • The rational numbers Q\mathbb QQ.
  • The real numbers R\mathbb RR.
  • The complex numbers C\mathbb CC.
  • The zero ring.

The fields Q\mathbb QQ, R\mathbb RR, and C\mathbb CC are also rings. A field has the additional property that every nonzero element has a multiplicative inverse.

Polynomial rings in one variable

If AAA is a commutative ring with identity, then the polynomial ring in one variable over AAA is written A[x]A[x]A[x].

Its elements are polynomials of the form

a0+a1x+⋯+anxn,a_0+a_1x+\cdots+a_nx^n,a0​+a1​x+⋯+an​xn,

where each coefficient aia_iai​ belongs to AAA.

Addition and multiplication are defined in the usual way. For example,

(a0+a1x)+(b0+b1x)=(a0+b0)+(a1+b1)x,(a_0+a_1x)+(b_0+b_1x) = (a_0+b_0)+(a_1+b_1)x,(a0​+a1​x)+(b0​+b1​x)=(a0​+b0​)+(a1​+b1​)x,

and multiplication is determined by distributivity and the rule

xixj=xi+j.x^ix^j=x^{i+j}.xixj=xi+j.

The coefficients come from AAA, but the variable xxx is an additional formal symbol.

Polynomial rings in several variables

Polynomial rings can also be formed using several variables:

A[x1,…,xn].A[x_1,\ldots,x_n].A[x1​,…,xn​].

An element is a finite sum of monomials of the form

ai1,…,inx1i1⋯xnin,a_{i_1,\ldots,i_n}x_1^{i_1}\cdots x_n^{i_n},ai1​,…,in​​x1i1​​⋯xnin​​,

where each coefficient ai1,…,ina_{i_1,\ldots,i_n}ai1​,…,in​​ belongs to AAA and each exponent iji_jij​ is a nonnegative integer.

More compactly, the elements look like

∑ai1,…,inx1i1⋯xnin.\sum a_{i_1,\ldots,i_n}x_1^{i_1}\cdots x_n^{i_n}.∑ai1​,…,in​​x1i1​​⋯xnin​​.

Only finitely many coefficients in this sum are nonzero. This finiteness is what makes the expression a polynomial rather than an infinite power series.

A particularly important example is the subring

A[x2]⊆A[x].A[x^2]\subseteq A[x].A[x2]⊆A[x].

Its elements are polynomials involving only even powers of xxx, such as

a0+a1x2+a2x4+⋯+anx2n.a_0+a_1x^2+a_2x^4+\cdots+a_nx^{2n}.a0​+a1​x2+a2​x4+⋯+an​x2n.

Rings of functions

Let SSS be any set. The collection of all functions from SSS to a commutative ring AAA is denoted by

ASA^SAS

or, equivalently, by

Func⁡(S,A).\operatorname{Func}(S,A).Func(S,A).

Addition and multiplication are defined pointwise. For functions f,g:S→Af,g:S\to Af,g:S→A, define

(f+g)(s)=f(s)+g(s)(f+g)(s)=f(s)+g(s)(f+g)(s)=f(s)+g(s)

and

(fg)(s)=f(s)g(s)(fg)(s)=f(s)g(s)(fg)(s)=f(s)g(s)

for each s∈Ss\in Ss∈S.

The additive identity is the zero function, which sends every element of SSS to 000. The multiplicative identity is the constant function with value 1A1_A1A​.

Because all operations are performed in AAA and AAA is commutative, the function set is also a commutative ring with identity.

4. Subrings

Once a ring has been defined, a natural question is whether it contains smaller sets that are rings under the same operations.

Let AAA be a ring. A subset B⊆AB\subseteq AB⊆A is a subring if BBB is itself a ring using the addition and multiplication inherited from AAA.

In this course, subrings are not required to contain the same multiplicative identity as the larger ring. In fact, a subring may not contain the identity of AAA at all.

This convention is important because there are two conventions in common use:

  • Some authors require a subring to contain 1A1_A1A​.
  • Other authors, including the convention used here, do not require this.

Examples of subrings

If AAA is a commutative ring, then AAA is naturally a subring of A[x]A[x]A[x]. The elements of AAA are identified with constant polynomials.

Any subring of AAA is also a subring of A[x]A[x]A[x].

Another example is the set of polynomials with zero constant term:

A1={p(x)∈A[x]:the constant term of p(x) is 0}.A_1=\{p(x)\in A[x]:\text{the constant term of }p(x)\text{ is }0\}.A1​={p(x)∈A[x]:the constant term of p(x) is 0}.

Every element of A1A_1A1​ has the form

a1x+a2x2+⋯+anxn.a_1x+a_2x^2+\cdots+a_nx^n.a1​x+a2​x2+⋯+an​xn.

If two such polynomials are added, the result still has constant term zero. If two such polynomials are multiplied, every product contains a positive power of xxx, so the result also has constant term zero. Therefore A1A_1A1​ is closed under addition and multiplication and is a subring of A[x]A[x]A[x] under the convention being used.

Notice that A1A_1A1​ generally does not contain the constant polynomial 111. Thus, it need not contain the identity of A[x]A[x]A[x].

The set

{0,3}⊆Z/6Z\{0,3\}\subseteq \mathbb Z/6\mathbb Z{0,3}⊆Z/6Z

provides another example. It is closed under addition and multiplication modulo 666, so it is a subring. Within this subring, the element 333 acts as a multiplicative identity:

3⋅3=9≡3(mod6)3\cdot 3=9\equiv 3\pmod 63⋅3=9≡3(mod6)

and

3⋅0=0.3\cdot 0=0.3⋅0=0.

However, 333 is not the identity of the larger ring Z/6Z\mathbb Z/6\mathbb ZZ/6Z, whose identity is 111.

Think About It

What is the difference between being a multiplicative identity inside a subring and being the multiplicative identity of the entire ring?

5. Ring homomorphisms

Rings can be compared through maps that preserve their algebraic operations.

Let AAA and BBB be rings. A function

f:A→Bf:A\to Bf:A→B

is a ring homomorphism if it preserves addition and multiplication:

f(x+y)=f(x)+f(y)f(x+y)=f(x)+f(y)f(x+y)=f(x)+f(y)

and

f(xy)=f(x)f(y)f(xy)=f(x)f(y)f(xy)=f(x)f(y)

for all x,y∈Ax,y\in Ax,y∈A.

The first condition says that addition is respected. The second says that multiplication is respected. A homomorphism therefore transfers algebraic calculations in AAA into corresponding calculations in BBB.

Under the convention used here, a ring homomorphism is not necessarily required to satisfy

f(1A)=1B.f(1_A)=1_B.f(1A​)=1B​.

However, the image of a ring homomorphism is a subring of BBB. The identity of this image may be different from 1B1_B1B​ if identity preservation is not required.

For example, a map may have an image that is a subring with its own identity, even though that identity is not the identity of the larger ring BBB.

Image

The image of fff is

im⁡(f)={f(a):a∈A}.\operatorname{im}(f)=\{f(a):a\in A\}.im(f)={f(a):a∈A}.

It consists of exactly those elements of BBB that are reached by the map. The image is a subring of BBB.

Kernel

The kernel of fff is

ker⁡(f)={a∈A:f(a)=0B}.\ker(f)=\{a\in A:f(a)=0_B\}.ker(f)={a∈A:f(a)=0B​}.

It records the elements of AAA that are sent to zero. The kernel is not merely a subring; it is an ideal of AAA.

This distinction matters because ideals are designed to capture the elements that become zero when passing to a quotient.

6. Ideals

Let AAA be a commutative ring. A subset I⊆AI\subseteq AI⊆A is an ideal if it satisfies two conditions:

  1. III is an additive subgroup of AAA.
  2. For every a∈Aa\in Aa∈A and every x∈Ix\in Ix∈I, ax∈I.ax\in I.ax∈I.

The second condition is called absorption. It says that multiplying an element of the ideal by any element of the entire ring keeps the result inside the ideal.

An ideal is therefore closed under addition and additive inverses, and it absorbs multiplication by arbitrary ring elements.

Why ideals are different from subrings

A subring only needs to be closed under its own addition and multiplication. An ideal must satisfy the stronger condition that multiplication by any element of the larger ring remains inside the ideal.

For this reason, every ideal is an additive subgroup, but an ideal need not contain a multiplicative identity. In fact, a proper ideal cannot contain the identity, because if 1A∈I1_A\in I1A​∈I, then for every a∈Aa\in Aa∈A,

a=a1A∈I,a=a1_A\in I,a=a1A​∈I,

so I=AI=AI=A.

Basic examples

For every ring AAA, the set

{0}\{0\}{0}

is an ideal. It is called the zero ideal.

The whole ring AAA is also an ideal of itself.

Ideals in the integers

For every nonnegative integer nnn, the set

nZ={nk:k∈Z}n\mathbb Z=\{nk:k\in\mathbb Z\}nZ={nk:k∈Z}

is an ideal of Z\mathbb ZZ.

For example,

3Z={…,−6,−3,0,3,6,…}.3\mathbb Z=\{\ldots,-6,-3,0,3,6,\ldots\}.3Z={…,−6,−3,0,3,6,…}.

If a∈Za\in\mathbb Za∈Z and x=3k∈3Zx=3k\in 3\mathbb Zx=3k∈3Z, then

ax=a(3k)=3(ak)∈3Z,ax=a(3k)=3(ak)\in 3\mathbb Z,ax=a(3k)=3(ak)∈3Z,

so the absorption property holds.

In fact, the ideals of Z\mathbb ZZ are precisely the ideals nZn\mathbb ZnZ.

Ideals in a field

The only ideals of a field FFF are

{0}\{0\}{0}

and

F.F.F.

To see why, suppose III is a nonzero ideal and x∈Ix\in Ix∈I is nonzero. Since FFF is a field, x−1x^{-1}x−1 exists. Because III absorbs multiplication by elements of FFF,

x−1x=1∈I.x^{-1}x=1\in I.x−1x=1∈I.

Once 1∈I1\in I1∈I, every element a∈Fa\in Fa∈F belongs to III, because

a=a⋅1∈I.a=a\cdot 1\in I.a=a⋅1∈I.

Thus, every nonzero ideal in a field is the whole field.

In particular, the only ideals of Q\mathbb QQ are

{0}andQ.\{0\} \quad\text{and}\quad \mathbb Q.{0}andQ.

The ideal generated by xxx

In the polynomial ring A[x]A[x]A[x], the ideal generated by xxx is

(x)={xp(x):p(x)∈A[x]}.(x)=\{xp(x):p(x)\in A[x]\}.(x)={xp(x):p(x)∈A[x]}.

Every element of this ideal has zero constant term because multiplication by xxx increases every exponent by one. Conversely, every polynomial with zero constant term can be written as xp(x)xp(x)xp(x).

Therefore,

(x)={p(x)∈A[x]:the constant term of p(x) is 0}.(x)=\{p(x)\in A[x]:\text{the constant term of }p(x)\text{ is }0\}.(x)={p(x)∈A[x]:the constant term of p(x) is 0}.

This shows that the set of polynomials with zero constant term is not only a subring but also an ideal of A[x]A[x]A[x].

Ideals in a function ring

Let SSS be a set and consider the ring of functions from SSS to AAA. Let X⊆SX\subseteq SX⊆S be nonempty, and define

I(X)={f:S→A:f(x)=0 for every x∈X}.I(X)=\{f:S\to A:f(x)=0\text{ for every }x\in X\}.I(X)={f:S→A:f(x)=0 for every x∈X}.

This is an ideal. If f,g∈I(X)f,g\in I(X)f,g∈I(X), then for every x∈Xx\in Xx∈X,

(f+g)(x)=f(x)+g(x)=0+0=0.(f+g)(x)=f(x)+g(x)=0+0=0.(f+g)(x)=f(x)+g(x)=0+0=0.

Also, if h:S→Ah:S\to Ah:S→A is any function and f∈I(X)f\in I(X)f∈I(X), then

(hf)(x)=h(x)f(x)=h(x)⋅0=0(hf)(x)=h(x)f(x)=h(x)\cdot 0=0(hf)(x)=h(x)f(x)=h(x)⋅0=0

for every x∈Xx\in Xx∈X. Thus, hf∈I(X)hf\in I(X)hf∈I(X).

The ideal consists of functions that vanish on the selected subset XXX.

Think About It

Why does the condition “f(x)=0f(x)=0f(x)=0 for every x∈Xx\in Xx∈X” naturally produce an ideal rather than merely a subring?

7. Kernels are ideals

Suppose

f:A→Bf:A\to Bf:A→B

is a ring homomorphism. Its kernel is

ker⁡(f)={a∈A:f(a)=0}.\ker(f)=\{a\in A:f(a)=0\}.ker(f)={a∈A:f(a)=0}.

The kernel is an ideal of AAA.

To see this, take x,y∈ker⁡(f)x,y\in\ker(f)x,y∈ker(f). Then

f(x)=0andf(y)=0.f(x)=0 \quad\text{and}\quad f(y)=0.f(x)=0andf(y)=0.

Since fff preserves addition,

f(x−y)=f(x)−f(y)=0−0=0.f(x-y)=f(x)-f(y)=0-0=0.f(x−y)=f(x)−f(y)=0−0=0.

Therefore, x−y∈ker⁡(f)x-y\in\ker(f)x−y∈ker(f), so the kernel is an additive subgroup.

Now take any a∈Aa\in Aa∈A and x∈ker⁡(f)x\in\ker(f)x∈ker(f). Since fff preserves multiplication,

f(ax)=f(a)f(x)=f(a)⋅0=0.f(ax)=f(a)f(x)=f(a)\cdot 0=0.f(ax)=f(a)f(x)=f(a)⋅0=0.

Thus,

ax∈ker⁡(f).ax\in\ker(f).ax∈ker(f).

This proves that ker⁡(f)\ker(f)ker(f) is an ideal.

The kernel measures exactly which elements of AAA are identified with zero by the homomorphism.

8. Quotient rings

An ideal allows a ring to be collapsed by treating all of its elements as zero.

Let III be an ideal of AAA. Define a relation on AAA by

a∼b⟺a−b∈I.a\sim b \quad\Longleftrightarrow\quad a-b\in I.a∼b⟺a−b∈I.

This is an equivalence relation. The equivalence class of aaa is written

a+I.a+I.a+I.

It consists of all elements of the form

a+iwith i∈I.a+i \quad\text{with }i\in I.a+iwith i∈I.

The collection of all equivalence classes is denoted by

A/IA/IA/I

and is called the quotient ring of AAA by III.

Addition and multiplication are defined by

(a+I)+(b+I)=(a+b)+I(a+I)+(b+I)=(a+b)+I(a+I)+(b+I)=(a+b)+I

and

(a+I)(b+I)=ab+I.(a+I)(b+I)=ab+I.(a+I)(b+I)=ab+I.

The fact that these operations are well-defined depends on III being an ideal. If different representatives are chosen from the same equivalence classes, the resulting classes do not change.

The quotient ring inherits commutativity from AAA. Its additive identity is III, which is the same as 0+I0+I0+I, and its multiplicative identity is

1A+I.1_A+I.1A​+I.

Conceptually, passing to A/IA/IA/I makes every element of III equal to zero.

The natural quotient map

There is a natural surjective ring homomorphism

φ:A→A/I\varphi:A\to A/Iφ:A→A/I

defined by

φ(a)=a+I.\varphi(a)=a+I.φ(a)=a+I.

It is surjective because every element of A/IA/IA/I is an equivalence class a+Ia+Ia+I for some a∈Aa\in Aa∈A.

Its kernel is exactly III:

ker⁡(φ)={a∈A:a+I=I}=I.\ker(\varphi) = \{a\in A:a+I=I\} = I.ker(φ)={a∈A:a+I=I}=I.

Thus, the ideal used to form the quotient is precisely the set of elements sent to zero by the quotient map.

9. The first isomorphism theorem

Let

f:A→Bf:A\to Bf:A→B

be a ring homomorphism. Then the image of fff is isomorphic to the quotient of AAA by the kernel:

im⁡(f)≅A/ker⁡(f).\operatorname{im}(f)\cong A/\ker(f).im(f)≅A/ker(f).

This is the first isomorphism theorem for rings.

The meaning is that the image of fff contains the same algebraic information as AAA, except that all elements in ker⁡(f)\ker(f)ker(f) have been identified with zero.

The map fff may send different elements of AAA to the same element of BBB. Two elements a,b∈Aa,b\in Aa,b∈A have the same image precisely when

f(a)=f(b),f(a)=f(b),f(a)=f(b),

which is equivalent to

f(a−b)=0.f(a-b)=0.f(a−b)=0.

Therefore,

a−b∈ker⁡(f).a-b\in\ker(f).a−b∈ker(f).

So the fibers of fff are exactly the cosets of ker⁡(f)\ker(f)ker(f), and the quotient A/ker⁡(f)A/\ker(f)A/ker(f) organizes the elements of AAA according to having the same image under fff.

This is analogous to the rank-nullity viewpoint in linear algebra: the kernel records what is lost, and the quotient by the kernel produces the essential image.

10. Ideals of a quotient ring

The quotient map

φ:A→A/I\varphi:A\to A/Iφ:A→A/I

also describes all ideals of the quotient ring.

There is a one-to-one correspondence between:

  • Ideals of A/IA/IA/I.
  • Ideals JJJ of AAA satisfying I⊆J.I\subseteq J.I⊆J.

The correspondence sends an ideal JJJ containing III to

J/I={j+I:j∈J}.J/I=\{j+I:j\in J\}.J/I={j+I:j∈J}.

In the opposite direction, an ideal KKK of A/IA/IA/I corresponds to its inverse image:

φ−1(K)={a∈A:φ(a)∈K}.\varphi^{-1}(K)=\{a\in A:\varphi(a)\in K\}.φ−1(K)={a∈A:φ(a)∈K}.

Why must the corresponding ideal in AAA contain III? Every element of III maps to zero in A/IA/IA/I, and zero belongs to every ideal. Therefore,

I=ker⁡(φ)⊆φ−1(K).I=\ker(\varphi)\subseteq\varphi^{-1}(K).I=ker(φ)⊆φ−1(K).

This correspondence is useful because it converts questions about ideals in a quotient into questions about ideals in the original ring.

11. Images and inverse images of ideals

Suppose

f:A→Bf:A\to Bf:A→B

is a ring homomorphism.

Inverse images

If JJJ is an ideal of BBB, then its inverse image

f−1(J)={a∈A:f(a)∈J}f^{-1}(J)=\{a\in A:f(a)\in J\}f−1(J)={a∈A:f(a)∈J}

is an ideal of AAA.

For example, if a1,a2∈f−1(J)a_1,a_2\in f^{-1}(J)a1​,a2​∈f−1(J), then f(a1),f(a2)∈Jf(a_1),f(a_2)\in Jf(a1​),f(a2​)∈J. Since JJJ is an additive subgroup,

f(a1−a2)=f(a1)−f(a2)∈J.f(a_1-a_2)=f(a_1)-f(a_2)\in J.f(a1​−a2​)=f(a1​)−f(a2​)∈J.

Therefore,

a1−a2∈f−1(J).a_1-a_2\in f^{-1}(J).a1​−a2​∈f−1(J).

If a∈Aa\in Aa∈A and x∈f−1(J)x\in f^{-1}(J)x∈f−1(J), then f(x)∈Jf(x)\in Jf(x)∈J, and hence

f(ax)=f(a)f(x)∈Jf(ax)=f(a)f(x)\in Jf(ax)=f(a)f(x)∈J

because JJJ absorbs multiplication by elements of BBB. Thus,

ax∈f−1(J).ax\in f^{-1}(J).ax∈f−1(J).

So inverse images of ideals are always ideals.

Direct images

The direct image f(I)f(I)f(I) of an ideal III in AAA need not be an ideal of BBB.

The example from the integers illustrates this. Consider the inclusion homomorphism

f:Z→Q.f:\mathbb Z\to\mathbb Q.f:Z→Q.

The ideal nZn\mathbb ZnZ maps to the subset

nZ⊆Q.n\mathbb Z\subseteq\mathbb Q.nZ⊆Q.

This subset is generally not an ideal of Q\mathbb QQ. Since Q\mathbb QQ is a field, its only ideals are {0}\{0\}{0} and Q\mathbb QQ, but nZn\mathbb ZnZ is usually neither of these.

The reason is that an ideal of BBB must absorb multiplication by every element of BBB. Although nZn\mathbb ZnZ absorbs multiplication by integers, it does not absorb multiplication by arbitrary rational numbers.

For instance, if n≠0n\neq 0n=0, then

1n⋅n=1,\frac{1}{n}\cdot n=1,n1​⋅n=1,

but 111 does not generally belong to nZn\mathbb ZnZ.

Thus:

  • Inverse images of ideals are always ideals.
  • Direct images of ideals need not be ideals.

Think About It

Why does a direct image need to absorb multiplication by elements of the target ring, while the original ideal only had to absorb multiplication by elements of the source ring?

12. Special elements in a ring

Several important classes of elements help describe the structure of a ring:

  • Zero divisors.
  • Nilpotent elements.
  • Units.

These classes are related, but they are not the same.

Zero divisors

An element x∈Ax\in Ax∈A is a zero divisor if there exists a nonzero element y∈Ay\in Ay∈A such that

xy=0.xy=0.xy=0.

The element xxx is a zero divisor because its product with a nonzero element becomes zero.

In a nonzero ring, the element 000 itself is a zero divisor under this definition: one may choose any nonzero yyy, since

0⋅y=0.0\cdot y=0.0⋅y=0.

The zero ring is treated separately because it contains no nonzero element yyy.

Example in Z/6Z\mathbb Z/6\mathbb ZZ/6Z

In Z/6Z\mathbb Z/6\mathbb ZZ/6Z,

2⋅3=6≡0(mod6).2\cdot 3=6\equiv 0\pmod 6.2⋅3=6≡0(mod6).

Therefore, both 222 and 333 are zero divisors.

Nilpotent elements

An element x∈Ax\in Ax∈A is nilpotent if there exists an integer n>1n>1n>1 such that

xn=0.x^n=0.xn=0.

The element itself need not be zero, but some positive power of it is zero.

For example, in Z/4Z\mathbb Z/4\mathbb ZZ/4Z,

22=4≡0(mod4).2^2=4\equiv 0\pmod 4.22=4≡0(mod4).

Thus, 222 is nilpotent.

A nonzero nilpotent element is automatically a zero divisor. If n>1n>1n>1 is chosen as small as possible so that

xn=0,x^n=0,xn=0,

then xn−1≠0x^{n-1}\neq 0xn−1=0, while

x⋅xn−1=xn=0.x\cdot x^{n-1}=x^n=0.x⋅xn−1=xn=0.

Therefore, xxx is a zero divisor.

The converse does not hold. In Z/6Z\mathbb Z/6\mathbb ZZ/6Z, the element 333 is a zero divisor because

3⋅2=0(mod6),3\cdot 2=0\pmod 6,3⋅2=0(mod6),

but it is not nilpotent, since

3n=33^n=33n=3

for every positive integer nnn.

Units

An element x∈Ax\in Ax∈A is a unit if there exists y∈Ay\in Ay∈A such that

xy=1A.xy=1_A.xy=1A​.

The element yyy is called the multiplicative inverse of xxx.

In a field, every nonzero element is a unit. This is one of the defining differences between a field and a general ring.

In a nonzero commutative ring, a unit cannot be a zero divisor. Suppose xxx is a unit and xy=0xy=0xy=0. Multiplying by x−1x^{-1}x−1 gives

y=x−1(xy)=x−1⋅0=0.y=x^{-1}(xy)=x^{-1}\cdot 0=0.y=x−1(xy)=x−1⋅0=0.

Thus, a unit cannot multiply a nonzero element to produce zero.

The sets of units and zero divisors are therefore disjoint in a nonzero ring.

Relationships among the three classes

The main relationships are:

  • Every nonzero nilpotent is a zero divisor.
  • Not every zero divisor is nilpotent.
  • No unit in a nonzero ring is a zero divisor.
  • An element may be neither a unit, nor a zero divisor, nor nilpotent.

These properties describe different kinds of algebraic behavior. Units can be canceled because they have inverses. Zero divisors prevent cancellation. Nilpotents represent nonzero elements that eventually disappear under repeated multiplication.

Comprehensive review

A commutative ring with identity is a set with addition and multiplication in which addition forms an abelian group, multiplication is associative and commutative, multiplication distributes over addition, and an element 1A1_A1A​ acts as a multiplicative identity.

Important examples include Z\mathbb ZZ, Q\mathbb QQ, R\mathbb RR, C\mathbb CC, polynomial rings such as A[x]A[x]A[x] and A[x1,…,xn]A[x_1,\ldots,x_n]A[x1​,…,xn​], and rings of functions from a set into a ring.

A subring is a subset that is itself a ring under the inherited operations. Under the convention used here, a subring need not contain the identity of the larger ring.

A ring homomorphism preserves addition and multiplication:

f(x+y)=f(x)+f(y),f(xy)=f(x)f(y).f(x+y)=f(x)+f(y), \qquad f(xy)=f(x)f(y).f(x+y)=f(x)+f(y),f(xy)=f(x)f(y).

Its image is a subring, while its kernel is an ideal.

An ideal is an additive subgroup that absorbs multiplication by every element of the ring. Standard examples include {0}\{0\}{0}, the whole ring, nZn\mathbb ZnZ, the ideal (x)(x)(x) in A[x]A[x]A[x], and the functions vanishing on a specified subset.

An ideal III produces a quotient ring A/IA/IA/I, whose elements are cosets a+Ia+Ia+I. The natural map

A→A/IA\to A/IA→A/I

is surjective and has kernel III. More generally,

im⁡(f)≅A/ker⁡(f).\operatorname{im}(f)\cong A/\ker(f).im(f)≅A/ker(f).

Ideals in A/IA/IA/I correspond exactly to ideals of AAA that contain III. Inverse images of ideals under ring homomorphisms are always ideals, but direct images need not be.

Finally, zero divisors, nilpotents, and units describe important element-level behavior. Nilpotent elements become zero after taking a sufficiently high power, zero divisors multiply with nonzero elements to produce zero, and units possess multiplicative inverses. Understanding these distinctions prepares the way for the deeper study of ideals, modules, localization, Noetherian and Artinian rings, and the structural theorems of commutative algebra.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent