ChebyshevT[n,x]
gives the Chebyshev polynomial of the first kind
.
ChebyshevT
ChebyshevT[n,x]
gives the Chebyshev polynomial of the first kind
.
Details
- Mathematical function, suitable for both symbolic and numerical manipulation.
- Explicit polynomials are given for integer n.
. - For certain special arguments, ChebyshevT automatically evaluates to exact values.
- ChebyshevT can be evaluated to arbitrary numerical precision.
- ChebyshevT automatically threads over lists.
- ChebyshevT[n,z] has a branch cut discontinuity in the complex z plane running from
to
if n is not an integer. - ChebyshevT can be used with Interval and CenteredInterval objects. »
Examples
open all close allBasic Examples (7)
ChebyshevT[2, 3]Compute the
Chebyshev polynomial:
ChebyshevT[10, x]Plot over a subset of the reals:
Plot[ChebyshevT[10, x], {x, -1, 1}]Plot over a subset of the complexes:
ComplexPlot3D[ChebyshevT[5, z], {z, -2 - 2I, 2 + 2I}, PlotLegends -> Automatic]Series expansion at the origin:
Series[ChebyshevT[5, x], {x, 0, 5}]Asymptotic expansion at Infinity:
Series[ChebyshevT[1 / 3, x], {x, ∞, 3}]//Normal//FullSimplifyAsymptotic expansion at a singular point:
Series[ChebyshevT[1 / 3, x], {x, -1, 2}]//FullSimplifyScope (44)
Numerical Evaluation (6)
ChebyshevT[2, 5]ChebyshevT[12, 2.5]N[ChebyshevT[1 / 7, 1 / 3], 50]The precision of the output tracks the precision of the input:
ChebyshevT[0.3000000000000000000, 0]N[ChebyshevT[98 + I, I]]Evaluate efficiently at high precision:
ChebyshevT[-1.5, -2.4`100]//TimingChebyshevT[84, 63`10000000];//TimingCompute worst-case guaranteed intervals using Interval and CenteredInterval objects:
ChebyshevT[2, Interval[{1.9, 2.1}]]ChebyshevT[2, CenteredInterval[2, 1 / 100]]Or compute average-case statistical intervals using Around:
ChebyshevT[2, Around[2, 0.01]]Compute the elementwise values of an array:
ChebyshevT[2, {{1, 2}, {3, 4}}]Or compute the matrix ChebyshevT function using MatrixFunction:
MatrixFunction[ChebyshevT[2, #]&, {{1, 2}, {3, 4}}]Specific Values (7)
Values of ChebyshevT at fixed points:
Table[ChebyshevT[n, Pi / 2], {n, 0, 3}]ChebyshevT for symbolic n:
ChebyshevT[n, 0]ChebyshevT[0, 0]ChebyshevT[0, Infinity]ChebyshevT[Infinity, 0][[1, 1]]Find the first positive maximum of ChebyshevT[5,x]:
xmax = x /. Solve[D[ChebyshevT[5, x], x] == 0 && 0 < x < π, x][[1]]Plot[ChebyshevT[5, x], {x, -1, 1}, Epilog -> Style[Point[{xmax, ChebyshevT[5, xmax]}], PointSize[Large], Red]]Compute the associated ChebyshevT[7,x] polynomial:
ChebyshevT[7, x]Compute the associated ChebyshevT[1/2,x] polynomial for half-integer n:
ChebyshevT[1 / 2, x]Visualization (3)
Plot the ChebyshevT function for various orders:
Plot[{ChebyshevT[1, x], ChebyshevT[2, x], ChebyshevT[3, x], ChebyshevT[4, x]}, {x, -1, 1}]ComplexContourPlot[Re[ChebyshevT[3, z]], {z, -3 - 3 I, 3 + 3 I}, IconizedObject[«PlotOptions»]]ComplexContourPlot[Im[ChebyshevT[3, z]], {z, -3 - 3 I, 3 + 3 I}, IconizedObject[«PlotOptions»]]Plot the Chebyshev polynomial as a function of two variables:
Plot3D[ChebyshevT[n, z], {n, 0, 5}, {z, -1, 1}]Function Properties (14)
ChebyshevT is defined for all real values from the interval [-1,∞]:
FunctionDomain[ChebyshevT[n, x], x]ChebyshevT is defined for all complex values:
FunctionDomain[ChebyshevT[n, z], z, Complexes]
achieves all real and complex values:
FunctionRange[ChebyshevT[1, x], x, y]FunctionRange[ChebyshevT[1, z], z, y, Complexes]FunctionRange[ChebyshevT[2, x], x, y]It achieves all complex values:
FunctionRange[ChebyshevT[2, z], z, y, Complexes]Chebyshev polynomial of an odd order is odd:
ChebyshevT[1, -x] == -ChebyshevT[1, x]Chebyshev polynomial of an even order is even:
ChebyshevT[2, -x] == ChebyshevT[2, x]ChebyshevT threads elementwise over lists:
ChebyshevT[{1, 2, 3}, x]Chebyshev polynomials are analytic:
FunctionAnalytic[ChebyshevT[n, x], x, Assumptions -> n∈ℤ]In general, ChebyshevT is neither analytic nor meromorphic:
FunctionAnalytic[ChebyshevT[1 / 3, x], x, ℂ]FunctionMeromorphic[ChebyshevT[1 / 3, x], x]
is neither non-decreasing nor non-increasing:
FunctionMonotonicity[ChebyshevT[2, x], x]FunctionInjective[ChebyshevT[2, x], x]FunctionInjective[ChebyshevT[1, x], x]Plot[{ChebyshevT[1, x], ChebyshevT[2, x], 2}, {x, -2, 2}]FunctionSurjective[ChebyshevT[2, x], x]FunctionSurjective[ChebyshevT[1, x], x]Plot[{ChebyshevT[1, x], ChebyshevT[2, x], 2}, {x, -2, 2}]
is neither non-negative nor non-positive:
FunctionSign[ChebyshevT[2, x], x]
has singularities and discontinuities for
when
is not an integer:
FunctionSingularities[ChebyshevT[n, x], x]FunctionDiscontinuities[ChebyshevT[n, x], x]FunctionConvexity[ChebyshevT[2, x], x]TraditionalForm formatting:
ChebyshevT[n, x]//TraditionalFormDifferentiation (3)
First derivative with respect to x:
D[ChebyshevT[n, x] , x]Higher derivatives with respect to x:
Table[D[ChebyshevT[n, x], {x, k}], {k, 1, 3}]//SimplifyPlot the higher derivatives with respect to x when n=5:
Plot[Evaluate[% /. n -> 5], {x, -1, 1}, PlotLegends -> {"First Derivative", "Second Derivative", "Third Derivative"}]Formula for the ![]()
derivative with respect to x:
D[ChebyshevT[n, x], {x, k}]// FullSimplifyIntegration (4)
Compute the indefinite integral using Integrate:
Integrate[ChebyshevT[n, x], x]FullSimplify[D[%, x]]Integrate[ChebyshevT[n, x], {x, 0, 4}]Definite integral of ChebyshevT over a period for odd integers is 0:
Integrate[ChebyshevT[2n - 1, x], {x, -5, 5}]Table[%, {n, 3, 11, 2}]//FullSimplifyIntegrate[ChebyshevT[3, x]ChebyshevT[5, x], x]//FullSimplifyIntegrate[Exp[x] ChebyshevT[5, x], {x, 0, 5}]//FullSimplifySeries Expansions (3)
Find the Taylor expansion using Series:
Series[ChebyshevT[n, x], {x, 0, 3}]Plots of the first three approximations around
:
terms = Normal@Table[Series[ChebyshevT[10, x], {x, 0, m}], {m, 1, 5, 2}];
Plot[{ChebyshevT[10, x], terms}, {x, -1, 1}, PlotRange -> {-3, 3}]General term in the series expansion using SeriesCoefficient:
SeriesCoefficient[ChebyshevT[n, x], {x, 0, n}]Taylor expansion at a generic point:
Series[ChebyshevT[n, x], {x, x0, 2}]Function Identities and Simplifications (4)
ChebyshevT is defined through the identity:
ChebyshevT[n, Cos[θ]] == Cos[n θ]//FullSimplifyThe ordinary generating function of ChebyshevT:
Sum[ChebyshevT[n, x]t^n, {n, 0, Infinity}]The exponential generating function of ChebyshevT:
Sum[ChebyshevT[n, x]t^n / n!, {n, 0, Infinity}]ChebyshevT[n, z] == 2 z ChebyshevT[n + 1, z] - ChebyshevT[n + 2, z]//FullSimplifyChebyshevT[n - 1, z] + ChebyshevT[n + 1, z] == 2 z ChebyshevT[n, z]//FullSimplifyGeneralizations & Extensions (2)
ChebyshevT can be applied to power series:
ChebyshevT[1 / 3, Sin[x] + O[x] ^ 3]ChebyshevT can be applied to Interval:
ChebyshevT[10, Interval[{-1, 1}]]Applications (4)
Plot the first 10 Chebyshev polynomials:
Plot[Evaluate[Table[ChebyshevT[n, x], {n, 0, 5}]], {x, -1, 1}]Find a minimax approximation to the function Clip[4 x]:
c = Table[(2/π)Subsuperscript[∫, -1, 1]Clip[4 x](ChebyshevT[n, x]/Sqrt[1 - x^2])ⅆx, {n, 0, 5}]Plot[ {Clip[4 x], -First[c] / 2 + Evaluate[c . Table[ChebyshevT[n - 1, x], {n, Length[c]}]]}, {x, -1, 1}]Get an expansion for a function in the Chebyshev polynomials:
f[x_] := 1 / (1 + (5x) ^ 2);The values of the function at the Chebyshev nodes:
n = 47;
cnodes = N[Cos[Pi Range[0, n] / n]];
fc = Map[f, cnodes];
pf = ListPlot[Transpose[{cnodes, fc}], PlotRange -> All]Find the Chebyshev coefficients:
cc = FourierDCT[fc, 1] * Sqrt[2 / n];
cc[[{1, -1}]] /= 2;Plot[f[x] - Sum[ChebyshevT[i - 1, x] * cc[[i]], {i, Length[cc]}], {x, -1, 1}, PlotRange -> All]Solve a differential equation with the ChebyshevT function as the inhomogeneous part:
DSolve[y''[x] + ChebyshevT[n, x] == 0, y[x], x]Properties & Relations (7)
Use FullSimplify with ChebyshevT:
FullSimplify[ChebyshevT[10, Cos[x]]]Compare an expanded trigonometric expression with ChebyshevT:
FunctionExpand[Cos[10ArcCos[x]]]//ExpandChebyshevT[10, x]Derivative of ChebyshevT is expressed in terms of ChebyshevU:
D[ChebyshevT[n, x], x]ChebyshevT can be represented as a DifferenceRoot:
DifferenceRootReduce[ChebyshevT[k, z], k]General term in the series expansion of ChebyshevT:
SeriesCoefficient[ChebyshevT[a, x], {x, 0, n}]The generating function for ChebyshevT:
GeneratingFunction[ChebyshevT[n, k], n, x]The exponential generating function for ChebyshevT:
ExponentialGeneratingFunction[ChebyshevT[n, k], n, x]Possible Issues (1)
Tech Notes
Related Guides
Related Links
History
Introduced in 1988 (1.0) | Updated in 2021 (13.0) ▪ 2022 (13.1)
Text
Wolfram Research (1988), ChebyshevT, Wolfram Language function, https://reference.wolfram.com/language/ref/ChebyshevT.html (updated 2022).
CMS
Wolfram Language. 1988. "ChebyshevT." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/ChebyshevT.html.
APA
Wolfram Language. (1988). ChebyshevT. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChebyshevT.html
BibTeX
@misc{reference.wolfram_2026_chebyshevt, author="Wolfram Research", title="{ChebyshevT}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/ChebyshevT.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_chebyshevt, organization={Wolfram Research}, title={ChebyshevT}, year={2022}, url={https://reference.wolfram.com/language/ref/ChebyshevT.html}, note=[Accessed: 13-June-2026]}