Ideals and Principal Ideal Domains

The subsets of a ring that one can work modulo. Why a subring is not enough (working modulo Z inside Q breaks multiplication), the definition of an ideal and the ideal test, ideals generated by one or several elements, generators that differ by a unit, every ideal of Z and of F[x] generated by one element, the six ideals of Z_45, an ideal of Z[x] that needs two generators, and irreducible versus prime elements, with Z[sqrt(-5)] as the ring where they part ways.

An ideal of a ring $R$ is a subring $I$ that absorbs products: $ra, ar \in I$ for every $r \in R$ and $a \in I$. Absorption is what working modulo $I$ needs; $\mathbb{Z}$, a subring of $\mathbb{Q}$, lacks it. An ideal containing a unit is the whole ring, so a field has only two ideals. In a commutative ring with identity, $(c_1, \ldots, c_n)$ is the set of combinations $r_1 c_1 + \cdots + r_n c_n$, and in an integral domain $(a) = (b)$ exactly when $a$ and $b$ are associates. Every ideal of $\mathbb{Z}$, of $F[x]$ ($F$ a field) and of $\mathbb{Z}_n$ has one generator, and $\mathbb{Z}_{45}$ has six ideals, one per divisor of 45. In $\mathbb{Z}[x]$, $(2, x^2 + x + 1)$ needs two. In a principal ideal domain every irreducible element is prime; in $\mathbb{Z}[\sqrt{-5}]$, where $6 = 2 \cdot 3 = (1 + \sqrt{-5})(1 - \sqrt{-5})$, that fails.

Inside $\mathbb{Z}_{45}$ the multiples of 9, $\{0, 9, 18, 27, 36\}$, form the copy of $\mathbb{Z}_5$ that the Chinese remainder theorem found. They have a property that a general subring lacks: a multiple of 9 times any element of $\mathbb{Z}_{45}$ is again a multiple of 9. The moduli of earlier units had the same property. A multiple of 12 times any integer is a multiple of 12, and a multiple of $p(x)$ times any polynomial is a multiple of $p(x)$. That property is what made the product of congruence classes well defined. The subsets of a ring that have it are the ring's ideals. This article describes them and shows that $\mathbb{Z}_{45}$ has exactly six.

Here is what goes wrong without it. The integers $\mathbb{Z}$ form a subring of the rationals $\mathbb{Q}$, so they are closed under subtraction and under multiplication. Try to work "modulo $\mathbb{Z}$" in $\mathbb{Q}$, calling two rationals congruent when their difference is an integer. Then $\tfrac12$ and $\tfrac32$ are congruent, since their difference is $-1$, and adding the same number to both keeps them congruent. Multiplying both by $\tfrac12$ does not:

$$\tfrac12 \cdot \tfrac12 = \tfrac14, \qquad \tfrac32 \cdot \tfrac12 = \tfrac34, \qquad \tfrac34 - \tfrac14 = \tfrac12 \notin \mathbb{Z}.$$

So there is no multiplication of classes modulo $\mathbb{Z}$. The integers are closed under multiplication among themselves, but an integer times a rational can leave $\mathbb{Z}$. The subsets that can serve as moduli are those that absorb multiplication by every element of the ring. They are called ideals.

First we define ideals and give a short test for them. Then we build the ideal generated by one or several elements, and show when two generators give the same principal ideal. Next we prove that every ideal of $\mathbb{Z}$ and of $F[x]$ has a single generator, and list the six ideals of $\mathbb{Z}_{45}$. Finally we meet two rings where one generator is not enough, $\mathbb{Z}[x]$ and $\mathbb{Z}[\sqrt{-5}]$; in the second, unique factorization fails as well. The article closes with worked problems from the course's assignments.

This article opens Ideals and Quotient Rings. It covers §6.1 of the course text (Hungerford, 2014), with Judson (2026, §§16.3, 17.3.1 and 18.2) as a free companion. It uses subrings and the subring test, the The Division Algorithm and Bezout's identity from Divisibility and the Euclidean Algorithm, and their polynomial versions in Polynomial Division over a Field. The next article, Congruence Modulo an Ideal and Quotient Rings, uses ideals to build new rings.

The definition

Definition. A subring $I$ of a ring $R$ is an ideal if, for every $r \in R$ and every $a \in I$, both $ra \in I$ and $ar \in I$.

The condition is called absorption: a product with at least one factor in $I$ lies in $I$, whatever the other factor is. A subring only has to be closed under products of two of its own elements, the special case in which $r$ also lies in $I$. In a commutative ring $ra = ar$, so one of the two conditions suffices. In a noncommutative ring both are needed, and an ideal in this sense is sometimes called two-sided (Judson, 2026, Remark 16.3.9).

Absorption makes closure under multiplication automatic, so a shorter test suffices.

Theorem (ideal test). A nonempty subset $I$ of a ring $R$ is an ideal if and only if

  1. $a - b \in I$ whenever $a, b \in I$, and
  2. $ra \in I$ and $ar \in I$ whenever $r \in R$ and $a \in I$.

Proof. An ideal is a subring, so it is closed under subtraction, and it absorbs products by definition. Conversely, suppose $I$ is nonempty and satisfies (1) and (2). Choose $a \in I$; by (1), $0_R = a - a \in I$. For $a, b \in I$, $a - b \in I$ by (1), and $ab \in I$ by (2) with $r = a$, which is an element of $R$. So $I$ contains $0_R$ and is closed under subtraction and multiplication, and the subring test makes it a subring. With (2) it is an ideal. $\blacksquare$

This is the course text's Theorem 6.1. In the opening example, differences of multiples of 9 and products $r \cdot 9k = 9(rk)$ are multiples of 9, so $\{0, 9, 18, 27, 36\}$ is an ideal of $\mathbb{Z}_{45}$.

Examples

Multiples of $n$ in $\mathbb{Z}$. The set $n\mathbb{Z} = \{nk : k \in \mathbb{Z}\}$ contains 0, $nk - nl = n(k - l)$, and $r(nk) = n(rk)$. So it is an ideal. Below we show that these are the only ideals of $\mathbb{Z}$.

The trivial ideals. In every ring, $\{0_R\}$ and $R$ itself are ideals. An ideal other than $R$ is a proper ideal.

Multiples of $2 - \omega$ in the Eisenstein integers. The homomorphism $g(a + b\omega) = [a + 2b]$ from $\mathbb{Z}[\omega]$ onto $\mathbb{Z}_7$ sends exactly the multiples $(2 - \omega)(c + d\omega)$ to 0. The multiples of a fixed element of a commutative ring always form an ideal, as the next section proves. Here they form the triangular grid of points drawn in that article.

