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.