Read this lesson as text
Numerical Solution of ODEs
Numerical Analysis · Axiom Academy
INTRO Numerical Solution of ODEs When calculus alone isn't enough The Power of Differential Equations Differential equations are the language of change. From the motion of planets to the spread of diseases, from electronic circuits to chemical reactions—nature speaks in derivatives. But here's the challenge: while we can write differential equations for almost any dynamic system, we can only solve a tiny fraction analytically. For the rest, we need numerical methods. Most ODEs have no exact solution formula Real-world models are too complicated Parameters come from measurements Fast computers make it practical Consider this innocent-looking equation that has no closed-form solution: Numerical methods approximate the solution at discrete points instead of finding a continuous formula. Starting from a known initial value, we "step forward" in time. Euler's Method: The simplest numerical ODE solver Runge-Kutta: High-accuracy methods using multiple slope evaluations Multistep Methods: Using past information for efficiency Adaptive Step Size: Automatically adjusting accuracy Systems of ODEs: Solving coupled differential equations The core insight: a derivative tells us the slope . If we know where we are and which direction we're heading, we can estimate where we'll be next. This simple idea—following the slope—is the foundation of all numerical ODE methods. More sophisticated methods just compute better slopes.
This is the written version of the interactive lesson above. See the full Numerical Analysis course.