Definition · applies to expressions and algebraic objects

High school

A polynomial in $x$ is an expression of the form $a_n x^n + \dots + a_1 x + a_0$, built from numbers and the variable $x$ using addition, subtraction, and multiplication only.

Undergraduate (algebra)

Consider a ring $R$, such as $\reals$ or $\integers$, and a variable $x$. A polynomial in $x$ with coefficients in $R$ is a formal sum

\[a_0 + a_1 x + \dots + a_n x^n\]

where $a_0, \dots, a_n \in R$.

Two polynomials are defined to be equal when their coefficients are equal.

Examples

Examples

  • ✓ $x^2 - 1$ High school
    $x^2 - 1$ is a polynomial: a formal expression with the coefficients $1$, $0$, and $-1$. It is not an equation, because it has no equal sign, and it is not a function until it is given a domain.

Non-examples
Things that may be mistaken for examples of this term.

  • ✗ $x^2 - 1 = 0$ High school
    $x^2 - 1 = 0$ is not a polynomial, because it is an equation (it includes an equal sign “=”).

Properties

  • The degree of a nonzero polynomial is the largest $n$ such that $a_n \neq 0$.
  • A nonzero polynomial with coefficients in a field has at most as many roots as its degree.

Distinctions involving this term

  • Polynomial vs. Polynomial Function: A polynomial and the polynomial function that it gives are written the same way, such as $x^2 + x$. A polynomial is a formal sum, and two polynomials are equal when their coefficients are equal. A polynomial function is a function, and two polynomial functions are equal when they give the same output for every input. Over the real numbers, the two kinds of equality agree, but over a finite set of numbers, such as $\setdef{0, 1}$ with arithmetic modulo $2$, two different polynomials can give the same polynomial function.

All definitions · All distinctions · All examples · Notation