The stability limit of explicit methods is a disaster for stiff problems. The fix is to use the slope at the new point: $$y_{n+1} = y_n + hf(t_{n+1}, y_{n+1}).$$ This is backward Euler. The unknown $y_{n+1}$ appears on both sides, so each step means solving an equation: an implicit method.
Key idea
Why it works
Worked example: Forward versus backward
- Forward: $y_1 = (1 + 0.2(-20)) \cdot 2 = (-3)(2) = -6$: wrong sign, growing.
- Backward: $y_1 = \frac{2}{1 + 0.2 \cdot 20} = \frac{2}{5} = 0.4$: positive and smaller.
- The exact value is $2e^{-4} \approx 0.037$. Backward Euler is not accurate at this step either, but it decays like the solution, and with more steps it heads to 0 instead of exploding.
Answer: $-6$ versus $0.4$
Worked example: A forced problem
- $y_1 = 0 + 0.5(-5y_1 + 10)$, so $y_1 + 2.5y_1 = 5$.
- $y_1 = \frac{5}{3.5} = \frac{10}{7} \approx 1.43$, on its way to the steady state $2$ without overshooting.
- Forward Euler would give $0 + 0.5(10) = 5$, overshooting the steady state, since $h|\lambda| = 2.5 > 2$.
Answer: $\frac{10}{7}$
Worked example: A nonlinear step
- $y_1 = 4 - 0.5y_1^{2}$, that is, $y_1^{2} + 2y_1 - 8 = 0$.
- $(y_1 + 4)(y_1 - 2) = 0$; the positive root is $y_1 = 2$.
- The exact solution $y = \frac{4}{1 + 4t}$ gives $y(0.5) = \frac{4}{3}$. In general each step needs Newton's method, started from $y_n$.
Answer: $y_1 = 2$
A problem is stiff when it has components that decay much faster than the solution you want to follow. Explicit methods must use steps small enough for the fastest component; implicit methods may use steps chosen for accuracy alone. That trade (more work per step, far fewer steps) is why stiff solvers are implicit.
Common mistake