A condition after reduction modulo 2. Reducing every coefficient modulo 2 sends a polynomial $f(x)$ in $\mathbb{Z}[x]$ to a polynomial $\bar f(x)$ in $\mathbb{Z}_2[x]$, and this map is a homomorphism (reduction modulo a prime). In $\mathbb{Z}[x]$, let

$$J = \{\, f(x) \in \mathbb{Z}[x] : x^2 + x + 1 \text{ divides } \bar f(x) \text{ in } \mathbb{Z}_2[x] \,\}.$$

The polynomial $x^2 + x + 1$ is the factor of the quartic that ran through Irreducible Polynomials and Roots. Over $\mathbb{Z}_2$ it has no root, since its values at 0 and 1 are both 1. For example $x^3 + 1$ lies in $J$, since modulo 2 it is $(x + 1)(x^2 + x + 1)$. But $x^2 + 1$ does not: modulo 2 it is $(x^2 + x + 1) + x$, which leaves the remainder $x$. The ideal test applies at once. The zero polynomial is in $J$. If $\bar f$ and $\bar g$ are multiples of $x^2 + x + 1$, so is $\overline{f - g} = \bar f - \bar g$. And for any $h(x) \in \mathbb{Z}[x]$, $\overline{hf} = \bar h \bar f$ is a multiple too. So $J$ is an ideal. It returns throughout this unit, because it turns out to need two generators.

Non-examples. $\mathbb{Z}$ is a subring of $\mathbb{Q}$ but not an ideal, as the opening calculation showed: $\tfrac12 \cdot 1 = \tfrac12 \notin \mathbb{Z}$. For the same reason the subring $2\mathbb{Z}$ of even integers, an ideal of $\mathbb{Z}$, is not an ideal of $\mathbb{Z}[x]$: it contains 2 but not $2x$. Whether a set is an ideal depends on the ring it sits in. In the ring $M_2(\mathbb{R})$ of real $2 \times 2$ matrices, the upper triangular matrices form a subring, closed under sums, differences and products. But multiplying the upper triangular matrix $E = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix}$ on the left by $\begin{pmatrix} 0 & 0 \\ 1 & 0 \end{pmatrix}$ gives $\begin{pmatrix} 0 & 0 \\ 1 & 0 \end{pmatrix}$, which is not upper triangular.

Example (a subring that is not an ideal). Let $S$ be the set of polynomials in $\mathbb{Z}[x]$ that use only even powers of $x$, such as $3 + x^2 - 5x^4$. Then $S$ is a subring of $\mathbb{Z}[x]$ but not an ideal. It is a subring because it contains 0, a difference of two of its elements uses only even powers, and so does a product, since even exponents add to even exponents: the script finds $(1 + x^2)(3 - x^2) = -x^4 + 2x^2 + 3$. It is not an ideal, because $1 \in S$ but $x \cdot 1 = x \notin S$. Like $\mathbb{Z}$ inside $\mathbb{Q}$, it is closed under its own products only.

An ideal containing a unit

Absorption makes ideals large as soon as they contain anything invertible. The idea: a unit times its inverse is 1, and 1 times anything is anything.

Proposition. Let $R$ be a ring with identity and $I$ an ideal of $R$.

  1. If $I$ contains a unit, then $I = R$. In particular $I = R$ if and only if $1_R \in I$.
  2. If $R$ is a field, its only ideals are $\{0\}$ and $R$.

Proof. (1) Let $u \in I$ be a unit. By absorption $1_R = u^{-1}u \in I$, and then every $r \in R$ satisfies $r = r 1_R \in I$. Conversely, if $I = R$ then $1_R \in I$.

(2) In a field every nonzero element is a unit, so an ideal containing a nonzero element is the whole field by (1). The only ideal with no nonzero element is $\{0\}$. $\blacksquare$

In $\mathbb{Z}_{45}$, for instance, any ideal that contains 2 contains $23 \cdot 2 = 46 = 1$, and so is the whole ring. A field has no room for congruences of interest: working modulo $\{0\}$ changes nothing, and working modulo the whole field identifies everything. Which quotients of a ring are fields is decided in Congruence Modulo an Ideal and Quotient Rings, by the maximal ideals.

Ideals generated by elements

How do we produce ideals systematically? The simplest are the multiples of one element.

Theorem. Let $R$ be a commutative ring with identity and $c \in R$. Then

$$(c) = \{\, rc : r \in R \,\}$$

is an ideal of $R$. It contains $c$, and it is contained in every ideal that contains $c$.

The idea: a difference of two multiples of $c$ is a multiple of $c$, and so is any multiple of a multiple.

Proof. $(c)$ is nonempty, since it contains $0 = 0c$ and $c = 1c$. For $rc$ and $sc$ in $(c)$ and $t \in R$, $rc - sc = (r - s)c \in (c)$ and $t(rc) = (tr)c \in (c)$, by the distributive and associative laws. Since $R$ is commutative, $(rc)t = t(rc)$ as well, and the ideal test applies. Finally, an ideal that contains $c$ contains every product $rc$, by absorption. $\blacksquare$

This is the course text's Theorem 6.2 and Judson's Example 16.3.5. The ideal $(c)$ is the principal ideal generated by $c$. It is the smallest ideal containing $c$, which is the sense in which $c$ generates it. The proof used the identity to place $c$ in $(c)$, and commutativity to get absorption on both sides. The opening ideal is $(9) = \{0, 9, 18, 27, 36\}$ in $\mathbb{Z}_{45}$.

Several elements generate an ideal in the same way, through their combinations.

Theorem. Let $R$ be a commutative ring with identity and $c_1, \ldots, c_n \in R$. Then

$$(c_1, \ldots, c_n) = \{\, r_1 c_1 + \cdots + r_n c_n : r_1, \ldots, r_n \in R \,\}$$

is an ideal of $R$. It contains each $c_i$, and it is contained in every ideal that contains $c_1, \ldots, c_n$.

The idea: the set is the sum of the principal ideals $(c_1), \ldots, (c_n)$, and a sum of two ideals is again an ideal, so the sum can be built one ideal at a time.

Proof. First, for ideals $A$ and $B$ of $R$, the sum $A + B = \{a + b : a \in A, \; b \in B\}$ is an ideal. It contains $0 = 0 + 0$. A difference $(a + b) - (a' + b') = (a - a') + (b - b')$ has one part in $A$ and one in $B$. And $t(a + b) = ta + tb$ for $t \in R$, with $ta \in A$ and $tb \in B$ by absorption; by commutativity, products on the other side are the same.

