All courses › Numerical Methods › Stiffness and stability
Stiffness and stability
A stiff problem has widely different time scales, so an explicit method like Euler needs tiny steps to stay stable, even though the solution otherwise changes slowly. The stability limit for explicit Euler on is .
stability requirement for explicit Euler on
Symbols
| the growth rate in the equation (negative for a decaying solution) | ||
| step size |
Example
: stability requires .
A larger step gives a solution that oscillates and grows unrealistically.
For stiff problems, switch to an implicit method (e.g. backward Euler) instead of just shortening .
Practise differential equations and stability for free →
← Runge–Kutta (RK4) · System of first-order equations →
Part of Numerical Methods: Differential equations and stability.