Embedded Runge-Kutta pair Created 2026-10-14 Updated 2026-10-14
Two Runge-Kutta methods share a stage matrix and nodes but use different output weights. An order- and order- pair with gives an output difference generally of order , estimating the lower-order defect. Shared stage evaluations reduce the cost. The adaptive step-size controller exponent must reflect this estimator order, rather than blindly the higher reported solution order.
Using the slope convention for Runge-Kutta stages, an embedded Runge-Kutta pair computes
Its Butcher tableau has two output rows, and . Evaluating is often the expensive part of solving an ordinary differential equation; after the shared slopes have been computed, the extra row needs only another linear combination.[ref]
Write for the exact endpoint from the current numerical state, and define signed local defects and . Then . If and , with , the difference reproduces the leading lower-order defect. It does not reproduce the leading higher-order defect. Here the powers use big O notation and a smooth Taylor expansion; a vanishing leading coefficient or accidental cancellation can make the estimate misleading.
A common choice accepts after testing with absolute and relative error tolerances. With the scale approximately unchanged on a retry, the adaptive step-size controller uses exponent . Accepting a better endpoint does not change the power in the quantity being tested. The Euler-Heun embedded pair makes this visible without a large coefficient table.[ref]
Euler-Heun embedded pair 2026-10-14
The Euler-Heun 1(2) pair combines the explicit Euler method and Heun's method. Here 1(2) names their respective order of a numerical method; the accepted endpoint in this article is the second-order one. Its shared Runge-Kutta stages and endpoints are
The first output row in this Butcher tableau is Heun's method; the second is the explicit Euler method. Both outputs cost two evaluations of together, rather than one for Euler method plus two for a separately computed Heun's method.
For the initial value problem , , take . The first slope is ; the stage state is , giving . Therefore
The exact exponential function gives signed local defects approximately for the explicit Euler method and for Heun's method. Their difference is exactly . Thus the pair difference estimates the larger Euler defect; calling it the actual Heun defect would miss by a factor about fourteen here.
More generally, a step from on has
These original Taylor expansions separate three quantities: the accepted Heun's method has local truncation error and global error under suitable numerical stability, while the tested local error estimator is . For with held approximately fixed, use . A cube-root update would model a different quantity, the actual higher-order local defect.
Let be the vector of ones. For a general nonautonomous Runge-Kutta method the stages satisfy and the update is . Expansion at gives
and therefore
The exact solution is . Matching the independent terms gives the necessary and sufficient second-order conditions with independent Runge-Kutta abscissae
Under the usual internally consistent Butcher tableau convention , this reduces to , , . If the abscissae are allowed to be independent of the row sums, is a sufficient simplifying convention rather than a logically necessary order-two condition.
Introduce one stage with , and update . This is the implicit midpoint rule as a one-stage Runge-Kutta method, with Butcher tableau
For a smooth vector field, write . Expanding its stage equation gives
which matches the exact Taylor expansion through degree two. The method therefore has order at least two. On the Dahlquist test equation , its stability function is
The third coefficient differs from the exponential's , so the order is exactly two.
There is no pole in , and
Thus throughout the closed left half-plane:
This conclusion is A-stability, not strong damping of arbitrarily stiff modes: along the negative real axis.
For the first Butcher tableau, and the off-diagonal entries sum to , while each diagonal entry is . Thus
The positive weights and zero matrix prove that method 1 is algebraically stable. It is the two-stage Gauss collocation method.
The second method is explicit and has . Its first diagonal algebraic-stability entry is
A positive semidefinite matrix cannot have a negative diagonal quadratic form, so method 2 is not algebraically stable. The negative value supplies a direct test; its order is irrelevant to this conclusion.
For the third method, and . Direct computation gives
Both weights are positive, so method 3 is algebraically stable.
The complete Butcher tableau in the PDF supplies
These are the two Gauss nodes and the corresponding Gauss--Legendre Runge-Kutta method. We can verify its order directly rather than infer it from its name. Write , and let powers of be componentwise. The Butcher order conditions through order four are
For these coefficients , and . Also for , as follows by averaging the two values . These identities give all eight displayed Butcher order conditions; for example , , and . They establish order at least four for smooth nonlinear ordinary differential equations.
To exclude order five, apply the method to the Dahlquist test equation. Solving its stage equations gives the stability function
The exact solution has coefficient at degree five. Hence the method has order exactly four; its one-step defect is .
A Runge-Kutta method advances through stages
The Butcher tableau records , normally with . Linear absolute stability tests the amplification of a linear decay mode; nonlinear B-stability compares distances between two solutions of a dissipative vector field. Both describe propagation of perturbations, but they impose different conditions.
For the Dahlquist test equation, elimination of stages gives
The linear stability domain consists of for which the step is defined and . Poles or singular stage systems must be excluded, even if an output formula has a formal cancellation. For a scalar test equation, the proof is : the powers are bounded exactly when . For , the update is . If is a normal matrix, unitary diagonalization of a normal matrix makes the operator norm equal to the largest scalar amplification modulus. For a diagonalizable matrix, powers are bounded by the condition number of the eigenvector matrix times the maximal scalar power. These constants must remain uniform for mesh-dependent systems. A defective unit-modulus eigenvalue can instead produce a growing Jordan block; the scalar spectral test alone does not control a general matrix.
An A-stable method accepts the entire closed left half-plane. The Explicit Euler method has and a disk of stability , so it is not A-stable. No nonconstant polynomial stability function can be A-stable, since it is unbounded on the negative real axis; this excludes all consistent explicit Runge-Kutta methods. The Backward Euler method has , and when , proving A-stability. It is also L-stable, because for large left-half-plane .
The implicit midpoint rule and the trapezoidal rule have the same scalar stability function,
The identity proves A-stability. On the imaginary axis their amplification has unit modulus, and along the negative real axis it tends to . Thus neither is L-stable; very stiff decay can persist as alternating numerical values. In contrast, the two-stage Radau IIA method has , with the explicit nonnegative modulus-gap proof in question 1, and is L-stable. This illustrates why L-stability matters beyond A-stability for a stiff differential equation.
For nonlinear problems, assume a real or complex Euclidean inner product and the dissipativity hypothesis
for all relevant states at each common time. Exact solutions satisfy
A B-stable Runge-Kutta method reproduces this nonexpansion of distances whenever its stages exist. Put , , and . Then . Expansion of the output squared norm, followed by substituting in its linear terms, proves the Runge-Kutta contractivity identity
If and is a positive semidefinite matrix, the first sum is nonpositive by dissipativity, and the second is nonnegative: expand each coordinate of the stage vectors to express it as a sum of nonnegative quadratic forms. These are exactly the conditions for algebraic stability of a Runge-Kutta method. Hence algebraic stability implies B-stability. Applying B-stability to the linear dissipative problem , or its two-dimensional real form, also proves A-stability whenever stages are well defined.
The Backward Euler method has , hence ; the implicit midpoint rule has , , hence . Both are algebraically stable and B-stable. For the two-stage Radau IIA method,
a positive semidefinite matrix, while both weights are positive. It therefore combines third-order accuracy, B-stability, and L-stability. The distinction between stability and solvability is essential: for Lipschitz continuous , the stage map is a contraction when , so the contraction mapping theorem proves small-step unique solvability. The preceding algebraic stability proof is an estimate for existing stages; it is not a theorem asserting stage existence for arbitrary step sizes and domains.
Linear A-stability is insufficient for nonlinear B-stability. The trapezoidal rule fails B-stability, even though its scalar stability function is identical to that of the B-stable implicit midpoint rule. Its Runge-Kutta method coefficients are
Failure of this sufficient algebraic stability test alone would not prove failure of B-stability. An actual counterexample does: take and . Dissipativity follows from
The unique step map obeys , because the left-hand side is strictly increasing and onto. At , , and implicit differentiation gives
Nearby initial states expand in distance. This proves a true nonlinear failure rather than merely failure of a coefficient criterion.
Finally, stability of a numerical method on finite intervals connects these contractivity properties to accuracy. If a one-step map is nonexpansive and its exact one-step defect has norm at most , then the error satisfies , hence for . A Lipschitz step bound gives the same order using the discrete Gronwall inequality. For a stiff differential equation, the value of B-stability is that the propagation estimate need not grow with a large negative dissipative rate. The accuracy constant still needs appropriate smoothness and uniform derivative bounds; stability alone does not establish a mesh-uniform error order.
The nodes have Lagrange interpolation polynomials
The coefficients obtained from and reproduce the given Butcher tableau. In particular, the second row's last entry is , which is missing from the TeX transcription. Thus this is the three-stage Lobatto IIIA method.
One applicable collocation theorem is that -stage Lobatto IIIA collocation has order . Alternatively, the fourth-order conditions for a Runge-Kutta method give a direct verification. With , and , the eight required Butcher order conditions are
Powers of here are componentwise. Substitution satisfies all eight. The stability function computed from the stages is
Its expansion satisfies , so even the scalar linear problem fails the fifth-order condition. Hence
The Butcher order condition theorem equates order with all conditions for rooted trees through order ; the displayed conditions are its complete specialization through order four.
An -stage Runge-Kutta method for is defined by
The Butcher tableau records , and ; internal consistency usually sets , and first-order consistency requires . A strictly lower triangular gives an explicit method, while other stage dependencies generally require an implicit Runge-Kutta method. The stage solvability of an implicit Runge-Kutta method must be checked separately: if is globally Lipschitz continuous in with constant , the stage fixed-point map is a contraction in the maximum stage norm whenever . This is a sufficient small-step condition, not a restriction intrinsic to the definitions of A-stability or B-stability.
Linear stability begins with the Dahlquist test equation . Solving the stages gives
The linear stability domain consists of test values for which the stage system is well defined and . A-stability means this includes the closed left half-plane. For , this gives stability with no scalar decay-mode step restriction. For a normal matrix in , unitary diagonalization of a normal matrix reduces the norm estimate to these scalar factors. For a non-normal matrix, eigenvalues alone do not establish a uniform norm bound: eigenvector conditioning and transient amplification matter. Mesh-uniform estimates for discretized PDEs must control operator powers, not only their spectra.
Every consistent explicit Runge-Kutta method has a nonconstant polynomial stability function and therefore cannot be A-stable, since that polynomial is unbounded on the negative real axis. For example, Forward Euler method has , stability disk , and restriction for . For a pure imaginary mode , , so it is unstable for every positive step. The classical fourth-order Runge-Kutta method instead has
It is stable on the imaginary axis exactly for , an illustrative conditional stability range for oscillatory evolution.
Backward Euler method has and is A-stable. L-stability adds as in the left half-plane; backward Euler satisfies this and strongly damps unresolved rapidly decaying modes in a stiff differential equation. The implicit midpoint rule and the trapezoidal rule both have , so they are A-stable but not L-stable. They preserve the modulus of a pure imaginary test mode, but their stiff-decay limit is , leaving oscillatory numerical remnants. The three-stage Lobatto IIIA method has the fourth-order rational function found in Question 2 and likewise lacks L-stability. Thus high order and A-stability do not themselves imply efficient stiff damping.
Nonlinear stability measures differences between solutions of the same equation. A one-sided Lipschitz condition is
Differentiating the squared difference and applying the Gronwall inequality gives . A dissipative vector field has and is contractive. A B-stable method preserves this property for every positive step size for which the stages are well defined:
This includes time-dependent vector fields when dissipativity holds at each common time argument. Applying it to scalar linear dissipative fields shows that B-stability implies A-stability when the linear stages are well defined; the converse fails.
The standard sufficient theorem is algebraic stability implies B-stability, subject to stage solvability. Define and . Algebraic stability of a Runge-Kutta method means and is a positive semidefinite matrix. To prove the theorem, set , and . Expanding the output difference and using yields the Runge-Kutta contractivity identity
Dissipativity makes the first sum nonpositive, while positive semidefiniteness makes the last quadratic form nonnegative. The latter follows by factoring and writing it as a sum of squared norms of linear combinations of the . This proves the claimed contraction. It is a sufficient theorem; absence of algebraic stability is not, by itself, a proof of failure of B-stability for every representation.
Several examples make the distinctions concrete. For backward Euler, , , so : it is both L-stable and B-stable. For implicit midpoint, , , so : it is B-stable and preserves squared norms for a skew-Hermitian linear equation, but lacks stiff damping. For the two-stage Gauss--Legendre Runge-Kutta method,
the matrix vanishes as well. The collocation theorem gives order four, and its stability function is exactly the same as the three-stage Lobatto IIIA function. Yet the Gauss method is algebraically stable, whereas that Lobatto method is not. Identical scalar linear stability functions need not imply identical nonlinear stability properties.
An example combining stiff damping and nonlinear contraction is the two-stage Radau IIA method, with
Its positive weights and positive semidefinite prove B-stability; its rational function has denominator roots and, for , satisfies
Thus it is A-stable; the limit then proves L-stability. The standard Radau IIA collocation theorem gives order , here three. These properties explain its usefulness for stiff nonlinear equations.
Finally, A-stability alone does not imply B-stability. The trapezoidal rule fails B-stability even for the scalar dissipative equation . With , its step map is uniquely defined by
At , . Implicit differentiation gives
Thus nearby starting values are separated by approximately twice their original distance after one step, although the exact flow is contractive. This example and the contractivity theorem show why scalar linear analysis, stiff damping and genuinely nonlinear norm estimates answer different stability questions.
The Butcher tableau has one stage with and , so it is the implicit midpoint rule
Again, interchanging the endpoints and changing to leaves the equation invariant. Hence .
Runge-Kutta method Created 2026-09-24 Updated 2026-10-14
A Runge-Kutta method advances an initial value problem , , by sampling its vector field at several trial states within one time step. These samples are Runge-Kutta stages; a weighted combination of their slopes produces the next state. The construction improves on the single tangent line used by the Euler method while requiring evaluations of , rather than explicit higher derivatives of the solution. It applies to scalar equations and systems of ordinary differential equations alike. The coefficient choices distinguish methods such as Heun's method, the classical fourth-order Runge-Kutta method and implicit Runge-Kutta methods.
For stages, write for the stage matrix, for relative time nodes and for output weights. A time step of length computes
Here is a slope, with units of state per time; is a state increment. Another common convention writes , so its stage states are and its output is . These are equivalent conventions: including both inside and again in the output would count the time step twice. The textbook formulation uses the increment convention.[ref]
Usually the Butcher tableau obeys , called internal consistency. Stage then combines slopes over an effective time . The second-order conditions with independent Runge-Kutta abscissae explain what changes when time nodes are specified independently. A Runge-Kutta stage is generally an auxiliary approximation, not a separate accepted solution value at its node. Several stages can even have the same time node but different state arguments, as in the classical fourth-order Runge-Kutta method.
The useful idea is to approximate the integral without knowing the intermediate exact trajectory. Trial states provide places to sample , and Butcher order conditions make the resulting combination agree with the exact Taylor expansion. More stages alone do not guarantee a higher order of a numerical method: their coefficients must satisfy the appropriate conditions. Embedded Runge-Kutta pairs reuse these same samples for a second output and a practical local error estimator.