Abstract
In choosing a numerical method for the long-time integration of reversible Hamiltonian systems one must take into consideration several key factors: order of the method, ability to preserve invariants of the system, and efficiency of the computation. In this paper, 6th-order composite symmetric general linear methods (COSY-GLMs) are constructed using a generalisation of the composition theory associated with Runge–Kutta methods (RKMs). A novel aspect of this approach involves a nonlinear transformation which is used to convert the GLM to a canonical form in which its starting and finishing methods are trivial. Numerical experiments include efficiency comparisons to symmetric diagonally-implicit RKMs, where it is shown that COSY-GLMs of the same order typically require half the number of function evaluations, as well as long-time computations of both separable and non-separable Hamiltonian systems which demonstrate the preservation properties of the new methods.
1 Introduction
The long-time numerical integration of reversible Hamiltonian systems has been a subject of interest for many years. For the special case of a second-order separable Hamiltonian system, the class of symmetric second-order multistep methods have been identified as excellent candidates for integration, as they are explicit, high-order, and preserve invariants of the system over long-times [14, Ch. XV], [18]. However, for non-separable Hamiltonian systems, these methods are generally not applicable. Thus, one would usually consider a symmetric (or possibly symplectic) Runge–Kutta method (RKM) as an alternative. It is well-known that structure-preserving RKMs are necessarily implicit, which inevitably limits their long-time efficiency. The impact of implicitness can be mitigated to some extent by considering the class of symmetric diagonally-implicit RKMs (DIRKs). Here, since the methods are essentially compositions of the implicit midpoint rule (IMR) [19], the computational cost amounts to the number of its stages multiplied by the cost of IMR.
Alternatively, one could consider selecting a method from the class of symmetric general linear methods (GLMs). In recent work, it has been shown that these methods can preserve quadratic and Hamiltonian invariants over long-times without suffering from the parasitic instability associated with multistep methods [5,6,7]. Furthermore, these methods can be designed such that they consist of a mixture of implicit and explicit stage equations, suggesting they have the potential to outperform symmetric DIRKs, in terms of cost for a given order.
The choice of method will also depend on its order and computational efficiency. At present, symmetric GLMs are mostly limited to 4th-order [6, 17], with the exception of the method presented in [7] that is of 6th-order. Beyond this, the construction of higher-order methods is difficult. In this paper, we present a construction process that is based on the theory of composition for one-step methods (OSMs), such as RKMs, which in the past has been applied to generate composite symmetric (COSY) methods of arbitrarily high order [10, 12, 16, 20, 21]. In particular, we generalise the following OSM-composition formula (see e.g. [14, Ch. II.4]) to GLMs:
where \(\phi _h\) denotes the OSM and \(\phi _h^*:=\phi _{-h}^{-1}\) denotes its adjoint. In addition, we also consider the GLM generalisation of the following composition
which is frequently used with symmetric methods of even order \(p\in \mathbb {N}\). Notable examples include the triple jump composition:
and the Suzuki 5-jump [20]:
The main challenge with constructing a COSY-GLM is understanding how its inputs change between each method evaluation. For OSMs, this is not an issue as there is only one input which approximates the exact solution. However, GLMs possess multiple inputs, each of which takes the form of a B-series. For the special case where these are in Nordsieck form, an appropriate re-scaling of each input is sufficient to guarantee an order increase [17, Ch. 5]. In this paper, we address the issue of general inputs by introducing a nonlinear transformation that puts the GLM into a canonical form. Here, canonical is taken to mean that the resulting method has trivial starting and finishing methods given by its preconsistency vectors u and \(w^{{\mathbf {\mathsf{{H}}}}}\). As a result, its inputs are essentially a Kronecker product of the preconsistency vector u and an approximation to the exact solution. Thus, the method behaves in this respect as if it were a OSM and the theory of composition can be straightforwardly applied to generate high-order COSY-GLMs.
This paper is organised as follows: In Sect. 2 we give an introduction to GLMs. In Sect. 3 we introduce a transformation that puts a GLM into a canonical form. In Sect. 4 we use the canonical transformation to develop composition formulae for GLMs. In Sect. 5, we test our GLM-composition formula by constructing 6th-order COSY-GLMs. Efficiency comparisons are then made between these methods and symmetric DIRKs of the same order. Finally, several long-time Hamiltonian experiments are performed to demonstrate the preservation properties of the methods.
2 General linear methods
Throughout the paper, we assume numerical methods are applied to the following autonomous, initial value problem (IVP)
where \(f:X\rightarrow X\), and the solution \(y:\mathbb {R} \rightarrow X\) is expressed in terms of the flow map \(\varphi _t:X \rightarrow X\) and initial data \(y_0\) such that
Of particular interest will be Hamiltonian IVPs (see e.g. [14, Ch. I.1]):
where \(H:X \rightarrow \mathbb {R}\), is the Hamiltonian and \(X = \mathbb {R}^{2d}\), \(d\in \mathbb {N}\).
2.1 Method definition
An \(r \in \mathbb {N}\)-input GLM, for fixed time-step \(h \in \mathbb {R}\), is written as the map \(\mathcal {M}_{ h}:X^r\rightarrow X^r\) acting on inputs \(y^{[n]} \in X^r\) at step \(n\in \mathbb {N}_0\) such that
where \(\otimes \) denotes a Kronecker product, \(I_X\) is the identity matrix defined on X,
\(s \in \mathbb {N}\) denotes the number of stages and its coefficient matrices are denoted by
For compactness, we will refer to a GLM using its tableau: \(\left[ \begin{array}{c|c} A &{} U \\ \hline B &{} V \end{array} \right] .\)
2.2 Convergence, consistency and stability
Definition 2.1
[3, 4] A GLM with coefficient matrices (A, U, B, V) is said to be
-
(a)
Preconsistent, if (1, u, w) is an eigentriple of V, such that \(Vu=u\), \(w^{{\mathbf {\mathsf{{H}}}}} V = w^{{\mathbf {\mathsf{{H}}}}}\) and \(w^{{\mathbf {\mathsf{{H}}}}}u = 1\).
-
(b)
Consistent, if it is preconsistent, \(Uu = {\mathbb {1}}\) for \({\mathbb {1}} = [1,1,\ldots ,1]^{{{\mathbf {\mathsf{{T}}}}}} \in {\mathbb {R}}^{s}\) and \(\exists \) \(v \in \mathbb {C}^{r}\backslash \lbrace 0 \rbrace \) such that \(B\mathbb {1}+ Vv = u+v\)
-
(c)
Stable, if it is zero-stable, i.e. \(\sup _{n\ge 0}||V^n|| < \infty .\)
The convergence of a GLM is guaranteed if the method is both consistent and stable.
2.3 Starting and finishing methods
Inputs to a GLM generally take the form of B-series. Consequently, a starting method is required to generate the starting vector \(y^{[0]}\) and a finishing method is required to obtain approximations to the solution y(nh).
Definition 2.2
[3, 4] A starting method is defined as the map \(\mathcal {S}_h:X\rightarrow X^r\), where
A finishing method is defined as the map \(\mathcal {F}_h:X^r\rightarrow X\) such that
Both \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\) can be viewed as GLMs with tableaux respectively given by
where u, w are as in the definition for preconsistency,
and it is assumed that
Remark 2.1
If \(w^{{\mathbf {\mathsf{{H}}}}}\) and \(B_S\) satisfy \(w^{{\mathbf {\mathsf{{H}}}}} B_S = 0^{{{\mathbf {\mathsf{{T}}}}}}\), then the finishing method is trivial, i.e. it reduces to \(\mathcal {F}_{ h}(y^{[n]}) = (w^{{\mathbf {\mathsf{{H}}}}} \otimes I_X)y^{[n]}\). This is desirable as the finishing method need not perform any additional function evaluations to approximate y(nh).
The numerical method in its entirety may now be expressed as the composition
Definition 2.3
(GLM Order [3, 4]) The pair \((\mathcal {M}_{ h},\mathcal {S}_{ h})\) is of order \(p\in \mathbb {N}\) if
where \(C(y_0) \ne 0\) is a constant vector depending on the method and various derivatives of f evaluated at \(y_0\).
It is worth mentioning that starting and finishing methods have found application in a variety of areas outside of GLMs. For example, Butcher [2] uses them to achieve an effective order increase in RKMs. Chan and Gorgey [8] apply passive symmetrizers to the Gauss methods, where the symmetrizers are essentially finishing methods. Also, the Gragg smoother used in extrapolation codes (see e.g. [15, Ch. II.9]) is a finishing method that eliminates the leading order parasitic term in the Leapfrog method.
2.4 Composition
The composition of two GLMs, \( \mathcal {M}_{ h}^2\circ \mathcal {M}_{ h}^1\), can be computed using the following tableau:
where \((A_1,U_1,B_1,V_1)\), \((A_2,U_2,B_2,V_2)\) respectively denote the coefficient matrices of \(\mathcal {M}_{ h}^1\) and \(\mathcal {M}_{ h}^2\) (see e.g. [17, Ch. 2]).
2.5 Equivalence
Definition 2.4
[6] Consider a pair of GLMs with coefficient matrices \((A_1,U_1,B_1,V_1)\) and \((A_2,U_2,B_2,V_2)\). Then, the two are said to be (T, P)-equivalent if there exists an invertible matrix \(T \in \mathbb {C}^{r\times r}\) and an \(s \times s\) permutation matrix P such that their coefficient matrices satisfy
Permutation-based equivalence arises from the fact that \(F(Y) = PP^{-1}F(Y) = PF(P^{-1}Y)\). Transformation-based equivalence arises from studying the numerical method as a whole:
Notice that under the transformation T, both starting and finishing methods also undergo a transformation, with their tableaux now reading as
2.6 Symmetry
Definition 2.5
(OSM symmetry [14, Ch. II.4]) Consider the OSM \(\varPhi _h:X \rightarrow X\) and its adjoint method \(\varPhi _h^*:=\varPhi _{-h}^{-1}:X \rightarrow X\). Then, \(\varPhi _h\) is symmetric if \(\varPhi _h(y_0) = \varPhi ^*_h(y_0)\), \(\forall \ y_0 \in X\).
For a GLM, the direct analogue of this definition is quite restrictive. To see this, consider the tableau of the GLM-adjoint method \(\mathcal {M}_{ h}^*:=\mathcal {M}_{- h}^{-1}\):
which can be derived as follows: Let \(y^{[n]}\mapsto \mathcal {M}_{ h}^{-1}(y^{[n]})\) in the stage and update Eq. (2.1) and solve for \(\mathcal {M}_{ h}^{-1}(y^{[n]})\) to obtain the inverse method. Then, reverse the sign of h to obtain the adjoint method.
Here, we note that the inverse and adjoint methods exist if and only if \(V^{-1}\) exists. Furthermore, unless V is an involution, then a GLM cannot be symmetric according to the OSM definition. However, it is possible that a GLM is equivalent to its adjoint.
Definition 2.6
(GLM symmetry [6]) A GLM is said to be (L, P)-symmetric if there exists an \(r\times r\) involution matrix L, and an \(s\times s\) symmetric permutation matrix P such that it is (L, P)-equivalent to its adjoint, i.e. if its tableau satisfies
In terms of maps, the symmetry condition may be equivalently expressed as
An important observation that should be noted is that the adjoint method requires a different set of starting and finishing methods, namely, \(\mathcal {S}_{-h}(y_0)\) and \(\mathcal {F}_{- h}(y^{[n]})\). This choice ensures that the order of the method is preserved, as is summarised by the following lemma.
Lemma 2.1
[6] If the pair \((\mathcal {M}_{ h},\mathcal {S}_{ h})\) is of order p then the pair \((\mathcal {M}_{ h}^*,\mathcal {S}_{- h})\) satisfies
2.6.1 Symmetric starting and finishing methods
Since symmetry is defined in terms of equivalence to the adjoint method, it follows that there must exist an alternative set of starting and finishing methods that will not affect the order of the method [6].
Definition 2.7
[6] Consider an (L, P)-symmetric GLM with starting and finishing methods, \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\), described by the tableaux (2.2). Then, \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\) are said to be \((L,P_S)\)-symmetric if there exists a symmetric permutation matrix \(P_S\) such that
In terms of maps, condition (2.8) can be written as
3 A canonical form for GLMs
In this section we consider equivalent methods that arise from a nonlinear change of coordinates. As we have seen in Sect. 2.5, any change of coordinates will also transform the corresponding starting and finishing methods. It is shown below that there exists a nonlinear transformation that can convert the starting and finishing methods to a trivial form, i.e. they are given by the preconsistency vectors u and \(w^{{\mathbf {\mathsf{{H}}}}}\).
Definition 3.1
A pth-order GLM is said to be canonical if its starting and finishing methods are given by its preconsistency vectors u and \(w^{{\mathbf {\mathsf{{H}}}}}\).
Canonical methods have the important property that their inputs are independent of h. Thus, we can compose multiple canonical methods of different time-steps provided only the preconsistency vectors agree.
Theorem 3.1
Every pth-order GLM \(\mathcal {M}_{ h}\), with starting and finishing methods, \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\), determined by the tableaux (2.2), is equivalent to a pth-order canonical GLM defined by the composition
where \(T_h,T_h^{-1}:X^r\rightarrow X^r\) are respectively determined by the GLM tableaux
where \(A_S, U_F, B_S\) are the coefficient matrices of \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\), and I is the \(r \times r\) identity matrix.
Proof
Let the maps \(T_h,T_h^{-1}:X^r\rightarrow X^r\) be determined by the GLM tableaux (3.1). It can be verified using the GLM-adjoint tableau (2.6), with \(h \mapsto -h\), that the tableau for \(T_h^{-1}\) corresponds to the inverse method of \(T_h\). In other words,
Now, consider a nonlinear transformation of the numerical method as a whole, i.e.
Note that the corresponding starting and finishing methods of \(\mathcal {C}_{ h}\) are given by
where the tableaux for \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\) are given by (2.2). Observe that the composition \(T_h\circ u\) yields a tableau of the form
where we have used \(U_Fu = {\mathbb {1}}_S\) from (2.3). This agrees with the tableau for \(\mathcal {S}_{ h}\) and thus it follows that \(\mathcal {S}_{ h}^{\mathcal {C}}(y_0) = u\otimes y_0\). Also observe that \(w^{{\mathbf {\mathsf{{H}}}}}T_h^{-1}\) yields a tableau of the form
which agrees with the tableau for \(\mathcal {F}_{ h}\), thus \(\mathcal {F}_{ h}^{\mathcal {C}}(y) = w^{{\mathbf {\mathsf{{H}}}}}y\).
Now, from the definition of GLM order (2.4) we know \(\mathcal {M}_{ h}\circ \mathcal {S}_{ h}(y_0) = \mathcal {S}_{ h}\circ \varphi _h(y_0) + O(h^{p+1})\). After pre-multiplying by \(T_h^{-1}\) we find
Thus, \((\mathcal {C}_{ h},u)\) is of order p, and by Definition 3.1 it follows that \(\mathcal {C}_{ h}\) is a canonical method. \(\square \)
Remark 3.1
In the above theorem, a different notion of equivalence is used than that was introduced in Definition 2.4, i.e. w.r.t. a nonlinear transformation \(T_h\). However, note that if \(T_h = T_0 = T\) for some \(T \in X^{r\times r}\) then equivalence is defined in the usual sense.
The tableau for the corresponding canonical method of a GLM may be obtained using the tableau composition formula (2.5):
Preservation of symmetry In general, performing a nonlinear change of coordinates runs the risk of destroying certain properties of the underlying GLM. In particular, symmetry is not preserved unless the starting and finishing methods are also symmetric.
Corollary 3.1
Suppose that \(\mathcal {M}_{ h}\) is (L, P)-symmetric. If \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\) are \((L,P_S)\)-symmetric, then \(\mathcal {C}_{ h}\) is symmetric.
Proof
Since \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\) are symmetric, this implies that their coefficient matrices satisfy condition (2.8), i.e.
Upon substitution into the tableaux for \(T_h\) and \(T_h^{-1}\) we deduce that \(T_h = LT_{-h}L\) and \(T_h^{-1} = LT_{-h}^{-1}L\). Now, by the symmetry of \(\mathcal {M}_{ h}\), we observe that
However,
Thus, the canonical method \(\mathcal {C}_{ h}= L\mathcal {C}_{ h}^* \circ L\) is symmetric, as required. \(\square \)
Preservation of parasitism-free behaviour: In recent work [5, 6], it has been shown that structure-preserving GLMs can be designed such that they are free from the influence of parasitism over intervals of length \(O(h^{-2})\) [11]. In particular, if their coefficient matrices and preconsistency vectors satisfy the following condition [6]:
Corollary 3.2
Suppose that \(\mathcal {M}_{ h}\) satisfies the parasitism-free condition (3.3). Then, \(\mathcal {C}_{ h}\) is also parasitism-free.
Proof
From (3.2), we take the expressions for the B, U matrices of \(\mathcal {C}_{ h}\) and insert into the LHS of (3.3) to find
where we have used \(Vu = u\), \(w^{{{\mathbf {\mathsf{{T}}}}}} V = w^{{{\mathbf {\mathsf{{T}}}}}}\) from the definition of the preconsistency vectors, and \(w^{{{\mathbf {\mathsf{{T}}}}}} BU u = 0\) since \(\mathcal {M}_{ h}\) satisfies (3.3). Thus, \(\mathcal {C}_{ h}\) is also parasitism-free. \(\square \)
Example 3.1
It has been shown by Gragg [13] that the Leapfrog method,
when initialised with the Euler starter,
yields a global error expansion in even powers of h. In the context of symmetric GLMs, we cannot directly explain this result as the Euler starter is not symmetric with respect to the L-involution of the Leapfrog method: \( L = \begin{bmatrix} 0&1 \\ 1&0 \end{bmatrix}\). However, we can explain Gragg’s result using the canonical form given by (3.2):
Here, we observe that the second and third stage equations are equivalent, which implies there is a redundancy in the representation of the method. By removing one of these redundant stages (i.e. combining the second and third columns together, then removing the third row), we obtain the irreducible representation given by the tableau
It can now be verified using the symmetry conditions (2.7), that the canonical method is \((L_\mathcal {C},P_\mathcal {C})\)-symmetric where
In addition, we observe that the starting and finishing methods, u and \(w^{{\mathbf {\mathsf{{H}}}}}\), are trivially symmetric, i.e. \(L_\mathcal {C}u = u\) and \(w^{{\mathbf {\mathsf{{H}}}}} L_\mathcal {C} =w^{{\mathbf {\mathsf{{H}}}}}\). Thus, the Leapfrog method written out in full is given by
where \(w^{{\mathbf {\mathsf{{H}}}}}\), \(\mathcal {C}_{ h}\) and u are all symmetric with respect to \(L_\mathcal {C}\). Finally, we may now apply Theorem 14 of [6], which states that a symmetric GLM of even order p, with symmetric starting and finishing methods, yields a global error expansion in even powers of h.
4 Composition of GLMs
4.1 Composition of canonical methods
Consider a canonical GLM \(\mathcal {C}_{ h}\) with an invertible matrix V. Since inputs to canonical methods are given by their preconsistency vector u we can consider a straightforward generalisation of composition (1.1) to GLMs:
It can be shown that the conditions on \(\alpha _1,\ldots ,\alpha _k,\beta _1,\ldots ,\beta _k\) required for an order increase agree with those used for the composition of OSMs.
Theorem 4.1
Suppose the pair \((\mathcal {C}_{ h},u)\) is of order \(p\in \mathbb {N}\) and its V-matrix is invertible. Then, the pair \((\mathcal {C}_{ h}^A,u)\) is at least of order \(p+1\) provided
Proof
Recall that if V is invertible then \(\mathcal {C}_{ h}^{-1}\), and consequently \(\mathcal {C}_{ h}^*\), exist. Thus, the method arising from a composition of the form (4.1) also exists. Now, from Lemma 2.1, if the pair \((\mathcal {M}_{ h},\mathcal {S}_{ h})\) is of order p, i.e.
then the pair \((\mathcal {M}_{ h}^*,\mathcal {S}_{- h})\) satisfies
For canonical methods, \(\mathcal {S}_{ h}=\mathcal {S}_{- h}=u\). Thus, for each \(j \in \lbrace 1,\ldots ,k \rbrace \), we have
Composing these expressions, we find that
where we have applied \(\mathcal {C}_{a h}^*(y+z) = \mathcal {C}_{a h}^*(y) + V^{-1}z + O(ah||z||)\), and \(C(\varphi _{ah}(y_0)) = C(y_0) + O(ah)\).
Recursively applying the above result to each \(\mathcal {C}^*_{\beta _jh}\circ \mathcal {C}_{\alpha _jh}\) in the order of \(j=1,\ldots ,k\) we find
Thus, if (4.2) and (4.3) are satisfied, it follows that the pair \((\mathcal {C}_h^A,u)\) is at least of order \(p+1\). \(\square \)
To obtain an adjoint-free composition, i.e. a GLM-generalisation of (1.2), we set \(\beta _j = 0\) for \(j=1,\ldots ,k\) in (4.1). This choice replaces each \(\mathcal {C}_{\beta _j h}^*\) by \(V^{-1}\) to give
Notice here that the final left-hand multiplication by \(V^{-1}\) will not affect the order of the method as \(Vu=u\). In other words, if \((\mathcal {C}_h^{A},u)\) is of order p, then \((V\mathcal {C}_h^{A},u)\) is also of order p, since
Thus, we define the adjoint-free composition of canonical GLMs as
Corollary 4.1
Let the assumptions of Theorem 4.1 hold. Then, the pair \((\mathcal {C}_{ h}^{B},u)\) is at least of order \(p+1\) provided
Proof
This follows from Theorem 4.1 with \(\beta _1 = \cdots = \beta _s = 0\), noting that \(Vu = u\). \(\square \)
Remark 4.1
The route we have taken in deriving (4.4) is important, as a direct application of (1.2) to canonical GLMs would fail to include the intermediate multiplications by \(V^{-1}\). So while the composition would be valid, an order increase under conditions (4.5)–(4.6) would not necessarily be achieved since (4.6) would read \(\sum _{j=1}^k\alpha _{k-j+1}^{p+1}V^{j-1} = 0\).
Preservation of symmetry Suppose now that the canonical method is (L, P)-symmetric. Without loss of generality, we restrict our attention to compositions of the form (4.4) as, by definition, a symmetric method is similar to its adjoint.
Corollary 4.2
Let \(\mathcal {C}_{ h}\) be an (L, P)-symmetric, canonical GLM. Then, composition (4.4) is symmetric if \(\alpha _j = \alpha _{k-j+1}\), for \(j=1,\ldots ,k\).
Proof
Taking the adjoint of \(\mathcal {C}_{ h}^{B}\), we find
By assumption, \(\alpha _j = \alpha _{k-j+1}\), for \(j=1,\ldots ,k\). Thus, this becomes
Since \(\mathcal {C}_{ h}\) is symmetric, we have that \(\mathcal {C}_{ h}= L\mathcal {C}_{ h}^*\circ L\) and \(LVL = V^{-1}\). Therefore,
and the method is symmetric as required. \(\square \)
The above result coupled with the necessity of even order for symmetric methods (cf. Theorem 14 of [6]) implies that the composite method will achieve an increase of two orders, i.e. \(p \mapsto p+2\). Furthermore, this composition can be repeatedly applied to generate canonical COSY-GLMs of arbitrarily high order.
Preservation of parasitism-free behaviour Consider now the case that the canonical method is also parasitism-free.
Corollary 4.3
Let \(\mathcal {C}_{ h}\) satisfy the parasitism-free condition (3.3). Then, composition (4.4) is also parasitism-free.
Proof
Repeatedly applying the tableau composition formula of (2.5), we find that the corresponding B, U matrices of (4.4) are respectively given by
Inserting these into the LHS of (3.3), we find
where we have applied \(w^{{{\mathbf {\mathsf{{T}}}}}} BUu = 0\) since \(\mathcal {C}_{ h}\) is parasitism-free. Thus, composition (4.4) is also parasitism-free. \(\square \)
4.2 Composition of non-canonical methods
Consider now a composition method based on an invertible GLM with arbitrary inputs. The corresponding composition formulae and results all extend straightforwardly from those given in the previous section after making the substitution \(\mathcal {C}_{ h}= T_h^{-1} \circ \mathcal {M}_{ h}\circ T_h\). In particular, the general form of (4.1) is written as
where \(R_A(a,b):= T_{ah}\circ T^*_{bh}\), and for (4.4) this is
where \(R_B(a,b):=T_{ah}\circ V^{-1}T^{-1}_{bh}\). In addition, the starting and finishing methods are given by
where \(\mathcal {S}_{ h}\) and \(\mathcal {F}_{ h}\) are the starting and finishing methods of the base GLM \(\mathcal {M}_{ h}\).
Example 4.1
From composition (4.7), we can obtain the GLM version of the triple jump:
where, for \(\mathcal {M}_{ h}\) of even order p, \(\alpha _1\) and \(\alpha _2\) are given in (1.3). Similarly, we can obtain the GLM version of the Suzuki 5-jump:
where \(\alpha _1\) and \(\alpha _2\) are given in (1.4).
Stage reductions: Consider the straightforward implementation of a COSY-GLM (e.g. in its canonical form), possibly using multiple iterations, such that the resulting method attains order \(p_D \in \mathbb {N}\). Then, the total number of stages that require evaluation are given by
where \(\tilde{s}\) denotes the number of stages in the starting method.
Improvements to the implementation can be made by identifying and removing any redundant stages prior to integration. For example, the nonlinear map \(R_B(a,b)\) which is performed between method evaluations has the GLM tableau:
Suppose \(A_S\) is an \(\widetilde{s}\, \times \, \widetilde{s}\) matrix, then this tableau suggests that a total of \(2\widetilde{s}\) stage equations must be solved for each \(R_B(a,b)\)-evaluation. However, if we choose \(U_{F}= {\mathbb {1}}_Sw_1^{{\mathbf {\mathsf{{H}}}}}\), where \(w_1\) is the left eigenvector of V corresponding to eigenvalue \(\zeta =1\), then in the case \(a=b\) (see Suzuki composition (4.9)) we find a reduction to \(\widetilde{s}\)-many stages occurs, i.e. the tableau for \(R_B(a,a)\) actually reads
As reductions of this type are both method and composition dependent, we suggest that each (distinct) nonlinear map \(R_B(a,b)\) is implemented as an individual GLM, with redundant stages removed. Then, compositions such as the Suzuki 5-jump (4.9) would be performed in the fashion
where \(R_1 = R_B(\alpha _1,\alpha _1)\), \(R_2 = R_B(\alpha _2,\alpha _1)\) and \(R_3 = R_B(\alpha _1,\alpha _2)\) are each distinct, and irreducible GLMs.
5 Numerical experiments
In following set of experiments, we consider compositions of methods under the triple jump (4.8) and the Suzuki 5-jump (4.9). To indicate which specific composition is used we adopt the naming convention T.method for the triple jump and S.method for Suzuki 5-jump. For example, a triple jump of a method named GLM4A would be referred to as T.GLM4A.
The numerical experiments we consider are as follows: Firstly, we computationally verify that the proposed COSY-formulae yield an appropriate order increase. Here, we consider compositions of 4th to 6th-order methods (see also [17, Ch. 7] for higher order). Secondly, we perform efficiency comparisons in terms of accuracy versus function evaluations. Here, accuracy is measured by either the trajectory error or the maximum absolute deviation in the Hamiltonian. Finally, we investigate long-time Hamiltonian preservation of the composition methods on several reversible Hamiltonian systems. In particular, we consider
- (P1) :
-
Modified pendulum (see [14, Ch. XV.5]): For \(y = [p,q]^{{{\mathbf {\mathsf{{T}}}}}}\),
$$\begin{aligned} H(p,q)&= \frac{1}{2}p^2 - \cos (q)\left( 1-\frac{p}{6}\right) , \\ (p_0,q_0)&= (2,1). \end{aligned}$$ - (P2) :
-
Bead on a wire (see [1]): For \(y = [p,q]^{{{\mathbf {\mathsf{{T}}}}}}\),
$$\begin{aligned} H(p,q)&= \frac{p^2}{2(1+U^{\prime }(q)^2)} + U(q), \quad U(q) = 0.1(q(q-2))^2+0.008q^3, \\ (p_0,q_0)&= (0.49,0). \end{aligned}$$ - (P3) :
-
Kepler (see [14, Ch. I.2]): For \(y = [p_1,p_2,q_1,q_2]^{{{\mathbf {\mathsf{{T}}}}}}\),
$$\begin{aligned} H(p_1,p_2,q_1,q_2)&= \frac{1}{2}(p_1^2+p_2^2) - (q_1^2+q_2^2)^{-\frac{1}{2}}, \\ (p_{10},p_{20},q_{10},q_{20})&= \left( 0,\sqrt{\frac{1+e}{1-e}},1-e,0\right) , \quad e = 0.6. \end{aligned}$$
5.1 Methods
5.1.1 Symmetric GLMs
The following GLMs are both 4th-order, (L, P)-symmetric and satsify the parasitism-free condition (3.3):
In order to attain 4th-order, both GLMs must approximate the starting vector
which can be achieved using the following \((L,P_S)\)-symmetric starting method:

