Chebyshev polynomials



The Chebyshev polynomials are two sequences of polynomials related to the cosine and sine functions, notated as $$T_n(x)$$ and $$U_n(x)$$. They can be defined in several equivalent ways, one of which starts with trigonometric functions:

The Chebyshev polynomials of the first kind $$T_n$$ are defined by: $$T_n(\cos \theta) = \cos(n\theta).$$

Similarly, the Chebyshev polynomials of the second kind $$U_n$$ are defined by: $$U_n(\cos \theta) \sin \theta = \sin\big((n + 1)\theta\big).$$

That these expressions define polynomials in $$\cos\theta$$ may not be obvious at first sight but follows by rewriting $$\cos(n\theta)$$ and $$\sin\big((n+1)\theta\big)$$ using de Moivre's formula or by using the angle sum formulas for $$\cos$$ and $$\sin$$ repeatedly. For example, the double angle formulas, which follow directly from the angle sum formulas, may be used to obtain $$T_2(\cos\theta) = \cos(2\theta) = 2\cos^2\theta-1$$ and $$U_1(\cos\theta)\sin\theta = \sin(2\theta) = 2\cos\theta\sin\theta$$, which are respectively a polynomial in $$\cos\theta$$ and a polynomial in $$\cos\theta$$ multiplied by $$\sin\theta$$. Hence $$T_2(x) = 2x^2 - 1$$ and $$U_1(x) = 2x$$.

An important and convenient property of the $T_{n}(x)$ is that they are orthogonal with respect to the inner product: $$\langle f, g\rangle = \int_{-1}^1 f(x) \, g(x) \, \frac{\mathrm{d}x}{\sqrt{1 - x^2}},$$ and $U_{n}(x)$ are orthogonal with respect to another, analogous inner product, given below.

The Chebyshev polynomials $T_{n}$ are polynomials with the largest possible leading coefficient whose absolute value on the interval $[−1, 1]$ is bounded by 1. They are also the "extremal" polynomials for many other properties.

In 1952, Cornelius Lanczos showed that the Chebyshev polynomials are important in approximation theory for the solution of linear systems; the roots of $T_{n}(x)$, which are also called Chebyshev nodes, are used as matching points for optimizing polynomial interpolation. The resulting interpolation polynomial minimizes the problem of Runge's phenomenon and provides an approximation that is close to the best polynomial approximation to a continuous function under the maximum norm, also called the "minimax" criterion. This approximation leads directly to the method of Clenshaw–Curtis quadrature.

These polynomials were named after Pafnuty Chebyshev. The letter $T$ is used because of the alternative transliterations of the name Chebyshev as Tchebycheff, Tchebyshev (French) or Tschebyschow (German).

Recurrence definition
The Chebyshev polynomials of the first kind are obtained from the recurrence relation: $$\begin{align} T_0(x) & = 1 \\ T_1(x) & = x \\ T_{n+1}(x) & = 2 x\,T_n(x) - T_{n-1}(x). \end{align}$$ The recurrence also allows to represent them explicitly as the determinant of a tridiagonal matrix of size $$k \times k$$:

$$T_k(x) = \det \begin{bmatrix} x &     1 &      0 & \cdots & 0      \\ 1 &    2x &      1 & \ddots & \vdots \\ 0 &     1 &     2x & \ddots & 0      \\ \vdots & \ddots & \ddots & \ddots & 1     \\ 0 & \cdots &     0 &      1 & 2x \end{bmatrix}$$

The ordinary generating function for $T_{n}$ is: $$\sum_{n=0}^{\infty}T_n(x)\,t^n = \frac{1-tx}{1-2tx+t^2}.$$ There are several other generating functions for the Chebyshev polynomials; the exponential generating function is: $$\sum_{n=0}^{\infty}T_n(x)\frac{t^n}{n!} = \frac{1}{2}\!\left( e^{t\left(x-\sqrt{x^2 - 1} \right)} + e^{t\left(x+\sqrt{x^2 -1}\right)}\right) = e^{tx}\cosh\left(t\sqrt{x^2-1}\right).$$

The generating function relevant for 2-dimensional potential theory and multipole expansion is: $$\sum\limits_{n=1}^{\infty}T_{n}(x)\,\frac{t^n}{n} = \ln\left( \frac{1}{\sqrt{ 1 - 2tx + t^2 }}\right).$$

The Chebyshev polynomials of the second kind are defined by the recurrence relation: $$\begin{align} U_0(x) & = 1 \\ U_1(x) & = 2 x \\ U_{n+1}(x) & = 2 x\,U_n(x) - U_{n-1}(x). \end{align}$$ Notice that the two sets of recurrence relations are identical, except for $$T_1(x) = x$$ vs. $U_1(x) = 2x$. The ordinary generating function for $T_{n}$ is: $$\sum_{n=0}^{\infty}U_n(x)\,t^n = \frac{1}{1 - 2 t x+t^2},$$ and the exponential generating function is: $$\sum_{n=0}^{\infty}U_n(x)\frac{t^n}{n!} = e^{tx}\!\left(\!\cosh\left(t\sqrt{x^2-1}\right) + \frac{x}{\sqrt{x^2-1}} \sinh\left(t\sqrt{x^2-1}\right)\!\right).$$

Trigonometric definition
As described in the introduction, the Chebyshev polynomials of the first kind can be defined as the unique polynomials satisfying: $$T_n(x) = \begin{cases} \cos(n \arccos x)                         & \text{ if }~ |x| \le 1 \\ \cosh(n \operatorname{arcosh} x)          & \text{ if }~ x \ge 1 \\ (-1)^n \cosh(n \operatorname{arcosh}(-x) ) & \text{ if }~ x \le -1 \end{cases}$$ or, in other words, as the unique polynomials satisfying: $$T_n(\cos\theta) = \cos(n\theta)$$ for $n = 0, 1, 2, 3, …$.

