Euler's Method
Ch 16 — Part III — Series & Numerical Methods
Euler's method is the simplest numerical scheme: replace the tangent at \(t_k\) by a straight line for a small step \(h\).
Formula
For \(y' = f(t, y),\; y(t_0) = y_0\) and step \(h>0\): $$t_{k+1} = t_k + h, \qquad y_{k+1} = y_k + h f(t_k, y_k).$$
Accuracy
Local truncation error per step is \(O(h^2)\); global error over a fixed interval is \(O(h)\) — first-order accurate. Halving \(h\) halves error.
Stability
For \(y' = \lambda y\) with \(\lambda < 0\), Euler is stable iff \(|1 + h\lambda| \le 1\), i.e., \(h \le 2/|\lambda|\). Stiff problems require very small \(h\) or implicit methods.
Practice Problems
Hint
Solution
\(e^{0.2} \approx 1.2214\). Euler underestimates.
Answer: \(y_2 = 1.21.\)
Hint
Solution
Rough argument: \(N \cdot O(h^2) = O(h)\), with Lipschitz constant in a Gronwall-style bound. Formally \(|e_n| \le C (e^{L T} - 1)/L \cdot h\).
Answer: Global error \(O(h)\).
Hint
Solution
Need \(h \le 0.04\).
Answer: \(h \le 0.04.\)