The corresponding finishing method is given by the first component, i.e. \(\mathcal {F}_{ h}(y) = y_1\).
Note that since both GLMs share the same starting and finishing methods, they also share the same canonical transformation \(T_h\). The tableaux for both \(T_h\) and \(T_h^{-1}\) are given respectively below

where the choice \(U_F = {\mathbb {1}}_Se_1^{{{\mathbf {\mathsf{{T}}}}}}\) has been made such that \(T_h^{-1}\) is also explicit.
\(\varepsilon _h\)-error versus function evaluation diagrams for the Hamiltonian IVP from Sect. 5.2. a Triple jump, b Suzuki
5.1.2 Symmetric RKMs
For comparison, we have chosen methods from the class of symmetric DIRKs which are closest, in the sense of structure, to GLM4A and GLM4B, i.e. their stage equations can be solved sequentially.
Remark 5.1
Higher-order Gauss and Lobatto methods are not considered as their stage equations are typically solved ‘all-at-once’, i.e. in the product space \(X^s\), in conjunction with a sophisticated iteration scheme (see e.g. [9]).
The Butcher tableaux for two 4th-order symmetric DIRKs are given as follows:
Note that both DIRKs are formed by compositions of the implicit midpoint rule. DIRK43 is based on the triple jump with \(\alpha _1\), \(\alpha _2\) given by (1.3) and DIRK45 is a Suzuki 5-jump with \(\alpha _1\), \(\alpha _2\) given by (1.4).
\(\max _n |H_n - H_0|\) versus function evaluation diagrams for the Hamiltonian IVP from Sect. 5.2. a Triple jump, b Suzuki
5.1.3 Implementation
We have ensured the update procedure is consistent across all methods. Specifically, the stage equations are solved sequentially using fixed point iteration. The termination criteria are given by
where \(\varDelta _k\) denotes the difference between iterates k and \(k+1\). Also, redundant stages in the COSY-GLMs have been identified and removed prior to each integration.
5.2 Order confirmation
Consider problem (P3) which is known to be \(2\pi \)-periodic (see e.g. [14, Ch. I.2.3]): Let \(T = 10\pi \) and define h such that \(N_h:=T/h\) is an integer. Then, for various values of h, we measure the \(\varepsilon _h\)-error:
The order of a method is then approximately given by the gradient of the corresponding plot of \(\log (\varepsilon _h)-\log (h)\). In Fig. 1, we demonstrate that compositions of GLM4A and GLM4B by both the triple jump and Suzuki 5-jump can be applied to yield methods of order \(p=6\).
5.3 Efficiency comparisons
Next, we investigate the computational efficiency of the COSY-GLMs. In particular, we repeat the experiment of Sect. 5.2 and record the total number of function evaluations made during the integration. Comparing this quantity to the \(\varepsilon _h\) error provides us with an estimate on computational cost versus accuracy.
Kepler: \(t \in [0,10^4\cdot \pi ]\). a T.GLM4B: Hamiltonian preservation with \(h = \frac{\pi }{250}\), b T.GLM4B: angular momentum preservation with \(h = \frac{\pi }{250}\), c S.GLM4B: Hamiltonian preservation with \(h = \frac{\pi }{100}\), d S.GLM4B: angular momentum preservation with \(h = \frac{\pi }{100}\)
The results from this experiment are shown in Fig. 2. For a fixed accuracy, it can be seen on average that COSY-GLMs require between 1.66 and 2.5 times fewer function evaluations than the DIRK methods.
In addition to \(\varepsilon _h\) error versus function evaluations, we also consider the maximum deviation of the absolute Hamiltonian error, i.e.
versus function evaluations. These results are given in Fig. 3. Similar to before, for a fixed accuracy it can been seen that COSY-GLMs require approximately half the number of function evaluations when compared against the DIRK methods.
5.4 Long-time hamiltonian preservation
Lastly, we investigate the long-time preservation of the Hamiltonian for problems (P1)–(P3) using a COSY-GLM. As the results on computational efficiency indicate that compositions of GLM4A and GLM4B perform similarly, we restrict our attention to compositions of only GLM4B as this requires fewer function evaluations for a fixed time-step.
The results given in Figs. 4, 5 and 6 show that COSY-GLMs approximately preserve the Hamiltonian over long-times. Also, Fig. 6 shows that quadratic invariants such as angular momentum, i.e. \(L:\mathbb {R}^4\rightarrow \mathbb {R}\),
are also approximately preserved. Furthermore, we observe that parasitic instability has yet to manifest itself despite the use of coarse time-steps.
6 Conclusion
A composition technique for generating composite symmetric general linear methods (COSY-GLMs) of arbitrarily high order has been developed and then applied to create new methods of order 6. The process involves using a canonical transformation that alters the starting and finishing methods of a GLM to be in terms of only the preconsistency vectors u and w. The new methods have been shown to be suitable for the long-time integration of reversible Hamiltonian systems that are either separable or non-separable. In particular, numerical experiments have been performed which show that the methods approximately preserve the Hamiltonian and other invariants for the duration of the computation. Furthermore, these methods have been found to be computationally more efficient than symmetric diagonally-implicit Runge–Kutta methods (DIRKs) of the same order, typically requiring half the number of total function evaluations for a fixed accuracy.
References
Aubry, A., Chartier, P.: Pseudo-symplectic Runge–Kutta methods. BIT Numer. Math. 38(3), 439–461 (1998)
Butcher, J.C.: The effective order of Runge–Kutta methods. In: Conference on the Numerical Solution of Differential Equations, vol. 109, pp. 133–139. Springer (1969)
Butcher, J.C.: General linear methods. Acta Numer. 15, 157–256 (2006)
Butcher, J.C.: Numerical Methods for Ordinary Differential Equations, 2nd edn. Wiley, Hoboken (2008)
Butcher, J.C., Habib, Y., Hill, A.T., Norton, T.J.T.: The control of parasitism in \(G\)-symplectic methods. SIAM J. Numer. Anal. 52(5), 2440–2465 (2014)
Butcher, J.C., Hill, A.T., Norton, T.J.T.: Symmetric general linear methods. BIT Numer. Math. 56(4), 1189–1212 (2016)
Butcher, J.C., Imran, G., Podhaisky, H.: A \(G\)-symplectic method with order 6. BIT Numer. Math. 57(2), 313–328 (2017)
Chan, R.P., Gorgey, A.: Active and passive symmetrization of Runge–Kutta Gauss methods. Appl. Numer. Math. 67, 64–77 (2013)
Cooper, G., Vignesvaran, R.: Some schemes for the implementation of implicit Runge–Kutta methods. J. Comput. Appl. Math. 45(1), 213–225 (1993)
Creutz, M., Gocksch, A.: Higher-order hybrid Monte Carlo algorithms. Phys. Rev. Lett. 63(1), 9 (1989)
D’Ambrosio, R., Hairer, E.: Long-term stability of multi-value methods for ordinary differential equations. J. Sci. Comput. 60(3), 627–640 (2014)
Forest, E.: Canonical integrators as tracking codes. In: Physics of Particle Accelerators, vol. 184, pp. 1106–1136. AIP Conference Proceedings (1989)
Gragg, W.B.: On extrapolation algorithms for ordinary initial value problems. SIAM J. Numer. Anal. Ser. B 2, 384–403 (1965)
Hairer, E., Lubich, C., Wanner, G.: Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations, 2nd edn. Springer, Berlin (2006)
Hairer, E., Nørsett, S.P., Wanner, G.: Solving Ordinary Differential Equations I: Nonstiff Problems, 1st edn. Springer, Berlin (1987)
McLachlan, R.I.: On the numerical integration of ordinary differential equations by symmetric composition methods. SIAM J. Sci. Comput. 16(1), 151–168 (1995)
Norton, T.J.T.: Structure-Preserving General Linear Methods. Ph.D. Thesis, University of Bath (2015)
Quinlan, G.D., Tremaine, S.: Symmetric multistep methods for the numerical integration of planetary orbits. Astron. J. 100, 1694–1700 (1990)
Sanz-Serna, J.M.: Symplectic Runge–Kutta and related methods: recent results. Physica D 60(1), 293–302 (1992)
Suzuki, M.: Fractal decomposition of exponential operators with applications to many-body theories and Monte Carlo simulations. Phys. Lett. A 146(6), 319–323 (1990)
Yoshida, H.: Construction of higher order symplectic integrators. Phys. Lett. A 150(5), 262–268 (1990)
Acknowledgements
The author is very grateful to Dr Adrian T. Hill for his support and advice when writing this paper, and to the referees for their suggestions for improvements. The author also acknowledges financial support from EPSRC UK.
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by Christian Lubich.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Norton, T.J.T. Composite symmetric general linear methods (COSY-GLMs) for the long-time integration of reversible Hamiltonian systems. Bit Numer Math 58, 397–421 (2018). https://doi.org/10.1007/s10543-017-0692-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10543-017-0692-7
Keywords
- Symmetric composition
- General linear methods
- Reversible Hamiltonian systems
Mathematics Subject Classification
- 65D30
- 65P10
- 65L06