The polynomials of the second kind satisfy: $$U_{n-1}(\cos\theta) \sin\theta = \sin(n\theta),$$ or $$U_n(\cos\theta) = \frac{\sin\big((n+1)\,\theta\big)}{\sin\theta},$$ which is structurally quite similar to the Dirichlet kernel $D_{n}(x)$: $$D_n(x) = \frac{\sin\left((2n+1)\dfrac{x}{2}\,\right)}{\sin \dfrac{x}{2}} = U_{2n}\!\!\left(\cos \frac{x}{2}\right).$$ (The Dirichlet kernel, in fact, coincides with what is now known as the Chebyshev polynomial of the fourth kind.)

An equivalent way to state this is via exponentiation of a complex number: given a complex number $z = a + bi$ with absolute value of one: $$z^n = T_n(a) + ib U_{n-1}(a).$$ Chebyshev polynomials can be defined in this form when studying trigonometric polynomials.

That $cos nx$ is an $U_{n}$th-degree polynomial in $cos x$ can be seen by observing that $cos nx$ is the real part of one side of de Moivre's formula: $$\cos n \theta + i \sin n \theta = (\cos \theta + i \sin \theta)^n.$$ The real part of the other side is a polynomial in $cos x$ and $sin x$, in which all powers of $sin x$ are even and thus replaceable through the identity $cos^{2} x + sin^{2} x = 1$. By the same reasoning, $sin nx$ is the imaginary part of the polynomial, in which all powers of $sin x$ are odd and thus, if one factor of $sin x$ is factored out, the remaining factors can be replaced to create a $(n−1)$st-degree polynomial in $cos x$.

Commuting polynomials definition
Chebyshev polynomials can also be characterized by the following theorem:

If $$ F_n(x)$$ is a family of monic polynomials with coefficients in a field of characteristic $$0$$ such that $$ \deg F_n(x) = n$$ and $$ F_m(F_n(x)) = F_n(F_m(x))$$ for all $$m$$ and $$ n$$, then, up to a simple change of variables, either $$ F_n(x) = x^n$$ for all $$ n$$ or $$F_n(x) = 2\cdot T_n(x/2)$$ for all $$ n$$.

Pell equation definition
The Chebyshev polynomials can also be defined as the solutions to the Pell equation: $$T_n(x)^2 - \left(x^2 - 1\right) U_{n-1}(x)^2 = 1$$ in a ring $R[x]$. Thus, they can be generated by the standard technique for Pell equations of taking powers of a fundamental solution: $$T_n(x) + U_{n-1}(x)\,\sqrt{x^2-1} = \left(x + \sqrt{x^2-1}\right)^n~. $$

Relations between the two kinds of Chebyshev polynomials
The Chebyshev polynomials of the first and second kinds correspond to a complementary pair of Lucas sequences $Ṽ_{n}(P, Q)$ and $Ũ_{n}(P, Q)$ with parameters $P = 2x$ and $Q = 1$: $$\begin{align} {\tilde U}_n(2x,1) &= U_{n-1}(x), \\ {\tilde V}_n(2x,1) &= 2\, T_n(x). \end{align}$$ It follows that they also satisfy a pair of mutual recurrence equations: $$\begin{align} T_{n+1}(x) &= x\,T_n(x) - (1 - x^2)\,U_{n-1}(x), \\ U_{n+1}(x) &= x\,U_n(x) + T_{n+1}(x). \end{align}$$

The second of these may be rearranged using the recurrence definition for the Chebyshev polynomials of the second kind to give: $$T_n(x) = \frac{1}{2} \big(U_n(x) - U_{n-2}(x)\big).$$

Using this formula iteratively gives the sum formula: $$ U_n(x) = \begin{cases} 2\sum_{\text{ odd }j}^n T_j(x)     & \text{ for odd }n.\\ 2\sum_{\text{ even }j}^n T_j(x) + 1     & \text{ for even }n, \end{cases} $$ while replacing $$U_n(x)$$ and $$U_{n-2}(x)$$ using the derivative formula for $$T_n(x)$$ gives the recurrence relationship for the derivative of $$T_n$$:

$$2\,T_n(x) = \frac{1}{n+1}\, \frac{\mathrm{d}}{\mathrm{d}x}\, T_{n+1}(x) - \frac{1}{n-1}\,\frac{\mathrm{d}}{\mathrm{d}x}\, T_{n-1}(x), \qquad n=2,3,\ldots$$

This relationship is used in the Chebyshev spectral method of solving differential equations.

Turán's inequalities for the Chebyshev polynomials are: $$\begin{align} T_n(x)^2 - T_{n-1}(x)\,T_{n+1}(x)&= 1-x^2 > 0 &&\text{ for } -1 0~. \end{align}$$

The integral relations are $$\begin{align} \int_{-1}^1 \frac{T_n(y)}{y-x} \, \frac{\mathrm{d}y}{\sqrt{1 - y^2}} &= \pi\,U_{n-1}(x)~, \\[1.5ex] \int_{-1}^1\frac{U_{n-1}(y)}{y-x}\, \sqrt{1 - y^2}\mathrm{d}y &= -\pi\,T_n(x) \end{align}$$ where integrals are considered as principal value.

Explicit expressions
Different approaches to defining Chebyshev polynomials lead to different explicit expressions. The trigonometric definition gives an explicit formula as follows: $$\begin{align} T_n(x) & = \begin{cases} \cos(n\arccos x) \qquad \quad & \text{ for }~ -1 \le x \le 1 \\ \cosh(n \operatorname{arcosh}x) \qquad \quad & \text{ for }~ 1 \le x \\ (-1)^n \cosh\big(n \operatorname{arcosh}(-x)\big) \qquad \quad & \text{ for }~ x \le -1 \end{cases} \end{align}$$ From this trigonometric form, the recurrence definition can be recovered by computing directly that the bases cases hold: $$T_0(\cos\theta) = \cos(0\theta) = 1$$ and $$T_1(\cos\theta) = \cos\theta ,$$ and that the product-to-sum identity holds: $$2\cos n\theta\cos\theta = \cos \lbrack (n+1)\theta \rbrack +\cos\lbrack (n-1)\theta\rbrack.$$

