Algebra, Geometry and Trigonometry at a Glance

Polynomials in Overview, the Objects Behind Much of Mathematics

What polynomials are, how they factor, fit data and approximate functions, and why they keep appearing across mathematics.

Key takeaways

  • A polynomial uses only addition, subtraction and multiplication, with variables raised to nonnegative whole-number powers.
  • Polynomials can be divided with a remainder, much like integers, and each root corresponds to a linear factor.
  • Through n + 1 points with different x-coordinates there passes exactly one polynomial of degree at most n.
  • Polynomials can approximate many other functions closely, though accuracy depends on the interval and the method.
  • Equations in several variables describe curves and surfaces, which is the starting point of algebraic geometry.

A polynomial is an expression built from numbers and variables using only addition, subtraction and multiplication. Examples include 3x + 2, x² − 5x + 6 and x³y − y². That short list of permitted operations makes polynomials easy to compute and easy to reason about, while still leaving them flexible enough to model curves, fit data and encode counting problems.

Much of mathematics either studies polynomials directly or replaces something more complicated with them. This overview covers the basic vocabulary and then shows the main things they are good for.

Vocabulary and what counts

In one variable, a polynomial is a finite sum of terms such as aₖxᵏ, where k is 0, 1, 2 and so on. The numbers aₖ are the coefficients. The largest exponent with a nonzero coefficient is the degree. The zero polynomial is a special case, usually given no degree or assigned one by convention.

Degree Usual name Example Graph over the reals
0 Nonzero constant 7 Horizontal line
1 Linear 2x − 3 Slanted line
2 Quadratic x² − 4 Parabola
3 Cubic x³ − x S-like curve
4 Quartic x⁴ − 2x² Often W-shaped

Several familiar expressions are not polynomials: 1/x, √x, 2ˣ and sin x. Each uses division by the variable, a fractional power, a variable exponent or a different kind of function. An infinite sum of powers is not a polynomial either; it is called a power series.

Multiplying two nonzero polynomials adds their degrees. Adding them never produces a degree higher than the larger of the two.

Dividing, factoring and roots

You can divide one polynomial by another nonzero one and get a quotient and a remainder of smaller degree, provided the coefficients come from a field such as the rationals or reals. It works like long division of integers.

Divide p(x) by x − r and the remainder is a constant, equal to p(r). So p(r) = 0 exactly when x − r divides p. This links solving equations to factoring.

p(x) = x³ − 6x² + 11x − 6
p(1) = 1 − 6 + 11 − 6 = 0       so (x − 1) is a factor
p(x) = (x − 1)(x² − 5x + 6)
     = (x − 1)(x − 2)(x − 3)

Whether a polynomial factors further depends on which numbers you allow. Over the rationals, x² − 2 cannot be split. Over the reals it is (x − √2)(x + √2). Over the complex numbers, every polynomial splits into linear pieces, by the fundamental theorem of algebra.

What the coefficients reveal

You can often learn about a polynomial's roots without solving anything. Expanding (x − r)(x − s) gives x² − (r + s)x + rs. So in a quadratic with leading coefficient 1, the middle coefficient is minus the sum of the roots, and the constant is their product. Similar relations hold in every degree, usually named after François Viète.

When the coefficients are integers, there is also a short list of candidates for rational roots. If p/q, in lowest terms, is a root, then p divides the constant term and q divides the leading coefficient.

2x³ − 3x² − 11x + 6
p divides 6:  ±1, ±2, ±3, ±6
q divides 2:  ±1, ±2
try x = 3:    54 − 27 − 33 + 6 = 0

So x − 3 is a factor. Dividing it out leaves 2x² + 3x − 2, which factors as (2x − 1)(x + 2). The three roots are 3, 1/2 and −2.

The test only lists possibilities. If none of the candidates works, the polynomial has no rational root, though it may well have irrational or complex ones. For degree 4 or higher, the absence of rational roots still leaves open a factorization into two quadratics or other pieces.

Fitting points exactly

Two points with different x-coordinates determine a line. Three such points determine a unique polynomial of degree at most 2, and in general n + 1 points determine one of degree at most n.

Suppose you want a curve through (0, 1), (1, 3) and (2, 7). Write p(x) = ax² + bx + c. The first point gives c = 1. The other two give a + b = 2 and 4a + 2b = 6. Solving yields a = 1 and b = 1, so p(x) = x² + x + 1.

Uniqueness follows from roots: if two such polynomials agreed at all the points, their difference would have degree at most n but n + 1 roots, so it must be zero. This fact underlies schemes for splitting a secret into shares and error-correcting codes.

Exact fitting is not always wise. Forcing a high-degree polynomial through many noisy measurements can produce wild swings between the points. Fitting a low-degree curve approximately, or joining short polynomial pieces, usually behaves better, a topic covered in interpolation and curve fitting.

Standing in for harder functions

