In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a polynomial is an
expression consisting of
indeterminates (also called
variables) and
coefficient
In mathematics, a coefficient is a multiplicative factor in some term of a polynomial, a series, or an expression; it is usually a number, but may be any expression (including variables such as , and ). When the coefficients are themselves var ...
s, 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), division. ...
,
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 additi ...
, 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 science, scientific study of the properties and behavior of matter. It is a natural science that covers the Chemical element, elements that make up matter to the chemical compound, compounds made of atoms, molecules and ions ...
and
physics to
economics and
social science; they are used in
calculus and
numerical analysis to approximate other functions. In advanced mathematics, polynomials are used to construct
polynomial rings 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
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 is a visual representation of something. It can be two-dimensional, three-dimensional, or somehow otherwise feed into the visual system to convey information. An image can be an artifact, such as a photograph or other two-dimensiona ...
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
Constant or The Constant may refer to:
Mathematics
* Constant (mathematics), a non-varying value
* Mathematical constant, a special number that arises naturally in mathematics, such as or
Other concepts
* Control variable or scientific const ...
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), division. ...
,
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 additi ...
and
exponentiation to a
non-negative integer power. The constants are generally
numbers, 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
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name of ...
,
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
In mathematics, a coefficient is a multiplicative factor in some term of a polynomial, a series, or an expression; it is usually a number, but may be any expression (including variables such as , and ). When the coefficients are themselves var ...
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. 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
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
* Do ...
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 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.
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 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 function
In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be rat ...
s'', depending on context. This is analogous to the fact that the ratio of two integers 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 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 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 (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 numbers, 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 algorithms are available in most computer algebra systems.
Calculus
Calculating derivatives and integrals of polynomials is particularly simple, compared to other kinds of functions.
The derivative 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, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another (called the '' modulus'' of the operation).
Given two positive numbers and , modulo (often abbreviated as ) is t ...
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 dialectic ...
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
* Do ...
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