Construct the trajectory on a short interval
Let \(f(t,y)\) be continuous on a time–state cylinder, bounded there by \(M\) and Lipschitz in \(y\) with constant \(L\). For initial value \(y_0\), seek a continuous curve in the closed sup-norm ball of radius \(R\) around \(y_0\). On an interval of length \(H\), apply
If \(HM\le R\) and \(HL<1\), \(T\) maps the ball into itself and is a contraction. Iteration from the constant curve changes by at most \(HL\) times the preceding change. The geometric series of increments converges uniformly and the limit satisfies the integral equation. Differentiation gives the ODE. Two such limits have distance at most \(HL\) times their distance, hence coincide. Overlapping short cylinders extend the trajectory until continuation fails. For \(y'=y^2,\ y(0)=1\), the explicit \(1/(1-t)\) illustrates why local existence gives no promise at \(t=1\).
The perturbed integral inequality \(e(t)\le e_0+\int_0^t(Le(s)+d(s))ds\) leads, by an integrating factor for the right-hand side, to \(e(t)\le e^{Lt}e_0+\int_0^t e^{L(t-s)}d(s)ds\). It explains why a finite-time global error bound for a numerical solver needs an appropriate domain and a perturbation-growth estimate.
Collect elementary derivatives without losing branching terms
For an autonomous smooth \(f\), the first three elementary differentials are \(f,\ f'f,\ f''(f,f)\), together with the third-order chain \(f'(f'f)\). Represent a derivative acting on child differentials by a node with one branch per argument. A single node has order and density one. Recursively, a tree \(\tau=[\tau_1,\ldots,\tau_k]\) has \(|\tau|=1+\sum|\tau_j|\) and density \(\gamma(\tau)=|\tau|\prod\gamma(\tau_j)\). This factor follows by integrating the power of time once when a root is added. Multiplicities of identical branches give the same symmetry factor on the exact and numerical sides.
Define stage weights \(\Phi_i(\bullet)=1\). Taylor expanding each RK stage about the initial state replaces an integral for every child by a weighted stage sum. Consequently
Matching every tree through order \(p\) gives classical order \(p\) for general sufficiently smooth vector fields. The local defect is order \(p+1\), yielding global order \(p\) under the perturbation bound above. For the fourth-order tree consisting of a root, a child, and two leaves on that child, the condition is \(b^TAc^2=1/12\), with \(c=A\mathbf1\) and the square componentwise. For a root with three leaves it is \(b^Tc^3=1/4\). A scalar linear test equation supplies only chains.
Select accuracy by spending more substeps
For a smooth problem over one macrostep \(H\), let \(T_{j,0}\) be its endpoint from \(N_j=2^j\) Euler substeps. At fixed \(H\), assume the endpoint error has an asymptotic expansion in powers of \(1/N_j\). This follows for smooth solutions by expanding the local error and propagating its coefficients. The leading term halves on doubling. Eliminate successive powers by
For \(y'=y,\ y(0)=1,\ H=0.2\), the one- and two-substep estimates are \(1.2\) and \(1.21\), so the extrapolate is \(1.22\), close to \(e^{0.2}\). Four substeps give \(1.21550625\). Extrapolating once gives \(1.2210125\) and twice gives \(1.22135\). Use the separation between successive columns to estimate the lower-order local error. For a column of global order \(k+1\), a local tolerance suggests a trial next \(H\) proportional to the tolerance ratio raised to \(1/(k+2)\) if using that column's error estimate. Compare accepted advance per function evaluation at candidate orders. Restart the expansion after a discontinuity and impose the stability restriction of the underlying method.
When can a correct extrapolation tableau be misleading?
An unresolved event or a nonsmooth forcing invalidates the common power expansion across grids. Agreement among columns can then mean that every grid missed the same feature. Split at a known event and test the reconstruction against the defect in the integral equation.

Tutorial on existence and order
Bound the Picard iteration for a linear cooling model
Work through the solution
With \(f=-2y+1,\ y_0=1,\ R=1\), \(|f|\le3\) and \(L=2\) on \([0,2]\). Taking \(H=1/4\) gives \(HM=3/4\) and contraction ratio at most \(1/2\). The sum of all remaining differences after an iterate is bounded by the last difference times \((1/2)/(1-1/2)\).
Distinguish two fourth-order calculations experimentally
Work through the solution
A linear exponential tests the chain \(b^TA^2c\) and is blind to \(f''\). To excite branching terms choose a smooth nonlinear vector field and compare to an independent fine solution at successively halved step sizes. A nonlinear test can reveal an incorrect coefficient, but the general order proof needs every independent tree condition.
Hairer, Nørsett and Wanner · nonstiff problems
Change parameters · From existence of a trajectory to the order of a time step
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.