Polynomial Functions

Basis
Last updated: Tags: Elementary Function

The simplest non-constant functions you can write down using real numbers are polynomials. They require nothing beyond repeated addition and multiplication — no division, no square roots, no infinite processes. This economy of means is deceptive: polynomial arithmetic underpins a large part of analysis, and mastering it carefully gives you both a warm-up in rigorous definitions and a toolkit you will reach for throughout mathematics.

Definition and terminology

Definition. A polynomial over R\mathbb{R} of degree nn is a function p ⁣:RRp \colon \mathbb{R} \to \mathbb{R} of the form

p(x) \;\coloneqq\; a_n x^n + a_{n-1}x^{n-1} + \cdots + a_1 x + a_0, \tag{1}

where nZ0n \in \mathbb{Z}_{\geq 0}, each akRa_k \in \mathbb{R}, and an0a_n \neq 0. The coefficient ana_n is the leading coefficient, a0a_0 is the constant term, and the individual summands akxka_k x^k are the terms.

Polynomials of small degree have traditional names:

Degree nnNameExample
00constantp(x)=7p(x) = 7
11linearp(x)=3x2p(x) = 3x - 2
22quadraticp(x)=x25x+6p(x) = x^2 - 5x + 6
33cubicp(x)=2x3+x1p(x) = 2x^3 + x - 1

The zero polynomial p(x)=0p(x) = 0 (all coefficients zero) is assigned no degree — or degree -\infty in treatments where that convention keeps the product formula deg(pq)=degp+degq\deg(p \cdot q) = \deg p + \deg q clean.

Intuitively, the degree captures the dominant behavior far from the origin: for large x|x|, the function p(x)p(x) grows roughly like anxna_n x^n, and its graph can cross or touch the xx-axis at most nn times.

Arithmetic on polynomials

Addition and scalar multiplication

Given polynomials p(x)=k=0makxkp(x) = \sum_{k=0}^{m} a_k x^k and q(x)=k=0nbkxkq(x) = \sum_{k=0}^{n} b_k x^k, their sum p+qp + q is the polynomial with coefficients ak+bka_k + b_k (padding the shorter polynomial with zeros). When degpdegq\deg p \neq \deg q, the degree of the sum is max(degp,degq)\max(\deg p, \deg q); when they are equal, leading terms may cancel, so deg(p+q)degp\deg(p+q) \leq \deg p.

Multiplying every coefficient of pp by a constant cRc \in \mathbb{R} gives the scalar multiple cpc \cdot p, which has the same degree as pp whenever c0c \neq 0.

Multiplication

Distributing every term of pp across every term of qq gives the product:

(pq)(x)  =  k=0m+n ⁣(i+j=k0im,0jnaibj)xk.(p \cdot q)(x) \;=\; \sum_{k=0}^{m+n}\!\left(\sum_{\substack{i+j=k \\ 0 \leq i \leq m,\; 0 \leq j \leq n}} a_i b_j\right) x^k.

The highest-degree term is ambnxm+na_m b_n x^{m+n}. Since am0a_m \neq 0 and bn0b_n \neq 0, this term is nonzero, so

deg(pq)=degp+degq.\deg(p \cdot q) = \deg p + \deg q.

The ring R[x]\mathbb{R}[x]

The collection of all polynomials over R\mathbb{R}, equipped with the addition and multiplication above, is denoted R[x]\mathbb{R}[x] and forms a commutative ring with unity: addition and multiplication are associative and commutative, multiplication distributes over addition, the zero polynomial is the additive identity, and the constant polynomial 11 is the multiplicative identity. The analogy with the integers Z\mathbb{Z} runs deep — just as in Z\mathbb{Z}, you can divide with remainder, and not every element has a multiplicative inverse inside the ring.

Polynomial division

The division algorithm

Just as any integer aa can be written as a=dq+ra = d \cdot q + r with 0r<d0 \leq r < d, every pair of polynomials admits a unique division with remainder.

Theorem (Polynomial Division Algorithm). For any p,dR[x]p, d \in \mathbb{R}[x] with d0d \neq 0, there exist unique polynomials qq (the quotient) and rr (the remainder) satisfying

