← LibraryAlgebraic Numbers and Number FieldsEngineering · MathematicsLesson 1/7← PrevNext →
GuidePublished 6 Aug 20265 min readBy Kevin JoginComputational Number TheoryNumber Fields IAlgebraic NumberNumber Field
Skip to the main content

MathematicsNumber Fields I

Algebraic Numbers and Number Fields

The objects the whole subject is about: finite extensions of ℚ, their embeddings, and the signature that controls almost every later invariant.

Executive summary

A number field is a defining polynomial plus everything that follows from it

A number field is a finite extension of ℚ, and by the primitive element theorem it is always ℚ(θ) for a single algebraic number θ. Computationally the field is the minimal polynomial of θ, and every subsequent computation — integral basis, ideals, class group, units — is derived from it. The degree, the signature and the discriminant are the three coarse invariants that shape everything that follows.

Learning objectives

  • Define algebraic numbers and algebraic integers and distinguish them.
  • State the primitive element theorem and its computational significance.
  • Compute the real and complex embeddings of a number field.
  • Explain how the signature determines the rank of the unit group.
  • Recognise that a field has many defining polynomials and why the choice matters.

Section 01Algebraic numbers and integers

An algebraic number is a root of a non-zero polynomial with rational coefficients; an algebraic integer is a root of a monic polynomial with integer coefficients. The minimal polynomial is the monic generator of the ideal of polynomials vanishing at α, and it is irreducible.

Fact 1Algebraic numbers form a field

Sums, products and inverses of algebraic numbers are algebraic. The degree of the result is bounded by the product of the degrees, and is computed via resultants.

Fact 2Algebraic integers form a ring

Closed under addition and multiplication but not inversion. The algebraic integers inside a number field K form the ring of integers ℤK.

The rational test

An algebraic integer that is rational is an ordinary integer. This apparently modest fact is used constantly: it is why norms and traces of algebraic integers are in ℤ, and why an element of ℤK with rational norm ±1 is a unit.

Section 02Number fields and the primitive element theorem

A number field K is a field containing ℚ that is finite-dimensional as a ℚ-vector space. That dimension is the degree n = [K : ℚ]. Since characteristic zero fields are separable, the primitive element theorem applies: there is a single θ with K = ℚ(θ).

K ≅ ℚ[x] / (T(x)),    T irreducible of degree n

Every element is then a polynomial in θ of degree below n with rational coefficients — a vector of n rationals. This is the fundamental data structure of the entire subject.

The defining polynomial is not canonical

The same field has infinitely many defining polynomials, and they differ enormously in usefulness. A polynomial with large coefficients makes every subsequent computation more expensive and can make the integral basis computation intractable. Reducing the defining polynomial — finding a small equivalent one by LLL on the ring of integers — is a standard preprocessing step, not an optional polish.

Section 03Embeddings and the signature

A number field of degree n has exactly n embeddings into ℂ, one for each complex root of the defining polynomial. Those landing in ℝ are the real embeddings; the remainder come in conjugate pairs.

n = r1 + 2r2,    signature (r1, r2)
What the signature controls
QuantityDepends on signature how
Unit rankr1 + r2 − 1, by Dirichlet's theorem
Sign of the discriminantNegative exactly when r2 is odd
Roots of unityOnly ±1 when r1 > 0
RegulatorDefined as a determinant of size r1 + r2 − 1
Minkowski boundIncludes the factor (4/π)r2
Class number formulaResidue involves 2r1 (2π)r2
Example

Imaginary quadratic

Signature (0, 1). Unit rank 0 — the unit group is finite, which is why these fields are the easy case for class group computation.

Example

Real quadratic

Signature (2, 0). Unit rank 1 — a single fundamental unit, whose logarithm is the regulator, computed classically by continued fractions.

Example

Cyclotomic field of p-th roots

Signature (0, (p−1)/2) for odd prime p. Totally complex, with unit rank (p−3)/2.

Section 04Computational representation

  1. Stage 01Defining polynomialA monic irreducible T ∈ ℤ[x], preferably with small coefficients.
  2. Stage 02Root approximationsAll n complex roots to certified precision, giving the embeddings.
  3. Stage 03Integral basisA ℤ-basis of ℤK, expressed as rational combinations of powers of θ with a common denominator.
  4. Stage 04Multiplication tableProducts of basis elements in terms of the basis — enabling all ring arithmetic as matrix operations.
Two coordinate systems, always

Elements are held either as polynomials in θ over ℚ, or as integer vectors against the integral basis. The first is natural for field arithmetic, the second for ideal and module work. Confusing them is the single most common bug in number field code, so the coordinate system should be part of the type, not a convention.

ReferenceFrequently asked questions

Is every number field a subfield of the complex numbers?

Abstractly a number field is a field extension, but it has n distinct embeddings into ℂ and no canonical one. Fixing an embedding is a choice, and it matters: statements about positivity or about the size of an element are meaningful only relative to a chosen embedding.

Why reduce the defining polynomial?

Because coefficient size propagates. A defining polynomial with hundred-digit coefficients produces an integral basis with hundred-digit denominators, ideals with huge Hermite normal forms, and a class group computation that may not finish. Reduction is cheap relative to what it saves.

How do I tell whether two defining polynomials give the same field?

Test whether each has a root in the field defined by the other, by factoring one polynomial over the other's field. If both directions succeed the fields are isomorphic, and the factorisation supplies the isomorphism explicitly.

NavigateContinue in this stream

Curated next steps from this page. The site also surfaces algorithmically related reading below.

ProvenanceSources and further reading

This page is an original KEVOS explanatory article. It presents the underlying mathematics — definitions, algorithms, complexity results and selection criteria — in KEVOS editorial voice. No text is reproduced from any copyrighted source. Where numerical tables are relevant, KEVOS links to live authoritative databases rather than republishing static values.

Page ID
KV-MATH-0024
Taxonomy
ENG-MATH — Engineering / Mathematics
Collection
COL-CANT-001
Topic stream
CANT-NUMBER-FIELDS
Version
1.1.0 / content 2026.08
Last reviewed
2026-08-06

Continue learning

NEXT LESSON →Representing Algebraic NumbersGuide · MathematicsTrace, Norm and the Characteristic PolynomialGuide · MathematicsDiscriminants and Integral BasesGuide · MathematicsOrders and Ideals in Number FieldsGuide · Mathematics