Table of Contents
Fetching ...

A Priori Estimates for the Global Error Committed by Runge-Kutta Methods for a Nonlinear Oscillator

Jitse Niesen

TL;DR

This work develops a priori global-error estimates for Runge–Kutta methods solving nonautonomous oscillatory ODEs by merging the Alekseev–Gröbner lemma with modified equations and a B-series framework. It extends known results for linear oscillators (e.g., Airy) to higher-order terms and, for the nonlinear Emden–Fowler equation, derives a detailed asymptotic expansion that reveals substantial differences from the linear case. Numerical experiments with y''+t y^3=0 validate the theory and show that long-time behavior can be dominated by terms beyond the leading $O(h^p)$ term, with the possibility to design tuned methods that cancel certain higher-order contributions. The findings highlight the necessity of a complete, problem-aware calculation to accurately predict global errors in nonlinear oscillatory systems and point to avenues for developing specialized integrators for such regimes.

Abstract

The Alekseev-Gr{ö}bner lemma is combined with the theory of modified equations to obtain an \emph{a priori} estimate for the global error of numerical integrators. This estimate is correct up to a remainder term of order $h^{2p}$, where $h$ denotes the step size and $p$ the order of the method. It is applied to a class of nonautonomous linear oscillatory equations, which includes the Airy equation, thereby improving prior work which only gave the $h^p$ term. Next, nonlinear oscillators whose behaviour is described by the Emden-Fowler equation $y'' + t^νy^n = 0$ are considered, and global errors committed by Runge-Kutta methods are calculated. Numerical experiments show that the resulting estimates are generally accurate. The main conclusion is that we need to do a full calculation to obtain good estimates: the behaviour is different from the linear case, it is not sufficient to look only at the leading term, and merely considering the local error does not provide an accurate picture either.

A Priori Estimates for the Global Error Committed by Runge-Kutta Methods for a Nonlinear Oscillator

TL;DR

This work develops a priori global-error estimates for Runge–Kutta methods solving nonautonomous oscillatory ODEs by merging the Alekseev–Gröbner lemma with modified equations and a B-series framework. It extends known results for linear oscillators (e.g., Airy) to higher-order terms and, for the nonlinear Emden–Fowler equation, derives a detailed asymptotic expansion that reveals substantial differences from the linear case. Numerical experiments with y''+t y^3=0 validate the theory and show that long-time behavior can be dominated by terms beyond the leading term, with the possibility to design tuned methods that cancel certain higher-order contributions. The findings highlight the necessity of a complete, problem-aware calculation to accurately predict global errors in nonlinear oscillatory systems and point to avenues for developing specialized integrators for such regimes.

Abstract

The Alekseev-Gr{ö}bner lemma is combined with the theory of modified equations to obtain an \emph{a priori} estimate for the global error of numerical integrators. This estimate is correct up to a remainder term of order , where denotes the step size and the order of the method. It is applied to a class of nonautonomous linear oscillatory equations, which includes the Airy equation, thereby improving prior work which only gave the term. Next, nonlinear oscillators whose behaviour is described by the Emden-Fowler equation are considered, and global errors committed by Runge-Kutta methods are calculated. Numerical experiments show that the resulting estimates are generally accurate. The main conclusion is that we need to do a full calculation to obtain good estimates: the behaviour is different from the linear case, it is not sufficient to look only at the leading term, and merely considering the local error does not provide an accurate picture either.

Paper Structure

This paper contains 7 sections, 5 theorems, 59 equations, 2 figures, 1 table.

Key Result

Lemma 1

Denote by $\mathbf{y}$ and $\mathbf{z}$ the solutions of respectively and suppose that $\partial\bf/\partial\mathbf{y}$ exists and is continuous. Then the solutions of e:ag_ode1 and of the "perturbed" equation e:ag_ode2 are connected by

Figures (2)

  • Figure 1: The first component of the global error committed by Runge's second-order method, and the estimate \ref{['e:r2-est']}.
  • Figure 2: The first component of the global error committed by Runge's second-order method \ref{['e:runge2']}, Heun's third-order method \ref{['e:heun']}, and the specially tuned third-order method \ref{['e:tuned']}, all with step size $h=1/2000$, together with their respective error estimates \ref{['e:r2-est']}, \ref{['e:heun-est']}, and \ref{['e:tuned-est']}. The lines in the plot have the same meaning as in Figure \ref{['fig3']}.

Theorems & Definitions (7)

  • Lemma 1: Alekseev--Gröbner
  • Theorem 2
  • proof
  • Theorem 3
  • proof
  • Theorem 4
  • Theorem 5