KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesPolynomial Representation and StorageEngineering · Engineering MathematicsLesson 756/884← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Joginpolynomial representationdensesparsecoefficient domain
On this page

Ask about this page

KEVOS AIPolynomial Representation and Storage

KEVOS knowledge first · trusted web sources when needed

Polynomial Arithmetic and GCD

Polynomial Representation and Storage

Dense and sparse polynomial representations, coefficient domains, and the normalisation invariants every implementation must maintain.

Engineering / MathematicsPolynomial Arithmetic and GCD2 min readKV-MATH-0554

Polynomials are the second substrate of this subject, after integers. A number field is a quotient of a polynomial ring, prime decomposition is polynomial factorisation modulo a prime, and resultants drive discriminant computation.

Dense and sparse

Polynomial representations
RepresentationStorageSuits
Dense array of coefficientsProportional to the degreeAlmost everything in this collection
Sparse list of exponent-coefficient pairsProportional to the number of termsVery high degree with few terms

Key point

Dense representation is correct for nearly all work here. Defining polynomials of number fields have degree in the tens, and factorisation algorithms produce dense intermediates even from sparse input, so sparse storage rarely pays.

Coefficient domains

Over a finite field
Coefficients do not grow. Costs are honest operation counts. This is the friendly case.
Over the integers
Coefficients grow during GCD and elimination, exactly as matrix entries do. The dominant practical concern.
Over the rationals
Almost always cleared to integers first by multiplying through by the common denominator.
Over a number field
Coefficients are themselves algebraic numbers with their own representation. Costs compound.

Normalisation invariants

  • The leading coefficient is non-zero, so the degree is unambiguous.
  • The zero polynomial has a canonical form and a conventional degree, usually negative infinity or minus one.
  • Over a field, polynomials are often kept monic; over the integers, primitive with positive leading coefficient.

Pitfall

Trailing zero coefficients left in the array after a subtraction are the classic bug. Degree queries then return the wrong answer, and every subsequent division or GCD step is corrupted. Trim after every operation that can cancel.

Cost baseline

Baseline polynomial costs
OperationCost in coefficient operations
Addition, subtractionO(max degree)
MultiplicationO(d_1 d_2) schoolbook
Division with remainderO(d_1 - d_2 + 1) times d_2
Evaluation at a pointO(d) by Horner
GCD over a fieldO(d^2)

The structural parallel with integers runs deep and is worth keeping in view: representation, division, GCD, and even the fast multiplication methods all mirror the integer case. See multiprecision representation.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 3.1.1. 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.

Related pages

  • Finite Field Element Representation
  • The Standard Representation of Algebraic Numbers
  • Polynomial Multiplication Strategies

Continue learning

Finding Short Vectors in LatticesArticle · Engineering MathematicsNEXT LESSON →Polynomial Multiplication StrategiesArticle · Engineering MathematicsDetecting Algebraic and Linear Dependence with LLLArticle · Engineering MathematicsPolynomial Division with RemainderArticle · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®