A polynomial is an expression consisting of a finite sum of terms, each formed by multiplying a coefficient by variables raised to nonnegative integer powers. Polynomials are fundamental objects in algebra and define an important class of functions. They can be studied both as formal expressions and as functions obtained by substituting values for their variables. (openstax.org)
Definition and terminology
A polynomial in one variable has the form
where the coefficients belong to a specified number system or algebraic structure. Common choices include the integers, rational numbers, real numbers, and complex numbers. The symbol is an indeterminate: its powers are manipulated formally without requiring an assigned numerical value. (jmilne.org)
For a nonzero polynomial, the degree is the largest exponent with a nonzero coefficient. That coefficient is the leading coefficient, and is the constant term. A polynomial with leading coefficient is monic. Nonzero constants have degree zero; the zero polynomial usually has no degree, although some conventions assign it degree . Degree-one, degree-two, and degree-three polynomials are called linear, quadratic, and cubic, respectively. (openstax.org)
For example, has degree four. By contrast, , , and are not polynomials in , because polynomial exponents must be nonnegative integers. Coefficients themselves may be negative or fractional. An infinite sum of powers is a power series, rather than a polynomial, unless only finitely many coefficients are nonzero. (openstax.org)
Arithmetic and division
Polynomials are added by combining coefficients of matching powers. Multiplication uses the distributive law and . Sums, differences, and products remain polynomials. Over a field, nonzero polynomials satisfy
Cancellation can lower the degree of a sum; for example, . (jmilne.org)
The division algorithm states that, for polynomials and nonzero over a field, unique polynomials and satisfy
where or . Thus division does not generally produce a polynomial quotient without a remainder. Repeated division also extends the Euclidean algorithm to computing greatest common divisors of polynomials. (jmilne.org)
Roots and factorization
A root, or zero, of is a value satisfying the equation . The factor theorem states that is a root exactly when divides . The remainder on division by is . A root has multiplicity when divides the polynomial but does not. (openstax.org)
The fundamental theorem of algebra implies that every degree- complex polynomial, with , factors as
with roots counted according to multiplicity. Consequently, a nonzero degree- polynomial has at most distinct roots. For real coefficients, nonreal complex roots occur in conjugate pairs. (openstax.org)
Factorization depends on the coefficient system. For example, has no real root but equals over the complex numbers. A nonconstant polynomial that cannot be expressed as a product of two lower-degree polynomials over its coefficient field is called irreducible. (openstax.org)
Polynomial functions and calculus
A real polynomial defines a function on the entire real line. Its graph is continuous and smooth, without breaks or corners. For a nonconstant polynomial, the leading term determines its behavior as tends toward positive or negative infinity; the degree’s parity and the leading coefficient’s sign determine the directions of its two ends. (openstax.org)
In calculus, derivatives and integrals are computed term by term:
Both operations produce polynomials, with the antiderivative determined up to an additive constant. (openstax.org)
Several variables and algebraic structure
A polynomial may involve several indeterminates, as in . Its total degree is the greatest sum of exponents in any nonzero term: this example has total degree three. Systems of polynomial equations define geometric objects studied in algebraic geometry. (jmilne.org)
In abstract algebra, polynomials with coefficients in a commutative ring form the polynomial ring . Over a field, they also form a vector space, with basis . Formal expressions must be distinguished from their evaluated functions: over the two-element finite field, the nonzero polynomial evaluates to zero at both elements. This follows directly by substituting and . (jmilne.org)
Interpolation, approximation, and computation
Polynomial interpolation constructs a polynomial passing through specified data points. Given distinct real input values and corresponding outputs, exactly one polynomial of degree at most interpolates them. Lagrange and Newton forms provide alternative representations of this polynomial. (dlmf.nist.gov)
In approximation theory, the Weierstrass approximation theorem states that every continuous real-valued function on a closed, bounded interval can be approximated uniformly, to arbitrary accuracy, by polynomials. This does not mean that every continuous function equals a convergent power series. (jirilebl.github.io)
For numerical evaluation, Horner’s method rewrites a polynomial in nested form:
For degree , this evaluates the polynomial using multiplications and additions, without computing each power separately. (dlmf.nist.gov)