The Lax–Friedrichs method is an explicit, finite‑difference scheme used to approximate solutions of hyperbolic partial differential equations, particularly systems of conservation laws. It was introduced by Peter D. Lax and Kurt Friedrichs in the early 1950s as a simple, robust approach to handling shock waves and discontinuities.
Formulation
For a scalar conservation law in one spatial dimension
$$ u_t + f(u)_x = 0, $$
the Lax–Friedrichs update from time level $n$ to $n+1$ on a uniform grid with spatial step $\Delta x$ and time step $\Delta t$ is
$$ u_i^{,n+1}= \frac{1}{2}\bigl(u_{i-1}^{,n}+u_{i+1}^{,n}\bigr) -\frac{\Delta t}{2\Delta x}\bigl[f(u_{i+1}^{,n})-f(u_{i-1}^{,n})\bigr]. $$
The method can be viewed as a combination of a central difference for the spatial derivative and a numerical dissipation term (the averaging of neighboring values) that stabilizes the scheme.
Properties
-
Stability: The method is conditionally stable under the Courant–Friedrichs–Lewy (CFL) condition
$$ \lambda \equiv \frac{\Delta t}{\Delta x},\max_{u}|f'(u)| \le 1, $$
where $f'(u)$ is the characteristic speed. -
Accuracy: It is first‑order accurate in both space and time. The artificial diffusion introduced by the averaging term diffuses sharp gradients, which can smear discontinuities.
-
Robustness: Because the scheme is explicit and involves only nearest‑neighbor information, it is easy to implement and often used as a baseline for testing more sophisticated methods.
Extensions and Variants
-
Lax–Friedrichs–Rusanov (Rusanov) flux: Replaces the averaging term with a more general numerical flux that uses the maximal wave speed across the interface, improving accuracy while retaining the method’s simplicity.
-
Higher dimensions: The method extends naturally to multiple spatial dimensions by applying the one‑dimensional update directionally (dimension‑by‑dimensional splitting) or by using a multi‑dimensional stencil.
-
Hybrid schemes: The Lax–Friedrichs flux is frequently employed as a fallback or “entropy‑fix” component within high‑resolution schemes such as total variation diminishing (TVD) or weighted essentially non‑oscillatory (WENO) methods.
Applications
The Lax–Friedrichs method has historically been used for:
- Shock‑tube problems and Riemann problems in gas dynamics.
- Linear advection and Burgers' equation for benchmarking numerical algorithms.
- Preliminary simulations where computational simplicity outweighs the need for high accuracy.
Limitations
- The excessive numerical diffusion limits its ability to resolve steep gradients or thin shock layers.
- First‑order convergence may be inadequate for problems requiring high precision.
- For stiff source terms or highly nonlinear fluxes, more advanced schemes (e.g., Godunov, Roe, or high‑order ENO/WENO) are generally preferred.
Historical Note
The method was first presented in the seminal papers by Lax and Friedrichs (1954, 1955) and has since become a standard reference point in the literature on numerical methods for hyperbolic PDEs. It laid the groundwork for later development of upwind and flux‑splitting techniques.