In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a polynomial is a
mathematical expression consisting of
indeterminates (also called
variables) and
coefficients, that involves only the operations of
addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
,
subtraction,
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
and
exponentiation
In mathematics, exponentiation, denoted , is an operation (mathematics), operation involving two numbers: the ''base'', , and the ''exponent'' or ''power'', . When is a positive integer, exponentiation corresponds to repeated multiplication ...
to
nonnegative integer powers, and has a finite number of terms. 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 physical science within the natural sciences that studies the chemical elements that make up matter and chemical compound, compounds made of atoms, molecules a ...
and
physics
Physics is the scientific study of matter, its Elementary particle, 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 whi ...
to
economics
Economics () is a behavioral science that studies the Production (economics), production, distribution (economics), distribution, and Consumption (economics), consumption of goods and services.
Economics focuses on the behaviour and interac ...
and
social science
Social science (often rendered in the plural as the social sciences) is one of the branches of science, devoted to the study of societies and the relationships among members within those societies. The term was formerly used to refer to the ...
; and they are used in
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
and
numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
to approximate other functions. In advanced mathematics, polynomials are used to construct
polynomial rings and
algebraic varieties, which are central concepts in
algebra
Algebra is a branch of mathematics that deals with abstract systems, known as algebraic structures, and the manipulation of expressions within those systems. It is a generalization of arithmetic that introduces variables and algebraic ope ...
and
algebraic geometry
Algebraic geometry is a branch of mathematics which uses abstract algebraic techniques, mainly from commutative algebra, to solve geometry, geometrical problems. Classically, it studies zero of a function, zeros of multivariate polynomials; th ...
.
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'' by replacing the Latin root ''bi-'' with the Greek ''poly-''. That is, it means a sum of many terms (many
monomials). 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). 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
An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
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 that can be built from
constants and symbols called ''variables'' or ''indeterminates'' by means of
addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
,
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
and
exponentiation
In mathematics, exponentiation, denoted , is an operation (mathematics), operation involving two numbers: the ''base'', , and the ''exponent'' or ''power'', . When is a positive integer, exponentiation corresponds to repeated multiplication ...
to a
non-negative integer power. The constants are generally
number
A number is a mathematical object used to count, measure, and label. The most basic 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 can ...
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 and
distributivity of addition and multiplication. For example
and
are two polynomial expressions that represent the same polynomial; so, one has the
equality .
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 focusin ...
. 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.
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, 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, a two-term polynomial is called a
binomial, and a three-term polynomial is called a
trinomial.
A real polynomial is a polynomial with
real coefficients. When it is used to define a
function, the
domain 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 (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
coefficients, and a complex polynomial is a polynomial with
complex coefficients.
A polynomial in one indeterminate is called a univariate 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.
Operations
Addition and subtraction
Polynomials can be added using the
associative law 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 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 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 (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s is a rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example,
The set of all ...
, 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 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 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 common usage, evaluation is a systematic determination and assessment of a subject's merit, worth and significance, using criteria governed by a set of Standardization, standards. It can assist an organization, program, design, project or any o ...
.[ 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 ...
(for example, the integers or a field) also have a factored form in which the polynomial is written as a product of irreducible polynomials 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 for ...
s, the irreducible factors are linear. Over the real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, they have the degree either one or two. Over the integers and the rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example,
The set of all ...
s 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 Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
s are available in most computer algebra systems.
Calculus
Calculating derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
s and integrals of polynomials is particularly simple, compared to other kinds of functions.
The derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
of the polynomial with respect to is the polynomial
Similarly, the general antiderivative (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
In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation.
Given two positive numbers and , mo ...
some prime number
A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
, 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 series of sentences, statements, or propositions some of which are called premises and one is the conclusion. The purpose of an argument is to give reasons for one's conclusion via justification, explanation, and/or persu ...
from a given domain is a polynomial function if there exists a polynomial
that evaluates to for all in the domain of (here, is a non-negative integer and are constant coefficients).
Generally, unless otherwise specified, polynomial functions have complex 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