HOME

TheInfoList



OR:

In the mathematical field of numerical ordinary differential equations, a geometric integrator is a numerical method that preserves geometric properties of the exact flow of a differential equation.


Pendulum example

We can motivate the study of geometric integrators by considering the motion of a
pendulum A pendulum is a weight suspended from a pivot so that it can swing freely. When a pendulum is displaced sideways from its resting, equilibrium position, it is subject to a restoring force due to gravity that will accelerate it back toward th ...
. Assume that we have a pendulum whose bob has mass m=1 and whose rod is massless of length \ell=1. Take the acceleration due to gravity to be g=1. Denote by q(t) the angular displacement of the rod from the vertical, and by p(t) the pendulum's momentum. The
Hamiltonian Hamiltonian may refer to: * Hamiltonian mechanics, a function that represents the total energy of a system * Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system ** Dyall Hamiltonian, a modified Hamiltonian ...
of the system, the sum of its kinetic and
potential Potential generally refers to a currently unrealized ability. The term is used in a wide variety of fields, from physics to the social sciences to indicate things that are in a state where they are able to change in ways ranging from the simple r ...
energies, is :H(q,p) = T(p)+U(q) = \fracp^2 - \cos q, which gives
Hamilton's equations Hamiltonian mechanics emerged in 1833 as a reformulation of Lagrangian mechanics. Introduced by Sir William Rowan Hamilton, Hamiltonian mechanics replaces (generalized) velocities \dot q^i used in Lagrangian mechanics with (generalized) ''momenta ...
:(\dot q,\dot p) = (\partial H / \partial p, -\partial H / \partial q ) = (p,-\sin q). \, It is natural to take the configuration space Q of all q to be the unit circle \mathbb S^1, so that (q,p) lies on the cylinder \mathbb S^1\times\mathbb R. However, we will take (q,p)\in\mathbb R^2, simply because (q,p)-space is then easier to plot. Define z(t) = (q(t),p(t))^ and f(z) = (p,-\sin q)^. Let us experiment by using some simple numerical methods to integrate this system. As usual, we select a constant step size, h, and for an arbitrary non-negative integer k we write z_k:=z(kh). We use the following methods. : z_ = z_k + hf(z_k) \, ( explicit Euler), : z_ = z_k + hf(z_) \, ( implicit Euler), : z_ = z_k + hf(q_k,p_) \, ( symplectic Euler), : z_ = z_k + hf((z_+z_k)/2) \, (
implicit midpoint rule Implicit may refer to: Mathematics * Implicit function * Implicit function theorem * Implicit curve * Implicit surface * Implicit differential equation Other uses * Implicit assumption, in logic * Implicit-association test, in social psychology ...
). (Note that the symplectic Euler method treats ''q'' by the explicit and p by the implicit Euler method.) The observation that H is constant along the solution curves of the Hamilton's equations allows us to describe the exact trajectories of the system: they are the level curves of p^2/2 - \cos q. We plot, in \mathbb R^2, the exact trajectories and the numerical solutions of the system. For the explicit and implicit Euler methods we take h=0.2, and ''z''0 = (0.5, 0) and (1.5, 0) respectively; for the other two methods we take h=0.3, and ''z''0 = (0, 0.7), (0, 1.4) and (0, 2.1). The explicit (resp. implicit) Euler method spirals out from (resp. in to) the origin. The other two methods show the correct qualitative behaviour, with the implicit midpoint rule agreeing with the exact solution to a greater degree than the symplectic Euler method. Recall that the exact flow \phi_t of a Hamiltonian system with one degree of freedom is area-preserving, in the sense that :\det\frac = 1 for all t. This formula is easily verified by hand. For our pendulum example we see that the numerical flow \Phi_:z_k\mapsto z_ of the explicit Euler method is not area-preserving; viz., :\det\frac\Phi_(z_0) = \begin1&h\\-h\cos q_0&1\end = 1+h^2\cos q_0. A similar calculation can be carried out for the implicit Euler method, where the determinant is :\det\frac\Phi_(z_0) = (1+h^2\cos q_1)^. However, the symplectic Euler method is area-preserving: : \begin1&-h\\0&1\end\frac\Phi_(z_0) = \begin1&0\\-h\cos q_0&1\end, thus \det(\partial\Phi_/\partial (q_0,p_0)) = 1. The implicit midpoint rule has similar geometric properties. To summarize: the pendulum example shows that, besides the explicit and implicit Euler methods not being good choices of method to solve the problem, the symplectic Euler method and implicit midpoint rule agree well with the exact flow of the system, with the midpoint rule agreeing more closely. Furthermore, these latter two methods are area-preserving, just as the exact flow is; they are two examples of geometric (in fact, symplectic) integrators.


Moving frame method

The
moving frame In mathematics, a moving frame is a flexible generalization of the notion of an ordered basis of a vector space often used to study the extrinsic differential geometry of smooth manifolds embedded in a homogeneous space. Introduction In lay te ...
method can be used to construct numerical methods which preserve Lie
symmetries Symmetry (from grc, συμμετρία "agreement in dimensions, due proportion, arrangement") in everyday language refers to a sense of harmonious and beautiful proportion and balance. In mathematics, "symmetry" has a more precise definiti ...
of the ODE. Existing methods such as Runge-Kutta can be modified using moving frame method to produce invariant versions. Pilwon Kim (2006),
Invariantization of Numerical Schemes Using Moving Frames


See also

* Energy drift * Mimesis (mathematics)


References


Further reading

* * * * {{DEFAULTSORT:Geometric Integrator Numerical differential equations