Approaches to Numerical Methods for ODEs
Updated: July 16, 2026
This note introduces numerical methods for the initial value problem (IVP) of ordinary differential equations (ODEs), organized by the approach each one comes from. The list is not exhaustive, and different approaches sometimes lead to the same method, but grouping them this way makes the underlying ideas easier to follow.
Numerical Approaches to the Initial Value Problem
Let be a function of time with . Given the differential equation together with an initial value , the problem of finding is called the initial value problem (IVP). The approaches to solving it numerically are listed below. Time is discretized as , and is computed from . Here is the step size, often taken to be a small value such as .
Throughout, denotes the exact solution and denotes the numerical solution.
1. Approximating by Taylor Expansion
This approach approximates using the Taylor expansion
Dropping the higher-order terms gives an approximation of in terms of the right-hand side of the differential equation and its derivatives.
-
Truncating at first order gives which is the method known as the Euler method. Since it approximates linearly using only , the algorithm and its implementation are simple, but both accuracy and stability are low, as discussed later.
-
Truncating at second order gives which requires computing
Here is the Jacobian matrix of with respect to . Putting this together,
but computing the Jacobian is often expensive, so this is not a popular method.
2. Approximating the Integral Equation by Quadrature
Rewriting the differential equation as an integral equation gives
This approach approximates the integral by a quadrature rule.
- Forward Euler method Using gives the same formula as the Euler method obtained above from the first-order Taylor expansion.
- Backward Euler method
Using
gives
This is also a first-order approximation, and since appears on both sides, a nonlinear equation has to be solved.
A method in which the unknown appears on the right-hand side like this is called an implicit method. A method in which the unknown does not appear on the right-hand side, such as Forward Euler, is called an explicit method. Implicit methods have better stability, but solving the nonlinear equation often makes them computationally expensive. For example, one solves by Newton’s method. Stability is high, but so is the cost. - Trapezoidal rule Using the trapezoidal rule gives This is a second-order approximation. Since appears on both sides, a nonlinear equation must be solved with Newton’s method or similar, but stability is high (though lower than Backward Euler).
- Midpoint method Using gives Since is unknown, it is replaced by something like . This yields which again requires solving a nonlinear equation, but has high stability (though lower than Backward Euler).
3. Predictor-Corrector Methods
The methods above require solving a nonlinear equation because also appears on the right-hand side. Predictor-corrector methods remove that need by replacing the on the right-hand side with an approximation, such as an Euler step, built from known values like . Some examples follow.
Midpoint Method with an Euler Predictor
Approximating the midpoint with the Euler method,
makes the update formula
explicit.
Trapezoidal Rule with an Euler Predictor
Approximating the on the right-hand side with the Euler method,
makes the update formula
explicit.
Four-Stage Fourth-Order Runge-Kutta Method
Starting from Simpson’s rule
both step and step are approximated by predictors to make the method explicit. The update formula is
This is a fourth-order approximation with good stability, but it costs more than the lower-order methods above.
4. Approximating by Polynomial Interpolation at Mesh Points
So far, every method computed from alone (raising the order by interpolating intermediate points). There are also multistep methods that use earlier points such as . This section covers the Adams methods and BDF, the representative linear multistep methods derived from polynomial interpolation.
Adams Methods
Adams methods build a polynomial interpolating the values of the right-hand side at , and integrates it as
The explicit version is the Adams-Bashforth method, and the implicit version, which also uses , is the Adams-Moulton method.
- The Adams-Bashforth method uses the Newton interpolation polynomial. First, the divided differences are defined as
That is, the divided difference is (change in ) / (change in ), and is the divided difference of and . (Geometrically, these correspond to slope and curvature.)
Using these, the Newton interpolation polynomial of is1
Integrating this, using the fact that the step size is a constant , gives the formula for .
For example:
- Two-step ()
- Three-step ()
- The Adams-Moulton method is the implicit method that uses . Its polynomial is
Integrating this with step size gives the formula for .
For example:
- Two-step ()
- Three-step ()
Backward Differentiation Formula (BDF)
This is also polynomial interpolation, but it interpolates the numerical solution rather than the right-hand side of the differential equation (and includes among the nodes). The interpolating polynomial is differentiated and evaluated at , giving the equation
which is solved for . For the two-step method BDF2 (), for instance, one builds the polynomial through and differentiates it to get
Therefore is obtained by solving
BDF methods have high stability, but require solving a nonlinear equation.
5. Method of Undetermined Coefficients
Linear multistep methods (LMMs), including the Adams family and BDF, are written in the general form
where are coefficients specific to each method. Approach 4 obtained the coefficients by integrating or differentiating an interpolating polynomial. The method of undetermined coefficients instead assumes this form from the start and determines by expanding in a Taylor series about .
Classifying the Methods
The approaches above can be grouped from several points of view.
- Explicit and implicit:
- Explicit: methods where does not appear on the right-hand side of are cheap to compute but less stable.
- Implicit: methods that require solving an equation with Newton’s method or similar at every step are expensive but more stable.
- One-step and multistep:
- One-step: is computed from alone. Stability is high.
- Multistep: is computed using earlier points such as as well. Efficient, but less stable. As an aside, multistep methods need a one-step method to produce the starting values for the first few steps.
- Linear and nonlinear:
- Linear: is expressed as a linear combination of past values of . This includes linear multistep methods such as the Adams methods and BDF.
- Nonlinear: methods that use predictors, such as Runge-Kutta, feed values of back into the arguments of , and are therefore nonlinear in general.
References
- Maria Cameron, Numerical Methods for Solving Ordinary Differential Equations, AMSC 661 Lecture Notes, University of Maryland.
Footnotes
-
The Lagrange interpolation polynomial is equivalent, but as the number of points grows, the Lagrange form requires updating every coefficient, whereas the Newton form only needs a new higher-order term appended to the existing polynomial. ↩