In
mathematics, a polynomial is an
expression
Expression may refer to:
Linguistics
* Expression (linguistics), a word, phrase, or sentence
* Fixed expression, a form of words with a specific meaning
* Idiom, a type of fixed expression
* Metaphorical expression, a particular word, phrase, o ...
consisting of
indeterminates (also called
variables) and
coefficients, that involves only the operations of
addition
Addition (usually signified by the plus symbol ) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication and division. The addition of two whole numbers results in the total amount or '' sum'' of ...
,
subtraction
Subtraction is an arithmetic operation that represents the operation of removing objects from a collection. Subtraction is signified by the minus sign, . For example, in the adjacent picture, there are peaches—meaning 5 peaches with 2 taken ...
,
multiplication
Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being addi ...
, and positive-integer powers of variables. An example of a polynomial of a single indeterminate is . An example with three indeterminates is .
Polynomials appear in many areas of mathematics and science. For example, they are used to form
polynomial equations, which encode a wide range of problems, from elementary
word problems to complicated scientific problems; they are used to define polynomial functions, which appear in settings ranging from basic
chemistry
Chemistry is the scientific study of the properties and behavior of matter. It is a natural science that covers the elements that make up matter to the compounds made of atoms, molecules and ions: their composition, structure, properties, ...
and
physics
Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which relat ...
to
economics
Economics () is the social science that studies the production, distribution, and consumption of goods and services.
Economics focuses on the behaviour and interactions of economic agents and how economies work. Microeconomics analyzes ...
and
social science
Social science is one of the branches of science, devoted to the study of societies and the relationships among individuals within those societies. The term was formerly used to refer to the field of sociology, the original "science of soc ...
; they are used in
calculus and
numerical analysis to approximate other functions. In advanced mathematics, polynomials are used to construct
polynomial ring
In mathematics, especially in the field of algebra, a polynomial ring or polynomial algebra is a ring (which is also a commutative algebra) formed from the set of polynomials in one or more indeterminates (traditionally also called variabl ...
s and
algebraic varieties, which are central concepts in
algebra and
algebraic geometry
Algebraic geometry is a branch of mathematics, classically studying zeros of multivariate polynomials. Modern algebraic geometry is based on the use of abstract algebraic techniques, mainly from commutative algebra, for solving geometrical ...
.
Etymology
The word ''polynomial''
joins two diverse roots: the Greek ''poly'', meaning "many", and the Latin ''nomen'', or "name". It was derived from the term ''
binomial
Binomial may refer to:
In mathematics
* Binomial (polynomial), a polynomial with two terms
*Binomial coefficient, numbers appearing in the expansions of powers of binomials
* Binomial QMF, a perfect-reconstruction orthogonal wavelet decomposition ...
'' by replacing the Latin root ''bi-'' with the Greek ''poly-''. That is, it means a sum of many terms (many
monomial
In mathematics, a monomial is, roughly speaking, a polynomial which has only one term. Two definitions of a monomial may be encountered:
# A monomial, also called power product, is a product of powers of variables with nonnegative integer expo ...
s). The word ''polynomial'' was first used in the 17th century.
Notation and terminology

The ''x'' occurring in a polynomial is commonly called a ''variable'' or an ''indeterminate''. When the polynomial is considered as an expression, ''x'' is a fixed symbol which does not have any value (its value is "indeterminate"). However, when one considers the
function defined by the polynomial, then ''x'' represents the argument of the function, and is therefore called a "variable". Many authors use these two words interchangeably.
A polynomial ''P'' in the indeterminate ''x'' is commonly denoted either as ''P'' or as ''P''(''x''). Formally, the name of the polynomial is ''P'', not ''P''(''x''), but the use of the
functional notation ''P''(''x'') dates from a time when the distinction between a polynomial and the associated function was unclear. Moreover, the functional notation is often useful for specifying, in a single phrase, a polynomial and its indeterminate. For example, "let ''P''(''x'') be a polynomial" is a shorthand for "let ''P'' be a polynomial in the indeterminate ''x''". On the other hand, when it is not necessary to emphasize the name of the indeterminate, many formulas are much simpler and easier to read if the name(s) of the indeterminate(s) do not appear at each occurrence of the polynomial.
The ambiguity of having two notations for a single mathematical object may be formally resolved by considering the general meaning of the functional notation for polynomials.
If ''a'' denotes a number, a variable, another polynomial, or, more generally, any expression, then ''P''(''a'') denotes, by convention, the result of substituting ''a'' for ''x'' in ''P''. Thus, the polynomial ''P'' defines the function
:
which is the ''polynomial function'' associated to ''P''.
Frequently, when using this notation, one supposes that ''a'' is a number. However, one may use it over any domain where addition and multiplication are defined (that is, any
ring
Ring may refer to:
* Ring (jewellery), a round band, usually made of metal, worn as ornamental jewelry
* To make a sound with a bell, and the sound made by a bell
:(hence) to initiate a telephone connection
Arts, entertainment and media Film and ...
). In particular, if ''a'' is a polynomial then ''P''(''a'') is also a polynomial.
More specifically, when ''a'' is the indeterminate ''x'', then the
image of ''x'' by this function is the polynomial ''P'' itself (substituting ''x'' for ''x'' does not change anything). In other words,
:
which justifies formally the existence of two notations for the same polynomial.
Definition
A ''polynomial expression'' is an
expression
Expression may refer to:
Linguistics
* Expression (linguistics), a word, phrase, or sentence
* Fixed expression, a form of words with a specific meaning
* Idiom, a type of fixed expression
* Metaphorical expression, a particular word, phrase, o ...
that can be built from
constants and symbols called ''variables'' or ''indeterminates'' by means of
addition
Addition (usually signified by the plus symbol ) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication and division. The addition of two whole numbers results in the total amount or '' sum'' of ...
,
multiplication
Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being addi ...
and
exponentiation
Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to re ...
to a
non-negative integer power. The constants are generally
number
A number is a mathematical object used to count, measure, and label. The original examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers ca ...
s, but may be any expression that do not involve the indeterminates, and represent
mathematical objects that can be added and multiplied. Two polynomial expressions are considered as defining the same ''polynomial'' if they may be transformed, one to the other, by applying the usual properties of
commutativity,
associativity
In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacemen ...
and
distributivity
In mathematics, the distributive property of binary operations generalizes the distributive law, which asserts that the equality
x \cdot (y + z) = x \cdot y + x \cdot z
is always true in elementary algebra.
For example, in elementary arithmeti ...
of addition and multiplication. For example
and
are two polynomial expressions that represent the same polynomial; so, one has the
equality
Equality may refer to:
Society
* Political equality, in which all members of a society are of equal standing
** Consociationalism, in which an ethnically, religiously, or linguistically divided state functions by cooperation of each group's elite ...
.
A polynomial in a single indeterminate can always be written (or rewritten) in the form
:
where
are constants that are called the ''coefficients'' of the polynomial, and
is the indeterminate.
The word "indeterminate" means that
represents no particular value, although any value may be substituted for it. The mapping that associates the result of this substitution to the substituted value is a
function, called a ''polynomial function''.
This can be expressed more concisely by using
summation notation:
:
That is, a polynomial can either be zero or can be written as the sum of a finite number of non-zero
terms. Each term consists of the product of a number called the
coefficient of the term and a finite number of indeterminates, raised to non-negative integer powers.
Classification
The exponent on an indeterminate in a term is called the degree of that indeterminate in that term; the degree of the term is the sum of the degrees of the indeterminates in that term, and the degree of a polynomial is the largest degree of any term with nonzero coefficient.
Because , the degree of an indeterminate without a written exponent is one.
A term with no indeterminates and a polynomial with no indeterminates are called, respectively, a
constant term and a constant polynomial. The degree of a constant term and of a nonzero constant polynomial is 0. The degree of the zero polynomial 0 (which has no terms at all) is generally treated as not defined (but see below).
For example:
:
is a term. The coefficient is , the indeterminates are and , the degree of is two, while the degree of is one. The degree of the entire term is the sum of the degrees of each indeterminate in it, so in this example the degree is .
Forming a sum of several terms produces a polynomial. For example, the following is a polynomial:
:
It consists of three terms: the first is degree two, the second is degree one, and the third is degree zero.
Polynomials of small degree have been given specific names. A polynomial of degree zero is a ''constant polynomial'', or simply a ''constant''. Polynomials of degree one, two or three are respectively ''linear polynomials,'' ''
quadratic polynomials'' and ''cubic polynomials''.
For higher degrees, the specific names are not commonly used, although ''quartic polynomial'' (for degree four) and ''quintic polynomial'' (for degree five) are sometimes used. The names for the degrees may be applied to the polynomial or to its terms. For example, the term in is a linear term in a quadratic polynomial.
The polynomial 0, which may be considered to have no terms at all, is called the zero polynomial. Unlike other constant polynomials, its degree is not zero. Rather, the degree of the zero polynomial is either left explicitly undefined, or defined as negative (either −1 or −∞). The zero polynomial is also unique in that it is the only polynomial in one indeterminate that has an infinite number of
roots
A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients.
Root or roots may also refer to:
Art, entertainment, and media
* ''The Root'' (magazine), an online magazine focusing ...
. The graph of the zero polynomial, , is the ''x''-axis.
In the case of polynomials in more than one indeterminate, a polynomial is called ''homogeneous'' of if ''all'' of its non-zero terms have . The zero polynomial is homogeneous, and, as a homogeneous polynomial, its degree is undefined. For example, is homogeneous of degree 5. For more details, see
Homogeneous polynomial
In mathematics, a homogeneous polynomial, sometimes called quantic in older texts, is a polynomial whose nonzero terms all have the same degree. For example, x^5 + 2 x^3 y^2 + 9 x y^4 is a homogeneous polynomial of degree 5, in two variables; ...
.
The
commutative law of addition can be used to rearrange terms into any preferred order. In polynomials with one indeterminate, the terms are usually ordered according to degree, either in "descending powers of ", with the term of largest degree first, or in "ascending powers of ". The polynomial is written in descending powers of . The first term has coefficient , indeterminate , and exponent . In the second term, the coefficient . The third term is a constant. Because the ''degree'' of a non-zero polynomial is the largest degree of any one term, this polynomial has degree two.
Two terms with the same indeterminates raised to the same powers are called "similar terms" or "like terms", and they can be combined, using the
distributive law
In mathematics, the distributive property of binary operations generalizes the distributive law, which asserts that the equality
x \cdot (y + z) = x \cdot y + x \cdot z
is always true in elementary algebra.
For example, in elementary arithmetic, ...
, into a single term whose coefficient is the sum of the coefficients of the terms that were combined. It may happen that this makes the coefficient 0.
Polynomials can be classified by the number of terms with nonzero coefficients, so that a one-term polynomial is called a
monomial
In mathematics, a monomial is, roughly speaking, a polynomial which has only one term. Two definitions of a monomial may be encountered:
# A monomial, also called power product, is a product of powers of variables with nonnegative integer expo ...
, a two-term polynomial is called a
binomial
Binomial may refer to:
In mathematics
* Binomial (polynomial), a polynomial with two terms
*Binomial coefficient, numbers appearing in the expansions of powers of binomials
* Binomial QMF, a perfect-reconstruction orthogonal wavelet decomposition ...
, and a three-term polynomial is called a ''trinomial''. The term "quadrinomial" is occasionally used for a four-term polynomial.
A real polynomial is a polynomial with
real coefficients. When it is used to define a
function, the
domain
Domain may refer to:
Mathematics
*Domain of a function, the set of input values for which the (total) function is defined
** Domain of definition of a partial function
** Natural domain of a partial function
** Domain of holomorphy of a function
* ...
is not so restricted. However, a real polynomial function is a function from the reals to the reals that is defined by a real polynomial. Similarly, an integer polynomial is a polynomial with
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
coefficients, and a complex polynomial is a polynomial with
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
coefficients.
A polynomial in one indeterminate is called a ''
univariate
In mathematics, a univariate object is an expression, equation, function or polynomial involving only one variable. Objects involving more than one variable are multivariate. In some cases the distinction between the univariate and multivariate ...
polynomial'', a polynomial in more than one indeterminate is called a multivariate polynomial. A polynomial with two indeterminates is called a bivariate polynomial.
These notions refer more to the kind of polynomials one is generally working with than to individual polynomials; for instance, when working with univariate polynomials, one does not exclude constant polynomials (which may result from the subtraction of non-constant polynomials), although strictly speaking, constant polynomials do not contain any indeterminates at all. It is possible to further classify multivariate polynomials as ''bivariate'', ''trivariate'', and so on, according to the maximum number of indeterminates allowed. Again, so that the set of objects under consideration be closed under subtraction, a study of trivariate polynomials usually allows bivariate polynomials, and so on. It is also common to say simply "polynomials in , and ", listing the indeterminates allowed.
The
evaluation of a polynomial consists of substituting a numerical value to each indeterminate and carrying out the indicated multiplications and additions. For polynomials in one indeterminate, the evaluation is usually more efficient (lower number of arithmetic operations to perform) using
Horner's method:
:
Arithmetic
Addition and subtraction
Polynomials can be added using the
associative law
In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement ...
of addition (grouping all their terms together into a single sum), possibly followed by reordering (using the
commutative law) and combining of like terms.
For example, if
:
and
then the sum
:
can be reordered and regrouped as
:
and then simplified to
:
When polynomials are added together, the result is another polynomial.
Subtraction of polynomials is similar.
Multiplication
Polynomials can also be multiplied. To expand the
product
Product may refer to:
Business
* Product (business), an item that serves as a solution to a specific consumer problem.
* Product (project management), a deliverable or set of deliverables that contribute to a business solution
Mathematics
* Pr ...
of two polynomials into a sum of terms, the distributive law is repeatedly applied, which results in each term of one polynomial being multiplied by every term of the other.
For example, if
:
then
:
Carrying out the multiplication in each term produces
:
Combining similar terms yields
:
which can be simplified to
:
As in the example, the product of polynomials is always a polynomial.
[
]
Composition
Given a polynomial of a single variable and another polynomial of any number of variables, the composition
Composition or Compositions may refer to:
Arts and literature
*Composition (dance), practice and teaching of choreography
*Composition (language), in literature and rhetoric, producing a work in spoken tradition and written discourse, to include v ...
is obtained by substituting each copy of the variable of the first polynomial by the second polynomial.[ For example, if and then
A composition may be expanded to a sum of terms using the rules for multiplication and division of polynomials. The composition of two polynomials is another polynomial.
]
Division
The division of one polynomial by another is not typically a polynomial. Instead, such ratios are a more general family of objects, called '' rational fractions'', ''rational expressions'', or '' rational functions'', depending on context. This is analogous to the fact that the ratio of two integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
s is a rational number, not necessarily an integer. For example, the fraction is not a polynomial, and it cannot be written as a finite sum of powers of the variable .
For polynomials in one variable, there is a notion of Euclidean division of polynomials, generalizing the Euclidean division
In arithmetic, Euclidean division – or division with remainder – is the process of dividing one integer (the dividend) by another (the divisor), in a way that produces an integer quotient and a natural number remainder strictly smaller tha ...
of integers. This notion of the division results in two polynomials, a ''quotient'' and a ''remainder'' , such that and . The quotient and remainder may be computed by any of several algorithms, including polynomial long division
In algebra, polynomial long division is an algorithm for dividing a polynomial by another polynomial of the same or lower degree, a generalized version of the familiar arithmetic technique called long division. It can be done easily by hand, beca ...
and synthetic division.
When the denominator is monic and linear, that is, for some constant , then the polynomial remainder theorem asserts that the remainder of the division of by is the evaluation .[ In this case, the quotient may be computed by Ruffini's rule, a special case of synthetic division.
]
Factoring
All polynomials with coefficients in a unique factorization domain
In mathematics, a unique factorization domain (UFD) (also sometimes called a factorial ring following the terminology of Bourbaki) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is a ...
(for example, the integers or a field) also have a factored form in which the polynomial is written as a product of irreducible polynomial
In mathematics, an irreducible polynomial is, roughly speaking, a polynomial that cannot be factored into the product of two non-constant polynomials. The property of irreducibility depends on the nature of the coefficients that are accepted f ...
s and a constant. This factored form is unique up to the order of the factors and their multiplication by an invertible constant. In the case of the field of complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the f ...
s, the irreducible factors are linear. Over the real numbers, they have the degree either one or two. Over the integers and the rational numbers the irreducible factors may have any degree. For example, the factored form of
:
is
:
over the integers and the reals, and
:
over the complex numbers.
The computation of the factored form, called ''factorization'' is, in general, too difficult to be done by hand-written computation. However, efficient polynomial factorization algorithm
In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
s are available in most computer algebra system
A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. Th ...
s.
Calculus
Calculating derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
s and integrals of polynomials is particularly simple, compared to other kinds of functions.
The derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
of the polynomial with respect to is the polynomial
Similarly, the general antiderivative
In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolic ...
(or indefinite integral) of is
where is an arbitrary constant. For example, antiderivatives of have the form .
For polynomials whose coefficients come from more abstract settings (for example, if the coefficients are integers modulo some prime number , or elements of an arbitrary ring), the formula for the derivative can still be interpreted formally, with the coefficient understood to mean the sum of copies of . For example, over the integers modulo , the derivative of the polynomial is the polynomial .
Polynomial functions
A ''polynomial function'' is a function that can be defined by evaluating a polynomial. More precisely, a function of one argument
An argument is a statement or group of statements called premises intended to determine the degree of truth or acceptability of another statement called conclusion. Arguments can be studied from three main perspectives: the logical, the dialec ...
from a given domain is a polynomial function if there exists a polynomial
:
that evaluates to for all in the domain
Domain may refer to:
Mathematics
*Domain of a function, the set of input values for which the (total) function is defined
** Domain of definition of a partial function
** Natural domain of a partial function
** Domain of holomorphy of a function
* ...
of (here, is a non-negative integer and are constant coefficients).
Generally, unless otherwise specified, polynomial functions have complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
coefficients, arguments, and values. In particular, a polynomial, restricted to have real coefficients, defines a function from the complex numbers to the complex numbers. If the domain of this function is also restricted to the reals, the resulting function is a real function that maps reals to reals.
For example, the function , defined by
:
is a polynomial function of one variable. Polynomial functions of several variables are similarly defined, using polynomials in more than one indeterminate, as in
:
According to the definition of polynomial functions, there may be expressions that obviously are not polynomials but nevertheless define polynomial functions. An example is the expression which takes the same values as the polynomial on the interval