Advanced maths

Explicit Runge Kutta absolute stability region calculator

Calculate the absolute-stability polynomial of an explicit Runge–Kutta tableau and evaluate it on a complex grid.

Your numbers

Rows separated by semicolons; values by commas.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Calculate the absolute-stability polynomial of an explicit Runge–Kutta tableau and evaluate it on a complex grid. The page distinguishes a numerical method’s stability domain from an ODE solution trajectory. Its samples describe amplification of the scalar test equation, with the tableau restrictions and grid limitations visible.

THE FORMULAR(z)=1+Σ_(k=1..s) bᵀA^(k−1)1 z^k.

A worked example

Forward Euler has A=[0], b=[1] and stability polynomial R(z)=1+z. Its absolute stability region is the disk |1+z| ≤ 1. The default 5-by-5 grid over real coordinates [−2,0] and imaginary coordinates [−1,1] includes 13 points in that disk.

Good to know

Explicit strictly lower-triangular tableaux1–6stages, grid5–61. Samples and polynomial only; no implicit method or continuous contour certificate.

Start with the scalar test equation

Absolute stability is commonly examined on yprime=lambda y. One numerical step multiplies the current value by a stability function R(z), where z is step size times lambda. Repeated steps decay when its magnitude is below one and do not amplify in the nonstrict boundary case.

The complex number z combines method step size and problem eigenvalue. A point inside the region is not an independent physical parameter or a guarantee for every nonlinear system. It is a property of this test-equation amplification under the entered numerical method.

Forward Euler is stable inside a disk centered at minus one−1R(z)=1+z|1+z| ≤ 1Axis contact at 0
Forward Euler has A=[0], b=[1] and stability polynomial R(z)=1+z. Its absolute stability region is the disk |1+z| ≤ 1. The default 5-by-5 grid over real coordinates [−2,0] and imaginary coordinates [−1,1] includes 13 points in that disk. Diagram is schematic; labels specify the numerical values.

The Floquet multiplier calculator for a two by two periodic system studies growth across one period of a time-dependent linear system. Runge–Kutta absolute stability instead concerns numerical amplification of the scalar test equation through z=h lambda.

Enter an explicit Butcher tableau

The square A matrix lists stage couplings, and b lists final stage weights. This version requires A strictly lower triangular, so no stage depends on itself or a later stage. It supports one through six stages and rejects implicit tableaux rather than solving their stage equations incorrectly.

Abscissae are not separately used in the autonomous scalar test equation. The sum of b is checked for basic consistency, but passing that one condition does not prove the intended order of a general method. No complete rooted-tree order-condition verification is advertised by this stability calculator.

Derive the polynomial coefficients

For an explicit s-stage method, the nilpotence of A makes the stability function a finite polynomial. Its coefficient of z to k is btranspose A to k minus one times the all-ones vector, with constant term one.

The coefficient table uses ordinary powers of z. It is not a Taylor approximation to an unspecified function and does not contain shifted-variable coefficients. A method can share a stability polynomial with another tableau while having different nonlinear-order behavior, so the polynomial does not uniquely classify the full numerical scheme.

Verify forward Euler’s disk

The default one-stage tableau has A zero and b one, giving R(z)=1+z. Its stability condition is the disk centered at minus one with radius one. On the negative real axis, the stable interval includes z from minus two through zero.

The default five-by-five grid over real minus two through zero and imaginary minus one through one contains thirteen points with magnitude at most one. That integer is a grid-dependent sample count, not the disk area or a measure of the method’s order. Refining the grid changes the count without changing the exact polynomial.

Read grid samples without claiming continuous contours

The result evaluates magnitude at finitely many complex coordinates. A sample inside the region does not establish that every point between it and the next sample is inside. Narrow features or boundary crossings can be missed by coarse sampling.

The grid bound keeps output and browser work finite. The page supplies no interval-arithmetic boundary enclosure or exact region-area computation. Use the explicit polynomial for further analysis when an exact condition is available, as with the Euler disk, rather than treating a pixel-like sample classification as a theorem about the entire plane.

Separate stability from accuracy

A stable step can still be inaccurate. For example, a large stable Euler step can distort decay significantly even without growth. Convergence order and local truncation error concern approximation quality, while absolute stability concerns amplification behavior in the test problem.

For a system with several modes, step times each relevant eigenvalue may need to lie in the region, but nonnormality and nonlinear behavior can require additional analysis. The calculator does not estimate an ODE’s eigenvalues or automatically select a safe accurate step for an arbitrary model.

Use the method definition consistently

Keep stage order, weight order and explicit zeros aligned when copying a tableau. Changing one weight alters the stability polynomial and can invalidate a familiar method name. The form evaluates the entered coefficients; it does not repair them to the nearest named Runge–Kutta scheme.

Report the polynomial, tableau and chosen complex window with any displayed sample count. If an implicit method is needed for stiffness, use an implementation that handles its rational stability function. This page’s explicit-only contract avoids pretending that a finite polynomial formula covers every Runge–Kutta method.

A few questions, answered

What is z?

It is step size times the scalar test-equation coefficient lambda, or a relevant system mode under further assumptions.

Are implicit tableaux supported?

No. A must be strictly lower triangular in this version.

Does a stable point guarantee an accurate step?

No. Stability and discretization accuracy are different requirements.

Is the stable sample count the region area?

No. It depends on the chosen finite grid and window.

Find your calculator

Start typing to explore the library.