Commutative Algebra
Basic Commutative Algebra: Rings, Subrings, Homomorphisms, and Ideals
1. Scope of the Subject
The subject focuses on commutative algebra, particularly the study of commutative rings with identity. The main topics include:
Basic ring theory and ideals
Operations on ideals
Extension and contraction of ideals
Module theory
Localization
Integral dependence
Chain conditions
Noetherian rings
Primary decomposition
Artinian rings
Hilbert’s Nullstellensatz
Graded rings
The foundational concepts below provide the language needed for these later topics.
2. Rings
2.1 Definition of a Ring
A ring A is a set equipped with two binary operations:
Addition, written +.
Multiplication, written by juxtaposition or ⋅.
The addition and multiplication operations satisfy the following properties.
Addition
Under addition, A is an abelian group:
Associativity: For all x,y,z∈A,
(x+y)+z=x+(y+z).Additive identity: There exists an element 0∈A such that
x+0=0+x=x.Additive inverses: For every x∈A, there exists −x∈A such that
x+(−x)=0.Commutativity: For all x,y∈A,
x+y=y+x.
Multiplication
Multiplication is associative:
for all x,y,z∈A.
Distributive Laws
Multiplication distributes over addition:
and
2.2 Commutative Rings with Identity
Throughout commutative algebra, the rings under consideration generally satisfy two additional hypotheses.
Commutativity of Multiplication
For all x,y∈A,
Multiplicative Identity
There exists an element 1A∈A such that
for every x∈A.
Thus, the rings considered are usually commutative rings with identity.
A commutative ring with identity is a ring whose multiplication is commutative and that contains a multiplicative identity 1A.
2.3 The Zero Ring
The zero ring, denoted by 0 or sometimes by A=0, is the ring consisting of a single element:
In this ring,
Although the additive and multiplicative identities are normally viewed as different elements, they coincide in the zero ring. The zero ring is still a commutative ring with identity under this convention.
2.4 Standard Examples of Commutative Rings
Important examples include:
The integers Z
The rational numbers Q
The real numbers R
The complex numbers C
The zero ring
Each of Q, R, and C is also a field, meaning that every nonzero element has a multiplicative inverse.
3. Polynomial Rings
3.1 Polynomial Ring in One Variable
If A is a commutative ring with identity, the polynomial ring in one variable over A is denoted by
Its elements are polynomials of the form
where each coefficient ai∈A.
The addition and multiplication of polynomials are defined in the usual way:
Addition is performed coefficient by coefficient.
Multiplication is performed using distributivity and then collecting like powers of x.
For example,
The ring A[x] is commutative whenever A is commutative.
3.2 Polynomial Rings in Several Variables
Polynomial rings can also be formed using several variables. The polynomial ring in variables x1,…,xn over A is written
Its elements are finite sums of monomials of the form
where:
ai1,…,in∈A,
Each exponent ij is a nonnegative integer,
Only finitely many coefficients are nonzero.
A general element can be written as
The nonnegative integers include 0, so exponents such as xj0=1 are allowed.
3.3 Even-Power Polynomial Subring
A useful example of a subring of A[x] is
This consists of polynomials involving only even powers of x:
It is closed under addition and multiplication because adding or multiplying polynomials containing only even powers again produces a polynomial containing only even powers.
4. Rings of Functions
Let S be any set, and let A be a commutative ring. The collection of all functions from S to A is denoted by
or sometimes by Func(S,A).
For functions f,g:S→A, addition and multiplication are defined pointwise.
4.1 Pointwise Addition
For each s∈S,
4.2 Pointwise Multiplication
For each s∈S,
With these operations, the set of all functions from S to A forms a commutative ring whenever A is a commutative ring.
The additive identity is the zero function,
and the multiplicative identity is the constant function
5. Subrings
5.1 Definition
Let A be a ring. A subset B⊆A is called a subring of A if B is itself a ring under the same addition and multiplication operations inherited from A.
Under the convention used here, a subring is not required to contain the identity element 1A of the larger ring.
A subring is a subset closed under the ring operations and having the required additive and multiplicative structure, but its identity need not be the identity of the ambient ring.
This convention differs from another common convention in which every subring is required to contain 1A.
5.2 Examples of Subrings
The Coefficient Ring
The ring A is naturally a subring of the polynomial ring A[x]. Each element a∈A is identified with the constant polynomial
Thus,
Polynomials with Zero Constant Term
Consider the subset
Equivalently,
Every element of B has the form
This set is closed under addition and multiplication:
The sum of two polynomials with zero constant term again has zero constant term.
The product of two such polynomials also has zero constant term.
Therefore, B is a subring of A[x] under the convention that subrings need not contain the identity.
The Set {0,3} in Z/6Z
The set
is a subring. Its operations are inherited from Z/6Z:
and
The element 3 acts as the multiplicative identity of this subring because
However, the identity of this subring is not the identity 1 of Z/6Z.
The identity element of a subring, if it exists, need not equal the identity element of the larger ring.
6. Ring Homomorphisms
6.1 Definition
Let A and B be rings. A function
is a ring homomorphism if it preserves addition and multiplication.
For all x,y∈A,
and
Under the convention being used, a ring homomorphism is not automatically required to satisfy
Some texts include preservation of identity in the definition, but the convention here only requires preservation of addition and multiplication.
6.2 Image of a Ring Homomorphism
The image of f is
The image is closed under addition and multiplication:
If f(a),f(b)∈Im(f), then
f(a)+f(b)=f(a+b)∈Im(f).Similarly,
f(a)f(b)=f(ab)∈Im(f).
Therefore, Im(f) is a subring of B.
If f does not necessarily preserve identity, the identity of Im(f) need not be 1B.
6.3 The Kernel
The kernel of a ring homomorphism f:A→B is
The kernel consists of all elements of A that are mapped to the additive identity of B.
The kernel is always an ideal of A, not merely a subring. This stronger property follows because if a∈A and x∈ker(f), then
Thus,
7. Ideals
7.1 Definition
Let A be a commutative ring. A subset I⊆A is an ideal of A if:
I is an additive subgroup of A.
I absorbs multiplication by elements of A.
More explicitly:
I is closed under addition and additive inverses.
For every a∈A and x∈I,
ax∈I.
The second condition is called the absorption property.
An ideal is an additive subgroup that remains stable when its elements are multiplied by arbitrary elements of the ambient ring.
Because A is commutative, it is enough to write ax∈I. In noncommutative rings, left ideals and right ideals may need to be distinguished.
7.2 Basic Examples of Ideals
The Zero Ideal
For any ring A,
is an ideal. It is closed under addition and is absorbing because
for every a∈A.
The Whole Ring
The entire ring A is an ideal of itself:
It trivially satisfies the additive subgroup and absorption conditions.
Ideals of Z
Every ideal of Z has the form
for some nonnegative integer n. Explicitly,
Examples include:
0Z=(0)
1Z=Z
2Z
nZ for any positive integer n
Ideals of Q
Since Q is a field, its only ideals are
To see this, suppose I is a nonzero ideal of Q. If 0=q∈I, then q−1∈Q, and the absorption property gives
Once 1∈I, every rational number belongs to I, so I=Q.
The Ideal (x) in A[x]
The ideal generated by x is
It consists exactly of the polynomials whose constant term is zero:
This is the same set that appeared earlier as an example of a subring, but it is also an ideal because multiplication by any polynomial in A[x] preserves divisibility by x.
Vanishing Ideals in Function Rings
Let S be a set and let X⊆S be nonempty. Define
This is an ideal in the ring of functions from S to A.
If f,g∈I(X), then for every x∈X,
If h:S→A is arbitrary and f∈I(X), then
Therefore, I(X) satisfies the ideal conditions.
8. Kernels Are Ideals
If
is a ring homomorphism, then ker(f) is an ideal of A.
The additive subgroup property follows from:
If x,y∈ker(f), then
f(x−y)=f(x)−f(y)=0−0=0.
The absorption property follows from:
If a∈A and x∈ker(f), then
f(ax)=f(a)f(x)=f(a)⋅0=0.
This makes kernels particularly important ideals because they describe exactly which elements are identified with zero by a homomorphism.
9. Quotient Rings
9.1 The Congruence Relation Determined by an Ideal
Let I be an ideal of A. Define a relation on A by
This is an equivalence relation:
Reflexivity: a−a=0∈I.
Symmetry: If a−b∈I, then
b−a=−(a−b)∈I.Transitivity: If a−b∈I and b−c∈I, then
a−c=(a−b)+(b−c)∈I.
The equivalence class of a is denoted by
It consists of all elements of A differing from a by an element of I.
9.2 Definition of the Quotient Ring
The set of equivalence classes is denoted by
and is called the quotient ring of A by I.
The operations are defined by
and
These operations are well-defined because I is an ideal.
For example, if a−a′∈I and b−b′∈I, then
Thus, the product does not depend on the choice of representatives.
The quotient A/I is a commutative ring with identity
9.3 The Natural Quotient Homomorphism
There is a natural surjective ring homomorphism
defined by
It is surjective because every element of A/I is an equivalence class a+I for some a∈A.
Its kernel is exactly I:
Thus, every ideal arises as the kernel of a natural quotient homomorphism.
10. The First Isomorphism Theorem
Let
be a ring homomorphism. Then the image of f is isomorphic to the quotient of A by the kernel of f:
This is the first isomorphism theorem for rings.
The isomorphism is induced by the map
This map is well-defined because if
then a−b∈ker(f), so
which implies
The theorem says that a homomorphism can be understood in two stages:
First, identify elements of A that differ by an element of ker(f).
Then map the resulting quotient isomorphically onto Im(f).
11. Ideals in Quotient Rings
Suppose I is an ideal of A. The ideals of A/I correspond precisely to the ideals of A that contain I.
11.1 Correspondence
There is a one-to-one correspondence
The correspondence is given by:
From an ideal J of A containing I, form
J/I={a+I:a∈J},From an ideal K of A/I, take its inverse image under the quotient map:
φ−1(K).
Because
every inverse image φ−1(K) necessarily contains I.
This is often called the ideal correspondence theorem for quotient rings.
12. Images and Inverse Images of Ideals
Let
be a ring homomorphism.
12.1 Image of an Ideal
If I is an ideal of A, the image
need not be an ideal of B.
Example
Consider the inclusion map
The ideal nZ of Z maps to the subset
However, this is not an ideal of Q unless n=0, because the only ideals of Q are (0) and Q.
For example, if n=0, multiplication by n1 gives
but 1∈/nZ in general.
Thus, the image of an ideal under a ring homomorphism is not generally an ideal of the codomain.
12.2 Inverse Image of an Ideal
If J is an ideal of B, then the inverse image
is always an ideal of A.
Additive Closure
If a,b∈f−1(J), then f(a),f(b)∈J. Therefore,
so a−b∈f−1(J).
Absorption
If a∈A and x∈f−1(J), then f(x)∈J. Hence,
because J is an ideal of B. Therefore,
Consequently, inverse images preserve ideals, while direct images generally do not.
13. Special Types of Elements in a Ring
Several important classes of elements are used to analyze the structure of a ring:
Zero divisors
Nilpotent elements
Units
These classes can overlap in specific ways, but they are not identical.
13.1 Zero Divisors
An element x∈A is a zero divisor if there exists a nonzero element y∈A such that
Thus, a zero divisor is a nonzero element that annihilates another nonzero element.
Equivalently, multiplication by x is not cancellative: there exists y=0 such that
Examples in Z/6Z
The elements 2 and 3 are zero divisors because
In fact,
$$ \overline{2}\cdot\overline{3}=0
with both 2 and 3 nonzero.
The Element Zero
There is a convention concerning whether 0 itself is called a zero divisor.
Under a broad convention, 0 is listed as a zero divisor because
0⋅y=0Under the standard strict definition, a zero divisor is usually required to be nonzero, so 0 is excluded.
In the zero ring, there is no nonzero element y, so 0 does not satisfy the required condition even under the broad formulation.
The convention must therefore be stated when discussing zero divisors.
13.2 Nilpotent Elements
An element x∈A is nilpotent if there exists an integer n>1 such that
The smallest such positive integer is sometimes called the nilpotency index of x.
Example in Z/4Z
The element 2 is nilpotent because
Thus, 2 is a nilpotent element.
Zero Is Nilpotent
The element 0 is nilpotent because
for every positive integer n.
13.3 Units
An element x∈A is a unit if there exists y∈A such that
The element y is called the multiplicative inverse of x and is denoted by x−1.
The set of all units in A is written
It forms a group under multiplication.
Units in a Field
If F is a field, every nonzero element is a unit. Therefore,
For example, every nonzero rational number is a unit in Q.
14. Relationships Among Zero Divisors, Nilpotents, and Units
14.1 Nonzero Nilpotents Are Zero Divisors
If x=0 is nilpotent, choose the smallest integer n>1 such that
Then xn−1=0, but
Therefore, x is a zero divisor.
Hence,
Every nonzero nilpotent element is a zero divisor.
If the convention includes 0 among the zero divisors, then every nilpotent element is a zero divisor. Under the strict convention, the statement applies to nonzero nilpotents.
The converse is false: not every zero divisor is nilpotent.
Example in Z/6Z
The element 3 is a zero divisor because
However,
for every positive integer n, so 3 is not nilpotent.
14.2 Units Cannot Be Zero Divisors
In a nonzero ring, a unit cannot be a zero divisor.
Suppose x is a unit and xy=0. Multiplying by x−1 gives
Therefore, a unit cannot annihilate a nonzero element.
Thus, the sets of units and zero divisors are disjoint:
This distinction is important:
A unit has a multiplicative inverse.
A zero divisor destroys information under multiplication by sending a nonzero element to zero.
A nilpotent becomes zero after being raised to a sufficiently high power.
An element may be neither a unit, nor a zero divisor, nor nilpotent. These three classes do not exhaust all elements of a general ring.

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