Spectral methods

cosmos 15th May 2019 at 3:21am
Functional analysis

Fourier spectral discretization

Finite difference formulas create dispersion effects not found in original PDE. Similar effects seen in crystals, which are discrete by nature.

One way to avoid these, is to let the order of the finite difference formula tend to infinity. We then get spectral methods. Simplest favours are:

  • Periodic domains: Fourier spectral methods.
  • Non-periodic domains: Chebysev spectral methods.

In the limit of infinite order, those finite differences approach the infinite Laurent matrix (or Laurent operator).

Suppose we have the values of the solution function vv on our discrete periodic grid. Spectral approximations to vv', ww is given by:

w=Dvw=Dv

where D here is the spectral differentiation matrix.

The fundamental idea of spectral collocation methods is :

1. Interpolate the data by a global interpolant (for example, a periodic trigonometric polynomial):

p(x)=j=N/2N/2ajeijxp(x) = \sum_{j=-N/2}^{N/2} a_j e^{ijx}

2. Differentiate p(x)p(x) and evaluate at the grid points.

From properties of exponential, another way to compute the 2nd Fourier spectral derivative is:

1. Given uu, compute its DFT (discrete Fourier transform) U = fft(u) (using MATLAB notation for fast Fourier transform (FFT), an efficient algorithm to compute DFT).

2. Multiply by j2-j^2: W(j)=j2UjW(j) = -j^2 U_j.

3. Take the inverse transform w = ifft(u).

Similar ideas lead to the one-way wave equation.

Fill details below from lecture 10, when it's published (https://www0.maths.ox.ac.uk/courses/course/28839, and vid).

Fourier series

...

Quadrature: trapezoidal rule \Leftrightarrow integrating the interpolant

Rootfinding: via eigenvalues of companion matrix

Laurent series

...

Chebysev series

...


Relations to Grid cells and Spatial navigation (see my work on the second rotation of the SysBio DTC)

Spectral Inference Networks: Unifying Deep and Spectral Learning