Spectral and Pseudospectral Methods
Spectral methods approximate a wavefunction with global basis functions. Pseudospectral methods evaluate differential equations or products at interpolation nodes. For smooth, well-resolved problems they can converge much faster with resolution than a fixed-order finite-difference stencil, but boundary mismatch, singularities, and aliasing remove that advantage. Here “spectral” describes the spatial approximation; it does not mean that every resulting eigenvalue is accurate.
Required background. Basis choice explains coefficient metrics, and boundary conditions identify the operator domain. Helpful background. Split-operator propagation explains Fourier grids used in time evolution.
Fourier differentiation on a periodic interval
Section titled “Fourier differentiation on a periodic interval”Let , with , on a periodic interval of length . Sample , ; the endpoint is not an additional independent point. With a unitary discrete Fourier transform , define represented wave numbers in the transform’s frequency order. Then
For real sampled , this matrix is Hermitian in the uniform grid metric, proportional to the identity. Applying uses two FFTs and a diagonal multiplication. No dense kinetic matrix is needed. Distinguish physical wavefunction samples from normalized discrete coefficients .
For , each represented Fourier mode is an exact eigenvector of this discretization with energy . On , the mode has eigenvalue whenever it is unambiguously represented. This checks differentiation of a single represented mode. A sharply localized wave packet generally needs many modes, so it also requires a bandwidth check.
For even , the Nyquist mode requires a consistent convention. Its second derivative is unambiguous in this kinetic construction; a real-grid first derivative has additional symmetry considerations. Do not create the Laplacian by squaring an arbitrary first-derivative implementation that has zeroed its Nyquist multiplier.
Projection and collocation make different potential matrices
Section titled “Projection and collocation make different potential matrices”A Fourier Galerkin method computes matrix elements of projected onto the retained basis. Multiplying sampled values and transforming back instead computes a discrete convolution whose frequency indices wrap modulo . These operations coincide only when the relevant products are represented accurately by the quadrature.
For example, on an grid, a sampled product is indistinguishable from . A well-converged eigensolver cannot detect this aliasing error from its residual. Increase spatial resolution, inspect Fourier coefficient tails, and, when forming products, evaluate them on a sufficiently enlarged grid before projecting back. The necessary padding depends on the product bandwidth; a single slogan about dealiasing is not a universal rule for arbitrary potentials or nonlinearities.
Polynomial collocation on a finite interval
Section titled “Polynomial collocation on a finite interval”For nonperiodic problems, Chebyshev–Lobatto nodes cluster near the endpoints. If are the corresponding cardinal polynomials, the differentiation matrix is
Map . The second derivative is represented by . For homogeneous Dirichlet data, form the full second derivative first and then retain its interior rows and columns. Squaring the already-truncated first derivative generally gives a different operator because the intermediate derivative does not satisfy the wavefunction’s boundary condition.
Unlike a variational stiffness matrix, a raw collocation matrix need not be Euclidean Hermitian. Do not pass it to a Hermitian eigensolver merely because the continuum Hamiltonian is self-adjoint. Verify the discrete metric and symmetry or use a solver suitable for the matrix actually constructed. Finite elements offer a different route when retaining the weak-form variational structure is central.
What spectral convergence requires
Section titled “What spectral convergence requires”Trefethen develops the relation between function regularity and spectral approximation. For an analytic solution with compatible boundaries, coefficient tails often decrease geometrically until other errors dominate. Finite differentiability generally produces algebraic decay. A discontinuity causes oscillatory interpolation errors; increasing polynomial degree alone does not turn that problem into an analytic one.
Separate three checks: enlarge the physical domain when approximating an infinite line; increase the number of modes at fixed domain; and tighten the algebraic solver tolerance. Compare low-energy states first, inspect wavefunctions as well as energies, and monitor the last retained coefficients. A residual measures the discrete problem, whereas changing the representation tests its approximation to the continuum.
Exercises
Section titled “Exercises”Explain why a localized Gaussian on a periodic interval may stop showing rapid Fourier convergence even though a Gaussian is analytic on the real line.
Solution
The periodically extended restriction must match at the endpoints, including derivatives. A small value at both boundaries does not guarantee exact derivative matching. The resulting periodic seam limits asymptotic convergence. Enlarging the domain reduces the seam error; increasing at a fixed domain eventually resolves that error rather than eliminating it.
On equally spaced points on , which represented frequency has the same samples as ? Why does the kinetic operator then give the wrong continuum energy for that unrepresented mode?
Solution
The samples equal those of because . The grid kinetic operator assigns , whereas the continuum frequency has energy . Sampling alone has lost the information needed to distinguish them.
References
Section titled “References”- Boyd, John P. Chebyshev and Fourier Spectral Methods. 2nd ed. Dover, 2001.
- Trefethen, Lloyd N. Spectral Methods in MATLAB. SIAM, 2000. Author’s book page and programs.