Now the set in the theorem is $(c_1) + (c_2) + \cdots + (c_n)$, since each term $r_i c_i$ is an arbitrary element of $(c_i)$. The previous theorem makes each $(c_i)$ an ideal. So $(c_1) + (c_2)$ is an ideal, adding $(c_3)$ gives an ideal, and after $n - 1$ steps the whole sum is an ideal. It contains $c_i$, taking $c_i$ from $(c_i)$ and 0 from the other terms. Finally, an ideal containing every $c_i$ contains each $(c_i)$, by the previous theorem, and so every sum of their elements, being closed under addition. $\blacksquare$

This is the course text's Theorem 6.3. The ideal $(c_1, \ldots, c_n)$ is the ideal generated by $c_1, \ldots, c_n$, and an ideal of this form is finitely generated. A list of generators is a description, not an invariant. Different lists can generate the same ideal, and the shortest list is the main theme of the rest of the article.

Two generators that are one

In $\mathbb{Z}$, the ideal generated by two integers is the set of their integer combinations. The article on the Euclidean algorithm proved that the combinations of $a$ and $b$, not both zero, are exactly the multiples of $\gcd(a, b)$. In the language of ideals, that theorem says $(a, b) = (\gcd(a, b))$: an ideal presented with two generators is principal after all. So $(1729, 1001) = (91)$, which is the measuring-rod statement of the earlier article: rods of lengths 1729 and 1001 mark off exactly the multiples of 91. The script confirms that the positive combinations below 400 are $91, 182, 273, 364$.

The corresponding statement holds in $F[x]$ for a field $F$. Let $f$ and $g$ be polynomials, not both zero, with greatest common divisor $d$. Then $d$ is a combination $fu + gv$ and divides both $f$ and $g$ (Polynomial Division over a Field). Since $d$ divides $f$ and $g$, both lie in $(d)$, so $(f, g) \subseteq (d)$. Since $d = fu + gv$ lies in $(f, g)$, so does every multiple of $d$, and $(d) \subseteq (f, g)$. So $(f, g) = (d)$. In $\mathbb{Q}[x]$, $x^2 - 1 = (x - 1)(x + 1)$ and $x^2 + x - 2 = (x - 1)(x + 2)$ have greatest common divisor $x - 1$, and the script finds the Bezout combination

$$(x^2 - 1)(-1) + (x^2 + x - 2)(1) = x - 1.$$

So $(x^2 - 1, \, x^2 + x - 2) = (x - 1)$: a polynomial is a combination of the two quadratics exactly when it has 1 as a root.

Generators that differ by a unit

A principal ideal can have more than one generator. In an integral domain, two elements generate the same principal ideal exactly when each is a unit multiple of the other. Stating this needs the language of divisibility in a commutative ring. We say $a$ divides $b$, written $a \mid b$, if $b = ac$ for some $c \in R$. And $a$ and $b$ are associates if $a = ub$ for a unit $u$. The idea of the next proposition: "is a multiple of" is the same as "lies in the principal ideal of", so divisibility turns into inclusion.

Proposition. Let $R$ be a commutative ring with identity and $a, b \in R$.

  1. $a \mid b$ if and only if $(b) \subseteq (a)$.
  2. $(a) = R$ if and only if $a$ is a unit.
  3. If $R$ is an integral domain, then $(a) = (b)$ if and only if $a$ and $b$ are associates.

Proof. (1) If $b = ac$, then $b \in (a)$, so the smallest ideal containing $b$ lies inside $(a)$. Conversely, if $(b) \subseteq (a)$, then $b = b \cdot 1 \in (a)$, so $b = ca$ for some $c$.

(2) The whole ring is the principal ideal $(1)$, since $r = r \cdot 1$ for every $r$. Every ideal lies inside $R$, so $(a) = R$ says exactly that $(1) \subseteq (a)$. By (1) that means $a \mid 1$, that is, $ac = 1$ for some $c \in R$. In a commutative ring this is the definition of a unit.

(3) If $a = ub$ with $u$ a unit, then $b \mid a$ and, since $b = u^{-1}a$, $a \mid b$; by (1) the two ideals contain each other. Conversely, suppose $(a) = (b)$. By (1), $a = bx$ and $b = ay$ for some $x, y \in R$. If $a = 0$, then $b = 0$ and they are associates. Otherwise $a = bx = a(yx)$, so $a(1 - yx) = 0$, and since $a \neq 0$ in an integral domain, $yx = 1$. So $x$ is a unit and $a = xb$. $\blacksquare$

For integral domains the three parts are Judson's Lemma 18.2.4. They let each nonzero principal ideal be named by a preferred generator:

  • in $\mathbb{Z}$ the units are $\pm 1$, so $(n)$ has exactly one positive generator;
  • in $F[x]$ the units are the nonzero constants, so a nonzero ideal $(p(x))$ has exactly one monic generator.

The proof of part (3) cancels $a$, which is where the integral domain is used. In $\mathbb{Z}_{45}$, which has zero divisors, the conclusion happens to survive: 3 and 6 generate the same ideal and $6 = 2 \cdot 3$ with 2 a unit, and likewise $36 = 4 \cdot 9$. But the proposition makes no claim for rings with zero divisors, and its proof does not apply to them.

Principal ideal domains

Every ideal met so far in $\mathbb{Z}$ and $\mathbb{Q}[x]$ turned out to have a single generator. That is not so in every ring, and the integral domains in which it is so have a name.

Definition. A principal ideal domain is an integral domain in which every ideal is principal.

The integers

Theorem. Every ideal of $\mathbb{Z}$ is principal. If $I \neq \{0\}$, then $I = (d)$, where $d$ is the least positive element of $I$.

The idea: divide any element of $I$ by the smallest positive one. The remainder lies in $I$ and is smaller still, so it must be 0.

Proof. If $I = \{0\}$, then $I = (0)$. Otherwise $I$ contains some $a \neq 0$, and also $-a = (-1)a$, so it contains a positive integer. By the well-ordering principle it has a least positive element $d$. Since $d \in I$, $(d) \subseteq I$. Conversely, let $a \in I$. By the division algorithm, $a = dq + r$ with $0 \le r < d$. Then $r = a - qd$ lies in $I$, because $I$ contains $a$ and $qd$ and is closed under subtraction. A positive $r$ would be an element of $I$ smaller than $d$, so $r = 0$ and $a = qd \in (d)$. $\blacksquare$

