Folioby Interconnected
Log InSign Up

Introduction to Algebraic Integers — Extending the Notion of Integer

Using the Gaussian integers Z[i] and the Eisenstein integers Z[omega] as concrete examples, we introduce rings of algebraic integers. We demonstrate the failure of unique factorization in Z[sqrt(-5)] and show how ideals and prime ideal factorization restore uniqueness. We define the class number and discuss its significance.

FO
Folio Official
March 1, 2026

1 The Gaussian Integers

Definition 1 (Gaussian integers).
The ring of Gaussian integers is Z[i]={a+bi∣a,b∈Z}, where i=−1​.
Definition 2 (Norm).
The norm of a Gaussian integer α=a+bi is N(α)=a2+b2=ααˉ, where αˉ=a−bi.
Theorem 3 (Multiplicativity of the norm).
N(αβ)=N(α)N(β).
Proof.
N(αβ)=αβαβ​=αβαˉβˉ​=(ααˉ)(ββˉ​)=N(α)N(β). □
Theorem 4 (Z[i] is a Euclidean domain).
Z[i] is a Euclidean domain with respect to the norm N. That is, for any α,β∈Z[i] with β=0, there exist γ,ρ∈Z[i] such that α=βγ+ρ and N(ρ)<N(β).
Proof.
Write α/β=x+yi with x,y∈Q. Choose integers m,n with ∣x−m∣≤1/2 and ∣y−n∣≤1/2, and set γ=m+ni. Then ρ=α−βγ satisfies N(ρ)=N(β)N(α/β−γ)=N(β)((x−m)2+(y−n)2)≤N(β)(1/4+1/4)=N(β)/2<N(β). □
Corollary 5.
Z[i] is a unique factorization domain (UFD).
Theorem 6 (Classification of Gaussian primes).
The primes (irreducible elements) of Z[i], up to multiplication by units {±1,±i}, fall into three types:
  1. 1+i (corresponding to the rational prime 2, since N(1+i)=2).

  2. a+bi where N(a+bi)=p for a rational prime p≡1(mod4).

  3. p, where p is a rational prime with p≡3(mod4).

2 The Eisenstein Integers

Definition 7 (Eisenstein integers).
Let ω=e2πi/3=(−1+−3​)/2. The ring of Eisenstein integers is Z[ω]={a+bω∣a,b∈Z}, with norm N(a+bω)=a2−ab+b2.
Theorem 8.
Z[ω] is a Euclidean domain and hence a UFD.
Remark 9.
The Eisenstein integers play an essential role in the proof of Fermat's last theorem for the exponent n=3 (showing that x3+y3=z3 has no nontrivial integer solutions).

3 The Failure of Unique Factorization

Theorem 10.
Z[−5​] is not a UFD.
Proof.
Consider the norm N(a+b−5​)=a2+5b2 on Z[−5​]. We have
6=2⋅3=(1+−5​)(1−−5​).
The norms are N(2)=4, N(3)=9, N(1±−5​)=6. There is no α=a+b−5​ with N(α)=2 (the equation a2+5b2=2 has no integer solutions), and similarly none with N(α)=3. Therefore 2, 3, 1+−5​, and 1−−5​ are all irreducible. Since 2 and 1+−5​ are not associates (their norms differ), the integer 6 admits two essentially distinct irreducible factorizations. □

4 Ideals and Prime Ideal Factorization

Definition 11 (Ideal).
A nonempty subset I of a ring R is an ideal if a−b∈I for all a,b∈I and ra∈I for all r∈R, a∈I.
Theorem 12 (Dedekind's theorem).
Every nonzero ideal of the ring of integers OK​ of an algebraic number field K can be written uniquely (up to the order of the factors) as a product of prime ideals.
Remark 13.
Dedekind's theorem guarantees that even when unique factorization of elements fails, unique factorization of ideals still holds. In Z[−5​], although 6 does not factor uniquely into irreducible elements, at the level of ideals we have (6)=(2,1+−5​)2(3,1+−5​)(3,1−−5​), which is the unique prime ideal factorization.
Example 14.
In Z[−5​]: (2)=p2 where p=(2,1+−5​), and (3)=qqˉ​ where q=(3,1+−5​).

5 The Class Number

Definition 15 (Ideal class group and class number).
Let IK​ denote the group of fractional ideals of OK​ and PK​ the subgroup of principal fractional ideals. The quotient group Cl(K)=IK​/PK​ is called the ideal class group, and its order hK​=∣Cl(K)∣ is the class number.
Theorem 16.
OK​ is a UFD if and only if hK​=1.
Proof.
If hK​=1, then every ideal is principal, making OK​ a principal ideal domain (PID). Every PID is a UFD (by a standard argument). Conversely, if OK​ is a UFD, then every ideal is principal (this follows from properties of irreducible elements), so hK​=1. □
Example 17.
hQ(i)​=1 (so Z[i] is a UFD), while hQ(−5​)​=2 (so Z[−5​] is not a UFD). The imaginary quadratic fields Q(d​) (d<0) with class number 1 are finite in number: they correspond to d=−1,−2,−3,−7,−11,−19,−43,−67,−163, a total of nine (by the theorem of Heegner–Stark–Baker).
Remark 18.
The class number is an important invariant that measures how far the ring of integers deviates from unique factorization. One can prove that the class number is always finite using the Minkowski bound, and concrete computations rely on the relationship between the discriminant of the field and the norms of ideals.
Number TheoryAlgebraTextbookAlgebraic IntegersIdeals
FO
Folio Official

Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.

1 followers·107 articles
Number Theory TextbookPart 13 of 13
Previous
$p$-adic Valuations and an Introduction to Local Methods — Viewing Integers One Prime at a Time
No next article

Share your expertise with the world

Write articles with LaTeX support, build your audience, and earn from your knowledge.

Start Writing — It's Free

More from Folio Official

Folio Official·March 1, 2026

Arithmetic Functions and Multiplicative Functions — Functions on the Integers

We systematically define the principal multiplicative functions (phi, sigma, mu, d), develop the ring structure of Dirichlet convolution, and give a rigorous proof of the Moebius inversion formula. We also clarify the connection to the inclusion-exclusion principle.

Number TheoryAlgebraTextbook
Folio Official·March 1, 2026

Primes and the Fundamental Theorem of Arithmetic — The Atomic Decomposition of Integers

We define prime numbers and establish their basic properties, including Euclid's proof of the infinitude of primes. We then give a rigorous proof of the fundamental theorem of arithmetic (existence and uniqueness of prime factorization), and discuss the sieve of Eratosthenes and the Miller--Rabin primality test.

Number TheoryAlgebraTextbook
Folio Official·March 1, 2026

Chebyshev's Estimates: 0.92 x/ln x < π(x) < 1.11 x/ln x and the Prime Number Theorem

Chebyshev proved that 0.92 x/ln x < π(x) < 1.11 x/ln x for sufficiently large x. This article gives a complete proof via binomial coefficients and the Chebyshev functions θ(x) and ψ(x), then traces the path to the prime number theorem π(x) ~ x/ln x.

Number TheoryAlgebraTextbook
Folio Official·March 1, 2026

Continued Fractions and Diophantine Approximation — The Theory of Rational Approximation

We define finite and infinite continued fractions, prove convergence, and rigorously establish the properties of convergents. We develop the theory of best rational approximations, solve the Pell equation x^2 - Dy^2 = 1 via continued fractions, and discuss the Stern--Brocot tree.

Number TheoryAlgebraTextbook