Math 2.0

Numerical analysis Definition

Lax–Friedrichs method

Builds on Conservation lawFinite difference method

Definition

Let F ⁣:ℝm→ℝmF \colon \R^m \to \R^m be continuous, and consider the conservation law ut+F(u)x=0u_t + F(u)_x = 0 for u ⁣:ℝ×[0,∞)→ℝmu \colon \R \times [0, \infty) \to \R^m. Fix Δx>0\Delta x > 0 and Δt>0\Delta t > 0, and put λ=Δt/Δx\lambda = \Delta t / \Delta x. Let ujnu_j^n denote the approximation of uu at xj=jΔxx_j = j \Delta x and tn=nΔtt_n = n \Delta t. The Lax–Friedrichs method is the explicit scheme ujn+1=uj+1n+uj−1n2−λ2(F(uj+1n)−F(uj−1n)),j∈ℤ, n≥0.u_j^{n+1} = \frac{u_{j+1}^n + u_{j-1}^n}{2} - \frac{\lambda}{2} \left( F(u_{j+1}^n) - F(u_{j-1}^n) \right), \qquad j \in \Z,\ n \ge 0.

Remarks

It is in conservation form ujn+1=ujn−λ(Gj+1/2−Gj−1/2)u_j^{n+1} = u_j^n - \lambda \left( G_{j+1/2} - G_{j-1/2} \right) with the numerical flux Gj+1/2=F(ujn)+F(uj+1n)2−uj+1n−ujn2λ.G_{j+1/2} = \frac{F(u_j^n) + F(u_{j+1}^n)}{2} - \frac{u_{j+1}^n - u_j^n}{2 \lambda}. Its truncation error is of first order in Δx\Delta x when λ\lambda is fixed.

Example: for ut+aux=0u_t + a u_x = 0 with a∈ℝa \in \R, the scheme reads ujn+1=1−aλ2uj+1n+1+aλ2uj−1nu_j^{n+1} = \frac{1 - a\lambda}{2} u_{j+1}^n + \frac{1 + a\lambda}{2} u_{j-1}^n. If ∣a∣λ≤1\abs{a} \lambda \le 1, both weights lie in [0,1][0, 1] and sum to 11. So max⁡j∣ujn+1∣≤max⁡j∣ujn∣\max_j \abs{u_j^{n+1}} \le \max_j \abs{u_j^n}, and the scheme is stable in the maximum norm.

Non-example: the forward-time centred-space scheme ujn+1=ujn−λ2(F(uj+1n)−F(uj−1n))u_j^{n+1} = u_j^n - \frac{\lambda}{2}(F(u_{j+1}^n) - F(u_{j-1}^n)) differs only in the first term. For ut+aux=0u_t + a u_x = 0 with a≠0a \ne 0, it multiplies the Fourier mode eijξe^{i j \xi} by 1−iaλsin⁡ξ1 - i a \lambda \sin \xi, of modulus greater than 11 when sin⁡ξ≠0\sin \xi \ne 0. So it is unstable for every λ>0\lambda > 0.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Conservation law concept
  2. Finite difference method concept
  3. Lax–Friedrichs method definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Lax%E2%80%93Friedrichs_method
About this page
Tag53H8EVRC1J
URIm2://53H8EVRC1J
Kinddefinition
WritingW0 stub
MSC65M06, 65M08, 35L65
DefinesLax–Friedrichs method
UsesConservation law, Finite difference method

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.