Integrate the ordinary differential equation across one step, using the fundamental theorem of calculus:
The midpoint quadrature rule approximates the integral by . Approximate the unknown midpoint state by the midpoint value of linear interpolation between the endpoint states:
Combining these approximations gives the implicit midpoint rule
It is an implicit time-stepping method because its new state occurs inside the evaluation of . An equivalent derivation uses a straight-line approximation on the step and imposes the ordinary differential equation at its midpoint, a one-stage collocation method.
Work on a fixed finite interval . Write , , and use the paper's normalized local truncation error
Assume has bounded continuous derivatives through order three on this interval, with and . Assume also that the Jacobian matrix has operator norm at most on the segments joining to the endpoint averages. For a scalar equation this last hypothesis is simply there.
Two symmetric estimates separate the errors. By Taylor's theorem applied to about , the linear term integrates to zero on , giving
Likewise the two linear terms in the endpoint expansions cancel, and their second-order remainders give
The derivative bound on gives a Lipschitz condition in its second variable. Since , the triangle inequality now yields
The constant is independent of and as long as the steps remain in the fixed interval. This implicit midpoint consistency bound proves numerical consistency of order two. The corresponding unnormalized residual is ; the two powers conventionally called local truncation error differ because the paper divides by the step size. If local error instead means the error of an exactly solved numerical step started at , the small-step Lipschitz condition gives the bound as well.
Let be continuous in its first variable and uniformly Lipschitz continuous in its second variable, with constant . Retain the finite-interval smoothness assumptions and the bound from the preceding subpart. We first establish solvability of each implicit step. For a proposed starting state , the map
has Lipschitz constant . If , the contraction mapping theorem on the complete state space gives a unique next state .
To compute a useful Lipschitz constant for the method, introduce its increment function by
For two starting states ,
Rearranging gives the implicit midpoint Lipschitz estimate
Thus, for example, gives an increment Lipschitz constant at most , uniformly as .
For an explicit global error estimate, set . Subtract the numerical formula from the exact-value identity containing :
The Lipschitz condition and the triangle inequality imply
and therefore
Iterating this inequality is the elementary discrete Gronwall inequality argument. For , summing the geometric series and using gives
For , . If , this proves
With the exact initial value, , the global error is and tends uniformly to zero on every such finite interval. If , the recurrence instead gives , with the same conclusion. Starting values merely converging to the exact initial value also suffice for numerical convergence; second-order accuracy requires their errors to be . The result concerns exact implicit solves and convergence on fixed finite intervals, not uniform accuracy over an unbounded time interval.
Applying the implicit midpoint rule to the simple harmonic oscillator system gives
Factor the change in the quadratic form and substitute these equations:
Thus every step preserves the first integral
For completeness, the implicit equations are solvable for every real : putting , their coefficient matrix has determinant and the update is
This is an orthogonal matrix, as follows from . It therefore preserves the Euclidean norm, explaining geometrically the exact energy conservation. This is a concrete instance of Runge-Kutta conservation of quadratic invariants. Preservation of the circle does not assert that the numerical and exact solutions have the same phase at a fixed nonzero step size.

Articles by others on the same topic (0)

There are currently no matching articles.