- A (univariate) polynomial (over ) is an expression of the form , where:
- is the variable (or indeterminate) of the polynomial
- is a commutative ring
- are the coefficients (or constants
- is a nonnegative integer called the degree of the polynomial
- (for ) are called the terms (or monomials) of the polynomial
- is the leading coefficient
- is the leading term
- is the constant term
- is the zero polynomial (its degree may be defined as or undefined depending on the context)
- A non-zero polynomial is a polynomial that is not the zero polynomial.
- A monic polynomial is a non-zero polynomial in which the leading coefficient is equal to 1.
- A polynomial of degree is called a constant, linear, quadratic, cubic polynomial respectively.
- (number of monomials)
- A binomial is a polynomial consisting of two monomials:
- A trinomial is a polynomial consisting of three monomials:
- A real polynomial is a polynomial with real coefficients. (Similarly, a complex polynomial and integer polynomial are defined)
- A real polynomial function is a function defined by a real polynomial .
- A function is a polynomial function (or polynomial) if there exists a polynomial such that for all in the domain of , .
- Remarks:
- Generally, unless otherwise specified, a polynomial function is a function defined by a polynomial over .
- Polynomial functions are often called polynomials
- In finite fields, distinct polynomials may define the same polynomial function. (e.g. and are distinct polynomials over , but they define the same polynomial function as )
- There are expressions that are not polynomials, but are polynomial functions. (e.g. is not a polynomial, but is a polynomial function since )
- The evaluation of a polynomial is the computation of the corresponding polynomial function by substituting a numeric value to each variable in the polynomial, and calculating carrying out the indicated multiplications and additions.
- Remarks:
- A polynomial equation is an equation that its left-hand side is a polynomial and its right-hand side is . (e.g. (quadratic equation))
- A root of a polynomial is a number such that .
- A root of a polynomial has multiplicity if divides , but does not divide .
- A root of multiplicity is called a simple root.
- A root of a polynomial has multiplicity if divides , but does not divide .
- The following are equivalent for any non-zero polynomials:
- and are factors of
- is divisible by and
- and divide
- and
- A linear factor is a factor that is a linear polynomial: . (similar for quadratic, cubic, etc.)
- A monic factor is a factor that is a monic polynomial.
- A monic linear factor is a factor that is a monic linear polynomial,
- A polynomial is said to be reducible over if it can be factored into two non-constant polynomials in
- A polynomial is said to be irreducible over if it is not reducible over .
- Examples:
- is irreducible over since , but it is reducible over , since .
- is irreducible over , but it is reducible over , since .
- Every linear polynomial is irreducible
- Every quadratic polynomial is irreducible if and only if it has no roots in the field over which it is defined.
- A polynomial of degree 2 or 3 is irreducible if and only if it has no roots in the field over which it is defined.
- A polynomial of degree 4 or higher may be irreducible even if it has roots in the field over which it is defined.
- Examples:
- (Multiplying Polynomials) The product of two polynomials and is defined as
- The coefficients of the product polynomial can be calculated using the convolution of the coefficients of the two polynomials.
- See also algorithms for polynomial multiplication
Theorems
- Let be a polynomial of degree . Then:
- (Fundamental Theorem of Algebra)
- (i.e. has at least one complex root)
- has, counted with multiplicity, exactly complex roots
- can be factored as where are the roots of (counted with multiplicity).
- (Polynomial Remainder Theorem or little Bézout’s theorem) For every , there exists a unique polynomial such that and
- (Factor theorem) For every , ( is a root of ) if and only if there exists a polynomial such that , (i.e. is a factor of ), in such case,
- (Polynomial Long Division) If is a non-zero polynomial of degree , then there exists a unique polynomials such that and
- (Fundamental Theorem of Algebra)
- Let be a polynomial of degree with real coefficients and . Then:
- (All the statements above for complex polynomials hold, since )
- (Product of monic linear factors) can be factored (uniquely, up to the order of the factors) into where:
- are the real roots of (counted with multiplicity)
- are irreducible (over ) monic quadratic factors (i.e. ), for
- are monic linear factors, for
- (Descartes’ rule of signs) The number of strictly positive roots (counting multiplicity) of is equal to the number of sign changes in the coefficients of , minus a nonnegative even number
- The number of negative roots is the number of sign changes after multiplying the coefficients of odd-power terms by , or fewer than it by an even number
- If has distinct roots, then has at least roots
- if is even and has a root and then has at least two roots
- is continuous on
- If is odd, then and is surjective (as function )
- Conjugate Root Theoremtodo
- todo A quadratic polynomial with no real roots is called irreducible over the real numbers. Such a polynomial cannot be factored without using complex numbers.
- The function (where ) is a polynomial of degree whose roots are .
- Let be a polynomial of degree , then:
- (Rational root theorem) If has a rational root and , then and .
Polynomial Root-Finding
- The process of finding the roots of a polynomial is called root-finding. There are many methods for finding the roots of a polynomial, including:
- Factoring
- Closed-form formulae: (radical expressions)
- Quadratic formula for quadratic polynomials
- Cubic formula (Cardano’s formula) for cubic polynomials
- Quartic formula (Ferrari’s formula) for quartic polynomials
- Abel-Ruffini theorem shows that there is no general solution in radicals for polynomial equations of degree five or higher.
- Rational root theorem (for integer polynomials)
- Numerical methods
- using polynomial long division to factor the polynomial into lower degree polynomials
Polynomial Long Division
- If (dividend) and (divisor) are polynomials such that and , then there exist unique polynomials (quotient) and (remainder) such that:
- (or )
- where or (if then divides evenly into )
Division Algorithm
- initialize as (written above the bar line)
- initialize as (written in the bottom)
while and do
- Divide by , and add the result to the
- Multiply by the result just obtained, and write the product result under the first two terms of the dividend.
- Subtract the product just obtained from
- Bring down the next term from
- todo Euclidean algorithm, Ruffini’s rule, Synthetic division
Multivariate Polynomials
Bivariate Polynomial
- A bivariate polynomial is a multivariate polynomial in two variables, which is an expression of the form
- where are the coefficients, and are the variables, and
- The total degree of a monomial is .
- The degree of a bivariate polynomial is the maximum total degree of its monomials.