This is Judson's Theorem 16.3.6, and the class sessions proved it the same way. It is the proof that produced the greatest common divisor as the least positive combination in Divisibility and the Euclidean Algorithm, applied to any ideal. The equation $(a, b) = (\gcd(a, b))$ is the special case $I = (a, b)$: the least positive element of $(1729, 1001)$ is 91. The proof cannot assume that $I$ is given by a finite list of generators. It uses only the two properties in the ideal test, and that is why it covers every ideal.

Polynomials over a field

Theorem. Let $F$ be a field. Every ideal of $F[x]$ is principal. If $I \neq \{0\}$, then $I = (p(x))$, where $p(x)$ is a nonzero polynomial of least degree in $I$, and $I$ has exactly one monic generator.

The idea is the same, with degree in place of size.

Proof. Let $p(x)$ be a nonzero element of $I$ of least degree; degrees are nonnegative integers, so one exists. Then $(p) \subseteq I$. For $f \in I$, the division algorithm over a field gives $f = pq + r$ with $r = 0$ or $\deg r < \deg p$. Then $r = f - qp$ lies in $I$, because $I$ contains $f$ and $qp$ and is closed under subtraction. A nonzero $r$ would be a nonzero element of $I$ of smaller degree than $p$, contrary to the choice of $p$. So $r = 0$ and $f = pq \in (p)$. If $c$ is the leading coefficient of $p$, then $c^{-1}p$ is monic, and it generates the same ideal as $p$, by part (3) of the previous proposition, since $c^{-1}$ is a unit of $F[x]$. Two monic generators are associates by the same proposition. Associates in $F[x]$ differ by a nonzero constant factor, which must be 1 if both are monic. $\blacksquare$

This is Judson's Theorem 17.3.10. Since $\mathbb{Z}$ and $F[x]$ are integral domains, both are principal ideal domains. An integral domain with a division algorithm measured by some size function of this kind is a Euclidean domain. Judson (2026, §18.2.2) gives the precise definition and proves, by the division argument used twice here, that every Euclidean domain is a principal ideal domain. The Gaussian integers are a third example, with the norm $a^2 + b^2$ as the size (Judson, 2026, Example 18.2.13).

The theorem turns a description into a generator. Let $I$ be the set of rational polynomials that vanish at $\sqrt 2$. It is an ideal by the ideal test, because evaluation at $\sqrt 2$ is a homomorphism from $\mathbb{Q}[x]$ to $\mathbb{R}$ (evaluation). The zero polynomial is in $I$. If $f(\sqrt 2) = 0$ and $g(\sqrt 2) = 0$, then $(f - g)(\sqrt 2) = f(\sqrt 2) - g(\sqrt 2) = 0$. And for any $h \in \mathbb{Q}[x]$, $(hf)(\sqrt 2) = h(\sqrt 2) f(\sqrt 2) = 0$. The ideal $I$ contains $x^2 - 2$. It contains no nonzero constant, and no polynomial $ax + b$ of degree 1, since $a\sqrt 2 + b = 0$ would make $\sqrt 2 = -b/a$ rational. So $x^2 - 2$ has the least degree in $I$, and

$$I = \{\, f(x) \in \mathbb{Q}[x] : f(\sqrt 2) = 0 \,\} = (x^2 - 2).$$

Every rational polynomial with $\sqrt 2$ as a root is a multiple of $x^2 - 2$. The first isomorphism theorem turns this into the isomorphism $\mathbb{Q}[x]/(x^2 - 2) \cong \mathbb{Q}(\sqrt 2)$ that Congruence-Class Arithmetic in Polynomial Rings verified by hand.

Example (two prescribed roots). The rational polynomials with both 1 and 2 as roots form an ideal of $\mathbb{Q}[x]$, and its monic generator is $(x - 1)(x - 2) = x^2 - 3x + 2$. The set is an ideal by the ideal test: it contains 0, and if $f$ and $g$ have value 0 at 1 and at 2, then so do $f - g$ and $hf$ for every $h$, because evaluation at each point respects differences and products. The polynomial $x^2 - 3x + 2$ lies in the ideal. A nonzero polynomial of degree at most 1 has at most one root, so nothing of smaller degree does. By the theorem, the monic element of least degree generates the ideal.

The ideals of $\mathbb{Z}_n$

Back to the opening ring: $\mathbb{Z}_{45}$ has six ideals, one for each positive divisor of 45, by the next proposition. $\mathbb{Z}_n$ is not an integral domain unless $n$ is prime, but its ideals are just as easy to list, by the same division argument.

Proposition. Let $n \ge 2$. The ideals of $\mathbb{Z}_n$ are the principal ideals $([d])$ for the positive divisors $d$ of $n$. Different divisors give different ideals, and $([d])$ has $n/d$ elements. Also, $([a]) = ([\gcd(a, n)])$ for every integer $a$.

Proof. Let $I$ be an ideal of $\mathbb{Z}_n$, and let $d$ be the least positive integer with $[d] \in I$; there is one, since $[n] = [0] \in I$. Then $([d]) \subseteq I$. For any $[a] \in I$ with $0 \le a < n$, divide: $a = dq + r$ with $0 \le r < d$. Then $[r] = [a] - [q][d] \in I$, so $r = 0$ by the choice of $d$, and $[a] \in ([d])$. So $I = ([d])$. The same division applied to $n$ itself gives $[r] = [n] - [q][d] = -[q][d] \in I$ with $0 \le r < d$, so $r = 0$ and $d \mid n$.

The elements of $([d])$ are the classes of the multiples $0, d, 2d, \ldots, (n/d - 1)d$. They are different modulo $n$ because they are different integers from 0 to $n - 1$. Every multiple $kd$ is congruent to one of them: its remainder $r$ on division by $n$ satisfies $r = kd - nq$, which $d$ divides because $d \mid n$, and $0 \le r < n$. So $([d])$ has $n/d$ elements, and different divisors give ideals of different sizes.

For the last statement, let $e = \gcd(a, n)$. Since $e \mid a$, $[a] \in ([e])$. By Bezout's identity $e = au + nv$, so $[e] = [u][a] \in ([a])$. Each ideal contains the generator of the other. $\blacksquare$

For $n = 45$ the divisors are 1, 3, 5, 9, 15 and 45. The script finds exactly six distinct ideals, with 45, 15, 9, 5, 3 and 1 elements. It also confirms two further statements:

  • $([a]) = ([\gcd(a, 45)])$ for all 45 values of $a$;
  • $([a], [b]) = ([\gcd(a, b, 45)])$ for all 2,025 pairs, so every ideal of $\mathbb{Z}_{45}$ generated by two elements is principal.

