11.08.2013 Views

Untitled - Cdm.unimo.it

Untitled - Cdm.unimo.it

Untitled - Cdm.unimo.it

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

68 Polynomial Approximation of Differential Equations<br />

Henceforth, depending on the basis used for the representation of a polynomial, we<br />

distinguish among the two cases w<strong>it</strong>h the help of the following terminology. When the<br />

space of polynomials is intended to be the span of the uk’s, then <strong>it</strong> is isomorph to the<br />

set of Fourier coefficients. In this s<strong>it</strong>uation we call <strong>it</strong> the frequency space. Otherwise,<br />

when the isomorphism is naturally established w<strong>it</strong>h the set of the point values, <strong>it</strong> will<br />

be denoted by physical space. There are s<strong>it</strong>uations in which <strong>it</strong> is more convenient to<br />

work w<strong>it</strong>h one of the two representations. The discrete Fourier transform allows passage<br />

from the physical to the frequency space, thus both representations can be used to their<br />

fullest advantage.<br />

The cost of implementing the transform or <strong>it</strong>s inverse is proportional to n 2 , since<br />

<strong>it</strong> corresponds to a matrix-vector multiplication. Most of this chapter is dedicated to<br />

the analysis of a special case which occurs when Chebyshev polynomials are used. For<br />

this choice of polynomials, fast algor<strong>it</strong>hms have been developed to perform the discrete<br />

Fourier transform, considerably reducing the computational expense.<br />

4.2 Aliasing<br />

Two operators Πw,n and Iw,n have been respectively introduced in sections 2.4 and<br />

3.3. For a continuous function f, both the images Πw,n−1f and Iw,nf are in Pn−1,<br />

which is interpreted as frequency or physical space respectively. Unless f is a polynomial<br />

in Pn−1, the projection and the interpolant do not coincide. We show two examples.<br />

In figures 4.2.1 and 4.2.2, we plot in [−1,1] the projection and the interpolant of the<br />

same degree, corresponding to two different functions. In the first figure we have set<br />

f(x) = 4|x| − 2 − 1, w(x) ≡ 1 (Legendre weight function) and n = 8. In the second<br />

we have set f(x) = 1<br />

2 − |sinπx|, w(x) = 1/ √ 1 − x 2 (Chebyshev weight function)<br />

and n = 13.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!