The Chebyshev polynomials named after Pafnuty Chebyshev, compose a polynomial sequence, and are defined by

for n = 0, 1, 2, 3, .... . That cos(nx) is an nth-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, and 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 via the identity cos2(x) + sin2(x) = 1.

These polynomials are orthogonal with respect to the weight

on the interval [-1,1], i.e., we have