p(x) = d(x)\,q(x) + r(x), \qquad \deg r < \deg d. \tag{2}

When r=0r = 0 we say dd divides pp, written dpd \mid p.

The proof is constructive: at each step, cancel the leading term of the current dividend using a suitable multiple of dd, then repeat on the residual. The degree of the residual strictly decreases at every step, so the process terminates.

As a quick example, divide p(x)=x32x+1p(x) = x^3 - 2x + 1 by d(x)=x1d(x) = x - 1:

  1. x3/x=x2x^3 / x = x^2. Subtract x2(x1)=x3x2x^2(x-1) = x^3 - x^2, leaving x22x+1x^2 - 2x + 1.
  2. x2/x=xx^2 / x = x. Subtract x(x1)=x2xx(x-1) = x^2 - x, leaving x+1-x + 1.
  3. x/x=1-x / x = -1. Subtract 1(x1)=x+1-1 \cdot (x-1) = -x+1, leaving 00.

Therefore x32x+1=(x1)(x2+x1)+0x^3 - 2x + 1 = (x-1)(x^2 + x - 1) + 0, confirming (x1)(x32x+1)(x-1) \mid (x^3 - 2x + 1).

Remainder and factor theorems

These two results connect the arithmetic of division to the evaluation of a polynomial at a point.

Remainder theorem

Theorem. For any pR[x]p \in \mathbb{R}[x] and any aRa \in \mathbb{R}, the remainder when pp is divided by (xa)(x - a) is the constant p(a)p(a).

Proof. Apply the division algorithm with divisor (xa)(x - a) (degree 11). Since the remainder must have degree less than 11, it is some constant cc. Writing p(x)=(xa)q(x)+cp(x) = (x-a)\,q(x) + c and substituting x=ax = a gives p(a)=0q(a)+c=cp(a) = 0 \cdot q(a) + c = c.

The remainder theorem turns remainder-finding into function evaluation — no long division needed. For instance, the remainder when p(x)=x103x+2p(x) = x^{10} - 3x + 2 is divided by (x1)(x - 1) is p(1)=13+2=0p(1) = 1 - 3 + 2 = 0.

Factor theorem

Theorem. (xa)p(x)(x - a) \mid p(x) if and only if p(a)=0p(a) = 0.

Proof. By the remainder theorem, (xa)(x-a) divides pp exactly when the remainder p(a)p(a) equals zero.

A value aa satisfying p(a)=0p(a) = 0 is a root (or zero) of pp. The factor theorem makes root-finding and factoring two sides of the same coin: finding a root aa immediately yields a factor (xa)(x-a).

Roots and multiplicity

Once you know aa is a root, you can ask how strongly (xa)(x-a) divides pp.

Definition. A root aa of pp has multiplicity m1m \geq 1 if

(xa)mp(x)but(xa)m+1p(x).(x - a)^m \mid p(x) \quad \text{but} \quad (x - a)^{m+1} \nmid p(x).

A root of multiplicity 11 is a simple root; of multiplicity 22, a double root; and so on. Multiplicity governs the local shape of the graph at aa:

  • Odd multiplicity: the graph crosses the xx-axis at aa (transversally for m=1m=1, with an inflection shape for m3m \geq 3).
  • Even multiplicity: the graph touches the xx-axis at aa without crossing (bounces back).

For example, p(x)=(x2)3(x+1)p(x) = (x-2)^3(x+1) has x=2x = 2 as a triple root and x=1x = -1 as a simple root. The graph crosses at x=1x = -1 and has an inflection touch at x=2x = 2.

Fundamental theorem of algebra

The theorems above characterize individual known roots. The following tells you the total count.

Theorem (Fundamental Theorem of Algebra). Every non-constant polynomial with real (or complex) coefficients has at least one root in C\mathbb{C}.

This is stated here without proof; establishing it requires either complex analysis or topology, both beyond the current scope. Its power comes from iterating: given pp of degree n1n \geq 1, the theorem yields a root z1Cz_1 \in \mathbb{C}. The factor theorem gives p(x)=(xz1)p1(x)p(x) = (x-z_1)\,p_1(x) with degp1=n1\deg p_1 = n-1. Applying the theorem to p1p_1, and so on, you exhaust all nn factors. Therefore:

