Skip to content

Orders and Algebraic Integers ​

Quadratic Integers works in one ring per field: Od\mathcal{O}_d, all of Q(d)\mathbb{Q}(\sqrt d)'s integers. A field has other rings with the same fraction field, its orders, and fields of higher degree have rings of integers that no single generator reaches. This page goes through both.

Orders ​

An order of a number field KK is a subring that is a lattice of full rank: finitely generated over Z\mathbb{Z}, spanning KK over Q\mathbb{Q}. Every order lies inside the ring of integers OK\mathcal{O}_K, the maximal order. In a quadratic field each order is Z+f OK\mathbb{Z} + f\,\mathcal{O}_K for one conductor ff, and is named by its discriminant D=f2DKD = f^2 D_K: QuadraticOrder(D). The ring Z[−3]\mathbb{Z}[\sqrt{-3}] is the order of conductor 2 in Z[ω]\mathbb{Z}[\omega]:

An order shares its field's arithmetic away from the conductor, and loses it at the conductor. In Z[ω]\mathbb{Z}[\omega] the prime 2 is inert, and so prime:

In Z[−3]\mathbb{Z}[\sqrt{-3}] it is not, though nothing smaller divides it: it divides (1+−3)(1−−3)=4(1 + \sqrt{-3})(1 - \sqrt{-3}) = 4 without dividing either factor.

So 4 has two factorizations into irreducibles, 2⋅22 \cdot 2 and (1+−3)(1−−3)(1 + \sqrt{-3})(1 - \sqrt{-3}). An order of conductor f>1f > 1 is never integrally closed, and never factors uniquely. The units shrink too: Z[ω]\mathbb{Z}[\omega] has six, Z[−3]\mathbb{Z}[\sqrt{-3}] only ±1\pm 1.

Past degree two ​

A number field of degree nn is Q(θ)\mathbb{Q}(\theta) for θ\theta a root of an irreducible polynomial of degree nn, the minimal polynomial. The number θ\theta can be a radical, ii, the golden ratio, or a root named by its polynomial, PolynomialRoot(p, k) (Wolfram's Root):

The field's real and complex embeddings are its signature (r1,r2)(r_1, r_2), with r1+2r2=nr_1 + 2r_2 = n. Q(23)\mathbb{Q}(\sqrt[3]{2}) has one real cube root of 2 and a complex pair:

By Dirichlet's unit theorem the units of OK\mathcal{O}_K have rank r1+r2−1r_1 + r_2 - 1. That rank is 1 here, as in a real quadratic field.

When ℤ[θ] is not enough ​

Z[θ]\mathbb{Z}[\theta] is always an order, AlgebraicOrder(θ). It need not be the maximal one. In Q(193)\mathbb{Q}(\sqrt[3]{19}), the number

1+θ+θ23,θ=193,\frac{1 + \theta + \theta^2}{3}, \qquad \theta = \sqrt[3]{19},

is an algebraic integer, though its coordinates aren't integers:

The ring of integers comes with a basis, written on θ\theta's powers as Wolfram writes it:

The index [OK:Z[θ]][\mathcal{O}_K : \mathbb{Z}[\theta]] is 3 here. The discriminants differ by its square: disc(x3−19)=−27⋅192\mathrm{disc}(x^3 - 19) = -27 \cdot 19^2, and the field's is a ninth of that:

How the ring of integers is found: an order O\mathcal{O} fails to be maximal at a prime pp exactly when some element of 1pO\frac1p\mathcal{O} outside O\mathcal{O} is integral. Only primes with p2p^2 dividing the discriminant can fail. So Z[θ]\mathbb{Z}[\theta] is enlarged at each such pp, one integral element at a time, until none is left.

Dedekind's cubic ​

Some fields have no θ\theta with Z[θ]=OK\mathbb{Z}[\theta] = \mathcal{O}_K at all. Dedekind's example is the field of a root of x3−x2−2x−8x^3 - x^2 - 2x - 8. Its ring of integers is Z+Zθ+Zθ+θ22\mathbb{Z} + \mathbb{Z}\theta + \mathbb{Z}\frac{\theta + \theta^2}{2}:

The reason is the prime 2. It splits into three distinct primes, each of norm 2, so OK/2OK≅F23\mathcal{O}_K/2\mathcal{O}_K \cong \mathbb{F}_2^3. In a ring Z[α]\mathbb{Z}[\alpha] that would need α\alpha's minimal polynomial to have three distinct roots mod 2, and F2\mathbb{F}_2 has only two elements. So 2 is far from prime:

while 3, where x3−x2−2x−8x^3 - x^2 - 2x - 8 stays irreducible, is inert:

Primality here is that of the ideal: (α)(\alpha) is prime when O/(α)\mathcal{O}/(\alpha) is a field. With ∣N(α)∣=pf|N(\alpha)| = p^f that comes down to linear algebra over Fp\mathbb{F}_p. pp must lie in (α)(\alpha), and Frobenius x↦xpx \mapsto x^p must be injective on the quotient and fix only Fp\mathbb{F}_p. The same test works in any order, at the conductor too.

What's not here yet ​

Class groups and units in degree 3 and up, and fields given by two generators (2+3\sqrt 2 + \sqrt 3), stay unevaluated for now. So does any polynomial whose irreducibility no prime certifies: x4+1x^4 + 1 splits mod every prime, though not over Q\mathbb{Q}.