For instance $(6) = (3)$, the 15 multiples of 3, and $(36) = (9) = \{0, 9, 18, 27, 36\}$. This last ideal is the opening's copy of $\mathbb{Z}_5$, whose identity is the idempotent 36 of the Chinese remainder theorem.

The six ideals of Z45, one for each divisor d of 45, with larger ideals higher up and a line from each ideal to the largest ideals inside it. Notice that the ideal (d) has 45/d elements, and (e) lies inside (d) exactly when d divides e, so the picture is the divisor diagram of 45 upside down. Beside each ideal is its quotient ring, Zd, from the next article. The two ideals with no ideal between them and the whole ring, (3) and (5), are the maximal ideals; their quotients are the fields Z3 and Z5.
The six ideals of Z_45, one for each divisor d of 45, with larger ideals higher up and a line from each ideal to the largest ideals inside it. Notice that the ideal (d) has 45/d elements, and (e) lies inside (d) exactly when d divides e, so the picture is the divisor diagram of 45 upside down. Beside each ideal is its quotient ring, Z_d, from the next article. The two ideals with no ideal between them and the whole ring, (3) and (5), are the maximal ideals; their quotients are the fields Z_3 and Z_5.

The figure shows the inclusions: for positive divisors $d$ and $e$ of $n$, $([e]) \subseteq ([d])$ exactly when $d \mid e$. Indeed, if $e = dk$, then $[e] = [k][d]$ lies in $([d])$, and so does the ideal it generates. Conversely, if $[e] \in ([d])$, then $e = kd + nm$ for some integers $k$ and $m$, and $d$ divides both terms because $d \mid n$. The script checks the statement for every pair of divisors of 45. Since every ideal is principal, the ideals of $\mathbb{Z}_{45}$ form the same pattern as the divisors of 45, reversed. The pattern is also the pattern of the ideals of $\mathbb{Z}$ that contain $(45)$, namely $(1), (3), (5), (9), (15), (45)$; the next article explains why.

Example (counting generators). By the proposition, $[a]$ generates the ideal $([d])$ exactly when $\gcd(a, 45) = d$. So the six ideals $([d])$, for $d = 1, 3, 5, 9, 15, 45$, have $24, 8, 6, 4, 2, 1$ generators, and the six counts add up to 45. To count, write $a = dk$ with $0 \le k < 45/d$. Since $\gcd(dk, d \cdot 45/d) = d \gcd(k, 45/d)$, we have $\gcd(a, 45) = d$ exactly when $\gcd(k, 45/d) = 1$. So $([d])$ has $\varphi(45/d)$ generators, counted by Euler's function, and the script confirms the six values. They add up to 45 because every element generates exactly one of the six ideals, the one named by its greatest common divisor with 45.

A ring that is not a principal ideal domain

The proofs for $\mathbb{Z}$ and $F[x]$ needed one way to measure size. In $\mathbb{Z}[x]$ there are two, the constant and the degree, and the ideal $J$ of polynomials whose reduction modulo 2 is a multiple of $x^2 + x + 1$ needs one generator for each.

Proposition. In $\mathbb{Z}[x]$, $J = (2, \, x^2 + x + 1)$, and $J$ is not principal. So $\mathbb{Z}[x]$ is not a principal ideal domain.

The idea: every polynomial differs from one of just four polynomials, $0, 1, x$ and $1 + x$, by an element of $J$. A single generator $d$ cannot achieve that. If $d$ is a constant, the powers of $x$ stay apart; if it is not, the integers stay apart.

Proof. The generators. A combination $2g(x) + (x^2 + x + 1)h(x)$ reduces modulo 2 to $(x^2 + x + 1)\bar h(x)$, so $(2, x^2 + x + 1) \subseteq J$. Conversely, let $f \in J$. Division by the monic polynomial $x^2 + x + 1$ is possible in $\mathbb{Z}[x]$ (the division algorithm needs only a unit leading coefficient). It gives $f = (x^2 + x + 1)q + (c + dx)$ with integers $c$ and $d$. Reduce modulo 2: $x^2 + x + 1$ divides $\bar f$ and $(x^2 + x + 1)\bar q$, so it divides their difference $\bar c + \bar d x$. A nonzero multiple of $x^2 + x + 1$ in $\mathbb{Z}_2[x]$ has degree at least 2, because degrees add over a field. So $\bar c + \bar d x = 0$, which means $c$ and $d$ are even, and $f = (x^2 + x + 1)q + 2\big(\tfrac c2 + \tfrac d2 x\big)$ lies in $(2, x^2 + x + 1)$. For example, $x^3 + 1 = (x^2 + x + 1)(x - 1) + 2$, as the script computes.

Four leftovers. Let $f$ be any polynomial in $\mathbb{Z}[x]$. Divide as before, $f = (x^2 + x + 1)q + (c + dx)$, and write $c = 2s + a$ and $d = 2t + b$ with $a, b \in \{0, 1\}$. Then

$$f - (a + bx) = (x^2 + x + 1)q + 2(s + tx) \in J.$$

So every polynomial differs from one of $0, 1, x, 1 + x$ by an element of $J$, and among any five polynomials, two differ by an element of $J$. The script confirms that each polynomial of degree less than 5 with coefficients from $-2$ to 2 differs from exactly one of the four by an element of $J$.

Not principal. Suppose $J = (d)$ for a single polynomial $d(x)$. The constant 1 is not in $J$, since 1 is not a multiple of $x^2 + x + 1$ in $\mathbb{Z}_2[x]$. So $J \neq \mathbb{Z}[x]$, and $d \neq \pm 1$. In each remaining case we find five polynomials no two of which differ by a multiple of $d$, contradicting the last paragraph.

  • If $d = 0$ or $\deg d \ge 1$, take $0, 1, 2, 3, 4$. Their differences are nonzero integers. But no nonzero integer is a multiple of $d$: the only multiple of 0 is 0, and a nonzero multiple $de$ of a nonconstant $d$ has degree $\deg d + \deg e \ge 1$, because degrees add in $\mathbb{Z}[x]$, $\mathbb{Z}$ being an integral domain.
  • If $d$ is an integer other than $0$ and $\pm 1$, take $0, 1, x, x^2, x^3$. Each difference has a coefficient equal to 1 or $-1$, while every multiple of $d$ has all its coefficients divisible by $d$.

Both cases are impossible. $\blacksquare$

