Stable Discretization
Chapter 20: ODE, SDE, and Continuous Limits of Algorithms — Stable Discretization
From the book
Chapter 20: ODE, SDE, and Continuous Limits of Algorithms. In the chapter mind map this icon labels Stable Discretization. The discussion below is excerpted and lightly edited from § Stable Discretization in Mathematics for AI and Machine Learning.
A computer runs the model at time steps $\Delta > 0$, as the discrete-time system
and the discretization method determines $\bar{A}$ and $\bar{B}$. Forward Euler replaces $\dot{\mathbf h}$ in @eq:linear-state-space-ode by the difference $(\mathbf{h}_{k+1} - \mathbf{h}_k)/\Delta$. Zero-order hold solves the ODE exactly, assuming the input is constant on each interval $[k\Delta, (k+1)\Delta)$ (the closed form of $\bar B$ needs $A$ invertible). The bilinear transform replaces $\frac{d}{dt}$ by $\frac{2}{\Delta}\frac{1 - z^{-1}}{1 + z^{-1}}$, the trapezoidal rule, and gives an implicit scheme:
| Method | $\bar{A}$ | Accuracy | Stability | Complexity |
|---|---|---|---|---|
| Forward Euler | $I + \Delta A$ | $O(\Delta)$ | Conditional | Low |
| Zero-Order Hold | $\exp(\Delta A)$ | Exact | Preserving | High |
| Bilinear | $(I - \frac{\Delta}{2}A)^{-1}(I + \frac{\Delta}{2}A)$ | $O(\Delta^2)$ | Preserving | Medium |
Forward Euler is the cheapest but stable only for small steps, so stiff systems force tiny steps. Zero-order hold is exact for piecewise-constant inputs at the cost of a matrix exponential. The bilinear transform is second-order accurate, maps the imaginary axis onto the unit circle, and preserves stability for one matrix inverse.
What this drawing shows
What you see. Left-half-plane $\mathrm{Re}<0$ region brightens while the Euler stability disk fades, contrasting stability-preserving vs Euler maps.
In the mind map. Chapter 20 — Stable Discretization. See From the book above for definitions, figures, and worked examples.
Where to read next
Read the full definitions, figures, and worked examples in Chapter 20: ODE, SDE, and Continuous Limits of Algorithms — see the mind-map node Stable Discretization.