Functions such as sin x or eˣ cannot be computed by a finite number of additions and multiplications. Polynomials can come very close. Near 0,

eˣ ≈ 1 + x + x²/2 + x³/6
at x = 0.1:  1 + 0.1 + 0.005 + 0.000167 ≈ 1.105167
true value:  e^0.1 ≈ 1.105171

These are Taylor polynomials, and they improve as terms are added within the region where the series converges, for functions that are represented by their series.

A different result, the Weierstrass approximation theorem, says that every continuous function on a closed bounded interval can be matched as closely as you like, everywhere on the interval at once, by some polynomial. The theorem guarantees such a polynomial exists, although the required degree may be very high.

The long-run shape of a graph

For inputs that are large in size, the leading term outweighs all the rest. In x³ − 100x, the second term wins at x = 5, where the value is −375. At x = 1,000, the cube is a billion and the other term is only a hundred thousand.

This gives a quick sketching rule for real polynomials of positive degree:

  • With even degree, both ends of the graph go the same way, up if the leading coefficient is positive and down if it is negative.
  • With odd degree, the ends go opposite ways, so the graph must cross the horizontal axis somewhere.
  • A degree-n polynomial changes direction at most n − 1 times.

The last point follows because turning points occur where the derivative is zero, and the derivative has degree n − 1. A graph with five turning points therefore needs a polynomial of degree at least 6.

The same domination explains growth comparisons in computing. When an algorithm takes 3n² + 50n steps, the square term eventually controls the cost, so people describe it as quadratic. An exponential such as 2ⁿ, in turn, eventually overtakes every polynomial, however high its degree.

Computing with them

Evaluating a polynomial term by term repeats many multiplications. Horner's method nests them instead:

2x³ − 6x² + 2x − 1  =  ((2x − 6)x + 2)x − 1
at x = 3:
2·3 − 6 = 0
0·3 + 2 = 2
2·3 − 1 = 5

A degree-n polynomial needs only n multiplications this way. Smooth curves in computer graphics and typefaces are commonly built from low-degree polynomials, as in Bézier curves.

Polynomials are also easy for calculus. The derivative of xᵏ is kxᵏ⁻¹ for positive whole k, so derivatives and antiderivatives of polynomials are again polynomials.

More variables, more geometry

With two variables, setting a polynomial to zero usually draws a curve. The equation x² + y² − 1 = 0 is the unit circle, xy − 1 = 0 is a hyperbola, and y − x² = 0 is a parabola. Degree-2 equations give the conic sections along with a few degenerate cases.

Higher degrees and more variables give richer shapes: curves that cross themselves, surfaces with pinch points and objects in many dimensions. Studying solution sets of polynomial equations is the business of algebraic geometry.

Asking for whole-number solutions changes the character of the question entirely. The equation x² + y² = z² has infinitely many positive integer solutions, such as (3, 4, 5). Raise the exponent to 3 or higher and there are none, which is Fermat's last theorem, proved by Andrew Wiles in the 1990s with a key contribution from Richard Taylor.

Polynomials as carriers of information

Sometimes nobody intends to substitute a number at all. The coefficients themselves are the point. Expand (1 + x)⁴ and you get 1 + 4x + 6x² + 4x³ + x⁴. The coefficient 6 counts the ways to choose 2 items from 4.

Using polynomials, or their infinite relatives, to store counts in this way leads to generating functions. Multiplying them automatically adds up all the ways of combining choices.

Jobs that polynomials do
Polynomial Add and multiply only Protect Codes and shared secrets Count Coefficients store totals Draw Curves and surfaces Solve Roots match factors Fit Curves through points Approximate Stand in for functions Polynomial Add and multiply only Solve Roots match factors Fit Curves through points Approximate Stand in for functions Draw Curves and surfaces Count Coefficients store totals Protect Codes and shared secrets

Other polynomials are attached to objects as fingerprints. A square matrix has a characteristic polynomial whose roots are its eigenvalues, and certain polynomials help tell knots apart.

Where to go next

If you want to build skill, practice factoring and long division until they feel routine, then connect each factorization to a graph. If you are more interested in structure, notice that polynomials with coefficients in a field behave much like the integers, with their own primes (the irreducible polynomials) and their own division algorithm. Rings and fields make that resemblance precise.

Common slips to avoid

  • (a + b)² is a² + 2ab + b², not a² + b², in ordinary arithmetic.
  • A root of multiplicity 2 touches the axis without crossing it, so counting crossings can undercount roots.
  • Dividing both sides of x² = 3x by x loses the solution x = 0. Factor instead: x(x − 3) = 0.
  • Matching a pattern at several points does not show that a polynomial formula holds everywhere; a proof is still needed.
  • A polynomial that fits data well inside a range can be badly wrong just outside it, since its leading term takes over for large inputs.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 31 articles in Algebra, Geometry and Trigonometry at a Glance →

Latest news on this topic