A degree-nn polynomial (n1n \geq 1) has exactly nn roots in C\mathbb{C}, counted with multiplicity.

Factorization over R\mathbb{R}

Over R\mathbb{R} you cannot always find nn real roots — for example, x2+1x^2 + 1 has none. However, complex roots of real polynomials always come in conjugate pairs: if α+βi\alpha + \beta i (with β0\beta \neq 0) is a root of pR[x]p \in \mathbb{R}[x], then so is αβi\alpha - \beta i. To see why, conjugate the equation p(α+βi)=0p(\alpha + \beta i) = 0; since all coefficients are real, conjugation commutes with pp, giving p(αβi)=0=0p(\alpha - \beta i) = \overline{0} = 0.

Multiplying the two linear factors for a conjugate pair:

(x(α+βi))(x(αβi))=x22αx+(α2+β2).(x - (\alpha + \beta i))(x - (\alpha - \beta i)) = x^2 - 2\alpha x + (\alpha^2 + \beta^2).

This is a real quadratic with discriminant (2α)24(α2+β2)=4β2<0(2\alpha)^2 - 4(\alpha^2 + \beta^2) = -4\beta^2 < 0, so it has no real roots and is irreducible over R\mathbb{R}.

Theorem (Real Factorization). Every pR[x]p \in \mathbb{R}[x] of degree n1n \geq 1 factors uniquely as

p(x)=ani=1s(xri)mij=1t(x2+bjx+cj)ej,p(x) = a_n \prod_{i=1}^{s}(x - r_i)^{m_i} \prod_{j=1}^{t}(x^2 + b_j x + c_j)^{e_j},

where each riRr_i \in \mathbb{R} is a real root of multiplicity mim_i, each x2+bjx+cjx^2 + b_j x + c_j is an irreducible real quadratic (with bj24cj<0b_j^2 - 4c_j < 0) arising from a conjugate complex pair, and imi+2jej=n\displaystyle\sum_i m_i + 2\sum_j e_j = n.

This factorization is the key ingredient in partial fraction decomposition, which you will encounter when integrating rational functions.

Beyond polynomials

Polynomials are closed under addition, subtraction, and multiplication, but not division: 1/x1/x is not a polynomial. The natural extension is the class of rational functions p(x)q(x)\tfrac{p(x)}{q(x)} (with q≢0q \not\equiv 0), which you can analyze with polynomial long division and the real factorization above. Beyond rational functions, you need genuinely new constructions — the exponential and logarithmic functions — that cannot be built from finitely many arithmetic operations; see Exponential Functions.

Summary

  • A polynomial of degree nn over R\mathbb{R} is p(x)=anxn++a0p(x) = a_n x^n + \cdots + a_0 with an0a_n \neq 0; named cases: degree 00 (constant), 11 (linear), 22 (quadratic), 33 (cubic).
  • The collection R[x]\mathbb{R}[x] forms a commutative ring: sums have degree max(degp,degq)\leq \max(\deg p, \deg q); products satisfy deg(pq)=degp+degq\deg(p \cdot q) = \deg p + \deg q.
  • Division algorithm: for any nonzero dd, there exist unique qq and rr with p=dq+rp = d\,q + r and degr<degd\deg r < \deg d.
  • Remainder theorem: dividing pp by (xa)(x - a) leaves remainder p(a)p(a).
  • Factor theorem: (xa)p(x - a) \mid p if and only if p(a)=0p(a) = 0.
  • A root aa has multiplicity mm if (xa)mp(x-a)^m \mid p but (xa)m+1p(x-a)^{m+1} \nmid p; the parity of mm determines whether the graph crosses or bounces at aa.
  • Fundamental Theorem of Algebra: every non-constant polynomial has at least one complex root; a degree-nn polynomial has exactly nn roots in C\mathbb{C} counted with multiplicity.
  • Over R\mathbb{R}, every polynomial factors into linear factors (xri)(x - r_i) for real roots and irreducible quadratic factors x2+bjx+cjx^2 + b_j x + c_j (with bj24cj<0b_j^2 - 4c_j < 0) for conjugate complex pairs.