advanced30 min studyLesson 873 in Mathematics

Von Neumann stability and CFL conditions

Analyze amplification on periodic constant-coefficient grids and keep geometric CFL necessity separate from sufficient stability.

On this page

What you’ll understand

  • Use discrete Fourier orthogonality to interpret a scalar amplification bound.
  • Derive precise heat and upwind advection restrictions in their stated grid norms.
  • Recognize the limits of Fourier tests for boundaries, variable coefficients and coupled systems.

A CFL inequality is not a universal badge of stability. It can express a necessary domain-of-dependence condition, a sufficient monotonicity condition for a particular stencil, or the actual boundary of a specific amplification region. Von Neumann analysis tells these roles apart on a periodic constant-coefficient model, where the Fourier transform diagonalizes a scalar update exactly.

Amplification factors require a setting and a norm

For a scalar linear one-step scheme on a periodic uniform grid, each discrete Fourier mode is multiplied by a number G(theta) per step. The discrete Fourier transform is unitary after normalization in the h-weighted L2 norm. Therefore a bound|G|≤1 for every represented frequency implies one-step and repeated-step contraction in that norm. A slightly weaker bound|G|≤1+C time step can still yield a finite-time stability bound independent of the number of steps, provided C is uniform across refining grids.

Testing a scalar eigenvalue is less decisive for coupled nonnormal update matrices: uniformly bounded powers and a uniformly controlled diagonalization may matter. A periodic Fourier calculation also does not see an unstable inflow closure at a physical boundary. Consequently the analysis should specify periodicity or an infinite grid, constant coefficients, the scalar one-step structure and the norm. Treating it as a universal proof for variable-coefficient systems suppresses precisely the assumptions that make the transform argument work.

U^n+1(θ)=G(θ)U^n(θ),sup⁡θ∣G(θ)∣≤1⟹∥Un+1∥h≤∥Un∥h\widehat U^{n+1}(\theta)=G(\theta)\widehat U^n(\theta),\qquad \sup_\theta|G(\theta)|\le1\Longrightarrow\|U^{n+1}\|_h\le\|U^n\|_h
This implication uses a scalar periodic constant-coefficient one-step update and the h-weighted discrete L2 norm.↔ Scroll wide equations horizontally.

Two stencils give different restrictions

For centered-space Forward Euler heat flow, let r=kappa times time step divided by h squared. Its multiplier is one minus 4r sin squared(theta/2). Requiring its magnitude at most one for all frequencies in the standard infinite-grid or all-grid-size test gives 0≤r≤1/2. The same interval makes the physical-space coefficients nonnegative and summing to one. A particular finite grid lacking the highest frequency may permit a slightly larger L2 threshold; that does not change the uniform sufficient condition.

For positive-speed upwind advection, the update mixes the current and left-neighbor values with weights 1−nu and nu, where nu=a time step/h. Its squared amplification magnitude is one minus 4nu(1−nu)sin squared(theta/2), giving contraction for 0≤nu≤1. Here the restriction also ensures a monotone convex-combination update. These are scheme-specific sufficient results. The centered-space Forward Euler advection counterexample meets the geometric condition for small nu yet still amplifies every nontrivial mode.

Gheat=1−4rsin⁡2(θ/2),0≤r≤12;∣Gupwind∣2=1−4ν(1−ν)sin⁡2(θ/2),0≤ν≤1G_{\mathrm{heat}}=1-4r\sin^2(\theta/2),\quad0\le r\le\tfrac12;\qquad |G_{\mathrm{upwind}}|^2=1-4\nu(1-\nu)\sin^2(\theta/2),\quad0\le\nu\le1
Heat uses centered second differences and Forward Euler; upwind uses positive a with the left neighbor and Forward Euler.↔ Scroll wide equations horizontally.

Necessary information flow is not a complete stability proof

For an explicit local advection stencil with a fixed finite spatial reach per step, a convergent refinement must allow its numerical domain of dependence to contain the PDE’s characteristic domain. This is the geometric CFL principle. It is a necessary condition in that class of methods, not a sufficient theorem for all formulas with the same stencil reach. Implicit methods have a different numerical dependence structure, so the same finite-reach argument should not be imposed on them as an explicit-step necessity.

