← LibraryRepresenting Algebraic NumbersEngineering · MathematicsLesson 2/7← PrevNext →
GuidePublished 6 Aug 20264 min readBy Kevin JoginComputational Number TheoryNumber Fields IAlgebraic Number RepresentationRegular Representation
Skip to the main content

MathematicsNumber Fields I

Representing Algebraic Numbers

Four representations of the same element, each efficient for a different operation — and the conversions between them.

Executive summary

Choose the representation that makes the dominant operation cheap

An element of a number field can be held as a polynomial in θ, as the matrix of multiplication by that element, as the vector of its images under all embeddings, or as its minimal polynomial. Multiplication is cheapest in the conjugate representation, trace and norm fall out of the matrix representation, and exactness lives in the standard representation. Practical systems keep more than one and convert as needed.

Learning objectives

  • Describe each of the four representations and its natural operations.
  • Convert between representations and state the cost of each conversion.
  • Choose a representation for a given computational profile.
  • Explain why the minimal polynomial is not a complete representation.

Section 01The four representations

Representations of an element of a number field of degree n
RepresentationDataCheap operationsExpensive operations
StandardRational vector of coefficients against 1, θ, …, θn−1Addition, scalar multiplication, exactnessMultiplication needs reduction modulo T; inversion needs extended GCD
Matrix (regular)n×n rational matrix of multiplication by αTrace, norm, characteristic polynomial, inversionn2 storage; multiplication is matrix multiplication
Conjugate vectorThe n complex values σi(α)Multiplication and division are componentwiseNot exact; addition is fine but recovery of exact coefficients needs precision
Minimal polynomialThe monic irreducible polynomial of αDegree, conjugates, algebraic identityDoes not identify which root — incomplete on its own
The minimal polynomial is not enough

Two distinct elements of the same field — for instance √2 and −√2 — share a minimal polynomial. It identifies an element only up to conjugacy, so it must be paired with a root selection (a numerical approximation, or an expression in θ) to specify the element.

Section 02The regular representation

Multiplication by α is a ℚ-linear map on K. Its matrix Mα against a chosen basis is the regular representation, and it converts field questions into linear algebra.

Tr(α) = tr(Mα),    N(α) = det(Mα),    χα(x) = det(xIMα)

The map α ↦ Mα is a ring homomorphism, so products and inverses correspond to matrix products and inverses. Inversion in particular is just a linear solve, which is often more convenient than the extended Euclidean algorithm on polynomials.

Characteristic polynomial versus minimal polynomial

The characteristic polynomial of Mα is the minimal polynomial raised to the power [K : ℚ(α)]. They coincide exactly when α generates the whole field — which is the test for whether α is a primitive element.

Section 03Conversions

AlgorithmStandard to matrix representationin: α in standard form  →  out: the n×n regular matrix
  1. For j = 0, …, n−1, compute α · θj as a polynomial in θ.
  2. Reduce each product modulo the defining polynomial T. This is the only step that needs polynomial arithmetic.
  3. Write each reduced product as a coefficient vector; these vectors are the columns of Mα.
  4. Return Mα.
Cost O(n2) coefficient operations once the powers of θ modulo T are precomputed — and they should be, since every element in the field needs them.
Conversion costs
FromToCostMethod
StandardMatrixO(n2)Multiply by each basis element and reduce
MatrixStandardO(n)Read the first column
StandardConjugateO(n2) evaluationsEvaluate at each root
ConjugateStandardO(n2) plus precisionInterpolate, then round — requires certified precision
StandardMinimal polynomialO(n3)Characteristic polynomial of the matrix, then remove repeated factors

Section 04Choosing a representation

  • What dominates the computation?
    • Ring arithmetic on integers Integral basis coordinates — integer vectors, exact, and directly compatible with Hermite normal form.
    • Many multiplications Conjugate vectors — componentwise, but only with a certified precision budget and an exact recovery step.
    • Traces and norms Matrix representation — both are single linear algebra operations.
    • Field membership and identity Standard representation — exact comparison of rational vectors.
Keep the exact form authoritative

Where a numerical representation is used for speed, the exact standard or integral-basis form should remain the source of truth, with the numerical form treated as a cache. Any result derived numerically must be confirmed exactly before it is recorded.

ReferenceFrequently asked questions

Why not always use the matrix representation?

Because it costs n² storage per element rather than n, and multiplication becomes matrix multiplication. It is the right choice when traces, norms or inverses dominate, and the wrong one when many elements must simply be stored and added.

How much precision do conjugate vectors need?

Enough that the exact coefficients can be recovered by rounding after interpolation. That depends on the size of the coefficients and on the conditioning of the root set, so the precision must be derived from an explicit bound rather than fixed in advance.

Can an element be represented against the integral basis instead of powers of theta?

Yes, and for algebraic integers it should be — the coordinates are then integers rather than rationals with a common denominator. All ideal and module arithmetic uses this representation.

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-0025
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

Algebraic Numbers and Number FieldsGuide · MathematicsNEXT LESSON →Trace, Norm and the Characteristic PolynomialGuide · MathematicsDiscriminants and Integral BasesGuide · MathematicsOrders and Ideals in Number FieldsGuide · Mathematics