Stability regions, Butcher tableau, and order conditions
Runge–Kutta theory, the Butcher tableau formalism, order conditions, stability regions in the complex plane, A-stability and L-stability, and the Dahlquist barrier — applied to the Chapter 4 discretization atlas.
On this page
- 5.1 Runge–Kutta methods and the Butcher tableau
- 5.2 Order conditions
- 5.3 The stability function and stability regions
- 5.4 A-stability, L-stability, and the Dahlquist barrier
- 5.5 Stability regions of the Chapter 4 schemes
- 5.6 What’s next
- 5.7 Exercises
- Exercise 5.1 (computation)
- Exercise 5.2 (computation)
- Exercise 5.3 (computation + code)
- Exercise 5.4 (theory) — solution in §5.8
- Exercise 5.5 (theory) — solution in §5.8
- Exercise 5.6 (theory) — solution in §5.8
- 5.8 Full solutions to theory exercises
- Solution to Exercise 5.4
- Solution to Exercise 5.5
- Solution to Exercise 5.6
- 5.9 Companion code
Stability regions, Butcher tableau, and order conditions
5.1 Runge–Kutta methods and the Butcher tableau
Chapter 4 introduced ZOH, bilinear, and exp-trapezoidal as three specific one-step schemes for the linear state-space system. They are members of a much larger family: one-step methods that compute from using only one previous state and possibly intermediate stage evaluations of the right-hand side. The Runge–Kutta (RK) family is the most studied subfamily.
For the autonomous initial-value problem — we drop the explicit input dependence for this chapter; everything generalizes — an -stage Runge–Kutta method computes
The are the stage derivatives — evaluations of at intermediate states. The constants define the method, where are the stage times. The Butcher tableau is the standard tabular notation
The method is explicit if is strictly lower triangular ( for ), in which case each depends only on previously computed . It is implicit otherwise, requiring a nonlinear system solve at each step.
Three classical examples make the formalism concrete.
Forward Euler. The simplest explicit method, :
The midpoint rule (RK2). A two-stage explicit method:
Classical RK4. The most-quoted explicit method, four stages:
Fourth-order globally, the workhorse of physics simulations for half a century.
The tableau abstraction was introduced by John Butcher in the 1960s and is now the lingua franca of one-step methods: every reference paper on numerical integration presents its method as a Butcher tableau. The constraint (consistency of stage times) and (consistency of the weighted sum) are imposed by every tableau worth its name. Without them the method does not even reproduce the trivial constant trajectory when .
5.2 Order conditions
How do we know that classical RK4 is fourth-order globally? The convergence order of an RK method is determined by order conditions: polynomial identities on the entries of that must hold for the local truncation error to be .
The derivation expands as a Taylor series and matches term-by-term against the RK output produced from . For a scalar autonomous ODE the leading conditions are:
- Order 1:
- Order 2: also
- Order 3: also and
- Order 4: four more conditions involving products of
For systems (the case we actually care about), the number of order conditions grows combinatorially: 5 conditions for order 4, 17 for order 5, 37 for order 6 Hairer et al. (1993) . Butcher organized these conditions using a bijection between order-conditions and rooted trees (each tree corresponds to an integer partition of -evaluations and gives one polynomial identity). The combinatorial explosion is one reason 8th-order RK methods are rarely used: there are over 200 order conditions to satisfy simultaneously, and the resulting tableaux have dozens of stages.
(Butcher order conditions.) Suppose is sufficiently smooth. An -stage Runge–Kutta method with tableau is of order — meaning — if and only if a specific finite set of polynomial conditions on holds (one per Butcher tree of order ). The Lax equivalence theorem (Chapter 4) then guarantees global convergence at order .
The proof is non-trivial and we will not reproduce it; the canonical reference is Hairer–Nørsett–Wanner Chapter II.2 Hairer et al. (1993) . For our purposes the takeaway is that the order of an RK method is a property of its tableau entries, derivable by algebraic manipulation alone. You can verify (Exercise 5.1) that RK4’s tableau satisfies all 4 order-4 conditions; you can also verify (Exercise 5.2) that an arbitrary two-stage explicit tableau cannot achieve order higher than 2, regardless of how you choose the free parameters.
5.3 The stability function and stability regions
Order conditions characterize how a method behaves as on a smooth problem. Stability characterizes how it behaves at fixed on a stiff problem — when the time scales in the dynamics are well-separated and at least one is much faster than .
The standard probe is the Dahlquist test equation
The exact solution is . Applying an -stage RK method to this scalar problem produces, after one step,
where is the stability function of the method. For an explicit RK method, is a polynomial in of degree :
where is the all-ones -vector and the inverse expands as a finite geometric series because is nilpotent (strictly lower-triangular). For an implicit RK method, is a rational function .
Three examples make this concrete.
Forward Euler. With , : .
Midpoint RK2. Working through the formula gives — the second-order Taylor polynomial of .
Classical RK4. — the fourth-order Taylor polynomial.
A pattern emerges: for a -th order explicit RK method, agrees with through terms of degree . This is no coincidence — order requires the method to reproduce correctly on the test problem through that order in . The error is near .
The stability region of the method is the set
\stabregion = \set{z \in \C : \abs{\stabfn(z)} \le 1}.On the test problem with in the left half-plane (so the exact solution decays), the method’s iterates stay bounded iff . The stability region is the constraint on that keeps the method well-behaved on stiff problems — equivalently, the set of values you can take for a given .
The stability region of forward Euler is the disk — a disk of radius 1 centered at . For a real-eigenvalue , this requires . The tighter this constraint becomes (large = stiff problem), the smaller the maximum step size — this is the step-size restriction that motivates implicit methods.
5.4 A-stability, L-stability, and the Dahlquist barrier
A method is A-stable if its stability region contains the entire closed left half-plane: . On a stable linear problem with , an A-stable method preserves stability for every positive step size — no step-size restriction at all. This is the gold standard for stiff problems.
A method is L-stable if it is A-stable and as . L-stability damps fast eigenmodes aggressively, which is desirable when you want the discrete method to not preserve fast oscillations the continuous solution decays. Backward Euler is L-stable; the trapezoidal rule (= bilinear from Chapter 4) is A-stable but not L-stable (its stability function tends to , not 0, as ). The distinction matters when the system has eigenvalues with very large negative real part: bilinear will preserve high-frequency oscillation modes that should physically be damped.
The fundamental theorem on A-stability of explicit methods is the Dahlquist barrier:
(Dahlquist barrier for explicit RK.) No explicit Runge–Kutta method is A-stable. The maximum order of an A-stable Runge–Kutta method (explicit or implicit) is unbounded, but explicit methods cannot achieve A-stability at any order.
The proof for the explicit case is direct: an explicit RK method has polynomial in , and any polynomial diverges as . So is bounded, and cannot contain the entire (unbounded) left half-plane. ∎
The implicit case is more subtle: there exists an A-stable Runge–Kutta method of every order, but the constructions are increasingly elaborate. The Gauss–Legendre family — Chapter 6’s main attraction — produces A-stable implicit methods of every even order. The -stage Gauss–Legendre method is order , optimally accurate among -stage implicit RK methods, and A-stable, and (a bonus for Hamiltonian systems) symplectic.
The practical consequence for SSM discretization: you cannot have an explicit, A-stable, high-order one-step method. You must pick at most two of the three properties (explicit, A-stable, order ≥ 3). The Chapter 4 schemes resolve this trilemma differently:
- Forward Euler: explicit, order 1, not A-stable.
- ZOH and exp-trapezoidal: A-stable and of arbitrary order on autonomous problems, by virtue of using the matrix exponential — but they sit outside the explicit-RK family (they have non-polynomial stability functions).
- Bilinear: A-stable, order 2, implicit in form (requires inverting ).
The exponential integrators of §4.5 are a way to evade the Dahlquist barrier: by computing exactly, the stability function inherits the full LHP-stability of the exponential, and the polynomial-order restriction is moved from to a different object (the approximation of the forcing by -functions). This is why exp-trapezoidal can be both “explicit in the input” (no nonlinear solve in ) and A-stable.
5.5 Stability regions of the Chapter 4 schemes
Reading the three Chapter 4 schemes through the lens of stability functions:
ZOH. From §4.3, , so for the scalar test problem . The stability region is — exactly the closed left half-plane. ZOH is A-stable, in fact also L-stable because as .
Bilinear (Tustin). From §4.4, . The Möbius geometry from Chapter 4 §4.4 / Exercise 4.5 says the LHP maps bijectively to the open unit disk, so the stability region is exactly the closed left half-plane — bilinear is A-stable. But as , so bilinear is not L-stable. This is the trapezoidal-rule failure mode: oscillatory artifacts on very stiff problems.
Exp-trapezoidal. The homogeneous stability function is identical to ZOH’s: on the test problem (the difference between ZOH and exp-trap shows up only in the forcing integrals; the homogeneous behavior is the same). So exp-trapezoidal is A-stable and L-stable, just like ZOH.
5.6 What’s next
This chapter has laid out the systematic framework for analyzing one-step methods: Butcher tableau, order conditions, stability functions, stability regions, A-stability and L-stability, and the Dahlquist barrier. Chapter 6 uses this framework to motivate the implicit family — backward Euler, BDF, and the Gauss–Legendre IRK schemes that achieve A-stability at every order — and the symplectic family, which trades order or A-stability for the preservation of geometric invariants. Chapter 6 is where the C1 niche pilot lives: symplectic integration of selective SSMs viewed as Hamiltonian flows on the hidden-state manifold.
A natural side path is embedded methods — pairs of RK tableaux of consecutive orders sharing stages, used for adaptive step-size control. The DP54 method (Dormand–Prince 5(4)) used by DifferentialEquations.jl’s default solver Tsit5 is a famous example. Embedded methods are excellent practical tools but tangential to the SSM pedagogy of this book; the companion discretization_atlas.jl references the RKF45 / DP54 tableaux for completeness.
5.7 Exercises
Six problems. Short/numerical (5.1–5.3) have inline collapsible solutions; long/proof exercises (5.4–5.6) have full worked solutions in §5.8.
Exercise 5.1 (computation)
Verify that classical RK4 satisfies the four order-conditions of order 4 — at least the simpler ones: , , . Use the tableau in §5.1.
Solution
From the tableau, and .
- . ✓
- . ✓
- . ✓
Exercise 5.2 (computation)
Show that an arbitrary two-stage explicit RK tableau (one free parameter , with , to be determined, ) cannot achieve order 3 no matter how are chosen.
Solution
For order 2 we need (trivially ) and , giving , . So the two-parameter family collapses to a one-parameter family of order-2 methods (midpoint , Heun , etc.).
For order 3 we additionally need and . The second condition uses , giving . Contradiction. So no two-stage explicit method achieves order 3.
This is a small instance of the general fact: order requires at least stages for explicit methods (Butcher’s order barriers).
Exercise 5.3 (computation + code)
Run companions/ch05/jax/order_verification.py. Confirm the empirical slopes match Forward Euler (1), midpoint RK2 (2), classical RK4 (4). What happens to the RK4 slope at very small (say )?
Solution
The companion’s order_verification function prints slopes , , for the three methods in turn. At very small , the RK4 error reaches the roundoff floor — typically in float64 — and the slope flattens out as machine precision starts to dominate the method error. This is why empirical order is always estimated from the two finest dt where the method error still exceeds roundoff, not from arbitrarily fine dt.
Exercise 5.4 (theory) — solution in §5.8
Prove that for an explicit Runge–Kutta method with tableau , the stability function is
where . Verify that for classical RK4 this evaluates to .
Exercise 5.5 (theory) — solution in §5.8
Prove the Dahlquist-barrier statement for explicit RK methods: that no explicit RK method is A-stable. (The proof was sketched in §5.4; flesh it out, using the fact that explicit methods have polynomial stability functions.)
Exercise 5.6 (theory) — solution in §5.8
For the bilinear/Tustin scheme, show that the stability function satisfies as along any direction with bounded, and explain why this rules out L-stability. Discuss what this means for the discrete dynamics of a bilinear-discretized stable LTI system with very fast-decaying eigenmodes.
5.8 Full solutions to theory exercises
Solution to Exercise 5.4
Apply the -stage explicit RK method to the test ODE , . The stage equations become
Set and let . The vector form is
For an explicit method is strictly lower-triangular, hence nilpotent (), and the geometric series truncates. So , and
For classical RK4, direct computation of — expanding the geometric series and multiplying out — gives, after some algebra,
This is the fourth-order Taylor polynomial of , as expected for a fourth-order method.
Solution to Exercise 5.5
For an explicit RK method, is strictly lower-triangular, so and the geometric series for truncates at . Therefore
is a polynomial in of degree at most . Polynomials are unbounded: as along any ray (assuming the leading coefficient is nonzero, which holds for any -stage method of order , the only interesting case).
The closed left half-plane is unbounded — it extends to along the real axis. The stability region \stabregion = \set{z : \abs{\stabfn(z)} \le 1} is therefore bounded. So cannot contain the entire LHP, and the method is not A-stable. ∎
The proof relies essentially on being a polynomial. Implicit methods have rational , which can be bounded at infinity if . This is the precise sense in which implicit methods evade the Dahlquist barrier.
Solution to Exercise 5.6
Write with and bounded. Then
For large the dominant terms are . More precisely,
This rules out L-stability: L-stability requires , not . ∎
Practical implication. For a stable LTI system with having an eigenvalue with very large — a fast-decaying mode — bilinear discretization at step size produces a discrete eigenvalue . The corresponding mode in the discrete dynamics therefore alternates sign at every step before decaying, rather than smoothly decaying. This trapezoidal-rule oscillation is the classic L-stability failure mode: the discrete solution exhibits spurious oscillations not present in the continuous solution. For SSMs this manifests as oscillatory artifacts in the hidden state when the system has eigenvalues with very negative real parts — exactly the regime where stiff implicit methods like BDF (Chapter 6) are preferred over bilinear.
5.9 Companion code
Two JAX companions and one Julia companion for Chapter 5.
JAX (companions/ch05/jax/):
stability_regions.py— computes and plots stability regions for forward Euler, midpoint RK2, classical RK4, ZOH, bilinear, and exp-trapezoidal in the complex plane; emitsrk_stability_regions.png,atlas_stability.png, andbutcher_tableaux.png.order_verification.py— implements RK1/RK2/RK4 from their tableaux; verifies empirical orders 1, 2, 4 on the forced damped oscillator from Chapter 4; emitsorder_verification.png.
Julia (companions/ch05/julia/):
butcher_tableau_zoo.jl— usesDifferentialEquations.jlsolver tables (OrdinaryDiffEqTsit5, etc.) to extract Butcher coefficients programmatically and print them side-by-side with the analytic forms used in §5.1.Project.toml/Manifest.toml— companion-local Julia environment.
To run from the repo root:
# JAX
PYTHONPATH=. python companions/ch05/jax/stability_regions.py
PYTHONPATH=. python companions/ch05/jax/order_verification.py
# Julia (first run will precompile DifferentialEquations.jl)
julia --project=companions/ch05/julia companions/ch05/julia/butcher_tableau_zoo.jl
All figures emit to public/figures/ch05/.