Stability must also be combined with consistency to obtain convergence in an appropriate well-posed linear problem; nonlinear conservation laws need additional entropy and compactness arguments. Report whether a proposed time step is justified by a symbol bound, monotonicity, an energy estimate or only a characteristic-speed heuristic. This makes it possible to adapt the calculation when the spatial operator, boundary treatment or time integrator changes, instead of applying one remembered CFL constant to unrelated algorithms.

The highest heat mode exposes an unstable step

For the periodic heat stencil with kappa=1,h=0.10, test time steps 0.004 and 0.006 on the frequency theta=pi. Assume an even number of grid cells so that this mode exists.

  1. The two heat ratios are r=0.004/0.01=0.4 and r=0.006/0.01=0.6. At theta=pi the sine-squared factor is one.

  2. The multipliers are 1−4(0.4)=−0.6 and 1−4(0.6)=−1.4. The first damps the alternating mode, while the second grows it in magnitude and changes sign each step.

  3. After five steps, the amplitude magnitudes are 0.6⁵=0.07776 and 1.4⁵=5.37824 times the initial magnitude. This single representable mode disproves L2 stability for the second step size.

The result

Time step 0.004 satisfies the uniform heat condition;0.006 fails and amplifies a real grid mode.

Explore the model

Interactive lab

Interactive lab · optimization

A scalar amplification factor can alternate and still decay

Pause and Reset, then set step size eta = 1.60 and initial position x₀ = 1. The recurrence multiplier is 1−eta=−0.6, matching the first tested heat mode; after five Steps predict x₅=−0.07776. Reset and set both eta = 2.40 and x₀ = 1: the multiplier−1.4 gives x₅=−5.37824, outside the plot. The instrument is scalar quadratic descent, not a heat-grid solver, and explicitly reports growth beyond the plot range.

A scalar amplification factor can alternate and still decayGradient descent on f(x) = x²/2: xₙ = (1 − η)ⁿx₀. Playback advances two discrete iterations per second. Values outside |x| ≤ 4 are explicitly reported. Current readings: Position x0: 2; Objective x²/2: 2; Iteration behavior: Stable step. All parameters are adjustable with the labeled controls below.−4−202402.174.356.528.7Parameter xf(x) = x²/2n = 0
ObjectiveDiscrete iterate
Position x0
2
Objective x²/2
2
Iteration behavior
Stable step
n = 0 · t = 0 s

Gradient descent on f(x) = x²/2: xₙ = (1 − η)ⁿx₀. Playback advances two discrete iterations per second. Values outside |x| ≤ 4 are explicitly reported. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forThe magnitude of an amplification factor determines stability; a negative sign alone only indicates alternation.

Check your understanding

What does satisfying the geometric advection CFL requirement establish for an arbitrary explicit local stencil?

Try it yourself

For positive-speed upwind advection with nu=0.75, compute|G| at theta=pi. Compare with nu=1.25 and explain the physical-space coefficient difference.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

At theta=pi the multiplier is 1−2nu. Check the weights 1−nu and nu as well as the Fourier magnitude.

Compare with the solution

At nu=0.75, G=1−1.5=−0.5 and|G|=0.5. The update coefficients are 0.25 and 0.75, both nonnegative, so the update is a convex combination. At nu=1.25, G=1−2.5=−1.5 and|G|=1.5; the coefficient 1−nu is−0.25, so monotonicity is lost and the highest mode grows. This is an exact scalar periodic-stencil test, not a conclusion about every advection discretization with the same nominal Courant number. A different time integrator changes the fully discrete multiplier and must be analyzed separately.

Take it with you

  • Scalar periodic Fourier amplification has a precise discrete L2 interpretation.
  • Heat and upwind advection have different scheme-specific restrictions.
  • Geometric CFL necessity does not replace amplification, energy, boundary or entropy analysis.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.