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 ruleIt 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.
Applying the implicit midpoint rule to the simple harmonic oscillator system givesFactor the change in the quadratic form and substitute these equations:Thus every step preserves the first integralFor completeness, the implicit equations are solvable for every real : putting , their coefficient matrix has determinant and the update isThis 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.
For , the standard explicit midpoint method isThe implicit midpoint rule instead uses . When the derivative depends only on , both give .
The endpoint-only request in (e) suggests another possible convention: averaging the endpoint slopes, . This is the trapezoidal rule, and generally differs from the implicit midpoint rule. A further use of “midpoint” is the two-step explicit midpoint linear multistep method, , which needs a second starting value. The printed question supplies no convention to distinguish these meanings; (e) spells out the resulting alternatives.
Time-symmetric numerical method Created 2026-09-28 Updated 2026-11-05
A time-symmetric numerical method is a one-step numerical method with a locally invertible step map satisfyingFor a nonautonomous ordinary differential equation, include time in the state or explicitly reverse the step's time endpoints. The definition means that applying the same rule backward undoes its forward step; it does not by itself claim small discretization error.
The implicit midpoint rule illustrates this directly: swapping and replacing by leaves its midpoint equation unchanged, wherever the local solve is unique. By contrast, forward Euler method has factor on , and the backward factor gives product , not one.
Assume a consistent method has a smooth integer-power local-error expansion of finite order , with nonzero leading defect . Composing its forward and backward steps leaves leading defect . Symmetry forces this coefficient to vanish. Thus is odd and is even. The finite leading-error and regular expansion assumptions are needed for this parity argument.