Using the complex number exponentiation definition of the Chebyshev polynomial, one can derive the following expression: $$ T_n(x) = \dfrac{1}{2} \bigg( \Big(x-\sqrt{x^2-1} \Big)^n + \Big(x+\sqrt{x^2-1} \Big)^n \bigg) \qquad \text{ for }~ x \in \mathbb {R}$$ $$ T_n(x) = \dfrac{1}{2} \bigg( \Big(x-\sqrt{x^2-1} \Big)^n + \Big(x-\sqrt{x^2-1} \Big)^{-n} \bigg) \qquad \text{ for }~ x \in \mathbb {R}$$ The two are equivalent because $$(x + \sqrt{x^2 - 1})(x - \sqrt{x^2 - 1}) = 1$$.

An explicit form of the Chebyshev polynomial in terms of monomials $x^{k}$ follows from de Moivre's formula: $$T_n(\cos(\theta)) = \operatorname{Re}(\cos n \theta + i \sin n \theta) = \operatorname{Re}((\cos \theta + i \sin \theta)^n),$$ where $Re$ denotes the real part of a complex number. Expanding the formula, one gets: $$(\cos \theta + i \sin \theta)^n = \sum\limits_{j=0}^n \binom{n}{j} i^j \sin^j \theta \cos^{n-j} \theta.$$ The real part of the expression is obtained from summands corresponding to even indices. Noting $$i^{2j} = (-1)^j$$ and $$\sin^{2j} \theta = (1-\cos^2 \theta)^j$$, one gets the explicit formula: $$\cos n \theta = \sum\limits_{j=0}^{\lfloor n / 2 \rfloor} \binom{n}{2j} (\cos^2 \theta - 1)^j \cos^{n-2j} \theta,$$ which in turn means that: $$T_n(x) = \sum\limits_{j=0}^{\lfloor n / 2 \rfloor} \binom{n}{2j} (x^2-1)^j x^{n-2j}.$$ This can be written as a $_{2}F_{1}$ hypergeometric function: $$\begin{align} T_n(x) & = \sum_{k=0}^{\left \lfloor \frac{n}{2} \right \rfloor} \binom{n}{2k} \left (x^2-1 \right )^k x^{n-2k} \\ & = x^n \sum_{k=0}^{\left \lfloor \frac{n}{2} \right \rfloor} \binom{n}{2k} \left (1 - x^{-2} \right )^k \\ & = \frac{n}{2} \sum_{k=0}^{\left \lfloor \frac{n}{2} \right \rfloor}(-1)^k \frac{(n-k-1)!}{k!(n-2k)!}~(2x)^{n-2k} \qquad\qquad \text{ for }~ n > 0 \\ \\ & = n \sum_{k=0}^{n}(-2)^{k} \frac{(n+k-1)!} {(n-k)!(2k)!}(1 - x)^k \qquad\qquad ~ \text{ for }~ n > 0 \\ \\ & = {}_2F_1\!\left(-n,n;\tfrac 1 2; \tfrac{1}{2}(1-x)\right) \\ \end{align}$$ with inverse:

