ArticleslgStudy

science

Von Neumann stability analysis

Von Neumann stability analysis is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Von Neumann stability analysis rather than just read about it. In short: In numerical analysis, von Neumann stability analysis (also known as Fourier stability analysis) is a procedure used to check the stability of finite difference schemes as applied to linear partial differential equations. The analysis is based on the Fourier decomposition of numerical error and was developed at Los Alamos National Laboratory after having been briefly described in a 1947 article by British researcher…

Key takeaways

  • Von Neumann stability analysis belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Von Neumann stability analysis to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Von Neumann stability analysis from memory before moving on to harder problems.

Reference excerpt

In numerical analysis, von Neumann stability analysis (also known as Fourier stability analysis) is a procedure used to check the stability of finite difference schemes as applied to linear partial differential equations. The analysis is based on the Fourier decomposition of numerical error and was developed at Los Alamos National Laboratory after having been briefly described in a 1947 article by British researchers John Crank and Phyllis Nicolson. This method is an example of explicit time integration where the function that defines governing equation is evaluated at the current time. Later, the method was given a more rigorous treatment in an article co-authored by John von Neumann, wherein it is described as a "heuristic procedure" patterned after the more rigorous Courant–Friedrichs–Lewy condition.

Numerical stability The stability of numerical schemes is closely associated with numerical error. A finite difference scheme is stable if the errors made at one time step of the calculation do not cause the errors to be magnified as the computations are continued. A neutrally stable scheme is one in which errors remain constant as the computations are carried forward. If the errors decay and eventually damp out, the numerical scheme is said to be stable. If, on the contrary, the errors grow with time the numerical scheme is said to be unstable. The stability of numerical schemes can be investigated by performing von Neumann stability analysis. For time-dependent problems, stability guarantees that the numerical method produces a bounded solution whenever the solution of the exact differential equation is bounded. Stability, in general, can be difficult to investigate, especially when the equation under consideration is nonlinear. In certain cases, von Neumann stability is necessary and sufficient for stability in the sense of Lax–Richtmyer (as used in the Lax equivalence theorem): The PDE and the finite difference scheme models are linear; the PDE is constant-coefficient with periodic boundary conditions and has only two independent variables; and the scheme uses no more than two time levels. Von Neumann stability is necessary in a much wider variety of cases. It is often used in place of a more detailed stability analysis to provide a good guess at the restrictions (if any) on the step sizes used in the scheme because of its relative simplicity.

Illustration of the method The von Neumann method is based on the decomposition of the errors into Fourier series. To illustrate the procedure, consider the one-dimensional heat equation ∂u∂t=α∂2u∂x2 defined on the spatial interval L, with the notation ujn=u(xj,tn) where xj are the specific x values, and tn are the sequence of t values. We can discretize the heat equation as

where r=αΔt(Δx)2 Then the solution ujn of the discrete equation approximates the analytical solution u(x,t) of the PDE on the grid. Define the round-off error ϵjn as ϵjn=Njn−ujn where ujn is the solution of the discretized equation (1) that would be computed in the absence of round-off error, and Njn is the numerical solution obtained in finite precision arithmetic. Since the exact solution ujn must satisfy the discretized equation exactly, the error ϵjn must also satisfy the discretized equation. Here we assumed that Njn satisfies the equation, too (this is only true in machine precision). Thus

is a recurrence relation for the error. Equations (1) and (2) show that both the error and the numerical solution have the same growth or decay behavior with respect to time. For linear differential equations with periodic boundary condition, the spatial variation of error may be expanded in a finite Fourier series with respect to x, in the interval L, as

where the wavenumber km=πmL with m=−M,…,−2,−1,0,1,2,…,M and M=L/Δx. The time dependence of the error is included by assuming that the amplitude of error Em is a function of time. Often the assumption is made that the error grows or decays exponentially with time, but this is not necessary for the stability analysis. If the boundary condition is not periodic, then we may use the finite Fourier integral with respect to x:

Since the difference equation for error is linear (the behavior of each term of the series is the same as series itself), it is enough to consider the growth of error of a typical term:

if a Fourier series is used or

if a Fourier integral is used. As the Fourier series can be considered to be a special case of the Fourier integral, we will continue the development using the expressions for the Fourier integral. The stability characteristics can be studied using just this form for the error with no loss in generality. To find out how error varies in steps of time, substitute equation (5b) into equation (2), after noting that ϵjn=Em(t)eikmxϵjn+1=Em(t+Δt)eikmxϵj+1n=Em(t)eikm(x+Δx)ϵj−1n=Em(t)eikm(x−Δx), to yield (after simplification)

Introducing θ=kmΔx∈[−π,π] and using the identities sin⁡(θ2)=eiθ/2−e−iθ/22i→sin2(θ2)=−eiθ+e−iθ−24 equation (6) may be written as

Define the amplification factor

The necessary and sufficient condition for the error to remain bounded is that |G|≤1. Thus, from equations (7) and (8), the condition for stability is given by

Note that the term 4rsin2(θ/2) is always positive. Thus, to satisfy Equation (9):

For the above condition to hold for all m (and therefore all sin2(θ/2)). The highest value the sinusoidal term can take is 1 and for that particular choice if the upper threshold condition is satisfied, then so will be for all grid points, thus we have

Equation (11) gives the stability requirement for the FTCS scheme as applied to one-dimensional heat equation. It says that for a given Δx, the allowed value of Δt must be small enough to satisfy equation (10). Similar analysis shows that a FTCS scheme for linear advection is unconditionally unstable.

References

Worked examples

Example 1 — a first encounter with Von Neumann stability analysis

Start with the simplest possible case. Write down what Von Neumann stability analysis claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Von Neumann stability analysis before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Von Neumann stability analysis ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Von Neumann stability analysis

In research
Von Neumann stability analysis appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Von Neumann stability analysis in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Von Neumann stability analysis is common in secondary-school and first-year university syllabi. It links to neighbouring topics Fourier analysis, Numerical analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Von Neumann stability analysis outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Von Neumann stability analysis” →

How to study Von Neumann stability analysis in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Von Neumann stability analysis means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Von Neumann stability analysis out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Von Neumann stability analysis in simple terms?

In numerical analysis, von Neumann stability analysis (also known as Fourier stability analysis) is a procedure used to check the stability of finite difference schemes as applied to linear partial differential equations. The analysis is based on the Fourier decomposition of numerical error and was…

Why does Von Neumann stability analysis matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Von Neumann stability analysis?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Von Neumann stability analysis.

Tags

  • Fourier analysis
  • Numerical analysis

Keep exploring