Abstract
This chapter presents a class of trigonometric collocation methods based on Lagrange basis polynomials for solving multi-frequency and multidimensional oscillatory systems \(q^{\prime \prime }(t)+Mq(t)=f\big (q(t)\big )\). The properties of the collocation methods are investigated in detail. It is shown that the convergence condition of these methods is independent of \(\left\| M\right\| \), which is crucial for solving multi-frequency oscillatory systems.
Access provided by CONRICYT-eBooks. Download chapter PDF
This chapter presents a class of trigonometric collocation methods based on Lagrange basis polynomials for solving multi-frequency and multidimensional oscillatory systems \(q^{\prime \prime }(t)+Mq(t)=f\big (q(t)\big )\). The properties of the collocation methods are investigated in detail. It is shown that the convergence condition of these methods is independent of \(\left\| M\right\| \), which is crucial for solving multi-frequency oscillatory systems.
7.1 Introduction
The numerical treatment of multi-frequency oscillatory systems is a computational problem of overarching importance in a wide range of applications, such as quantum physics, circuit simulations, flexible body dynamics and mechanics (see, e.g. [3, 5, 6, 8, 9, 32, 33] and the references therein). The main purpose of this chapter is to construct and analyse a class of efficient collocation methods for solving multi-frequency and multidimensional oscillatory second-order differential equations of the form
where M is a \(d\times d\) positive semi-definite matrix implicitly containing the dominant frequencies of the oscillatory problem and \(f: \mathbb {R}^{d}\rightarrow \mathbb {R}^{d}\) is an analytic function. The solution of this system is a multi-frequency nonlinear oscillator because of the presence of the linear term Mq. The system (7.1) is a highly oscillatory problem when \(\left\| M\right\| \gg 1\). In recent years, various numerical methods for approximating solutions of oscillatory systems have been developed by many researchers. Readers are referred to [12,13,14, 21,22,23,24,25, 31] and the references therein. Once it is further assumed that M is symmetric and f is the negative gradient of a real-valued function U(q), the system (7.1) is identical to the following initial value Hamiltonian system
with the Hamiltonian
This is an important Hamiltonian problem which has seen studied by many authors (see, e.g. [3,4,5, 8, 9]).
In [26], the authors took advantage of shifted Legendre polynomials to obtain a local Fourier expansion of the system (7.1) and derived the so-called trigonometric Fourier collocation methods. Theoretical analysis and numerical experiments in [26] showed that the trigonometric Fourier collocation methods are more efficient than some earlier codes. Motivated by the work in [26], this chapter is devoted to the formulation and analysis of another trigonometric collocation method for solving multi-frequency oscillatory second-order systems (7.1). We will consider a classical approach and use Lagrange polynomials to derive a class of trigonometric collocation methods. Because of this different approach, compared with the methods in [26], the collocation methods have a simpler scheme and can be implemented at a lower cost in practical computations. These trigonometric collocation methods are designed by interpolating the function f of (7.1) by Lagrange basis polynomials, and incorporating the variation-of-constants formula and the idea of collocation. It is noted that these integrators are a class of collocation methods and they share all of the important features of collocation methods. We analyse the properties of trigonometric collocation methods and study the convergence of the fixed-point iteration for these methods. It is important to emphasize that for the trigonometric collocation methods, the convergence condition is independent of \(\left\| M\right\| \), which is a crucial property for solving highly oscillatory systems.
This chapter is organized as follows. In Sect. 7.2, we formulate the scheme of trigonometric collocation methods based on Lagrange basis polynomials. The properties of the obtained methods are analysed in Sect. 7.3. In Sect. 7.4, a fourth-order scheme of the collocation methods is presented and numerical results confirm that the method proposed in this chapter yields a dramatic improvement. Conclusions are included in the last section.
7.2 Formulation of the Methods
We first restrict the multi-frequency oscillatory system (7.1) to the interval [0, h] with any \(h>0\):
With regard to the variation-of-constants formula for (7.1) given in [29], we have the following result on the exact solution q(t) of the system (7.1) and its derivative \(q'(t)=p(t)\):
where \(t\in [0,h]\) and
It follows from (7.5) that
where \(V=h^2M.\)
The main idea in designing practical schemes to solve (7.1) is to approximate f(q) in (7.7) by a quadrature. In this chapter, we interpolate f(q) as
where
for \(j=1,\ldots ,s\), are the Lagrange basis polynomials, and \(c_1, \ldots , c_s\) are distinct real numbers (\(s\ge 1,\ 0 \le c_i \le 1\)). Then replacing \(f(q(\xi h))\) in (7.7) by the series (7.8) yields an approximation of q(h), p(h) as follows:
where
From the variation-of-constants formula (7.5) for (7.4), the approximation (7.10) satisfies the following system
In what follows we first approximate \(f\big (\tilde{q}(c_j h)\big ),\ I_{1,j},\ I_{2,j}\) in (7.10), and then formulate a class of trigonometric collocation methods.
7.2.1 The Computation of \(f(\tilde{q}(c_j h))\)
It follows from (7.12) that \(\tilde{q}(c_i h)\) for \( i=1,2,\ldots ,s,\) can be obtained by solving the following discrete problems:
Set \(\tilde{q}_i=\tilde{q}(c_i h)\) for \(i=1,2,\ldots ,s\). Then (7.13) can be solved by the variation-of-constants formula (7.5) in the form:
where
7.2.2 The Computation of \(I_{1,j},\ I_{2,j},\ \tilde{I}_{c_i,j}\)
With the definition (7.9), the integrals \(I_{1,j},\ I_{2,j},\ \tilde{I}_{c_i,j}\) appearing in (7.11) and (7.14) can be computed as follows:
If M is symmetric and positive semi-definite, we have the decomposition of M as follows:
where P is an orthogonal matrix and \(W=diag (\lambda _k)\) with nonnegative diagonal entries which are the square roots of the eigenvalues of M. Hence the above integrals become
Here, it is noted that \(W^{-1}\sin \big ((1 -z)W\big ),\ (c_iW )^{-1}\sin \big ((1 -z)c_iW\big )\) are well defined also for singular W. The case \(\lambda _k=0\) gives:
which can be evaluated easily since \(l_j(z)\) is a polynomial function. If \(\lambda _k\ne 0\), they can be evaluated as follows:
\( \begin{aligned}&\int _{0}^1 l_j(z) \lambda _k ^{-1}\sin \big ((1 -z)\lambda _k\big )dz \\ =\,\,&1/\lambda _k\int _{0}^1 l_{j}(z)\sin \big ((1 -z)\lambda _k\big )dz \\ =\,\,&1/\lambda _k^2\int _{0}^1 l_{j}(z)d\cos \big ((1 -z)\lambda _k\big )\\ =\,\,&1/\lambda _k^2 l_{j}(1)-1/\lambda _k^2 l_{j}(0)\cos (\lambda _k)- 1/\lambda _k^2\int _{0}^1 l'_{j}(z)\cos \big ((1 -z)\lambda _k\big )dz\\ =\,\,&1/\lambda _k^2 l_{j}(1)-1/\lambda _k^2 l_{j}(0)\cos (\lambda _k)+ 1/\lambda _k^3\int _{0}^1 l'_{j}(z)d\sin \big ((1 -z)\lambda _k\big )\\ =\,\,&1/\lambda _k^2 l_{j}(1)-1/\lambda _k^2 l_{j}(0)\cos (\lambda _k)- 1/\lambda _k^3l'_{j}(0)\sin (\lambda _k)\\ {}&-1/\lambda _k^3\int _{0}^1 l''_{j}(z)\sin \big ((1 -z)\lambda _k\big )dz\\ =\,\,&1/\lambda _k^2 l_{j}(1)-1/\lambda _k^2 l_{j}(0)\cos (\lambda _k)- 1/\lambda _k^3l'_{j}(0)\sin (\lambda _k) \\ {}&-1/\lambda _k^4 l''_{j}(1)+1/\lambda _k^4 l''_{j}(0)\cos (\lambda _k)+ 1/\lambda _k^5l^{(3)}_{j}(0)\sin (\lambda _k)\\ {}&+1/\lambda _k^5\int _{0}^1 l^{(4)}_{l,j}(z)\sin \big ((1 -z)\lambda _k\big )dz\\ =\,\,&\cdots \\ \cdot&\\\cdot&\\\cdot&\\ =&\sum \limits _{k=0}^{\lfloor \deg (l_{j})/2\rfloor }(-1)^{k}/\lambda _k^{2k+2}\Big ( l_{j}^{(2k)}(1)- l_{j}^{(2k)}(0)\cos (\lambda _k)-1/\lambda _k l_{j}^{(2k+1)}(0)\sin (\lambda _k)\Big ),\\ \end{aligned} \)
for \(i=1,2,\ldots ,s,\) where \(\deg (l_{j})\) is the degree of \(l_{j}\) and \(\lfloor \deg (l_{j})/2\rfloor \) denotes the integral part of \(\deg (l_{j})/2\).
Likewise, we can obtain
for \(i,\ j=1,2,\ldots ,s\).
7.2.3 The Scheme of Trigonometric Collocation Methods
We are now in a position to present a class of trigonometric collocation methods for the multi-frequency oscillatory second-order oscillatory system (7.1).
Definition 7.1
A trigonometric collocation method for integrating the multi-frequency oscillatory system (7.1) is defined as
where h is the stepsize and \(I_{1,j},\ I_{2,j},\ \tilde{I}_{c_i,j}\) can be computed as stated in Sect. 7.2.2.
Remark 7.1
In [26], the authors took advantage of shifted Legendre polynomials to obtain a local Fourier expansion of the system (7.1) and derived trigonometric Fourier collocation methods (TFCMs). TFCMs are a subclass of s-stage ERKN methods presented in [29] with the following Butcher tableau:
where
r is an integer with the requirement: \(2\le r\le s,\) all \(\widehat{P}_j\) are shifted Legendre polynomials over the interval [0, 1], and \(c_l,\ b_l\) for \(l=1,2,\ldots ,s\) are the node points and the quadrature weights of a quadrature formula, respectively.
It is noted that the method (7.16) is also the subclass of s-stage ERKN methods with the following Butcher tableau:
where
From (7.17) and (7.18), it follows clearly that the coefficients of (7.18) are simpler than (7.17). Therefore, the scheme of the methods derived in this chapter is much simpler than that given in [26]. The obtained methods can be implemented at a lower cost in practical computations, which will be shown by the numerical experiments in Sect. 7.4. The reason for this better efficiency is that we use a classical approach and choose Lagrange polynomials to give a local Fourier expansion of the system (7.1).
Remark 7.2
We also note that in the recent monograph [2], it has been shown that the approach of constructing energy-preserving methods for Hamiltonian systems which are based upon the use of shifted Legendre polynomials (such as in [1]) and Lagrange polynomials constructed on Gauss–Legendre nodes (such as in [10]) leads to precisely the same methods. Therefore, by choosing special real numbers \(c_1,\ldots ,c_s\) for (7.18) and special quadrature formulae for (7.17), the methods given in this chapter may have some connections with those in [26], which need to be investigated.
Remark 7.3
It is noted that the method (7.16) can be applied to the system (7.1) with an arbitrary matrix M since trigonometric collocation methods do not need the symmetry of M. Moreover, the method (7.16) exactly integrates the linear system \(q''+Mq=0\) and it has an additional advantage of energy preservation for linear systems while respecting structural invariants and geometry of the underlying problem. The method approximates the solution in the interval [0, h]. We then repeat this procedure with equal ease over the next interval. Namely, we can consider the obtained result as the initial condition for a new initial value problem in the interval [h, 2h]. In this way, the method (7.16) can approximate the solution in an arbitrary interval \([0,t_{\mathrm {end}}]\) with \(t_{\mathrm {end}}=Nh\).
When \(M= 0\), (7.1) reduces to a special and important class of systems of second-order ODEs expressed in the traditional form
For this case, with the definition (7.6) and the results of \(I_{1,j},\ I_{2,j},\ \tilde{I}_{c_i,j}\) in Sect. 7.2.2, the trigonometric collocation method (7.16) reduces to the following RKN-type method.
Definition 7.2
An RKN-type collocation method for integrating the traditional second-order ODEs (7.19) is defined as
where h is the stepsize.
Remark 7.4
The method (7.20) is the subclass of s-stage RKN methods with the following Butcher tableau:
Thus, by letting \(M=0\), the trigonometric collocation methods yield a subclass of RKN methods for solving traditional second-order ODEs, which demonstrates wide applications of the methods.
7.3 Properties of the Methods
For the exact solution of (7.2) at \(t=h\), let \(\mathbf {y}(h)=\Big ( q^{\intercal }(h),p^{\intercal }(h)\Big )^{\intercal }.\) Then the oscillatory Hamiltonian system (7.2) can be rewritten in the form
for \(0\le \xi \le 1.\) The Hamiltonian is
On the other hand, if we denote the updates of (7.16) by
then we have
The next lemma is useful for the subsequent analysis.
Lemma 7.1
Let \(g:[0,h]\rightarrow \mathbb {R}^{d}\) have j continuous derivatives. Then
where \(P_j(\tau )\) is an orthogonal polynomial of degree j on the interval [0, 1].
Proof
We assume that \(g(\tau h)\) can be expanded in Taylor series at the origin for sake of simplicity. Then, for all \(j\ge 0\), by considering that \(P_j(\tau )\) is orthogonal to all polynomials of degree \(n< j\):
\(\square \)
7.3.1 The Order of Energy Preservation
In this subsection we analyse the order of preservation of the Hamiltonian energy.
Theorem 7.1
Assume that \(c_l\) for \( l=1,2,\ldots ,s\) are chosen as the node points of an s-point Gauss–Legendre’s quadrature over the integral [0, 1]. Then we have
where the constant symbolized by \(\mathscr {O}\) is independent of h.
Proof
It follows from Lemma 7.1, (7.23) and (7.24) that
Moreover, we have
Here \(f^{(s+1)}\big (\tilde{q}(\xi h)\big )\) denotes the \((s+1)\)th derivative of \(f(\tilde{q}(t))\) with respect to t. We then obtain
Since \(c_l\) for \(l=1,2,\ldots ,s\) are chosen as the node points of a s-point Gauss–Legendre’s quadrature over the integral [0, 1], \(\prod \limits _{i=1}^ {s}(\xi -c_i)\) is an orthogonal polynomial of degree s on the interval [0, 1]. Therefore, using Lemma 7.1 we obtain
This gives the result of the theorem. \(\square \)
7.3.2 The Order of Quadratic Invariant
We next turn to the quadratic invariant \(Q(\mathbf {y})=q^{\intercal }Dp\) of (7.1). The quadratic form Q is a first integral of (7.1) if and only if \(p^{\intercal }Dp+q^{\intercal }D(f(q)-Mq)=0\) for all \(p,q\in \mathbb {R}^{d}\). This implies that D is a skew-symmetric matrix and that \(q^{\intercal }D(f(q)-Mq)=0\) for any \(q\in \mathbb {R}^{d}\). The following result states the degree of accuracy of the method (7.16).
Theorem 7.2
Under the condition in Theorem 7.1, we have
where the constant symbolized by \(\mathscr {O}\) is independent of h.
Proof
From \(Q(\mathbf {y})=q^{\intercal }Dp\) and \(D^{\intercal }=-D\), it follows that
Since \(q^{\intercal }D(f(q)-Mq)=0\) for any \(q\in \mathbb {R}^{d}\), we have
This completes the proof. \(\square \)
7.3.3 The Algebraic Order
To emphasize the dependence of the solutions of \(\mathbf {y}'(t)=F(\mathbf {y}(t))\) on the initial values, for any given \(\tilde{t}\in [0,h]\), we denote by \(\mathbf {y}(\cdot ,\tilde{t}, \tilde{\mathbf {y}})\) the solution satisfying the initial condition \(\mathbf {y}(\tilde{t},\tilde{t}, \tilde{\mathbf {y}})=\tilde{\mathbf {y}}\) and set
Recalling the elementary theory of ODEs, we have the following standard result (see, e.g. [11])
The following theorem states the result on the order of the trigonometric collocation methods.
Theorem 7.3
Under the condition in Theorem 7.1, the trigonometric collocation method (7.16) satisfies
where the constant symbolized by \(\mathscr {O}\) is independent of h.
Proof
It follows from (7.25) and (7.26) that
We rewrite \(\varPhi \big (h,\xi h, \omega (\xi h)\big )\) as a block matrix:
where \(\varPhi _{ij}\ (i,j=1,2)\) are \(d\times d\) matrices.
We then obtain
The proof is complete.\(\square \)
7.3.4 Convergence Analysis of the Iteration
Theorem 7.4
Assume that M is symmetric and positive semi-definite and that f satisfies a Lipschitz condition in the variable q, i.e., there exists a constant L such that \(\left\| f(q_1)-f(q_2)\right\| \le L\left\| q_1-q_2\right\| \). If
then the fixed-point iteration for the method (7.16) is convergent.
Proof
Following Definition 7.1, the first formula of (7.16) can be rewritten as
where \(c=(c_1,\ldots ,c_s)^{\intercal },\ e=(1,\ldots ,1)^{\intercal },\ Q=(\tilde{q}_1,\ldots ,\tilde{q}_s)^{\intercal },\ f(Q)=\big (f(\tilde{q}_1)^{\intercal },\ldots ,f(\tilde{q}_s)^{\intercal }\big )^{\intercal },\) \( A(V)=\big (a_{ij}(V)\big )_{s\times s}\) and \(a_{ij}(V)\) are the block diagonal matrices defined by
It follows from Proposition 2.1 in [18] that \(\left\| \phi _1\big ((1 -z)^2c_i^2V\big )\right\| \le 1\). We then obtain
Let
Then,
which means that \(\varphi (x)\) is a contraction from the assumption (7.27). The well-known Contraction Mapping Theorem then ensures the convergence of the fixed-point iteration. This proof is complete. \(\square \)
Remark 7.5
We note that the convergence of the methods is independent of \(\left\| M\right\| \). This point is of prime importance especially for highly oscillatory systems where \(\left\| M\right\| \gg 1\), which will be shown by the numerical results of Problem 2 in Sect. 7.4.
7.3.5 Stability and Phase Properties
In this part we are concerned with the stability and phase properties. We consider the test equation:
where \(\omega \) represents an estimation of the dominant frequency \(\lambda \) and \(\varepsilon =\lambda ^{2}-\omega ^{2}\) is the error of that estimation. Applying (7.16) to (7.29) produces
where the stability matrix S(V, z) is given by
with \(N=I+zA(V)\), \(\bar{b}(V)=\Big (I_{1,1},\ldots ,I_{1,s} \Big )^{\intercal },\ b(V)=\Big (I_{2,1},\ldots ,I_{2,s} \Big )^{\intercal }.\)
Accordingly, we have the following definitions of stability and dispersion order and dissipation order for our method (7.16).
Definition 7.3
(See [30]) Let \(\rho (S)\) be the spectral radius of S,
and
Then \(R_{s}\) and and \(R_{p}\) are called the stability region and the periodicity region of the method (7.16) respectively. The quantities
are called the dispersion error and the dissipation error of the method (7.16), respectively, where \(\zeta =\sqrt{V+z}\). Then, a method is said to be dispersive of order r and dissipative of order s, if \(\phi (\zeta )=\mathscr {O}(\zeta ^{r+1})\) and \(d(\zeta )=\mathscr {O}(\zeta ^{s+1})\), respectively. If \(\phi (\zeta )=0\) and \(d(\zeta )=0\), then the corresponding method is said to be zero dispersive and zero dissipative, respectively.
7.4 Numerical Experiments
As an example of the trigonometric collocation methods (7.16), we choose the node points of a two-point Gauss–Legendre’s quadrature over the integral [0, 1], as follows:
Then we choose \(s=2\) in (7.16) and denote the corresponding fourth-order method as LTCM.
The stability region of this method is shown in Fig. 7.1. Here we choose the subset \(V\in [0,100],\ z\in [-5,5]\) and the region shown in Fig. 7.1 only gives an indication of the stability of this method.
The dissipative error and dispersion error are given respectively by
Note that when \(M=0\), the method LTCM reduces to a fourth-order RKN method given by the Butcher tableau (7.21) with nodes in (7.30).
In order to show the efficiency and robustness of the fourth-order method LTCM, several other integrators in the literature we select for comparison are:
-
TFCM: a fourth-order trigonometric Fourier collocation method in [26] with \(c_1=\frac{3-\sqrt{3}}{6},\ c_2=\frac{3+\sqrt{3}}{6},\ b_1=b_2=1/2,\ r=2\);
-
SRKM1: the symplectic Runge–Kutta method of order five in [20] based on Radau quadrature;
-
EPCM1: the “extended Lobatto IIIA method of order four” in [15], which is an energy-preserving collocation method (the case \(s=2\) in [10]);
-
EPRKM1: the energy-preserving Runge–Kutta method of order four (formula (19) in [1]).
Since all of these methods are implicit, we use the classical waveform Picard algorithm. For each experiment, first we show the convergence rate of iterations for different error tolerances. Then, for different methods, we set the error tolerance as \(10^{-16}\) and set the maximum number of iteration as 5. We display the global errors and the energy errors once the problem is a Hamiltonian system.
Problem 1
Consider the Hamiltonian equation which governs the motion of an artificial satellite (this problem has been considered in [19]) with the Hamiltonian
where \(q=(q_1,q_2,q_3,q_4)^{\intercal }\) and \(r=q^{\intercal }q.\) The initial conditions are given on an elliptic equatorial orbit by
Here \(M=\frac{\kappa }{2}\) and \(\kappa \) is the total energy of the elliptic motion which is defined by \(\kappa =\frac{K^2-2|p_0|^2}{r_0}-V_0 \) with \(V_0=-\frac{\lambda }{12r_0^3}.\) The parameters of this problem are chosen as \(K^2=3.98601\times 10^5\), \(r_0=6.8\times 10^3\), \(e=0.1\), \(\lambda =\frac{3}{2}K^2J_2R^2,\ J_2=1.08625\times 10^{-3},\ R=6.37122\times 10^3\). First the problem is solved on the interval \([0, 10^4]\) with the stepsize \(h=\frac{1}{10}\) to show the convergence rate of iterations. Table 7.1 displays the CPU time of iterations for different error tolerances. Then this equation is integrated on [0, 1000] with the stepsizes \(1/2^i\) for \(i=2,3,4,5\). The global errors against CPU time are shown in Fig. 7.2i. We finally integrate this problem with the fixed stepsize \(h=1/20\) on the interval \([0,t_{\mathrm {end}}]\), and \(t_{\mathrm {end}}=10, 100, 10^3, 10^4\). The maximum global errors of Hamiltonian energy against CPU time are presented in Fig. 7.2ii.
Problem 2
Consider the Fermi–Pasta–Ulam problem [9].
Fermi–Pasta–Ulam problem is a Hamiltonian system with the Hamiltonian
where \(x_{i}\) is a scaled displacement of the ith stiff spring, \(x_{m+i}\) represents a scaled expansion (or compression) of the ith stiff spring, and \(y_{i},\ y_{m+i}\) are their velocities (or momenta). This system can be rewritten as
where
Following [9], we choose
with zero for the remaining initial values.
First, the problem is solved on the interval [0, 1000] with the stepsize \(h=\frac{1}{100}\) and \(\omega =100,\ 200\) to show the convergence rate of iterations. See Table 7.2 for the total CPU time of iterations for different error tolerances. It can be observed that when \(\omega \) increases, the convergence rates of LTCM and TFCM are almost unaffected. However, the convergence rates of the other methods vary greatly as \(\omega \) becomes large.
We then integrate the system on the interval [0, 50] with \(\omega =50,100,150,200\) and the stepsizes \(h=1/(20\times {2^{j}})\) for \( j=1,\ldots ,4.\) The global errors are shown in Fig. 7.4. Finally, we integrate this problem with a fixed stepsize \(h=1/100\) on the interval \([0,t_{\mathrm {end}}]\) with \(t_{\mathrm {end}}=1, 10, 100, 1000.\) The maximum global errors of Hamiltonian energy are presented in Fig. 7.4. Here, it is noted that some results are too large, and hence we do not plot the corresponding points in Figs. 7.3 and 7.4. A similar situation occurs in the next two problems.
Problem 3
Consider the nonlinear Klein-Gordon equation [17]
with \(L=1.28\), \(A=0.9\). Carrying out a semi-discretization on the spatial variable by using second-order symmetric differences yields
where \(U(t)=\big (u_1(t),\ldots ,u_N(t)\big )^{\intercal }\) with \(u_i(t)\approx u(x_i,t)\) for \( i=1,\ldots ,N\),
with \(\varDelta x= L/N\), \(x_i = i\varDelta x,\) \( F(U)=\big (-u_1^3-u_1,\ldots ,-u_N^3-u_N\big )^{\intercal }\) and \(N=32\). The corresponding Hamiltonian of this system is
We choose \(N=32\). The problem is solved on the interval [0, 500] with the stepsize \(h=\frac{1}{100}\) to show the convergence rate of iterations. See Table 7.3 for the total CPU time of iterations for different error tolerances. We then solve this problem on [0, 20] with stepsizes \(h=1/(3\times 2^{j})\) for \(j=1,\ldots ,4\). Figure 7.5i shows the global errors. Finally this problem is integrated with a fixed stepsize \(h=0.002\) on the interval \([0,t_{\mathrm {end}}]\) with \(t_{\mathrm {end}}= 10^i\) for \(i=0,1,2,3\). The maximum global errors of Hamiltonian energy are presented in Fig. 7.5ii.
Problem 4
Consider the wave equation
with \( a(x) = 4x(1-x),\ f(t,x,u)=u^5-a^2(x)u^3+\frac{a^5(x)}{4}\sin ^2(20t)\cos (10t).\) The exact solution of this problem is \(u(x,t) = a(x) \cos (10t).\) Using semi-discretization on the spatial variable with second-order symmetric differences, we obtain
where \(U(t)=\big (u_{1}(t),\ldots ,u_{N-1}(t)\big )^{\intercal }\) with \(u_{i}(t)\approx u(x_{i},t)\), \(x_i = i\varDelta x\), \(\varDelta x= 1/N\) for \(i=1,\ldots ,N-1,\)
and
The problem is solved on the interval [0, 100] with the stepsize \(h=\frac{1}{40}\) to show the convergence rate of iterations. See Table 7.4 for the total CPU time of iterations for different error tolerances. Then, the system is integrated on the interval \([0,100]\) with \(N=40\) and \(h=1/2^j\) for \( j=5,\ldots ,8.\) The global errors are shown in Fig. 7.6.
Remark 7.6
It follows from the numerical results that our method LTCM is very promising in comparison with the classical methods SRKM1, EPCM1 and EPRKM1. Although LTCM has a similar performance to TFCM in preserving the solution and the energy, it can be observed from Figs. 7.2i, 7.3 and 7.5i that LTCM performs a bit better than TFCM in presenting the solution. Moreover, it follows from Tables 7.1, 7.2, 7.3 and 7.4 that LTCM has a better convergence performance of iterations than TFCM. This means that LTCM can have a lower computational cost when the same error tolerance is required in the iteration procedure.
Remark 7.7
From Figs. 7.2ii, 7.4 and 7.5ii, it can be observed that the energy-preserving Runge–Kutta method EPRKM1 cannot preserve the Hamiltonian energy, and the errors seem to grow with the CPU time when the stepsize is reduced. The reason for this phenomenon may be that EPRKM1 does not take advantage of the special structure introduced by the linear term Mq of the oscillatory system (7.1) and its convergence depends on \(\left\| M\right\| \). The method LTCM developed in this chapter makes good use of the matrix M appearing in the oscillatory systems (7.1) and its convergence condition is independent of \(\left\| M\right\| \). This property enables LTCM to perform well in preserving Hamiltonian energy, although it is not an energy-preserving method.
7.5 Conclusions and Discussions
It is known that the trigonometric Fourier collocation method is a kind of collocation method for ODEs (see, e.g. [7, 9, 10, 16, 28]). In this chapter we have investigated a class of trigonometric collocation methods based on Lagrange basis polynomials, the variation-of-constants formula and the idea of collocation methods for solving multi-frequency oscillatory second-order differential equations (7.1) efficiently. It has been shown that the convergence condition of these trigonometric collocation methods is independent of \(\left\| M\right\| \), which is crucial for solving highly oscillatory systems. This presents an approach to treating multi-frequency oscillatory systems. The numerical experiments were carried out, and the numerical results show that the trigonometric collocation methods based on Lagrange basis polynomials derived in this chapter have remarkable efficiency compared with standard methods in the literature. However, it is believed that other collocation methods based on suitable bases different from the Lagrange basis are also possible for the numerical simulation of ODEs.
The material of this chapter is based on the work by Wang et al. [27].
References
Brugnano, L., Iavernaro, F., Trigiante, D.: A simple framework for the derivation and analysis of effective one-step methods for ODEs. Appl. Math. Comput. 218, 8475–8485 (2012)
Brugnano, L., Iavernaro, F.: Line Integral Methods for Conservative Problems. CRC Press, Boca Raton (2016)
Cohen, D., Hairer, E., Lubich, C.: Numerical energy conservation for multi-frequency oscillatory differential equations. BIT 45, 287–305 (2005)
Cohen, D.: Conservation properties of numerical integrators for highly oscillatory Hamiltonian systems. IMA J. Numer. Anal. 26, 34–59 (2006)
Cohen, D., Jahnke, T., Lorenz, K., Lubich, C.: Numerical integrators for highly oscillatory Hamiltonian systems: a review. In: Mielke, A. (ed.) Analysis, Modeling and Simulation of Multiscale Problems, pp. 553–576. Springer, Berlin (2006)
García-Archilla, B., Sanz-Serna, J.M., Skeel, R.D.: Long-time-step methods for oscillatory differential equations. SIAM J. Sci. Comput. 20, 930–963 (1999)
Hairer, E., Nørsett, S.P., Wanner, G.: Solving Ordinary Differential Equations I, Nonstiff Problems. Springer Series in Computational Mathematics, 2nd edn. Springer, Berlin (1993)
Hairer, E., Lubich, C.: Long-time energy conservation of numerical methods for oscillatory differential equations. SIAM J. Numer. Anal. 38, 414–441 (2000)
Hairer, E., Lubich, C., Wanner, G.: Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations, 2nd edn. Springer, Berlin (2006)
Hairer, E.: Energy-preserving variant of collocation methods. JNAIAM J. Numer. Anal. Ind. Appl. Math. 5, 73–84 (2010)
Hale, J.K.: Ordinary Differential Equations. Roberte E. Krieger Publishing company, Huntington, New York (1980)
Hochbruck, M., Lubich, C.: A Gautschi-type method for oscillatory second-order differential equations. Numer. Math. 83, 403–426 (1999)
Hochbruck, M., Ostermann, A.: Explicit exponential Runge–Kutta methods for semilineal parabolic problems. SIAM J. Numer. Anal. 43, 1069–1090 (2005)
Hochbruck, M., Ostermann, A., Schweitzer, J.: Exponential Rosenbrock-type methods. SIAM J. Numer. Anal. 47, 786–803 (2009)
Iavernaro, F., Trigiante, D.: High-order symmetric schemes for the energy conservation of polynomial Hamiltonian problems. NAIAM J. Numer. Anal. Ind. Appl. Math. 4(1), 87–101 (2009)
Iserles, A.: A First Course in the Numerical Analysis of Differential Equations, 2nd edn. Cambridge University Press, Cambridge (2008)
Jiménez, S., Vázquez, L.: Analysis of four numerical schemes for a nonlinear Klein–Gordon equation. Appl. Math. Comput. 35, 61–93 (1990)
Li, J., Wu, X.Y.: Adapted Falkner-type methods solving oscillatory second-order differential equations. Numer. Algorithm 62, 355–381 (2013)
Stiefel, E.L., Scheifele, G.: Linear and regular celestial mechanics. Springer, New York (1971)
Sun, G.: Construction of high order symplectic Runge–Kutta methods. J. Comput. Math. 11, 250–260 (1993)
Wang, B., Li, G.: Bounds on asymptotic-numerical solvers for ordinary differential equations with extrinsic oscillation. Appl. Math. Modell. 39, 2528–2538 (2015)
Wang, B., Liu, K., Wu, X.Y.: A Filon-type asymptotic approach to solving highly oscillatory second-order initial value problems. J. Comput. Phys. 243, 210–223 (2013)
Wang, B., Wu, X.Y.: A new high precision energy-preserving integrator for system of oscillatory second-order differential equations. Phys. Lett. A 376, 1185–1190 (2012)
Wang, B., Wu, X.Y., Zhao, H.: Novel improved multidimensional Störmer-Verlet formulas with applications to four aspects in scientific computation. Math. Comput. Modell. 57, 857–872 (2013)
Wang, B., Yang, H., Meng, F.: Sixth-order symplectic and symmetric explicit ERKN schemes for solving multi-frequency oscillatory nonlinear Hamiltonian equations. Calcolo (2016). https://doi.org/10.1007/s10092-016-0179-y
Wang, B., Iserles, A., Wu, X.Y.: Arbitrary-order trigonometric fourier collocation methods for multi-frequency oscillatory systems. Found. Comput. Math. 16, 151–181 (2016)
Wang, B., Wu, X.Y., Meng, F.: Trigonometric collocation methods based on Lagrange basis polynomials for multi-frequency oscillatory second-order differential equations. J. Comput. Appl. Math. 313, 185–201 (2017)
Wright, K.: Some relationships between implicit Runge-Kutta, collocation and Lanczos \(\tau \) methods, and their stability properties. BIT 10, 217–227 (1970)
Wu, X.Y., You, X., Shi, W., Wang, B.: ERKN integrators for systems of oscillatory second-order differential equations. Comput. Phys. Comm. 181, 1873–1887 (2010)
Wu, X.Y.: A note on stability of multidimensional adapted Runge–Kutta–Nyström methods for oscillatory systems. Appl. Math. Modell. 36, 6331–6337 (2012)
Wu, X.Y., Wang, B., Xia, J.: Explicit symplectic multidimensional exponential fitting modified Runge–Kutta–Nyström methods. BIT 52, 773–795 (2012)
Wu, X.Y., Wang, B., Shi, W.: Efficient energy-preserving integrators for oscillatory Hamiltonian systems. J. Comput. Phys. 235, 587–605 (2013)
Wu, X.Y., You, X., Wang, B.: Structure-Preserving Algorithms for Oscillatory Differential Equations. Springer, Berlin (2013)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2018 Springer Nature Singapore Pte Ltd. And Science Press
About this chapter
Cite this chapter
Wu, X., Wang, B. (2018). Trigonometric Collocation Methods for Multi-frequency and Multidimensional Oscillatory Systems. In: Recent Developments in Structure-Preserving Algorithms for Oscillatory Differential Equations. Springer, Singapore. https://doi.org/10.1007/978-981-10-9004-2_7
Download citation
DOI: https://doi.org/10.1007/978-981-10-9004-2_7
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-9003-5
Online ISBN: 978-981-10-9004-2
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)