Abstract Algebra, Numbers · Siblings

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.

Definitions

polynomial

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
  • $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$ 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.

polynomial function

High school

A polynomial function is a function whose output is given by a polynomial in its input.

Undergraduate

Consider a field $F$ and a function $f : F \to F$. The function $f$ is a polynomial function if, for some $a_0, \dots, a_n \in F$,

\[f(x) = a_0 + a_1 x + \dots + a_n x^n \quad \text{for all } x \in F.\]

Two polynomial functions are equal when they give the same output for every input.

Examples
Non-examples
Things that may be mistaken for examples of this term.
  • $x^2 - 1$ is not a polynomial function, because it is an expression. It defines a function only once we say what $x$ ranges over.
  • $\sin x$ is not a polynomial function. It has infinitely many roots, but a nonzero polynomial has only finitely many.
Properties
  • Over an infinite field, such as $\reals$ or $\complexes$, different polynomials give different functions, so polynomials and polynomial functions are usually identified.
  • Over a finite field, different polynomials can give the same function. Over $\setdef{0, 1}$ with arithmetic modulo $2$, the polynomial $x^2 + x$ gives the zero function.

Examples

Example polynomial polynomial function Why
$f(x) = x^2 - 1$, for $x \in \reals$ –✓ Over $\reals$, $x^2 - 1$ is the only polynomial that gives the function $f(x) = x^2 - 1$. The difference of two different real polynomials is a nonzero polynomial, which has only finitely many roots, so the two polynomials give different outputs for some input.
Missing example: poly_x_squared_plus_x_mod_2
Missing example: x_cubed_and_x_mod_3

Notes

  • Over an infinite field, such as $\reals$ or $\complexes$, different polynomials give different polynomial functions, so “polynomial” is often used for both.
  • Over a finite field $F$ with $q$ elements, every $a \in F$ satisfies $a^q = a$, so the nonzero polynomial $x^q - x$ gives the zero function.

See also

All distinctions · All definitions · Notation