The class sessions made the same point with a different ideal, and the course text and Judson give their own examples. Judson uses the ideal $(x, y)$ of polynomials in two variables (Example 17.3.11). The count of leftovers shows a little more. Every principal ideal of $\mathbb{Z}[x]$ other than the whole ring leaves infinitely many polynomials pairwise apart, the integers $0, 1, 2, \ldots$ or the powers $1, x, x^2, \ldots$, while $J$ leaves four. The obstruction is the one in the idea above: $J$ asks for a small constant and a low degree at once. In $\mathbb{Q}[x]$ the same two generators collapse, since 2 is a unit there: $(2, x^2 + x + 1) = \mathbb{Q}[x]$.

Example (other generators). The ideal $(2, x^2 + 3x + 3)$ of $\mathbb{Z}[x]$ is the same as $J$, and $(2, x^2 + 1)$ is not. For the first, $x^2 + 3x + 3 = (x^2 + x + 1) + 2(x + 1)$ lies in $J$, and $x^2 + x + 1 = (x^2 + 3x + 3) - 2(x + 1)$ lies in $(2, x^2 + 3x + 3)$. Each ideal contains the generators of the other, and so contains the other. For the second, modulo 2 the polynomial $x^2 + 1$ leaves the remainder $x$ on division by $x^2 + x + 1$, so $x^2 + 1$ is not in $J$, and $(2, x^2 + 1)$ is not contained in $J$.

Irreducible elements and prime elements

The failure of one generator has a consequence for factorization. In $\mathbb{Z}$ a prime can be described in two ways:

  • by its divisors, having none except the trivial ones;
  • by its multiples, through Euclid's lemma: $p \mid ab$ implies $p \mid a$ or $p \mid b$.

The Primes and the Fundamental Theorem of Arithmetic showed that these descriptions agree for integers, and Irreducible Polynomials and Roots showed the same for polynomials over a field. In a general integral domain they are different properties, with different names (Judson, 2026, §18.2).

Definition. Let $D$ be an integral domain and $p \in D$ nonzero and not a unit.

  • $p$ is irreducible if whenever $p = ab$, one of $a$ and $b$ is a unit.
  • $p$ is prime if whenever $p \mid ab$, then $p \mid a$ or $p \mid b$.

Both conditions translate into statements about ideals. By the proposition on divisibility, $p$ is irreducible exactly when no principal ideal lies strictly between $(p)$ and $D$. Indeed, if $(p) \subseteq (a)$, then $p = ab$. Either $a$ is a unit, so $(a) = D$, or $b$ is, so $(a) = (p)$. Conversely, suppose no principal ideal lies strictly between, and $p = ab$. Then $(p) \subseteq (a)$, so either $(a) = D$ and $a$ is a unit, or $(a) = (p)$. In the second case $a$ and $p$ are associates, say $a = up$ with $u$ a unit. Then $p = ab = pub$, and canceling $p \neq 0$ gives $ub = 1$, so $b$ is a unit. And $p$ is prime exactly when $ab \in (p)$ forces $a \in (p)$ or $b \in (p)$, which is the definition of a prime ideal in Congruence Modulo an Ideal and Quotient Rings.

Proposition. In an integral domain every prime element is irreducible. In a principal ideal domain every irreducible element is prime.

The idea of the second half: in $\mathbb{Z}$, Euclid's lemma came from Bezout's identity. In a principal ideal domain the ideal $(p, a)$ has a single generator, and that generator plays the part of the greatest common divisor.

Proof. Let $p$ be prime and $p = ab$. Then $p \mid ab$, so $p$ divides $a$ or $b$. If $a = pc$, then $p = pcb$, and canceling $p \neq 0$ in the integral domain gives $cb = 1$, so $b$ is a unit. If $b = pc$, then $p = apc$, and canceling $p$ gives $ac = 1$, so $a$ is a unit. In both cases one factor is a unit, so $p$ is irreducible.

Now let $D$ be a principal ideal domain, $p$ irreducible, and $p \mid ab$ with $p \nmid a$. The ideal $(p, a)$ is principal, say $(p, a) = (d)$. Then $d \mid p$, so $p = de$, and by irreducibility $d$ or $e$ is a unit. If $e$ were a unit, then $d = pe^{-1}$ and $p$ would divide $d$, which divides $a$, contrary to $p \nmid a$. So $d$ is a unit, $(p, a) = D$, and $1 = pr + as$ for some $r, s \in D$. Multiplying by $b$ gives $b = p(rb) + (ab)s$, and $p$ divides both terms. So $p \mid b$. $\blacksquare$

In $\mathbb{Z}$ the hypothesis that $(p, a)$ is principal and Bezout's identity are the same fact. With $p = 7$ and $a = 10$, $(7, 10) = (1)$ and $1 = 7 \cdot 3 + 10 \cdot (-2)$, which is the equation the proof multiplies by $b$. Judson proves the result as Corollary 18.2.6, by way of maximal ideals.

Where they part: $\mathbb{Z}[\sqrt{-5}]$

The ring $\mathbb{Z}[\sqrt{-5}] = \{a + b\sqrt{-5} : a, b \in \mathbb{Z}\}$ is a subring of $\mathbb{C}$, hence an integral domain. Write $s = \sqrt{-5}$, so $s^2 = -5$. It is a subring by the subring test: it contains 0, a difference $(a + bs) - (c + ds) = (a - c) + (b - d)s$ has integer coordinates, and so does a product $(a + bs)(c + ds) = (ac - 5bd) + (ad + bc)s$. The norm $N(a + bs) = a^2 + 5b^2$ is the square of the absolute value of the complex number $a + bs$. So it is multiplicative, $N(zw) = N(z)N(w)$, and a nonnegative integer. If $u$ is a unit, then $N(u)N(u^{-1}) = N(1) = 1$, so $N(u) = 1$. The equation $a^2 + 5b^2 = 1$ forces $b = 0$ and $a = \pm 1$, so the units are $1$ and $-1$.

The number 6 factors in two ways:

$$6 = 2 \cdot 3 = (1 + s)(1 - s).$$

The norms are $N(2) = 4$, $N(3) = 9$ and $N(1 \pm s) = 6$. A factorization $z = xy$ of a nonzero $z$ into two nonunits has $x, y \neq 0$, so $N(x)$ and $N(y)$ are positive. Neither is 1, because the elements of norm 1 are the units $\pm 1$. So both are greater than 1, with product $N(z)$. So a factorization of 2 would need an element of norm 2, and a factorization of 3 or of $1 \pm s$ an element of norm 2 or 3. But $a^2 + 5b^2$ is never 2 or 3: with $b \neq 0$ it is at least 5, and with $b = 0$ it is a perfect square. (The script lists the norms below 30: 0, 1, 4, 5, 6, 9, 14, ...) So 2, 3, $1 + s$ and $1 - s$ are all irreducible.

