This is an excellent question that touches on a subtle but important aspect of spectral methods for hyperbolic problems. Let me work through the intuition and mathematics behind why spectral collocation methods work well for advection despite appearing to lack consistent upwinding.
The Apparent Paradox
You're right to notice this seeming contradiction. In finite difference methods, we explicitly choose upwind differences to respect the characteristic direction of information flow. In spectral methods using differentiation matrices, the derivative approximation at each collocation point involves all points in the element, creating what appears to be a mix of upwind and downwind contributions.
Resolution: The Global Nature of Spectral Approximation
The key insight is that spectral methods don't rely on local stencils like finite difference methods. Instead, they approximate the solution using global basis functions (typically Chebyshev or Legendre polynomials) across each element. The differentiation matrix represents the exact derivative of this polynomial approximation.
When we compute ∂u/∂x at a collocation point, we're not using a local finite difference stencil - we're evaluating the derivative of the interpolating polynomial that passes through all collocation points in the element. This polynomial captures the global behavior of the solution within the element.
Mathematical Perspective: Spectral Accuracy vs. Upwinding
For smooth solutions, spectral methods achieve exponential convergence, which typically dominates any benefits from upwinding within an element. The high-order polynomial approximation naturally captures the wave propagation characteristics without needing explicit upwind bias.
However, the real "upwinding" in discontinuous Galerkin spectral methods occurs at the element interfaces through the numerical flux. At element boundaries, you must choose how to handle the discontinuous solution values. This is where upwinding enters: you select the flux based on the characteristic direction (upwind value for u⁺ or u⁻ at the interface).
Boundary Behavior and One-Sided Effects
Near element boundaries, the differentiation matrix does exhibit some one-sided character, but this emerges naturally from the polynomial interpolation rather than being explicitly imposed. The Lagrange interpolation through Gauss-Lobatto points creates derivative approximations that are inherently more accurate and stable than naive centered differences.
At the leftmost point, for example, the derivative involves a weighted combination of all points, but the weights naturally emphasize the local behavior in a way that's consistent with the wave propagation direction - though this is a consequence of the polynomial approximation rather than explicit upwinding.
Why This Works
The success comes from several factors:
-
High-order accuracy: The spectral approximation is so accurate for smooth solutions that small upwind/downwind inconsistencies within elements are negligible.
-
Proper interface treatment: The real physics (characteristic directions) is respected at element boundaries through upwind flux selection.
-
Natural dissipation: Spectral methods on Gauss-Lobatto grids have some inherent numerical dissipation that helps stability without destroying accuracy.
-
Element-wise conservation: Each element conserves the quantity being advected, with exchange only through the interfaces.
The apparent paradox resolves because spectral methods achieve their stability and accuracy through fundamentally different mechanisms than finite differences - global polynomial approximation with careful interface treatment rather than local upwind stencils.