← LibraryThe Standard Representation of Algebraic NumbersEngineering · MathematicsLesson 278/385← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Joginstandard representationpower basisintegral basiscoefficient vector

Number Fields and Algebraic Numbers

The Standard Representation of Algebraic Numbers

Representing field elements as coefficient vectors relative to a power basis or integral basis, with a common denominator.

Engineering / MathematicsNumber Fields and Algebraic Numbers2 min readKV-MATH-0575

The standard representation writes a field element as a polynomial in the generator, stored as a coefficient vector with a common denominator. It is compact, exact, and the default for almost all computation.

The representation

a = (1/d) sum from i=0 to n-1 of a_i w_i, a_i, d integersThe w_i are a fixed basis; d is a positive common denominator.
Power basis
Powers of the generator. Natural and immediate from the presentation, but generally not a basis of the maximal order.
Integral basis
A basis of the maximal order. Required for ideal arithmetic and for anything involving integrality.
Denominator
Kept in lowest terms. Its growth is the main hygiene concern.

Operations

Operations in the standard representation
OperationMethodCost
AdditionClear to a common denominator, add coefficientwiseO(n) plus a denominator GCD
MultiplicationPolynomial product, reduce modulo the defining polynomialO(n^2)
InversionExtended Euclidean against the defining polynomialOne polynomial GCD
EqualityCompare after reducing denominators to lowest termsO(n)

Denominator hygiene

Multiplication in detail

Multiplication in the power basis is a polynomial product followed by reduction modulo the defining polynomial. Precomputing the reduction of each power from degree n up to 2n - 2 turns the reduction into a fixed linear combination.

Integrality testing

An element is an algebraic integer exactly when its coordinates relative to an integral basis are integers — that is, when the denominator is one. Relative to a power basis, no such simple test exists, which is a principal reason integral bases are computed.

Relation to other representations

The standard representation is exact and compact but hides analytic information. Sizes and signs require the conjugate vector representation; traces, norms and characteristic polynomials are most easily obtained from the matrix representation.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 4.2.2. Structural reference unverified: the source file was not available during authoring; chapter and section numbers are taken from the published edition and have not been checked against a physical copy.

Continue learning

Number Fields: Definition and Basic PropertiesArticle · MathematicsNEXT LESSON →The Matrix (Regular) Representation of Algebraic NumbersArticle · MathematicsAlgebraic Numbers and Minimal PolynomialsArticle · MathematicsThe Conjugate Vector RepresentationArticle · Mathematics