But 2 is not prime. It divides $(1 + s)(1 - s) = 6$. It divides neither factor, since $\tfrac12(1 \pm s)$ does not have integer coordinates. So $\mathbb{Z}[\sqrt{-5}]$ is not a principal ideal domain, and the ideal that shows it is the one the proof above would have used.

Proposition. The ideal $(2, 1 + s)$ of $\mathbb{Z}[\sqrt{-5}]$ is not principal.

The idea: a generator would divide both 2 and $1 + s$, so its norm would divide both 4 and 6, and no element has norm 2.

Proof. A general element of the ideal is

$$2(a + bs) + (1 + s)(c + ds) = (2a + c - 5d) + (2b + c + d)s,$$

and the difference of its two coordinates, $2a - 2b - 6d$, is even. So the element $1 = 1 + 0s$ is not in the ideal, and the ideal is proper. Suppose it equals $(z)$. Then $z$ divides 2 and $1 + s$, so $N(z)$ divides $N(2) = 4$ and $N(1 + s) = 6$, and hence divides 2. There is no element of norm 2, so $N(z) = 1$ and $z = \pm 1$, which would make the ideal the whole ring. $\blacksquare$

Example ($1 + s$ is not prime). The irreducible element $1 + s$ of $\mathbb{Z}[\sqrt{-5}]$ is not prime. It divides $2 \cdot 3$, since $2 \cdot 3 = 6 = (1 + s)(1 - s)$. If it divided 2 or 3, its norm 6 would divide $N(2) = 4$ or $N(3) = 9$, because the norm is multiplicative. So it divides the product and neither factor.

