MathLabs
TheoremProved

Global error bound for Euler's method

Statement

Suppose f(t,y)f(t,y) is Lipschitz continuous in yy with constant LL, and the exact solution satisfies ∣y′′(t)∣≤M|y''(t) | \le M on [t0,T][t_0, T]. Then the global error en=y(tn)−yne_n = y(t_n) - y_n after nn steps of size hh obeys ∣en∣≤hM2L(eL(tn−t0)−1)|e_n| \le \frac{hM}{2L}\left(e^{L(t_n-t_0)}-1\right).

Why is it true?

Each individual Euler step commits a small local error of size O(h2)O(h^2) from truncating the Taylor series after the linear term, but these local errors can compound over the roughly (T−t0)/h(T-t_0)/h steps needed to reach a fixed time TT. The theorem shows the compounding is mild: the Lipschitz condition prevents small local mistakes from being amplified faster than exponentially, so the global error drops to first order, O(h)O(h), in the step size — one order worse than the local error, which is the typical pattern for one-step methods.

Proof sketch

Write the local error committed in one step as the difference between the exact solution advanced by Taylor expansion and the Euler update. Taylor's theorem gives y(tn+1)=y(tn)+hf(tn,y(tn))+h22y′′(ξn)y(t_{n+1}) = y(t_n) + h f(t_n, y(t_n)) + \frac{h^2}{2} y''(\xi_n) for some ξn\xi_n between tnt_n and tn+1t_{n+1}, so the local truncation error is τn=h22y′′(ξn)\tau_n = \frac{h^2}{2} y''(\xi_n), bounded by h2M2\frac{h^2 M}{2} using the assumption ∣y′′(t)∣≤M|y''(t) | \le M.

Subtract the Euler update yn+1=yn+hf(tn,yn)y_{n+1} = y_n + h f(t_n, y_n) from this exact Taylor expansion. Writing en=y(tn)−yne_n = y(t_n) - y_n, the difference of the two right-hand sides gives en+1=en+h[f(tn,y(tn))−f(tn,yn)]+τne_{n+1} = e_n + h\left[f(t_n, y(t_n)) - f(t_n, y_n)\right] + \tau_n. The Lipschitz condition bounds the bracketed term by L∣en∣L|e_n|, so ∣en+1∣≤(1+hL)∣en∣+h2M2|e_{n+1}| \le (1+hL)|e_n| + \frac{h^2 M}{2}.

Since e0=0e_0 = 0 (the starting value is exact), unrolling this recursion by induction gives ∣en∣≤h2M2∑k=0n−1(1+hL)k=hM2L[(1+hL)n−1]|e_n| \le \frac{h^2M}{2}\sum_{k=0}^{n-1}(1+hL)^k = \frac{hM}{2L}\left[(1+hL)^n - 1\right], using the geometric-series identity. Finally, (1+hL)n≤eLhn=eL(tn−t0)(1+hL)^n \le e^{Lhn} = e^{L(t_n-t_0)} because 1+x≤ex1+x\le e^x for all real xx, which turns the bound into ∣en∣≤hM2L(eL(tn−t0)−1)|e_n| \le \frac{hM}{2L}\left(e^{L(t_n-t_0)}-1\right) — exactly the claimed inequality, and manifestly O(h)O(h) for fixed tnt_n.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. J. C. Butcher (2016). Numerical Methods for Ordinary Differential Equations
  2. E. Hairer, S. P. Norsett, G. Wanner (1993). Solving Ordinary Differential Equations I: Nonstiff Problems