KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesBasic Polynomial ArithmeticEngineering · Engineering MathematicsLesson 669/884← PrevNext →
ArticlePublished 7 Aug 20263 min readBy Kevin Jogin
On this page

Ask about this page

KEVOS AIBasic Polynomial Arithmetic

KEVOS knowledge first · trusted web sources when needed

Engineering  /  Mathematics  — Polynomial Algorithms

Basic Polynomial Arithmetic

Representation of polynomials, addition, multiplication and division costs, and the dense versus sparse choice.

Page KV-MATH-0442Reading time 3 minReviewed 2026-08-07Author Kevin Jogin

Executive summary

Polynomial arithmetic mirrors integer arithmetic with degree replacing length, and without carries — which makes it simpler.

The representation choice between dense coefficient arrays and sparse term lists is the main implementation decision and depends on the expected density.

Learning objectives

  1. Compare dense and sparse representations.
  2. State the costs of the basic operations.
  3. Identify where polynomial arithmetic is simpler than integer arithmetic.

01Representation

Polynomial representations
RepresentationStorageBest for
Dense arraydeg + 1 coefficientsMost coefficients non-zero
Sparse term listPairs of exponent and coefficientFew non-zero terms, high degree
Bit vector over F₂One bit per coefficientBinary fields; word-parallel operations

Dense is the default and is what the cost bounds below assume. Sparse representations win when the number of terms is much smaller than the degree, as in the sparse interpolation problems arising in computer algebra.

Note
Over F₂ the bit vector representation is transformative: addition is a word-level XOR, so a degree-1000 addition costs about sixteen machine operations. This is why binary fields are attractive for hardware implementations.

02Operation costs

  1. Addition, subtractionO(n)Coefficientwise; no carries
  2. Multiplication, schoolbookO(mn)Every coefficient pair
  3. Multiplication, KaratsubaO(n^1.585)Same recursion as for integers
  4. Division with remainderO((m−n+1)n)Requires invertible leading coefficient
  5. Evaluation at a pointO(n)Horner's rule
  6. Multipoint evaluationO(n log² n)Subproduct tree; far better than n evaluations

The absence of carries makes polynomial arithmetic genuinely simpler than integer arithmetic. Coefficients do not interact across positions, so multiplication is a clean convolution and the algorithms have no propagation logic.

03Horner's rule and evaluation

Algorithm

Horner evaluation

Inputcoefficients a₀..a_n, point x
Outputf(x)
  1. Set r = a_n, the leading coefficient.
  2. For i from n−1 down to 0:
  3.   Set r = r · x + aᵢ.
  4. Return r.
Cost  n multiplications and n additions

Horner's rule is optimal for evaluating a single dense polynomial at a single point — no method uses fewer multiplications in general. It also has the useful property of computing the quotient by X − x as a by-product, since the intermediate values are exactly the quotient coefficients.

Caution
For evaluating at many points, repeating Horner costs O(n) per point and O(n²) for n points. The subproduct tree method achieves O(n log² n) and is what interpolation-based algorithms use at scale.

04Frequently asked questions

Why is polynomial multiplication easier than integer multiplication?

Because there are no carries. Coefficients can grow without affecting neighbouring positions, so the convolution is exact and no propagation pass is needed. The same asymptotic methods apply to both.

When does sparse representation pay off?

When the term count is much smaller than the degree — a polynomial like X^{1000} + 1 has two terms and would waste 999 slots dense. Sparse multiplication cost depends on the term counts rather than the degrees.

Is Horner's rule numerically stable?

Over the reals it is the standard choice and reasonably well behaved. Over finite fields the question does not arise, since arithmetic is exact.

Related pages

  • Basic Properties of Polynomial Rings
  • Integer Multiplication
  • Computing Minimal Polynomials in Quotient Algebras

Sources and method

Structural reference: Victor Shoup, A Computational Introduction to Number Theory and Algebra, Version 1, Cambridge University Press, 2005 — book pages 398-401.

This page carries the durable method layer only: definitions, constructions, algorithms, complexity results and selection criteria, authored originally for KEVOS. No text is transcribed or paraphrased from the source, and no numeric tables or benchmark data are reproduced — these are routed to live authoritative sources instead.

Author: Kevin Jogin. Last reviewed 2026-08-07.

Continue learning

Unique Factorization in Euclidean and Principal Ideal DomainsArticle · Engineering MathematicsNEXT LESSON →Computing Minimal Polynomials in Quotient AlgebrasArticle · Engineering MathematicsUnique Factorization DomainsArticle · Engineering MathematicsEuclid's Algorithm for PolynomialsArticle · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®