So in $\mathbb{Z}[\sqrt{-5}]$ factorization into irreducibles is not unique. The two factorizations of 6 are genuinely different, since no factor on one side is a unit multiple of a factor on the other. This failure is where ideals came from. Kummer worked with rings of complex numbers in which unique factorization fails. He restored it in 1846 by introducing "ideal complex numbers". Dedekind later replaced them by ideals in the present sense, and in 1871 generalized primes to prime ideals (O'Connor and Robertson, MacTutor). In $\mathbb{Z}[\sqrt{-5}]$ the ideals $(2, 1 + s)$, $(3, 1 + s)$ and $(3, 1 - s)$ are the "missing" common factors. For instance $(3, 1 + s)$ is also a proper ideal. A general element is $3(a + bs) + (1 + s)(c + ds) = (3a + c - 5d) + (3b + c + d)s$, and the difference of its coordinates, $3a - 3b - 6d$, is a multiple of 3. So every element $x + ys$ of the ideal has $x \equiv y \pmod 3$, as the script checks on a sample, and 1 is not in it. How the ideals of such rings factor into prime ideals belongs to algebraic number theory, beyond this course.

Summary

Ring Every ideal principal? Generator of a nonzero ideal
a field $F$ yes: only $\{0\}$ and $F$ 1
$\mathbb{Z}$ yes its least positive element
$F[x]$, $F$ a field yes its monic element of least degree
$\mathbb{Z}_n$ yes (not a domain unless $n$ is prime) $[d]$ for a divisor $d$ of $n$
$\mathbb{Z}[x]$ no: $(2, x^2 + x + 1)$
$\mathbb{Z}[\sqrt{-5}]$ no: $(2, 1 + \sqrt{-5})$

Worked problems

These problems are from the course's assignments on ideals and principal ideals and on ideals and congruence. Each is solved in full from the results of this article. Two further assigned items are in the body above. The definitions of the principal ideal $(a)$ and of the ideal $(a, b)$, for a commutative ring with identity, are the two displayed sets in "Ideals generated by elements". The proof that the combinations $r_1 a_1 + \cdots + r_n a_n$ form an ideal is the second theorem of that section.

Problem 1. List all the principal ideals of $\mathbb{Z}_{12}$, of $\mathbb{Z}_9$ and of $\mathbb{Z}_5$, and count them.

$\mathbb{Z}_{12}$ has six, $\mathbb{Z}_9$ has three and $\mathbb{Z}_5$ has two. In each ring these are all the ideals.

By the proposition on the ideals of $\mathbb{Z}_n$, every ideal of $\mathbb{Z}_n$ is $([d])$ for a positive divisor $d$ of $n$, different divisors give different ideals, and $([a]) = ([\gcd(a, n)])$ for every integer $a$. So the principal ideals are exactly the ideals $([d])$, one for each positive divisor of $n$, and the list below is complete. The ideal $([d])$ consists of the $n/d$ multiples of $d$ below $n$. The element $[a]$ generates $([d])$ exactly when $\gcd(a, n) = d$, which gives the last column. Brackets are dropped in the tables.

The divisors of 12 are 1, 2, 3, 4, 6 and 12.

$d$ the ideal $(d)$ of $\mathbb{Z}_{12}$ elements generated by
1 $\mathbb{Z}_{12}$ 12 1, 5, 7, 11
2 $\{0, 2, 4, 6, 8, 10\}$ 6 2, 10
3 $\{0, 3, 6, 9\}$ 4 3, 9
4 $\{0, 4, 8\}$ 3 4, 8
6 $\{0, 6\}$ 2 6
12 $\{0\}$ 1 0

The divisors of 9 are 1, 3 and 9.

$d$ the ideal $(d)$ of $\mathbb{Z}_9$ elements generated by
1 $\mathbb{Z}_9$ 9 1, 2, 4, 5, 7, 8
3 $\{0, 3, 6\}$ 3 3, 6
9 $\{0\}$ 1 0

The divisors of 5 are 1 and 5, so the ideals of $\mathbb{Z}_5$ are $(1) = \mathbb{Z}_5$, generated by each of 1, 2, 3 and 4, and $(0) = \{0\}$. That agrees with the proposition on ideals containing a unit: $\mathbb{Z}_5$ is a field, and a field has only the two trivial ideals.

The script confirms the three lists in two ways. It computes the set of multiples of each element, and it tests every subset of each ring with the ideal test. Both give 6, 3 and 2 ideals.

Problem 2. Let $R$ be a commutative ring with identity and $t \in R$. Then $t$ is a unit if and only if $tR = R$, where $tR = \{tr : r \in R\}$.

The set $tR$ is the principal ideal $(t)$, so this is part (2) of the proposition on generators that differ by a unit. That proof went through divisibility and inclusion of ideals. Here is a second, direct proof that uses only the definition of a unit, as the assignment asks.

Proof. Suppose $t$ is a unit, with inverse $t^{-1}$. Every product $tr$ lies in $R$, so $tR \subseteq R$. For any $s \in R$, $s = t(t^{-1}s)$ lies in $tR$, so $R \subseteq tR$. Conversely, suppose $tR = R$. Then $1 \in tR$, so $1 = tr$ for some $r \in R$. Since $R$ is commutative, $rt = tr = 1$ as well, so $t$ is a unit with inverse $r$. $\blacksquare$

Commutativity is used only in the last step. The proof also covers the zero ring, where $1 = 0$ and the only element, 0, is a unit with $0R = R$. In $\mathbb{Z}_{12}$ the statement is the first row of the table in Problem 1: the elements $t$ with $t\mathbb{Z}_{12} = \mathbb{Z}_{12}$ are the units 1, 5, 7 and 11.

Problem 3. Let $a$ and $b$ be integers, not both zero, and let $d = \gcd(a, b)$. Then $(a, b) = (d)$ as ideals of $\mathbb{Z}$.

Proof. Since $d$ divides $a$ and $b$, both are multiples of $d$, so $a \in (d)$ and $b \in (d)$. The ideal $(a, b)$ is contained in every ideal that contains $a$ and $b$, so $(a, b) \subseteq (d)$. By Bezout's identity (Divisibility and the Euclidean Algorithm) there are integers $u$ and $v$ with $d = au + bv$, so $d \in (a, b)$. The ideal $(d)$ is contained in every ideal that contains $d$, so $(d) \subseteq (a, b)$. $\blacksquare$

For example, $\gcd(12, 18) = 6 = 12 \cdot (-1) + 18 \cdot 1$, so $(12, 18) = (6)$: the integers $12r + 18s$ are exactly the multiples of 6. The excluded case is harmless. If $a = b = 0$, the ideal $(0, 0)$ is $\{0\} = (0)$, but 0 and 0 have no greatest common divisor, since every nonzero integer divides both.

Problem 4. Let $I$ be the set of polynomials in $\mathbb{Z}[x]$ whose constant term is even. Then $I = (2, x)$.

Proof. An element of $(2, x)$ is $2g(x) + x h(x)$ with $g, h \in \mathbb{Z}[x]$. The product $x h(x)$ has constant term 0, and $2g(x)$ has constant term twice that of $g$. So the constant term of the sum is even, and $(2, x) \subseteq I$. Conversely, let $f = a_0 + a_1 x + \cdots + a_n x^n$ lie in $I$, so $a_0 = 2k$ for an integer $k$. Then

$$f = 2 \cdot k + x \cdot (a_1 + a_2 x + \cdots + a_n x^{n-1}),$$

which is a combination of 2 and $x$ with coefficients in $\mathbb{Z}[x]$. If $f$ is a constant, the second coefficient is the zero polynomial. So $I \subseteq (2, x)$. $\blacksquare$

In particular $I$ is an ideal, since $(2, x)$ is one. For example $x^3 - 5x + 6 = 2 \cdot 3 + x(x^2 - 5)$. Like $J$, this ideal is not principal. Suppose $(2, x) = (d)$. Then $d$ divides 2. Degrees add in $\mathbb{Z}[x]$, so $d$ is a constant, one of $\pm 1$ and $\pm 2$. Also $d$ divides $x$, say $x = d \cdot e(x)$, and comparing the coefficients of $x$ shows that $d$ divides 1. So $d = \pm 1$ and $(d) = \mathbb{Z}[x]$. But 1 has an odd constant term, so $1 \notin I$, a contradiction.

Where it leads

  • The kernel of a homomorphism is always an ideal, and every ideal is a kernel. The first isomorphism theorem uses the ideals $(x^2 - 2)$ and $(2, x^2 + x + 1)$ of this article to identify quotient rings with familiar ones.
  • Groups have a counterpart: normal subgroups are the subgroups one can work modulo. The subgroups of a cyclic group are listed by divisors just as the ideals of $\mathbb{Z}_n$ are (Subgroups and Cyclic Groups).

What we have learned

An ideal is a subring that absorbs products with every element of the ring. Any list of elements generates one, the set of its combinations. In $\mathbb{Z}$, $F[x]$ and $\mathbb{Z}_n$ one generator always suffices, by the division algorithm, and $\mathbb{Z}_{45}$ has six ideals, one for each divisor of 45. In $\mathbb{Z}[x]$ the ideal $(2, x^2 + x + 1)$ needs two generators. In $\mathbb{Z}[\sqrt{-5}]$ so does $(2, 1 + \sqrt{-5})$, and 6 factors in two different ways.

Ideals were meant to be worked modulo. Two polynomials are congruent modulo $J = (2, x^2 + x + 1)$ when they differ by an element of $J$, and every polynomial is congruent to one of $0, 1, x, 1 + x$. The next article, Congruence Modulo an Ideal and Quotient Rings, shows that the classes form a ring, and builds the quotient ring $R/I$ for every ideal. It also classifies ideals by their quotients: prime ideals give integral domains, and maximal ideals give fields.

References

  • Hungerford, T. W. (2014). Abstract Algebra: An Introduction (3rd ed.), §6.1. Brooks/Cole, Cengage Learning. The course text: the definition of an ideal, the ideal test (Theorem 6.1), principal ideals in a commutative ring with identity (Theorem 6.2) and finitely generated ideals (Theorem 6.3). record · 44 pages
  • Judson, T. W. (2026). Abstract Algebra: Theory and Applications (annual edition, August 2026). Free online at judsonbooks.org. §16.3: ideals, two-sided ideals (Remark 16.3.9), principal ideals (Example 16.3.5), every ideal of $\mathbb{Z}$ is principal (Theorem 16.3.6); §17.3.1: every ideal of $F[x]$ is principal (Theorem 17.3.10), the ideal $(x, y)$ of $F[x, y]$ (Example 17.3.11); §18.2: irreducible and prime elements, associates, Lemma 18.2.4 on divisibility and principal ideals, Corollary 18.2.6 (irreducible implies prime in a principal ideal domain), Euclidean domains and the Gaussian integers (§18.2.2, Example 18.2.13). record · 44 pages
  • O'Connor, J. J., and Robertson, E. F. The development of Ring Theory. MacTutor History of Mathematics Archive, University of St Andrews. Kummer's "ideal complex numbers" (1846) restoring unique factorization, Dedekind's ideals, and his prime ideals (1871). record

Reviewed: verified, 16 Nov 2026 · editorial review, 23 Nov 2026 · 7 revisions