Paperlane

no. 17 · Wednesday 18 November 2026

Right shape, wrong time: phase errors of ODE solvers in the flame problem

Imre Boros

math.NA · code · 28 pp

Abstract

The flame model $y'=y^2-y^3$, $y(0)=δ$, is a standard illustration of stiffness: for $δ=10^{-4}$ the stiff MATLAB solvers ode23s and ode15s need only 99 and 140 steps, against 3040 for ode45. We show that these cheap solutions have the right shape at the wrong time: they place the front 29 and 329 time units early, with maximal errors 0.95 and 1.00. Because all solutions are time translates of one master profile, the global error of every numerical solution with values in $[δ,1)$ is exactly a phase error, $y_k=y_δ(t_k-D_k)$. For fixed-step one-step methods of order $p$ we prove $D=h^p\int_δ^{y}g+O(h^{p+1})$ with a remainder bounded uniformly in $δ$, so that the delay grows at most like $h\ln(1/δ)$ for $p=1$ and stays bounded for $p\geq2$. For any computed solution the delay is exactly the sum of its defects with respect to the exact flow, converted into time; a heuristic model, confirmed by MATLAB runs, explains why it is created in the first few steps and why tightening the tolerances is an expensive cure. Integrating for $1/y$, which runs like a clock in the slow phase, with an absolute tolerance reduces the error by several orders of magnitude, at a median cost close to that of the standard formulation. The mechanism needs only that the equation is autonomous; its general form is the subject of a companion paper.

code
github.com/boros91/flame-phase-errors
comments
28 pages, 10 figures, 9 tables; supplementary Tables S1-S6 in the ancillary file. Code and data: https://github.com/boros91/flame-phase-errors (doi:10.5281/zenodo.24314322)
fields
Numerical Analysis
pdf ↗ page arXiv:2611.23027 ↗