$$x^n = 2^{1-n}\mathop{{\sum}'}^n_{j=0\atop j \,\equiv\, n \pmod 2} \!\!\binom{n}{\tfrac{n-j}{2}}\!\;T_j(x),$$ where the prime at the summation symbol indicates that the contribution of $j = 0$ needs to be halved if it appears.

A related expression for $T_{n}$ as a sum of monomials with binomial coefficients and powers of two is $$T_{n}\left(x\right) = \sum\limits_{m=0}^{\left \lfloor \frac{n}{2} \right \rfloor}\left(-1\right)^{m}\left(\binom{n-m}{m} + \binom{n-m-1}{n-2m}\right)\cdot 2^{n-2m-1}\cdot x^{n-2m}.$$

Similarly, $U_{n}$ can be expressed in terms of hypergeometric functions: $$\begin{align} U_n(x) & = \frac{\left (x+\sqrt{x^2-1} \right )^{n+1} - \left (x-\sqrt{x^2-1} \right )^{n+1}}{2\sqrt{x^2-1}} \\ & = \sum_{k=0}^{\left \lfloor {n}/{2} \right \rfloor} \binom{n+1}{2k+1} \left (x^2-1 \right )^k x^{n-2k} \\ & = x^n \sum_{k=0}^{\left \lfloor {n}/{2} \right \rfloor} \binom{n+1}{2k+1} \left (1 - x^{-2} \right )^k \\ & = \sum_{k=0}^{\left \lfloor {n}/{2} \right \rfloor} \binom{2k-(n+1)}{k}~(2x)^{n-2k} & \text{ for }~ n > 0 \\ & = \sum_{k=0}^{\left \lfloor {n}/{2} \right \rfloor} (-1)^k \binom{n-k}{k}~(2x)^{n-2k} & \text{ for }~ n > 0 \\ & = \sum_{k=0}^{n}(-2)^{k} \frac{(n+k+1)!} {(n-k)!(2k+1)!}(1 - x)^k & \text{ for }~ n > 0 \\ & = (n+1) \ {}_2F_1\left(-n,n+2; \tfrac{3}{2}; \tfrac{1}{2}(1-x) \right). \\ \end{align}$$

Symmetry
$$\begin{align} T_n(-x) &= (-1)^n\, T_n(x) = \begin{cases} T_n(x) \quad & ~\text{ for }~n~\text{ even} \\ -T_n(x) \quad & ~\text{ for }~n~\text{ odd} \end{cases} \\ \\ U_n(-x) &= (-1)^n\, U_n(x) = \begin{cases} U_n(x) \quad & ~\text{ for }~n~\text{ even} \\ -U_n(x) \quad & ~\text{ for }~n~\text{ odd} \end{cases} \end{align}$$

That is, Chebyshev polynomials of even order have even symmetry and therefore contain only even powers of $U_{n}$. Chebyshev polynomials of odd order have odd symmetry and therefore contain only odd powers of $n$.

Roots and extrema
A Chebyshev polynomial of either kind with degree $x$ has $x$ different simple roots, called Chebyshev roots, in the interval $n$. The roots of the Chebyshev polynomial of the first kind are sometimes called Chebyshev nodes because they are used as nodes in polynomial interpolation. Using the trigonometric definition and the fact that: $$\cos\left((2k+1)\frac{\pi}{2}\right)=0$$ one can show that the roots of $n$ are: $$ x_k = \cos\left(\frac{\pi(k+1/2)}{n}\right),\quad k=0,\ldots,n-1.$$ Similarly, the roots of $[−1, 1]$ are: $$ x_k = \cos\left(\frac{k}{n+1}\pi\right),\quad k=1,\ldots,n.$$ The extrema of $T_{n}$ on the interval $−1 ≤ x ≤ 1$ are located at: $$ x_k = \cos\left(\frac{k}{n}\pi\right),\quad k=0,\ldots,n.$$

One unique property of the Chebyshev polynomials of the first kind is that on the interval $−1 ≤ x ≤ 1$ all of the extrema have values that are either −1 or 1. Thus these polynomials have only two finite critical values, the defining property of Shabat polynomials. Both the first and second kinds of Chebyshev polynomial have extrema at the endpoints, given by: $$\begin{align} T_n(1) &= 1 \\ T_n(-1) &= (-1)^n \\ U_n(1) &= n+1 \\ U_n(-1) &= (-1)^n (n+1). \end{align}$$

The extrema of $$T_n(x)$$ on the interval $$-1 \leq x \leq 1$$ where $$n>0$$ are located at $$n+1$$ values of $$x$$. They are $$ \pm 1$$, or $$ \cos\left(\frac{2\pi k}{d}\right)$$ where $$d > 2$$, $$d \;|\; 2n$$, $$0 < k < d/2$$ and $$(k, d) = 1$$, i.e., $$k$$ and $$d$$ are relatively prime numbers.

Specifically, when $$n$$ is even:
 * $$T_n(x) = 1$$ if $$x = \pm 1$$, or $$d > 2$$ and $$2n/d$$ is even. There are $$n/2 + 1$$ such values of $$x$$.
 * $$T_n(x) = -1$$ if $$d > 2$$ and $$2n/d$$ is odd. There are $$n/2$$ such values of $$x$$.

When $$n$$ is odd:
 * $$T_n(x) = 1$$ if $$x = 1$$, or $$d > 2$$ and $$2n/d$$ is even. There are $$(n+1)/2$$ such values of $$x$$.
 * $$T_n(x) = -1$$ if $$x = -1$$, or $$d > 2$$ and $$2n/d$$ is odd. There are $$(n+1)/2$$ such values of $$x$$.

This result has been generalized to solutions of $$U_n(x) \pm 1 = 0$$, and to $$V_n(x) \pm 1 = 0$$ and $$W_n(x) \pm 1 = 0$$ for Chebyshev polynomials of the third and fourth kinds, respectively.

Differentiation and integration
The derivatives of the polynomials can be less than straightforward. By differentiating the polynomials in their trigonometric forms, it can be shown that: $$\begin{align} \frac{\mathrm{d}T_n}{\mathrm{d}x} &= n U_{n - 1} \\ \frac{\mathrm{d}U_n}{\mathrm{d}x} &= \frac{(n + 1)T_{n + 1} - x U_n}{x^2 - 1} \\ \frac{\mathrm{d}^2 T_n}{\mathrm{d}x^2} &= n\, \frac{n T_n - x U_{n - 1}}{x^2 - 1} = n\, \frac{(n + 1)T_n - U_n}{x^2 - 1}. \end{align}$$

The last two formulas can be numerically troublesome due to the division by zero ($U_{n}$ indeterminate form, specifically) at $x = 1$ and $x = −1$. By L'Hôpital's rule: $$\begin{align} \left. \frac{\mathrm{d}^2 T_n}{\mathrm{d}x^2} \right|_{x = 1} \!\! &= \frac{n^4 - n^2}{3}, \\ \left. \frac{\mathrm{d}^2 T_n}{\mathrm{d}x^2} \right|_{x = -1} \!\! &= (-1)^n \frac{n^4 - n^2}{3}. \end{align}$$

More generally, $$\left.\frac{d^p T_n}{d x^p} \right|_{x = \pm 1} \!\! = (\pm 1)^{n+p}\prod_{k=0}^{p-1}\frac{n^2-k^2}{2k+1}~,$$ which is of great use in the numerical solution of eigenvalue problems.

Also, we have: $$\frac{\mathrm{d}^p}{\mathrm{d}x^p}\,T_n(x) = 2^p\,n\mathop{{\sum}'}_{0\leq k\leq n-p\atop k \,\equiv\, n-p \pmod 2} \binom{\frac{n+p-k}{2}-1}{\frac{n-p-k}{2}}\frac{\left(\frac{n+p+k}{2}-1\right)!}{\left(\frac{n-p+k}{2}\right)!}\,T_k(x),~\qquad p \ge 1,$$ where the prime at the summation symbols means that the term contributed by $k = 0$ is to be halved, if it appears.

Concerning integration, the first derivative of the $T_{n}$ implies that: $$\int U_n\, \mathrm{d}x = \frac{T_{n + 1}}{n + 1}$$ and the recurrence relation for the first kind polynomials involving derivatives establishes that for $n ≥ 2$: $$\int T_n\, \mathrm{d}x = \frac{1}{2}\,\left(\frac{T_{n + 1}}{n + 1} - \frac{T_{n - 1}}{n - 1}\right) = \frac{n\,T_{n + 1}}{n^2 - 1} - \frac{x\,T_n}{n - 1}.$$

The last formula can be further manipulated to express the integral of $0⁄0$ as a function of Chebyshev polynomials of the first kind only: $$\begin{align} \int T_n\, \mathrm{d}x &= \frac{n}{n^2 - 1} T_{n + 1} - \frac{1}{n - 1} T_1 T_n \\ &= \frac{n}{n^2 - 1}\,T_{n + 1} - \frac{1}{2(n - 1)}\,(T_{n + 1} + T_{n - 1}) \\ &= \frac{1}{2(n + 1)}\,T_{n + 1} - \frac{1}{2(n - 1)}\,T_{n - 1}. \end{align}$$

Furthermore, we have: $$\int_{-1}^1 T_n(x)\, \mathrm{d}x = \begin{cases} \frac{(-1)^n + 1}{1 - n^2} & \text{ if }~ n \ne 1 \\ 0                         & \text{ if }~ n = 1. \end{cases}$$

Products of Chebyshev polynomials
The Chebyshev polynomials of the first kind satisfy the relation: $$T_m(x)\,T_n(x) = \tfrac{1}{2}\!\left(T_{m+n}(x) + T_{|m-n|}(x)\right)\!,\qquad \forall m,n \ge 0,$$ which is easily proved from the product-to-sum formula for the cosine: $$2 \cos \alpha \, \cos \beta = \cos (\alpha + \beta) + \cos (\alpha - \beta).$$ For $n = 1$ this results in the already known recurrence formula, just arranged differently, and with $n = 2$ it forms the recurrence relation for all even or all odd indexed Chebyshev polynomials (depending on the parity of the lowest $T_{n}$) which implies the evenness or oddness of these polynomials. Three more useful formulas for evaluating Chebyshev polynomials can be concluded from this product expansion: $$\begin{align} T_{2n}(x) &= 2\,T_n^2(x)          - T_0(x) &&= 2 T_n^2(x) - 1, \\ T_{2n+1}(x) &= 2\,T_{n+1}(x)\,T_n(x) - T_1(x) &&= 2\,T_{n+1}(x)\,T_n(x) - x, \\ T_{2n-1}(x) &= 2\,T_{n-1}(x)\,T_n(x) - T_1(x) &&= 2\,T_{n-1}(x)\,T_n(x) - x. \end{align}$$

The polynomials of the second kind satisfy the similar relation: $$ T_m(x)\,U_n(x) = \begin{cases} \frac{1}{2}\left(U_{m+n}(x) + U_{n-m}(x)\right), & ~\text{ if }~ n \ge m-1,\\ \\ \frac{1}{2}\left(U_{m+n}(x) - U_{m-n-2}(x)\right), & ~\text{ if }~ n \le m-2. \end{cases} $$ (with the definition $U_{−1} ≡ 0$ by convention ). They also satisfy: $$ U_m(x)\,U_n(x) = \sum_{k=0}^n\,U_{m-n+2k}(x) = \sum_\underset{\text{ step 2 }}{p=m-n}^{m+n} U_p(x)~.$$ for $m ≥ n$. For $n = 2$ this recurrence reduces to: $$ U_{m+2}(x) = U_2(x)\,U_m(x) - U_m(x) - U_{m-2}(x) = U_m(x)\,\big(U_2(x) - 1\big) - U_{m-2}(x)~,$$ which establishes the evenness or oddness of the even or odd indexed Chebyshev polynomials of the second kind depending on whether $T_{n}$ starts with 2 or 3.

Composition and divisibility properties
The trigonometric definitions of $T_{n}$ and $U_{n}$ imply the composition or nesting properties: $$\begin{align} T_{mn}(x) &= T_m(T_n(x)),\\ U_{mn-1}(x) &= U_{m-1}(T_n(x))U_{n-1}(x). \end{align} $$ For $T_{mn}$ the order of composition may be reversed, making the family of polynomial functions $T_{n}$ a commutative semigroup under composition.

Since $T_{m}(x)$ is divisible by $m$ if $m$ is odd, it follows that $T_{mn}(x)$ is divisible by $T_{n}(x)$ if $x$ is odd. Furthermore, $U_{mn−1}(x)$ is divisible by $U_{n−1}(x)$, and in the case that $m$ is even, divisible by $T_{n}(x)U_{n−1}(x)$.

Orthogonality
Both $m$ and $m$ form a sequence of orthogonal polynomials. The polynomials of the first kind $T_{n}$ are orthogonal with respect to the weight: $$\frac{1}{\sqrt{1 - x^2}},$$ on the interval $U_{n}$, i.e. we have: $$\int_{-1}^1 T_n(x)\,T_m(x)\,\frac{\mathrm{d}x}{\sqrt{1-x^2}} = \begin{cases} 0            & ~\text{ if }~ n \ne m, \\[5mu] \pi          & ~\text{ if }~ n=m=0, \\[5mu] \frac{\pi}{2} & ~\text{ if }~ n=m \ne 0. \end{cases}$$

This can be proven by letting $x = cos θ$ and using the defining identity $T_{n}(cos θ) = cos(nθ)$.

Similarly, the polynomials of the second kind $T_{n}$ are orthogonal with respect to the weight: $$\sqrt{1-x^2}$$ on the interval $[−1, 1]$, i.e. we have: $$\int_{-1}^1 U_n(x)\,U_m(x)\,\sqrt{1-x^2} \,\mathrm{d}x = \begin{cases} 0            & ~\text{ if }~ n \ne m, \\[5mu] \frac{\pi}{2} & ~\text{ if }~ n = m. \end{cases}$$

(The measure $√1 − x^{2} dx$ is, to within a normalizing constant, the Wigner semicircle distribution.)

These orthogonality properties follow from the fact that the Chebyshev polynomials solve the Chebyshev differential equations: $$\begin{align} (1 - x^2)T_n'' - xT_n' + n^2 T_n &= 0, \\[1ex] (1 - x^2)U_n'' - 3xU_n' + n(n + 2) U_n &= 0, \end{align}$$which are Sturm–Liouville differential equations. It is a general feature of such differential equations that there is a distinguished orthonormal set of solutions. (Another way to define the Chebyshev polynomials is as the solutions to those equations.)

The $U_{n}$ also satisfy a discrete orthogonality condition: $$\sum_{k=0}^{N-1}{T_i(x_k)\,T_j(x_k)} = \begin{cases} 0          & ~\text{ if }~ i \ne j, \\[5mu] N          & ~\text{ if }~ i = j = 0, \\[5mu] \frac{N}{2} & ~\text{ if }~ i = j \ne 0, \end{cases} $$ where $[−1, 1]$ is any integer greater than $max(i, j)$, and the $x_{k}$ are the $T_{n}$ Chebyshev nodes (see above) of $T_{N&thinsp;}(x)$: $$x_k = \cos\left(\pi\,\frac{2k+1}{2N}\right) \quad ~\text{ for }~ k = 0, 1, \dots, N-1.$$

For the polynomials of the second kind and any integer $N > i + j$ with the same Chebyshev nodes $x_{k}$, there are similar sums: $$\sum_{k=0}^{N-1}{U_i(x_k)\,U_j(x_k)\left(1-x_k^2\right)} = \begin{cases} 0          & \text{ if }~ i \ne j, \\[5mu] \frac{N}{2} & \text{ if }~ i = j, \end{cases}$$ and without the weight function: $$\sum_{k=0}^{N-1}{ U_i(x_k) \, U_j(x_k) } = \begin{cases} 0                        & ~\text{ if }~ i \not\equiv j \pmod{2}, \\[5mu] N \cdot (1 + \min\{i,j\}) & ~\text{ if }~ i \equiv j\pmod{2}. \end{cases} $$

For any integer $N > i + j$, based on the $N$ zeros of $U_{N&thinsp;}(x)$: $$y_k = \cos\left(\pi\,\frac{k+1}{N+1}\right) \quad ~\text{ for }~ k=0, 1, \dots, N-1,$$ one can get the sum: $$\sum_{k=0}^{N-1}{U_i(y_k)\,U_j(y_k)(1-y_k^2)} = \begin{cases} 0 & ~\text{ if } i \ne j, \\[5mu] \frac{N+1}{2} & ~\text{ if } i = j, \end{cases}$$ and again without the weight function: $$\sum_{k=0}^{N-1}{U_i(y_k)\,U_j(y_k)} = \begin{cases} 0 & ~\text{ if }~ i \not\equiv j \pmod{2}, \\[5mu] \bigl(\min\{i,j\} + 1\bigr)\bigl(N-\max\{i,j\}\bigr) & ~\text{ if }~ i \equiv j\pmod{2}. \end{cases}$$

Minimal $∞$-norm
For any given $n ≥ 1$, among the polynomials of degree $N$ with leading coefficient 1 (monic polynomials): $$f(x) = \frac{1}{\,2^{n-1}\,}\,T_n(x)$$ is the one of which the maximal absolute value on the interval $N$ is minimal.

This maximal absolute value is: $$\frac1{2^{n-1}}$$ and $|f(x)|$ reaches this maximum exactly $n + 1$ times at: $$x = \cos \frac{k\pi}{n}\quad\text{for }0 \le k \le n.$$

$n$

Remark
By the equioscillation theorem, among all the polynomials of degree $w_{n}(x)$, the polynomial $[−1, 1]$ minimizes $1&thinsp;/&thinsp;2^{n −&thinsp;1}$ on $$ if and only if there are $f_{n}(x)$ points $f_{n}(x)$ such that $n − 1$.

Of course, the null polynomial on the interval $f$ can be approximated by itself and minimizes the $n − 1$-norm.

Above, however, $≤&thinsp;n$ reaches its maximum only $\|&thinsp;f&thinsp;\|_{∞}$ times because we are searching for the best polynomial of degree $n + 2$ (therefore the theorem evoked previously cannot be used).

Chebyshev polynomials as special cases of more general polynomial families
The Chebyshev polynomials are a special case of the ultraspherical or Gegenbauer polynomials $$C_n^{(\lambda)}(x)$$, which themselves are a special case of the Jacobi polynomials $$P_n^{(\alpha,\beta)}(x)$$: $$\begin{align} T_n(x) &= \frac{n}{2} \lim_{q \to 0} \frac{1}{q}\,C_n^{(q)}(x) \qquad ~\text{ if }~ n \ge 1, \\ &= \frac{1}{\binom{n-\frac{1}{2}}{n}} P_n^{\left(-\frac{1}{2}, -\frac{1}{2}\right)}(x) = \frac{2^{2n}}{\binom{2n}{n}} P_n^{\left(-\frac{1}{2}, -\frac{1}{2}\right)}(x)~, \\[2ex] U_n(x) & = C_n^{(1)}(x)\\ &= \frac{n+1}{\binom{n+\frac{1}{2}}{n}} P_n^{\left(\frac{1}{2}, \frac{1}{2}\right)}(x) = \frac{2^{2n+1}}{\binom{2n+2}{n+1}} P_n^{\left(\frac{1}{2}, \frac{1}{2}\right)}(x)~. \end{align}$$

Chebyshev polynomials are also a special case of Dickson polynomials: $$D_n(2x\alpha,\alpha^2)= 2\alpha^{n}T_n(x) \, $$ $$E_n(2x\alpha,\alpha^2)= \alpha^{n}U_n(x). \, $$ In particular, when $$\alpha=\tfrac{1}{2}$$, they are related by $$D_n(x,\tfrac{1}{4}) = 2^{1-n}T_n(x)$$ and $$E_n(x,\tfrac{1}{4}) = 2^{-n}U_n(x)$$.

Other properties
The curves given by $−1 ≤ x_{0} < x_{1} < ⋯ < x_{n + 1} ≤ 1$, or equivalently, by the parametric equations $|&thinsp;f(x_{i})| = \|&thinsp;f&thinsp;\|_{∞}$, $∞$, are a special case of Lissajous curves with frequency ratio equal to $[−1, 1]$.

Similar to the formula: $$T_n(\cos\theta) = \cos(n\theta),$$ we have the analogous formula: $$T_{2n+1}(\sin\theta) = (-1)^n \sin\left(\left(2n+1\right)\theta\right).$$

For $|&thinsp;f&thinsp;|$: $$T_n\!\left(\frac{x + x^{-1}}{2}\right) = \frac{x^n+x^{-n}}{2}$$ and: $$x^n = T_n\! \left(\frac{x+x^{-1}}{2}\right) + \frac{x-x^{-1}}{2}\ U_{n-1}\!\left(\frac{x+x^{-1}}{2}\right),$$ which follows from the fact that this holds by definition for $n + 1$.

First kind


The first few Chebyshev polynomials of the first kind are $$ \begin{align} T_0(x) &= 1 \\ T_1(x) &= x \\ T_2(x) &= 2x^2 - 1 \\ T_3(x) &= 4x^3 - 3x \\ T_4(x) &= 8x^4 - 8x^2 + 1 \\ T_5(x) &= 16x^5 - 20x^3 + 5x \\ T_6(x) &= 32x^6 - 48x^4 + 18x^2 - 1 \\ T_7(x) &= 64x^7 - 112x^5 + 56x^3 - 7x \\ T_8(x) &= 128x^8 - 256x^6 + 160x^4 - 32x^2 + 1 \\ T_9(x) &= 256x^9 - 576x^7 + 432x^5 - 120x^3 + 9x \\ T_{10}(x) &= 512x^{10} - 1280x^8 + 1120x^6 - 400x^4 + 50x^2-1 \end{align}$$

Second kind


The first few Chebyshev polynomials of the second kind are $$\begin{align} U_0(x) &= 1 \\ U_1(x) &= 2x \\ U_2(x) &= 4x^2 - 1 \\ U_3(x) &= 8x^3 - 4x \\ U_4(x) &= 16x^4 - 12x^2 + 1 \\ U_5(x) &= 32x^5 - 32x^3 + 6x \\ U_6(x) &= 64x^6 - 80x^4 + 24x^2 - 1 \\ U_7(x) &= 128x^7 - 192x^5 + 80x^3 - 8x \\ U_8(x) &= 256x^8 - 448 x^6 + 240 x^4 - 40 x^2 + 1 \\ U_9(x) &= 512x^9 - 1024 x^7 + 672 x^5 - 160 x^3 + 10 x \\ U_{10}(x) &= 1024x^{10} - 2304 x^8 + 1792 x^6 - 560 x^4 + 60 x^2-1 \end{align}$$

As a basis set


In the appropriate Sobolev space, the set of Chebyshev polynomials form an orthonormal basis, so that a function in the same space can, on $n ≥ 1$, be expressed via the expansion: $$f(x) = \sum_{n = 0}^\infty a_n T_n(x).$$

Furthermore, as mentioned previously, the Chebyshev polynomials form an orthogonal basis which (among other things) implies that the coefficients $y = T_{n}(x)$ can be determined easily through the application of an inner product. This sum is called a Chebyshev series or a Chebyshev expansion.

Since a Chebyshev series is related to a Fourier cosine series through a change of variables, all of the theorems, identities, etc. that apply to Fourier series have a Chebyshev counterpart. These attributes include:


 * The Chebyshev polynomials form a complete orthogonal system.
 * The Chebyshev series converges to $y = T_{n}(cos θ) = cos nθ$ if the function is piecewise smooth and continuous. The smoothness requirement can be relaxed in most cases – as long as there are a finite number of discontinuities in $x = cos θ$ and its derivatives.
 * At a discontinuity, the series will converge to the average of the right and left limits.

The abundance of the theorems and identities inherited from Fourier series make the Chebyshev polynomials important tools in numeric analysis; for example they are the most popular general purpose basis functions used in the spectral method, often in favor of trigonometric series due to generally faster convergence for continuous functions (Gibbs' phenomenon is still a problem).

Example 1
Consider the Chebyshev expansion of $x ≠ 0$. One can express: $$ \log(1+x) = \sum_{n = 0}^\infty a_n T_n(x)~. $$

One can find the coefficients $x = e^{iθ}$ either through the application of an inner product or by the discrete orthogonality condition. For the inner product: $$\int_{-1}^{+1}\,\frac{T_m(x)\,\log(1 + x)}{\sqrt{1-x^2}}\,\mathrm{d}x = \sum_{n=0}^{\infty}a_n\int_{-1}^{+1}\frac{T_m(x)\,T_n(x)}{\sqrt{1-x^2}}\,\mathrm{d}x,$$ which gives: $$a_n = \begin{cases} -\log 2           & \text{ for }~ n = 0, \\ \frac{-2(-1)^n}{n} & \text{ for }~ n > 0. \end{cases}$$

Alternatively, when the inner product of the function being approximated cannot be evaluated, the discrete orthogonality condition gives an often useful result for approximate coefficients: $$a_n \approx \frac{\,2-\delta_{0n}\,}{N}\,\sum_{k=0}^{N-1}T_n(x_k)\,\log(1+x_k),$$ where $[−1, 1]$ is the Kronecker delta function and the $n$ are the $H$ Gauss–Chebyshev zeros of $−1 < x < 1$: $$ x_k = \cos\left(\frac{\pi\left(k+\tfrac{1}{2}\right)}{N}\right) .$$ For any $δ_{ij}$, these approximate coefficients provide an exact approximation to the function at $x_{k}$ with a controlled error between those points. The exact coefficients are obtained with $T_{0}$, thus representing the function exactly at all points in $N$. The rate of convergence depends on the function and its smoothness.

This allows us to compute the approximate coefficients $N$ very efficiently through the discrete cosine transform: $$a_n \approx \frac{2-\delta_{0n}}{N}\sum_{k=0}^{N-1}\cos\left(\frac{n\pi\left(\,k+\tfrac{1}{2}\right)}{N}\right)\log(1+x_k).$$

Example 2
To provide another example: $$\begin{align} \left(1-x^2\right)^\alpha &= -\frac{1}{\sqrt{\pi}} \, \frac{\Gamma\left(\tfrac{1}{2} + \alpha\right)}{\Gamma(\alpha+1)} + 2^{1-2\alpha}\,\sum_{n=0} \left(-1\right)^n \, {2 \alpha \choose \alpha-n}\,T_{2n}(x) \\[1ex] &= 2^{-2\alpha}\,\sum_{n=0} \left(-1\right)^n \, {2\alpha+1 \choose \alpha-n}\,U_{2n}(x). \end{align}$$

Partial sums
The partial sums of: $$f(x) = \sum_{n = 0}^\infty a_n T_n(x)$$ are very useful in the approximation of various functions and in the solution of differential equations (see spectral method). Two common methods for determining the coefficients $x_{k}$ are through the use of the inner product as in Galerkin's method and through the use of collocation which is related to interpolation.

As an interpolant, the $[−1,1]$ coefficients of the $T_{1}$st partial sum are usually obtained on the Chebyshev–Gauss–Lobatto points (or Lobatto grid), which results in minimum error and avoids Runge's phenomenon associated with a uniform grid. This collection of points corresponds to the extrema of the highest order polynomial in the sum, plus the endpoints and is given by: $$x_k = -\cos\left(\frac{k \pi}{N - 1}\right); \qquad k = 0, 1, \dots, N - 1.$$

Polynomial in Chebyshev form
An arbitrary polynomial of degree $a_{n}$ can be written in terms of the Chebyshev polynomials of the first kind. Such a polynomial $T_{2}$ is of the form: $$p(x) = \sum_{n=0}^N a_n T_n(x).$$

Polynomials in Chebyshev form can be evaluated using the Clenshaw algorithm.

Families of polynomials related to Chebyshev polynomials
Polynomials denoted $$C_n(x)$$ and $$S_n(x)$$ closely related to Chebyshev polynomials are sometimes used. They are defined by: $$C_n(x) = 2T_n\left(\frac{x}{2}\right),\qquad S_n(x) = U_n\left(\frac{x}{2}\right)$$ and satisfy: $$C_n(x) = S_n(x) - S_{n-2}(x).$$ A. F. Horadam called the polynomials $$C_n(x)$$ Vieta–Lucas polynomials and denoted them $$v_n(x)$$. He called the polynomials $$S_n(x)$$ Vieta–Fibonacci polynomials and denoted them $V_n(x)$. Lists of both sets of polynomials are given in Viète's Opera Mathematica, Chapter IX, Theorems VI and VII. The Vieta–Lucas and Vieta–Fibonacci polynomials of real argument are, up to a power of $$i$$ and a shift of index in the case of the latter, equal to Lucas and Fibonacci polynomials $T_{3}$ and $T_{4}$ of imaginary argument.

Shifted Chebyshev polynomials of the first and second kinds are related to the Chebyshev polynomials by: $$T_n^*(x) = T_n(2x-1),\qquad U_n^*(x) = U_n(2x-1).$$

When the argument of the Chebyshev polynomial satisfies $T_{5}$ the argument of the shifted Chebyshev polynomial satisfies $−1 < x < 1$. Similarly, one can define shifted polynomials for generic intervals $a_{n}$.

Around 1990 the terms "third-kind" and "fourth-kind" came into use in connection with Chebyshev polynomials, although the polynomials denoted by these terms had an earlier development under the name airfoil polynomials. According to J. C. Mason and G. H. Elliott, the terminology "third-kind" and "fourth-kind" is due to Walter Gautschi, "in consultation with colleagues in the field of orthogonal polynomials." The Chebyshev polynomials of the third kind are defined as: $$V_n(x)=\frac{\cos\left(\left(n+\frac{1}{2}\right)\theta\right)}{\cos\left(\frac{\theta}{2}\right)}=\sqrt\frac{2}{1+x}T_{2n+1}\left(\sqrt\frac{x+1}{2}\right)$$ and the Chebyshev polynomials of the fourth kind are defined as: $$W_n(x)=\frac{\sin\left(\left(n+\frac{1}{2}\right)\theta\right)}{\sin\left(\frac{\theta}{2}\right)}=U_{2n}\left(\sqrt\frac{x+1}{2}\right),$$ where $$\theta=\arccos x$$. In the airfoil literature $$V_n(x)$$ and $$W_n(x)$$ are denoted $$t_n(x)$$ and $$u_n(x)$$. The polynomial families $$T_n(x)$$, $$U_n(x)$$, $$V_n(x)$$, and $$W_n(x)$$ are orthogonal with respect to the weights: $$\left(1-x^2\right)^{-1/2},\quad\left(1-x^2\right)^{1/2},\quad(1-x)^{-1/2}(1+x)^{1/2},\quad(1+x)^{-1/2}(1-x)^{1/2}$$ and are proportional to Jacobi polynomials $$P_n^{(\alpha,\beta)}(x)$$ with: $$(\alpha,\beta)=\left(-\frac{1}{2},-\frac{1}{2}\right),\quad(\alpha,\beta)=\left(\frac{1}{2},\frac{1}{2}\right),\quad(\alpha,\beta)=\left(-\frac{1}{2},\frac{1}{2}\right),\quad(\alpha,\beta)=\left(\frac{1}{2},-\frac{1}{2}\right).$$

All four families satisfy the recurrence $$p_n(x)=2xp_{n-1}(x)-p_{n-2}(x)$$ with $$p_0(x) = 1$$, where $$p_n = T_n$$, $$U_n$$, $$V_n$$, or $$W_n$$, but they differ according to whether $$p_1(x)$$ equals $$x$$, $$2x$$, $$2x-1$$, or $2x+1$.

Even order modified Chebyshev polynomials
Some applications rely on Chebyshev polynomials but may be unable to accommodate the lack of a root at zero, which rules out the use of standard Chebyshev polynomials for these kinds of applications. Even order Chebyshev filter designs using equally terminated passive networks are an example of this. However, even order Chebyshev polynomials may be modified to move the lowest roots down to zero while still maintaining the desirable Chebyshev equi-ripple effect. Such modified polynomials contain two roots at zero, and may be referred to as even order modified Chebyshev polynomials. Even order modified Chebyshev polynomials may be created from the Chebyshev nodes in the same manner as standard Chebyshev polynomials. $$P_N = \prod_{i=1}^N(x-C_i) $$

where


 * $$P_N$$ is an N-th order Chebyshev polynomial
 * $$C_i$$ is the i-th Chebyshev node

In the case of even order modified Chebyshev polynomials, the even order modified Chebyshev nodes are used to construct the even order modified Chebyshev polynomials. $$Pe_N = \prod_{i=1}^N(x-Ce_i) $$

where


 * $$P e_N$$ is an N-th order even order modified Chebyshev polynomial
 * $$Ce_i$$ is the i-th even order modified Chebyshev node

For example, the 4th order Chebyshev polynomial from the example above is $$X^4-X^2+.125 $$, which by inspection contains no roots of zero. Creating the polynomial from the even order modified Chebyshev nodes creates a 4th order even order modified Chebyshev polynomial of $$X^4-.828427X^2 $$, which by inspection contains two roots at zero, and may be used in applications requiring roots at zero.