Skip to content

Ring of Integers

In ordinary arithmetic, the integers

Integers Inside a Number Field

In ordinary arithmetic, the integers

Z \mathbb{Z}

form the fundamental arithmetic structure inside the rational numbers Q\mathbb{Q}.

For a number field KK, the analogous object is its ring of integers, denoted

OK. \mathcal O_K.

The ring of integers consists of all algebraic integers contained in KK:

OK={αK:α is an algebraic integer}. \mathcal O_K = \{\alpha\in K:\alpha \text{ is an algebraic integer}\}.

This ring generalizes ordinary integers to arbitrary number fields and becomes the central arithmetic object in algebraic number theory.

First Examples

Rational Numbers

For the rational field,

K=Q, K=\mathbb{Q},

the algebraic integers are exactly the ordinary integers. Hence

OQ=Z. \mathcal O_{\mathbb{Q}}=\mathbb{Z}.

Thus the classical integers appear as the simplest example.

Gaussian Integers

Consider

K=Q(i). K=\mathbb{Q}(i).

Every element has the form

a+bi,a,bQ. a+bi, \qquad a,b\in\mathbb{Q}.

The algebraic integers in this field are exactly those with integer coefficients:

OQ(i)=Z[i]. \mathcal O_{\mathbb{Q}(i)} = \mathbb{Z}[i].

These are called the Gaussian integers.

Quadratic Field Q(5)\mathbb{Q}(\sqrt5)

Now consider

K=Q(5). K=\mathbb{Q}(\sqrt5).

The element

1+52 \frac{1+\sqrt5}{2}

satisfies

x2x1=0, x^2-x-1=0,

so it is an algebraic integer.

Therefore the ring of integers is larger than

Z[5]. \mathbb{Z}[\sqrt5].

In fact,

OQ(5)=Z[1+52]. \mathcal O_{\mathbb{Q}(\sqrt5)} = \mathbb{Z}\left[\frac{1+\sqrt5}{2}\right].

This example shows that the arithmetic structure of a number field may be subtler than expected.

Characterization in Quadratic Fields

Let

K=Q(d), K=\mathbb{Q}(\sqrt d),

where dd is squarefree.

Then:

  • if
d2,3(mod4), d\equiv2,3\pmod4,

we have

OK=Z[d], \mathcal O_K=\mathbb{Z}[\sqrt d],
  • if
d1(mod4), d\equiv1\pmod4,

then

OK=Z[1+d2]. \mathcal O_K = \mathbb{Z}\left[\frac{1+\sqrt d}{2}\right].

This classification completely describes the rings of integers in quadratic fields.

Ring Structure

The ring of integers is indeed a ring.

If

α,βOK, \alpha,\beta\in\mathcal O_K,

then

α+β,αβ,αβ \alpha+\beta, \qquad \alpha-\beta, \qquad \alpha\beta

also belong to OK\mathcal O_K.

Thus arithmetic operations remain inside the ring.

However, division need not remain inside OK\mathcal O_K. For example,

12Z. \frac12\notin\mathbb{Z}.

Similarly, rings of integers are not fields. They behave like generalized integer systems rather than generalized rational systems.

Integral Bases

The ring OK\mathcal O_K is a free abelian group of rank

[K:Q]. [K:\mathbb{Q}].

Thus there exist algebraic integers

ω1,ω2,,ωn \omega_1,\omega_2,\dots,\omega_n

such that every element of OK\mathcal O_K can be written uniquely as

a1ω1++anωn,aiZ. a_1\omega_1+\cdots+a_n\omega_n, \qquad a_i\in\mathbb{Z}.

Such a set is called an integral basis.

For example:

  • in
Q(i), \mathbb{Q}(i),

an integral basis is

{1,i}, \{1,i\},
  • in
Q(5), \mathbb{Q}(\sqrt5),

an integral basis is

{1,1+52}. \left\{ 1, \frac{1+\sqrt5}{2} \right\}.

Integral bases generalize the role of 11 in ordinary integer arithmetic.

Norm and Trace on the Ring of Integers

If

αOK, \alpha\in\mathcal O_K,

then its norm and trace are ordinary integers.

For example, in a quadratic field,

α=a+bd, \alpha=a+b\sqrt d,

the norm is

N(α)=a2db2, N(\alpha)=a^2-db^2,

and the trace is

Tr(α)=2a. \operatorname{Tr}(\alpha)=2a.

These quantities control divisibility, units, and factorization properties.

The norm is multiplicative:

N(αβ)=N(α)N(β). N(\alpha\beta)=N(\alpha)N(\beta).

This property is fundamental throughout algebraic number theory.

Units

An element

uOK u\in\mathcal O_K

is called a unit if it has a multiplicative inverse inside OK\mathcal O_K.

Equivalently,

u u

is a unit precisely when

N(u)=±1. N(u)=\pm1.

For example, in the Gaussian integers,

±1,±i \pm1,\pm i

are exactly the units.

In real quadratic fields, infinitely many units may exist. Pell equations are closely related to these units.

For instance, in

Q(2), \mathbb{Q}(\sqrt2),

the element

3+22 3+2\sqrt2

has norm 11 and generates infinitely many units through its powers.

Failure of Unique Factorization

The ordinary integers satisfy unique factorization into primes.

Rings of integers need not.

A famous example occurs in

Z[5], \mathbb{Z}[\sqrt{-5}],

where

6=23=(1+5)(15). 6=2\cdot3=(1+\sqrt{-5})(1-\sqrt{-5}).

These factorizations are genuinely different and cannot be transformed into one another using units.

Thus unique factorization fails.

This failure motivated the introduction of ideals, which restore a generalized form of unique factorization.

Ideals and Arithmetic

Although elements may factor nonuniquely, ideals in OK\mathcal O_K factor uniquely into prime ideals.

This insight, developed by entity[“people”,“Richard Dedekind”,“German mathematician”], became one of the central ideas of algebraic number theory.

The ring of integers therefore serves as the natural setting for ideal arithmetic.

Geometric Interpretation

Through embeddings into R\mathbb{R} or C\mathbb{C}, the ring of integers forms a lattice in Euclidean space.

For example:

  • Z[i]\mathbb{Z}[i] forms the square lattice in the complex plane,
  • Eisenstein integers form a hexagonal lattice.

This geometric viewpoint leads to Minkowski theory and the geometry of numbers.

Arithmetic questions about divisibility become geometric questions about lattice points.

Central Role in Number Theory

The ring of integers is the arithmetic core of a number field.

Inside it one studies:

  • divisibility,
  • units,
  • primes,
  • ideals,
  • class groups,
  • ramification,
  • zeta functions.

Many classical problems become clearer only after passing from ordinary integers to rings of integers in suitable number fields.

Thus the ring of integers generalizes the familiar arithmetic of Z\mathbb{Z} into broader algebraic settings while preserving deep structural properties.