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:
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 on our discrete periodic grid. Spectral approximations to , is given by:
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):
2. Differentiate and evaluate at the grid points.
From properties of exponential, another way to compute the 2nd Fourier spectral derivative is:
1. Given , 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 : .
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).
...
Quadrature: trapezoidal rule integrating the interpolant
Rootfinding: via eigenvalues of companion matrix
...
...
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