Supriya Ghosh (Editor)

Discrete Chebyshev transform

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In applied mathematics, the discrete Chebyshev transform (DCT), named after Pafnuty Chebyshev, is either of two main varieties of DCTs: the discrete Chebyshev transform on the 'roots' grid of the Chebyshev polynomials of the first kind T n ( x ) and the discrete Chebyshev transform on the 'extrema' grid of the Chebyshev polynomials of the first kind.

Contents

Discrete Chebyshev transform on the roots grid

The discrete chebyshev transform of u(x) at the points x n is given by:

a m = p m N n = 0 N 1 u ( x n ) T m ( x n )

where:

x n = cos ( π N ( n + 1 2 ) ) a m = p m N n = 0 N 1 u ( x n ) cos ( m cos 1 ( x n ) )

where p m = 1 m = 0 and p m = 2 otherwise.

Using the definition of x n ,

a m = p m N n = 0 N 1 u ( x n ) cos ( m π N ( N + n + 1 2 ) ) a m = p m N n = 0 N 1 u ( x n ) ( 1 ) m cos ( m π N ( n + 1 2 ) )

and its inverse transform:

u n = m = 0 N 1 a m T m ( x n )

(This so happens to the standard Chebyshev series evaluated on the roots grid.)

u n = m = 0 N 1 a m cos ( m π N ( N + n + 1 2 ) ) u n = m = 0 N 1 a m ( 1 ) m cos ( m π N ( n + 1 2 ) )

This can readily be obtained by manipulating the input arguments to a discrete cosine transform.

This can be demonstrated using the following MATLAB code:

The discrete cosine transform (dct) is in fact computed using a fast Fourier transform algorithm in MATLAB.
And the inverse transform is given by the MATLAB code:

Discrete Chebyshev transform on the extrema grid

This transform uses the grid:

x n = cos ( n π N ) T n ( x m ) = cos ( π m n N + n π ) = ( 1 ) n cos ( π m n N )

This transform is more difficult to implement by use of a Fast Fourier Transform (FFT). However it is more widely used because it is on the extrema grid which tends to be most useful for boundary value problems. Mostly because it is easier to apply boundary conditions on this grid.

There is a discrete (and in fact fast because it performs the dct by using a fast Fourier transform) available at the MATLAB file exchange that was created by Greg von Winckel. So it is omitted here.

In this case the transform and its inverse are

u ( x n ) = u n = m = 0 N a m T m ( x n ) a m = p m N [ 1 2 ( u 0 ( 1 ) m + u N ) + n = 1 N 1 u n T m ( x n ) ]

where p m = 1 m = 0 and p m = 2 otherwise.

References

Discrete Chebyshev transform Wikipedia


Similar Topics