Next Article in Journal
Ordinary Kriging Interpolation Method Combined with FEM for Arch Dam Deformation Field Estimation
Next Article in Special Issue
Stabilization and Chaos Control of an Economic Model via a Time-Delayed Feedback Scheme
Previous Article in Journal
Derivation of the Fractional Fokker–Planck Equation for Stable Lévy with Financial Applications
Previous Article in Special Issue
Approximate Closed-Form Solutions for the Maxwell-Bloch Equations via the Optimal Homotopy Asymptotic Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

High Order Energy Preserving Composition Method for Multi-Symplectic Sine-Gordon Equation

Department of Mathematics, School of Science, Hainan University, Haikou 570228, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(5), 1105; https://doi.org/10.3390/math11051105
Submission received: 19 December 2022 / Revised: 2 February 2023 / Accepted: 20 February 2023 / Published: 22 February 2023
(This article belongs to the Special Issue Application of Mathematical Method and Models in Dynamic System)

Abstract

:
A fourth-order energy preserving composition scheme for multi-symplectic structure partial differential equations have been proposed. The accuracy and energy conservation properties of the new scheme were verified. The new scheme is applied to solve the multi-symplectic sine-Gordon equation with periodic boundary conditions and compared with the corresponding second-order average vector field scheme and the second-order Preissmann scheme. The numerical experiments show that the new scheme has fourth-order accuracy and can preserve the energy conservation properties well.

1. Introduction

The symplectic geometric algorithm for the Hamiltonian system can accurately simulate the evolution of the system over a long period, which preserves the energy conservation of the system [1,2,3,4,5,6]. Marsden et al. [7,8,9] proposed the multi-symplectic method of the partial differential equations (PDE) with the multi-symplectic structure, which can also calculate the equations accurately for a long time and approximately preserve the energy conservation property. Multi-symplectic algorithm has been successfully applied to solve several important equations [10,11,12,13]. Recently, energy-preserving methods for Hamiltonian systems and multi-symplectic structure PDE have received much attention. Celledoni et al. proposed the second-order and higher-order average vector field (AVF) method to the Hamiltonian system, which can preserve the energy conservation of the Hamiltonian system exactly [14,15,16]. At the same time, the second order AVF method has also been proposed to solve the multi-symplectic structure PDE, which can also preserve the energy conservation [17]. However, few people study the high order energy preserving method of the multi-symplectic PDE structures.
Composition method is a class of important method to construct high order scheme of the differential equation. The method of forming multi-level high order schemes with the combination of low order invertible schemes was proposed by Ruth and Yoshida [18,19]. Ruth constructed three order three level composition schemes for the separate Hamiltonian system. Yoshida constructed the high order explicit difference scheme of separable Hamiltonian system. Qin extended the Yoshida’s composition method to the general non-Hamiltonian systems [20,21]. In this paper, we propose a fourth order energy preserving scheme of the multi-symplectic structure PDE by the composition method based on the second order energy preserving average vector field scheme of the multi-symplectic PDE. The new fourth order energy preserving composition scheme is applied to solve the sine-Gordon equation.
This paper is organized as following. In Section 2, the second order multi-symplectic energy-preserving scheme and the fourth order multi-symplectic energy preserving composition scheme are proposed. In Section 3, the sine-Gordon equation is discretizated in spacial direction by the pseudo-spectral method. Then the two energy preserving schemes for the multi-symplectic sine-Gordon equation are proposed by applying the second order AVF method and the fourth order composition AVF method, respectively. In Section 4, the numerical experiments are reported. The accuracy and energy conservation property of the second order AVF scheme and the fourth order composition AVF scheme of the multi-symplectic sine-Gordon equations are investigated compared with the corresponding second order multi-symplectic scheme. At last, we finish the paper with conclusive remarks in Section 5.

2. Multi-Symplectic Discretization for the Partial Differential Equations

Many partial differential equations can be written as the following multi-symplectic structure
M 1 z t + K 1 z x = z S 1 ( z ) , z R d , ( x , t ) R 2 ,
where M 1 and K 1 are skew symmetric matrices, S 1 : R d R is a scalar smooth function and d 1 , ∇ is the gradient of a function [7,8].

2.1. Spatial Discretization for the Partial Differential Equations

Equation (1) can be discretizated in spatial direction by the Fourier pseudo-spectral method [22]. Suppose u ( x , t ) is a function with x [ a , b ] , the interval Ω = [ a , b ] is divided into N equal subintervals, where the integer N is an even number. Denoting L = b a , the spatial collocation nodes are given by x j = a + ( j 1 ) h , j = 1 , , N , where h = L / N is the space step. Let u j be the approximation of u ( x j , t ) .
Let S = { g j ( x ) ; 1 j N } be the interpolation space. The function g j ( x ) is the trigonometric polynomial explicitly given by
g j ( x ) = 1 N k = N / 2 N / 2 1 c k exp i k μ ( x x j ) ,
where c k = 1 ( | k | N / 2 ) , c N / 2 = c N / 2 = 2 and μ = 2 π L . The interpolation operator I N : L 2 ( Ω ) S N is defined as
I N u ( x , t ) = m = 1 N u m g m ( x ) .
Therefore, we have
I N u ( x j , t ) = m = 1 N u m g m ( x j ) = u ( x j ) ,
where j = 1 , , N .
By differentiating (3), the k order derivative of the operator I N u ( x , t ) at nodes x j reads
k x k I N u ( x , t ) | x = x j = m = 1 N u m d k g m ( x j ) d x k = ( D k u ) j , j = 1 , , N .
where D k R N × N is a spectral differential matrix with elements
( D k ) j , n = d k g n ( x j ) d x k ,
and u = ( u 1 , u 2 , , u N ) T .
We can obtain explicitly D 1
( D 1 ) i , j = { 1 2 μ ( 1 ) i + j cot μ x i x j 2 , i j , 0 , i = j .
In particular, D k = ( D 1 ) k , if k is an odd number.
Applying the Fourier pseudo-spectral method to Equation (1) in spatial direction, we can obtain
M Z t + K D Z = Z S ( Z ) ,
where M , K R N d are skew symmetric matrices, Z = ( z 1 , 1 , , z N , 1 , , z 1 , d , , z N , d ) T , S : R N d R is a scalar smooth function. D is a matrix with D 1 . Equation (8) can be written as
M d Z d t = Z E ( Z ) = f ( Z ) ,
where E ( Z ) = S ( Z ) 1 2 Z T K D Z .

2.2. Second Order Energy-Preserving Scheme for Multi-Symplectic PDE

Applying the second order AVF method to Equation (9), we can obtain that
M Z n + 1 Z n τ = 0 1 Z E ( ( 1 ξ ) Z n + ξ Z n + 1 ) d ξ = 0 1 f ( ( 1 ξ ) Z n + ξ Z n + 1 ) d ξ ,
where τ is the time step. It can also be written as
M Z n + 1 Z n τ + K D Z n + Z n + 1 2 = 0 1 Z S ( ( 1 ξ ) Z n + ξ Z n + 1 ) d ξ .
The scheme (11) is consistent with the second order global energy preserving scheme [17]. However, the accuracy of the scheme has not been proved. We prove the accuracy and energy conservation property of the scheme in a new way.
Theorem 1.
Scheme (10) has second order accuracy.
Proof. 
Let s = N d , Z R s , the skew symmetric matrix M can be transformed into a diagonal matrix G with diagonal element 1 and 0 on diagonal line by a similar transformation [23]. We can get P T M P = G , P is a invertible matrix. Equation (9) is equivalent to
P T M P d P 1 Z d t = P T Z E ( Z ) = P T Z E ( P P 1 Z ) .
Let P 1 Z = Y , P T Z E ( Z ) = h ( Z ) = g ( Y ) , so Equation (12) is equivalent to
G d Y d t = g ( Y ) ,
where g ( Y ) = ( g 1 , g 2 , , g s ) . Equation (13) is equivalent to Equation (9). So Equation (10) can be written as
G Y n + 1 Y n τ = 0 1 P T Z E ( ( 1 ξ ) Z n + ξ Z n + 1 ) d ξ = 0 1 g ( ( 1 ξ ) Y n + ξ Y n + 1 ) d ξ .
Equations (10) and (14) have the same accuracy. So we can only prove Equation (14) has the second order accuracy.
We give the following partial derivatives definition
[ g k i g k ] = ( g k 1 g k , , g k i g k , , g k s g k ) T , [ g k i g m k g m ] = ( g k 1 g m k g m , , g k i g m k g m , , g k s g m k g m ) T , [ g k j i g k g j ] = ( g k j 1 g k g j , , g k j i g k g j , , g k j s g k g j ) T , [ g k j m i g k g j g m ] = ( g k j m 1 g k g j g m , , g k j m i g k g j g m , , g k j m s g k g j g m ) T , [ g k j i g m k g j g m ] = ( g k j 1 g m k g j g m , , g k j i g m k g j g m , , g k j s g m k g j g m ) T , [ g k i g m j k g j g m ] = ( g k 1 g m j k g j g m , , g k i g m j k g j g m , , g k s g m j k g j g m ) T , [ g k i g m k g j m g j ] = ( g k 1 g m k g j m g j , , g k i g m k g j m g j , , g k s g m k g j m g j ) T ,
where
g k i g k = k = 1 s g i y k g k , g k i g m k g m = k = 1 s m = 1 s g i y k g k y m g m , g k j i g k g j = k = 1 s j = 1 s y k ( g i y j ) g k g j , g k j m i g k g j g m = k = 1 s m = 1 s j = 1 s y k ( y j ( g i y m ) ) g k g m g j , g k j i g m k g j g m = k = 1 s j = 1 s m = 1 s y k ( g i y j ) g k y m g m g j , g k i g m j k g j g m = k = 1 s j = 1 s m = 1 s g i y k y j ( g k y m ) g m g j , g k i g m k g j m g j = k = 1 s m = 1 s j = 1 s g i y k g k y m g m y j g j .
The corresponding Taylor expansion of Y ( t n + 1 ) can be written as
Y ( t n + 1 ) = Y ( t n ) + d Y ( t n ) d t τ + 1 2 d 2 Y ( t n ) d t 2 τ 2 + O ( τ 3 ) .
Multiplying G 2 to both side of Equation (17), we can obtain that
G 2 Y ( t n + 1 ) = G 2 Y ( t n ) + G 2 d Y ( t n ) d t τ + G 2 1 2 d 2 Y ( t n ) d t 2 τ 2 + O ( τ 3 ) = G 2 Y ( t n ) + G g ( Y ( t n ) ) τ + 1 2 G d d t ( g ( Y ( t n ) ) ) τ 2 + O ( τ 3 ) ,
where
G d d t ( g ( Y ( t n ) ) ) = g ( Y ( t n ) ) Y G d Y d t = g ( Y ( t n ) ) Y g ( Y ) = [ g k i g k ] ,
so Equation (18) can be written as
G 2 Y ( t n + 1 ) = G 2 Y ( t n ) + G g ( Y ( t n ) ) τ + 1 2 [ g k i g k ] τ 2 + O ( τ 3 ) .
Equation (14) can be written as
G Y n + 1 = G Y n + τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n + 1 ) d ξ ,
multiplying G to both side of the equal sign and expanding 0 1 g ( ( 1 ξ ) Y n + ξ Y n + 1 ) d ξ . We will obtain that
G 2 Y n + 1 = G 2 Y n + τ G 0 1 g ( ( 1 ξ ) Y n + ξ Y n + 1 ) d ξ = G 2 Y n + τ G 0 1 ( g ( Y n ) + ξ g ( Y n ) Y ( Y n + 1 Y n ) + O ( τ 2 ) ) d ξ = G 2 Y n + τ G g ( Y n ) + τ 2 2 [ g k i g k ] + O ( τ 3 ) ,
where g ( Y n ) Y = g ( Y ) Y | Y = Y n , suppose Y ( t n ) = Y n , we can get G 2 ( Y ( t n + 1 ) Y n + 1 ) = O ( τ 3 ) , that is Y ( t n + 1 ) Y n + 1 = O ( τ 3 ) . Scheme (14) has the second order accuracy, so scheme (10) has the second order accuracy. □
Theorem 2.
Equation (10) can preserve the energy conservation property.
Proof. 
Since M is a skew symmetric matrix, it is obvious that
E ( Z n + 1 ) E ( Z n ) τ = 1 τ 0 1 d d ξ E ( ( 1 ξ ) Z n + ξ Z n + 1 ) d ξ = ( 0 1 ( Z E ( ( 1 ξ ) Z n + ξ Z n + 1 ) d ξ ) T Z n + 1 Z n τ = ( Z n + 1 Z n τ ) T M Z n + 1 Z n τ = 0 .
So Equation (10) can preserve the energy conservation property. □

2.3. Fourth Order Energy Preserving Schemes for Multi-Symplectic PDE

To the ordinary differential equations
d Z d t = f ( Z ) , Z R s , s 1 ,
the trapezoidal scheme of Equation (24) can be written as
Z n + 1 Z n τ = f ( Z n ) + f ( Z n + 1 ) 2 .
The scheme (25) has second order accuracy.
Qin et al. [20] proposed the following composition scheme
Z 1 = Z 0 + c 1 τ ( f ( Z 0 ) + f ( Z 1 ) ) , Z 2 = Z 1 + c 2 τ ( f ( Z 1 ) + f ( Z 2 ) ) , Z 3 = Z 2 + c 3 τ ( f ( Z 2 ) + f ( Z 3 ) ) .
When the coefficients c 1 = c 3 = 1 2 2 1 3 , c 2 = 2 1 3 2 2 1 3 is satisfied, it is proved that the scheme (26) has the fourth order accuracy [20].
We propose a new fourth order energy preserving scheme of Equation (9) based on the second order scheme (10) by the composition method
M Z n , 1 Z n τ = c 1 0 1 Z E ( ( 1 ξ ) Z n + ξ Z n , 1 ) d ξ = c 1 0 1 f ( ( 1 ξ ) Z n + ξ Z n , 1 ) d ξ , M Z n , 2 Z n , 1 τ = c 2 0 1 Z E ( ( 1 ξ ) Z n , 1 + ξ Z n , 2 ) d ξ = c 2 0 1 f ( ( 1 ξ ) Z n , 1 + ξ Z n , 2 ) d ξ , M Z n + 1 Z n , 2 τ = c 3 0 1 Z E ( ( 1 ξ ) Z n , 2 + ξ Z n + 1 ) d ξ = c 3 0 1 f ( ( 1 ξ ) Z n , 2 + ξ Z n + 1 ) d ξ ,
where c 1 = c 3 = 1 2 2 1 3 , c 2 = 2 1 3 2 2 1 3 .
According to Equation (21), Equation (27) can be transformed into the same form. We can obtain that
G Y n , 1 = G Y n + τ c 1 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ , G Y n , 2 = G Y n , 1 + τ c 2 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ , G Y n + 1 = G Y n , 2 + τ c 3 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ ,
The function Y ( t n + 1 ) is expanded at Y ( t n ) , the Taylor expansion is obtained,
Y ( t n + 1 ) = Y ( t n ) + d Y ( t n ) d t τ + τ 2 2 d 2 Y ( t n ) d t 2 + τ 3 3 ! d 3 Y ( t n ) d t 3 + τ 4 4 ! d 4 Y ( t n ) d t 4 + O ( τ 5 ) .
Multiplying G 4 to both side of the Equation (29), we can obtain that
G 4 Y ( t n + 1 ) = G 4 Y ( t n ) + G 4 d Y ( t n ) d t τ + τ 2 2 G 4 d 2 Y ( t n ) d t 2 + τ 3 3 ! G 4 d 3 Y ( t n ) d t 3 + τ 4 4 ! G 4 d 4 Y ( t n ) d t 4 + O ( τ 5 )
where
G 4 d 2 Y ( t n ) d t 2 = G 3 d d t ( g ( Y ( t n ) ) ) = G 3 g ( Y ( t n ) ) Y d Y d t = G 2 [ g k i g k ] , G 4 d 3 Y ( t n ) d t 3 = G 2 d d t ( [ g k i g k ] ) = G ( [ g k i g m k g m ] + [ g k j i g k g j ] ) G 4 d 4 Y ( t n ) d t 4 = G d d t ( [ g k i g m k g m ] + [ g k j i g k g j ] ) = [ g k j m i g k g j g m ] + 3 [ g k j i g m k g j g m ] + [ g k i g m j k g j g m ] + [ g k i g m k g j m g j ] .
So Equation (30) can be written as
G 4 Y ( t n + 1 ) = G 4 Y ( t n ) + G 3 g ( Y ( t n ) ) τ + τ 2 2 G 2 [ g k i g k ] + τ 3 3 ! G ( [ g k i g m k g m ] + [ g k j i g k g j ] ) + τ 4 4 ! ( [ g k j m i g k g j g m ] + 3 [ g k j i g m k g j g m ] + [ g k i g m j k g j g m ] + [ g k i g m k g j m g j ] ) + O ( τ 5 )
Theorem 3.
Scheme (28) has the fourth order accuracy.
Proof. 
The composition scheme (28) can be written as
G Y n + 1 = G Y n + ( c 1 τ 0 1 g ( Y n + ξ ( Y n , 1 Y n ) ) d ξ + c 2 τ 0 1 g ( Y n , 1 + ξ ( Y n , 2 Y n , 1 ) ) d ξ + c 3 τ 0 1 g ( Y n , 2 + ξ ( Y n + 1 Y n , 2 ) ) d ξ ) ,
Multiplying G 3 to both side of the equation, we will obtain
G 4 Y n + 1 = G 4 Y n + G 3 ( c 1 τ 0 1 g ( Y n + ξ ( Y n , 1 Y n ) ) d ξ + c 2 τ 0 1 g ( Y n , 1 + ξ ( Y n , 2 Y n , 1 ) ) d ξ + c 3 τ 0 1 g ( Y n , 2 + ξ ( Y n + 1 Y n , 2 ) ) d ξ ) ,
expand to τ s fourth order to calculate their Taylor expansion
G 3 0 1 g ( Y n + ξ ( Y n , 1 Y n ) ) d ξ = 0 1 ( G 3 g ( Y n ) + G 3 ξ g ( Y n ) Y ( Y n , 1 Y n ) + G 3 ξ 2 2 ! Y ( g ( Y n ) Y ) ( Y n , 1 Y n ) 2 + G 3 ξ 3 3 ! Y ( Y ( g ( Y n ) Y ) ) ( Y n , 1 Y n ) 3 ) d ξ + O ( τ 4 ) = 0 1 ( G 3 g ( Y n ) + G 2 g ( Y n ) Y c 1 τ ξ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ + 1 2 ! G Y ( g ( Y n ) Y ) ( ξ c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ ) 2 + 1 3 ! Y ( Y ( g ( Y n ) Y ) ) ( ξ c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ ) 3 ) d ξ + O ( τ 4 ) .
The integral 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ appears on the right part of (35), so it should be replaced by its Taylor expansion until it does not appear on the right part. So
G 3 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ = 0 1 ( G 3 g ( Y n ) + ξ G 2 g ( Y n ) Y c 1 τ 0 1 ( g ( Y n ) + ξ g ( Y n ) Y ( Y n , 1 Y n ) + ξ 2 2 ! Y ( g ( Y n ) Y ) ( Y n , 1 Y n ) 2 ) d ξ + 1 2 ! G Y ( g ( Y n ) Y ) ( ξ c 1 τ 0 1 ( g ( Y n ) + ξ g ( Y n ) Y ( Y n , 1 Y n ) ) d ξ ) 2 + 1 3 ! Y ( Y ( g ( Y n ) Y ) ) ( ξ c 1 τ 0 1 g ( Y n ) d ξ ) 3 ) d ξ + O ( τ 4 ) = G 3 g ( Y n ) + c 1 2 τ G 2 [ g k i g k ] + ( c 1 τ ) 2 ( 1 4 G [ g k i g m k g m ] + 1 6 G [ g k j i g k g j ] ) + ( c 1 τ ) 3 ( 1 8 [ g k i g m k g j m g j ] + 1 12 [ g k i g m j k g j g m ] + 1 6 [ g k j i g m k g j g m ] + 1 24 [ g k j m i g k g j g m ] ) + O ( τ 4 ) .
The integral 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ and 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ can be expanded by the same method. So
G 3 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ = 0 1 ( G 3 g ( Y n ) + G 3 g ( Y n ) Y ( ( Y n , 1 Y n ) + ξ ( Y n , 2 Y n , 1 ) ) + 1 2 ! G 3 Y ( g ( Y n ) Y ) ( ( Y n , 1 Z n ) + ξ ( Y n , 2 Y n , 1 ) ) 2 + 1 3 ! G 3 Y ( Y ( g ( Y n ) Y ) ) ( ( Y n , 1 Y n ) + ξ ( Y n , 2 Y n , 1 ) ) 3 ) d ξ + O ( τ 4 ) = 0 1 ( G 3 g ( Y n ) + G 2 g ( Y n ) Y ( c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ + ξ c 2 τ 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ ) + 1 2 ! G Y ( g ( Y n ) Y ) ( c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ + ξ c 2 τ 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ ) 2 + 1 3 ! Y ( Y ( g ( Y n ) Y ) ) ( c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ + ξ c 2 τ 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ ) 3 ) d ξ + O ( τ 4 ) .
The integral 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ in (37) can be replaced by its Taylor expansion. The final solution is
G 3 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ = G 3 g ( Y n ) + τ ( ( c 1 + c 2 2 ) G 2 [ g k i g k ] ) + τ 2 ( ( c 1 2 2 + c 1 c 2 2 + c 2 2 4 ) G [ g k i g m k g m ] + ( c 1 2 2 + c 2 2 6 + c 1 c 2 2 ) G [ g k j i g k g j ] ) + τ 3 ( ( c 1 3 4 + c 1 2 c 2 4 + c 1 c 2 2 4 + c 2 3 8 ) [ g k i g m k g j m g j ] + ( c 1 3 6 + c 1 2 c 2 4 + c 2 3 12 + c 1 c 2 2 4 ) [ g k i g m j k g j g m ] + ( c 1 3 2 + 3 c 1 2 c 2 4 + c 2 3 6 + 7 c 1 c 2 2 12 ) [ g k j i g m k g j g m ] + ( c 1 3 6 + c 2 3 24 + c 1 2 c 2 4 + c 1 c 2 2 6 ) [ g k j m i g k g j g m ] ) + O ( τ 4 ) .
The integral 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ can be calculated by the same method, the solution is
G 3 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ = 0 1 ( G 3 g ( Y n ) + G 3 g ( Y n ) Y ( ( Y n , 1 Y n ) + ( Y n , 2 Y n , 1 ) + ξ ( Y n + 1 Y n , 2 ) ) + 1 2 ! G 3 Y ( g ( Y n ) Y ) ( ( Y n , 1 Y n ) + ( Y n , 2 Z n , 1 ) + ξ ( Y n + 1 Y n , 2 ) ) 2 + 1 3 ! G 3 Y ( Y ( g ( Y n ) Y ) ) ( ( Y n , 1 Y n ) + ( Y n , 2 Y n , 1 ) + ξ ( Y n + 1 Y n , 2 ) ) 3 ) d ξ + O ( τ 4 ) = 0 1 ( G 3 g ( Y n ) + G 2 g ( Y n ) Y ( c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ + c 2 τ 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ + ξ c 3 τ 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ ) + 1 2 ! G Y ( g ( Y n ) Y ) ( c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ + c 2 τ 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ + ξ c 3 τ 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ ) 2 + 1 3 ! Y ( Y ( g ( Y n ) Y ) ) ( Y n ) ( c 1 τ 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ + c 2 τ 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ + ξ c 3 τ 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ ) 3 ) d ξ + O ( τ 4 ) .
The integral 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ and 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ in (39) can be replaced by its Taylor expansion. The final solution is
G 3 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ = G 3 g ( Y n ) + τ ( c 1 + c 2 + c 3 2 ) G 2 [ g k i g k ] + τ 2 ( ( c 1 2 2 + c 1 c 2 + c 2 2 2 + c 1 c 3 2 + c 2 c 3 2 + c 3 2 4 ) G [ g k i g m k g m ] + ( c 1 2 2 + c 2 2 2 + c 3 2 6 + c 1 c 2 + c 1 c 3 2 + c 2 c 3 2 ) G [ g k j i g k g j ] ) + τ 3 ( ( c 1 3 4 + c 1 2 c 2 2 + c 1 c 2 2 2 + c 2 3 4 + c 1 2 c 3 4 + c 1 c 2 c 3 2 + c 2 2 c 3 4 + c 1 c 3 2 4 + c 2 c 3 2 4 + c 3 3 8 ) [ g k i g m k g j m g j ] + ( c 1 3 6 + c 1 2 c 2 2 + c 2 3 6 + c 1 c 2 2 2 + c 1 2 c 3 4 + c 2 2 c 3 4 + c 3 3 12 + c 1 c 2 c 3 2 + c 1 c 3 2 4 + c 2 c 3 2 4 ) [ g k i g m j k g j g m ] + ( c 1 3 2 + 3 c 1 2 c 2 2 + c 2 3 2 + 3 c 1 c 2 2 2 + 3 c 1 2 c 3 4 + 3 c 2 2 c 3 4 + c 3 3 6 + 3 c 1 c 2 c 3 2 + 7 c 1 c 3 2 12 + 7 c 2 c 3 2 12 ) [ g k j i g m k g j g m ] + ( c 1 3 6 + c 2 3 6 + c 3 3 24 + c 1 2 c 2 2 + c 1 2 c 3 4 + c 2 2 c 3 4 + c 1 c 2 2 2 + c 1 c 3 2 6 + c 2 c 3 2 6 + c 1 c 2 c 3 2 ) [ g k j m i g k g j g m ] ) + O ( τ 4 ) .
Let Equations (36), (38) and (40) replace G 3 0 1 g ( ( 1 ξ ) Y n + ξ Y n , 1 ) d ξ , G 3 0 1 g ( ( 1 ξ ) Y n , 1 + ξ Y n , 2 ) d ξ and G 3 0 1 g ( ( 1 ξ ) Y n , 2 + ξ Y n + 1 ) d ξ in Equation (34).
Suppose Y ( t n ) = Y n and Equation (33) is compared with Equation (32), if the following equations are satisfied, Equation (33) can have the fourth order accuracy.
τ G 3 g ( Y n ) : c 1 + c 2 + c 3 = 1 , τ 2 G 2 [ g k i g k ] : c 1 2 2 + c 1 c 2 + c 2 2 2 + c 1 c 3 + c 2 c 3 + c 3 2 2 = 1 2 , τ 3 G [ g k i g m k g m ] : c 1 3 4 + c 1 2 c 2 2 + c 1 c 2 2 2 + c 2 3 4 + c 1 2 c 3 2 + c 1 c 2 c 3 + c 2 2 c 3 2 + c 3 3 4 + c 1 c 3 2 2 + c 2 c 3 2 2 = 1 6 , τ 3 G [ g k j i g k g j ] : c 1 3 6 + c 1 2 c 2 2 + c 2 3 6 + c 1 c 2 2 2 + c 2 2 c 3 2 + c 3 3 6 + c 1 c 2 c 3 + c 1 c 3 2 2 + c 2 c 3 2 2 + c 1 2 c 3 2 = 1 6 , τ 4 [ g k i g m k g j m g j ] : c 1 4 8 + c 1 3 c 2 4 + c 1 2 c 2 2 4 + c 1 c 2 3 4 + c 2 4 8 + c 1 2 c 2 c 3 2 + c 1 c 2 2 c 3 2 + c 2 3 c 3 4 + c 1 2 c 3 2 4 + c 1 c 2 c 3 2 2 + c 2 2 c 3 2 4 + c 1 c 3 3 4 + c 2 c 3 3 4 + c 1 3 c 3 4 + c 3 4 8 = 1 24 , τ 4 [ g k i g m j k g j g m ] : c 1 4 12 + c 1 3 c 2 6 + c 1 2 c 2 2 4 + c 2 4 12 + c 1 c 2 3 4 + c 1 3 c 3 6 + c 1 2 c 2 c 3 2 + c 2 3 c 3 6 + c 3 4 12 + c 1 c 2 2 c 3 2 + c 1 2 c 3 2 4 + c 2 2 c 3 2 4 + c 1 c 2 c 3 2 2 + c 1 c 3 3 4 + c 2 c 3 3 4 = 1 24 , τ 4 [ g k j i g m k g j g m ] : c 1 4 6 + c 1 3 c 2 2 + 3 c 1 2 c 2 2 4 + c 2 4 6 + 7 c 1 c 2 3 12 + c 1 3 c 3 2 + 3 c 1 2 c 2 c 3 2 + c 2 3 c 3 2 + c 3 4 6 + 3 c 1 c 2 2 c 3 2 + 3 c 1 2 c 3 2 4 + 3 c 2 2 c 3 2 4 + 3 c 1 c 2 c 3 2 2 + 7 c 1 c 3 3 12 + 7 c 2 c 3 3 12 = 1 8 , τ 4 [ g k j m i g k g j g m ] : c 1 4 24 + c 1 3 c 2 6 + c 2 4 24 + c 1 2 c 2 2 4 + c 1 c 2 3 6 + c 1 3 c 3 6 + c 2 3 c 3 6 + c 3 4 24 + c 1 2 c 2 c 3 2 + c 1 2 c 3 2 4 + c 2 2 c 3 2 4 + c 1 c 2 2 c 3 2 + c 1 c 3 3 6 + c 2 c 3 3 6 + c 1 c 2 c 3 2 2 = 1 24 .
When c 1 = c 3 , the above Equations (41) are equivalent to
2 c 1 + c 2 = 1 , 2 c 1 3 + 4 c 1 2 2 c 1 + 1 3 = 0 .
We can obtain that c 1 = c 3 = 1 2 2 1 3 , c 2 = 2 1 3 2 2 1 3 .
The coefficients are the same as the coefficients of the Qin composition method. So
G 4 Y n + 1 = G 4 Y n + G 3 g ( Y n ) τ + τ 2 2 G 2 [ g k i g k ] + τ 3 3 ! G ( [ g k i g m k g m ] + [ g k j i g k g j ] ) + τ 4 4 ! ( [ g k j m i g k g j g m ] + 3 [ g k j i g m k g j g m ] + [ g k i g m j k g j g m ] + [ g k i g m k g j m g j ] ) + O ( τ 5 ) .
We can get G 4 ( Y ( t n + 1 ) Y n + 1 ) = O ( τ 5 ) , that is Y ( t n + 1 ) Y n + 1 = O ( τ 5 ) .
Scheme (28) has the fourth order accuracy. So Scheme (27) has the fourth order accuracy □
Theorem 4.
Scheme (27) can preserve the energy conservation property.
Proof. 
We only consider the first equation of scheme (27). Since M is a skew symmetric matrix, it is obvious that
E ( Z n , 1 ) E ( Z n ) τ = 1 τ 0 1 d d ξ E ( ( 1 ξ ) Z n + ξ Z n , 1 ) d ξ = ( 0 1 ( Z E ( ( 1 ξ ) Z n + ξ Z n , 1 ) d ξ ) T Z n , 1 Z n τ = ( Z n , 1 Z n c 1 τ ) T M Z n , 1 Z n τ = 0 .
So the first equation of scheme (27) can have the energy conservation property E ( Z n , 1 ) = E ( Z n ) . In the same way, we can obtain that E ( Z n , 1 ) = E ( Z n , 2 ) = E ( Z n + 1 ) . Thus, the new composition scheme (27) satisfy the energy conservation E ( Z n ) = E ( Z n + 1 ) . □

3. Discrete Schemes of Multi-Symplectic Sine-Gordon Equation

The sine-Gordon equation is an important nonlinear equation of mathematical physics discovered in the 19th century. It has multiple soliton solutions and preserves the energy conservation of the system. The sine-Gordon solitary wave equation is widely used in scientific and engineering problems, such as the motion of a rapid pendulum attached to a stretched wire, nonlinear optics, and can be used to describe many physical phenomena in fields of fluid mechanics, meteorology, and field theory [24,25]. Many scholars applied the numerical methods to solve sine-Gordon equation [26]. Vu-Quoc et al. [27,28] proposed the finite difference scheme of energy momentum conservation of wave equations. McLachlan et al. simulated the evolution of wave equations by symplectic geometry algorithm [29]. We consider the sine-Gordon equation
u t t u x x + sin ( u ) = 0 .
Let v = u t , w = u x , the equation satisfies the following energy conservation law [26]
I = a b ( 1 2 ( v 2 w 2 ) cos ( u ) ) d x = c ,
where I stands for energy, c is a constant. Additionally, the equation is equivalent to
v t + w x = sin ( u ) , u t = v , u x = w .
Equation (47) can be written as a multi-symplectic structure
M 1 z t + K 1 z x = z S 1 ( z ) ,
where z = ( u , v , w ) T R 3 , S 1 = 1 2 ( v 2 w 2 ) cos ( u ) ,
M 1 = 0 1 0 1 0 0 0 0 0 , K 1 = 0 0 1 0 0 0 1 0 0 .
M 1 and K 1 are skew symmetric matrices, S : R 3 R is a scalar smooth function. Equation (45) satisfies the following multi-symplectic conservation law
t ω + x κ = 0 ,
where ω = d u d ψ + δ d v d u , κ = d p d ψ + δ d w d u , and ∧ is the exterior product.
Suppose two functions u 1 and u 2 1 ( R n ) , the exterior product of u 1 and u 2 is defined as
( u 1 u 2 ) ( η 1 , η 2 ) = = u 1 ( η 1 ) u 2 ( η 1 ) u 1 ( η 2 ) u 2 ( η 2 ) , η 1 , η 2 R n ,
which is the orient area of the image of the parallelogram with sides u ( η 1 ) and u ( η 2 ) on the u 1 , u 2 plane. The exterior product of the differential form is defined in the same way. The detailed property of the exterior product can be found in [30].
Applying the Fourier pseudo-spectral method to Equation (48) in spatial direction, the interval [ a , b ] is divided into N equal subintervals, we can obtain
M Z t + K D Z = Z S ( Z ) ,
where Z = ( U , V , W ) T , U = ( u 1 , , u N ) T , V , W are similar as U , S = i = 1 N ( 1 2 ( v i 2 w i 2 ) c o s ( u i ) ) ,
M = O I O I O O O O O , K = O O I O O O I O O ,
D = D 1 O O O D 1 O O O D 1 .
I is a N-th identity matrix, O is a N-th zero matrix, D 1 is a N-th spectral differential matrix, ( D 1 U ) j = k = 1 N ( D 1 ) j , k u k .

3.1. Second Order AVF Scheme for Sine-Gordon Equation

Applying the second order AVF method to Equation (51) in time direction, we can obtain the discrete scheme of Equation (45), that is
M Z n + 1 Z n τ + K D Z n + 1 + Z n 2 = 0 1 Z S ( ( 1 ξ ) Z n + ξ Z n + 1 ) d ξ
where τ is the time step. The scheme (53) can maintain global energy conservation of Equation (45). Equation (53) produces the following singular integrals in the calculation
0 1 sin ( ( 1 ξ ) u n + ξ u n + 1 ) d ξ = cos ( u n ) cos ( u n + 1 ) u n + 1 u n .
In 2007, Iavernaro et al. [31] proposed Boole discrete line integral method based on AVF method of the Hamilton system. The AVF scheme can be written as
z n + 1 z n τ = 0 1 f ( ( 1 ξ ) z n + ξ z n + 1 ) d ξ = S 0 1 H ( ( 1 ξ ) z n + ξ z n + 1 ) d ξ ,
where τ is the time step, z R N . Suppose the initial value at t = n τ is z n , the numerical solution at t = ( n + 1 ) τ is z n + 1 , and the simplest path to connect z n and z n + 1 is
σ ( c τ ) = c z n + 1 + ( 1 c ) z n , c [ 0 , 1 ] .
Applying the Boole integral to the integral term on format (55), let z = c i z n + 1 + ( 1 c i ) z n , we can obtain the following Boole discrete line integral scheme
z n + 1 = z n + τ i = 1 v β i S H ( c i z n + 1 + ( 1 c i ) z n ) z n + τ i = 1 v b i f ( z ) ,
where c i = i 1 v 1 , b i = 0 1 j = 1 , j i v t c j c i c j d t , i = 1 , , v . H v ( v is the set of polynomials whose highest degree is less than v). So the integrand of the format (57) has v 1 degrees. It can calculate the format (57) exactly. In this case, it is equivalent to a Newton–Coates formula based on the equal distance abscissa of v on the interval of [ 0 , 1 ] . When v = 5 , the Boole discrete line integral format can be obtained that
z n + 1 = z n + τ 90 S ( 7 H ( z n ) + 32 H ( 3 z n + z n + 1 4 ) + 12 H ( z n + z n + 1 2 ) + 32 H ( z n + 3 z n + 1 4 ) + 7 H ( z n + 1 ) ) .
Applying the Bool discrete integral scheme (58) to Equation (51), we can obtain
v j n + 1 v j n τ + ( D 1 W n + 1 + W n 2 ) j = 1 90 ( 7 sin ( u j n ) + 32 sin ( 3 u j n + u j n + 1 4 ) + 12 sin ( u j n + u j n + 1 2 ) + 32 sin ( u j n + 3 u j n + 1 4 ) + 7 sin ( u j n + 1 ) ) , u j n + 1 u j n τ = 1 90 ( 7 v j n + 32 3 v j n + v j n + 1 4 + 12 v j n + v j n + 1 2 + 32 v j n + 3 v j n + 1 4 + 7 v j n + 1 ) , ( D 1 U n U n + 1 2 ) j = 1 90 ( 7 w j n + 32 3 w j n + w j n + 1 4 + 12 w j n + w j n + 1 2 + 32 w j n + 3 w j n + 1 4 + 7 w j n + 1 ) .
The discrete scheme (59) is equivalent to the following scheme
v j n + 1 τ + ( D 1 W n + 1 2 ) j = v j n τ ( D 1 W n 2 ) j + 1 90 ( 7 sin ( u j n ) + 32 sin ( 3 u j n + u j n + 1 4 ) + 12 sin ( u j n + u j n + 1 2 ) + 32 sin ( u j n + 3 u j n + 1 4 ) + 7 sin ( u j n + 1 ) ) , u j n + 1 τ v j n + 1 2 = u j n τ + v j n 2 , ( D 1 U n + 1 2 ) j + w j n + 1 2 = ( D 1 U n 2 ) j w j n 2 .
Equation (60) can be written as
A Z n + 1 = B Z n + F ,
where
A = O I τ D 1 2 I τ I 2 O D 1 2 O I 2 , B = O I τ D 1 2 I τ I 2 O D 1 2 O I 2 ,
F = ( 1 90 ( 7 sin ( u 1 n ) + 32 sin ( 3 u 1 n + u 1 n + 1 4 ) + 12 sin ( u 1 n + u 1 n + 1 2 ) + 32 sin ( u 1 n + 3 u 1 n + 1 4 ) +
7 sin ( u 1 n + 1 ) ) , , 1 90 ( 7 sin ( u N n ) + 32 sin ( 3 u N n + u N n + 1 4 ) + 12 sin ( u N n + u N n + 1 2 )
+ 32 sin ( u N n + 3 u N n + 1 4 ) + 7 sin ( u N n + 1 ) ) , 0 , , 0 , 0 , , 0 ) T .

3.2. Fourth Order Composition AVF Scheme for Sine-Gordon Equation

Applying the fourth order composition AVF method to Equation (51) in time direction, we can obtain the discrete scheme of Equation (45), that is
M Z n , 1 Z n τ + c 1 K D Z n , 1 + Z n 2 = c 1 0 1 Z S ( ( 1 ξ ) Z n + ξ Z n , 1 ) d ξ , M Z n , 2 Z n , 1 τ + c 2 K D Z n , 2 + Z n , 1 2 = c 2 0 1 Z S ( ( 1 ξ ) Z n , 1 + ξ Z n , 2 ) d ξ , M Z n + 1 Z n , 2 τ + c 3 K D Z n + 1 + Z n , 2 2 = c 3 0 1 Z S ( ( 1 ξ ) Z n , 2 + ξ Z n + 1 ) d ξ .
Using the Boole discrete line integral method, the discrete scheme (62) is equivalent to the following scheme
v j n , 1 v j n τ + c 1 ( D 1 W n , 1 + W n 2 ) j = c 1 90 ( 7 sin ( u j n ) + 32 sin ( 3 u j n + u j n , 1 4 ) + 12 sin ( u j n + u j n , 1 2 ) + 32 sin ( u j n + 3 u j n , 1 4 ) + 7 sin ( u j n , 1 ) ) , u j n , 1 u j n τ = c 1 90 ( 7 v j n + 32 3 v j n + v j n , 1 4 + 12 v j n + v j n , 1 2 + 32 v j n + 3 v j n , 1 4 + 7 v j n , 1 ) , c 1 ( D 1 U n + U n , 1 2 ) j = c 1 90 ( 7 w j n + 32 3 w j n + w j n , 1 4 + 12 w j n + w j n , 1 2 + 32 w j n + 3 w j n , 1 4 + 7 w j n , 1 ) , v j n , 2 v j n , 1 τ + c 2 ( D 1 W n , 2 + W n , 1 2 ) j = c 2 90 ( 7 sin ( u j n , 1 ) + 32 sin ( 3 u j n , 1 + u j n , 2 4 ) + 12 sin ( u j n , 1 + u j n , 2 2 ) + 32 sin ( u j n , 1 + 3 u j n , 2 4 ) + 7 sin ( u j n , 2 ) ) , u j n , 2 u j n , 1 τ = c 2 90 ( 7 v j n , 1 + 32 3 v j n , 1 + v j n , 2 4 + 12 v j n , 1 + v j n , 2 2 + 32 v j n , 1 + 3 v j n , 2 4 + 7 v j n , 2 ) , c 2 ( D 1 U n , 1 + U n , 2 2 ) j = c 2 90 ( 7 w j n , 1 + 32 3 w j n , 1 + w j n , 2 4 + 12 w j n , 1 + w j n , 2 2 + 32 w j n , 1 + 3 w j n , 2 4 + 7 w j n , 2 ) , v j n + 1 v j n , 2 τ + c 3 ( D 1 W n + 1 + W n , 2 2 ) j = c 3 90 ( 7 sin ( u j n , 2 ) + 32 sin ( 3 u j n , 2 + u j n + 1 4 ) + 12 sin ( u j n , 2 + u j n + 1 2 ) + 32 sin ( u j n , 2 + 3 u j n + 1 4 ) + 7 sin ( u j n + 1 ) ) , u j n + 1 u j n , 2 τ = c 3 90 ( 7 v j n , 2 + 32 3 v j n , 2 + v j n + 1 4 + 12 v j n , 2 + v j n + 1 2 + 32 v j n , 2 + 3 v j n + 1 4 + 7 v j n + 1 ) , c 3 ( D 1 U n , 2 + U n + 1 2 ) j = c 3 90 ( 7 w j n , 2 + 32 3 w j n , 2 + w j n + 1 4 + 12 w j n , 2 + w j n + 1 2 + 32 w j n , 2 + 3 w j n + 1 4 + 7 w j n + 1 ) .
Equation (63) can be written as
A 1 Z n , 1 = B 1 Z n + F 1 , A 2 Z n , 2 = B 2 Z n , 1 + F 2 , A 3 Z n + 1 = B 3 Z n , 2 + F 3 ,
where
A 1 = O I τ c 1 D 1 2 I τ c 1 I 2 O c 1 D 1 2 O c 1 I 2 , B 1 = O I τ c 1 D 1 2 I τ c 1 I 2 O c 1 D 1 2 O c 1 I 2 , A 2 = O I τ c 2 D 1 2 I τ c 2 I 2 O c 2 D 1 2 O c 2 I 2 , B 2 = O I τ c 2 D 1 2 I τ c 2 I 2 O c 2 D 1 2 O c 2 I 2 , A 3 = O I τ c 3 D 1 2 I τ c 3 I 2 O c 3 D 1 2 O c 3 I 2 , B 3 = O I τ c 3 D 1 2 I τ c 3 I 2 O c 3 D 1 2 O c 3 I 2 ,
F 1 = ( c 1 90 ( 7 sin ( u 1 n ) + 32 sin ( 3 u 1 n + u 1 n + 1 4 ) + 12 sin ( u 1 n + u 1 n + 1 2 ) + 32 sin ( u 1 n + 3 u 1 n + 1 4 ) + 7 sin ( u 1 n + 1 ) ) , , c 1 90 ( 7 sin ( u N n ) + 32 sin ( 3 u N n + u N n + 1 4 ) + 12 sin ( u N n + u N n + 1 2 ) + 32 sin ( u N n + 3 u N n + 1 4 ) + 7 sin ( u N n + 1 ) ) , 0 , , 0 , 0 , , 0 ) T . F 2 , F 3 are similar as F 1 .
The corresponding second order Preissmann scheme of sine-Gordon equation is also given. That is
v j n + 1 v j n τ + ( D 1 W n + W n + 1 2 ) j = sin ( u j n + 1 + u j n 2 ) , u j n + 1 u j n τ = v j n + v j n + 1 2 , ( D 1 U n + U n + 1 2 ) j = w j n + w j n + 1 2 .

4. Numerical Experiments

In this section, numerical experiments for the sine-Gordon equation with periodic boundary conditions are presented to investigate the relative energy error and accuracy of convergence. The discrete energy corresponding to (46) can be expressed as I ¯ .
I ¯ = Δ x ( i = 0 N 1 ( 1 2 ( ( v i + 1 k ) 2 ( w i + 1 k ) 2 ) cos ( u i + 1 k ) ) .
The energy error at t = n τ is defined as
Error ( t ) = | I ¯ ( Z n ) I ¯ ( Z 0 ) I ¯ ( Z 0 ) | ,
where I ¯ ( Z 0 ) is the initial energy, I ¯ ( Z n ) is the energy value at t = n τ . The maximal module error of numerical solution and exact solution is defined as
Ł ( τ ) = max 1 j N | u j n u ( x j , t n ) | .
The order of convergence is defined as
Ratio = log ( Ł ( τ ) Ł ( τ 2 ) ) log ( 2 ) .

4.1. Numerical Experiments for Single Solitary Wave

Firstly, we consider the motion of single solitary wave. Equation (45) has the exact solution [32,33]
u ( x , t ) = 4 tan 1 ( t sech ( x ) ) ,
where x [ 20 , 20 ] , N = 100 , τ = 0.02 , the initial condition is obtained when t = 0 in Equation (70).
Table 1 shows the maximal module error of numerical solution and exact solution and the order of convergence of the different schemes with different time steps at t = 0.25 . It is easy to see that the orders of convergence of fourth order energy preserving composition AVF scheme is almost equal to 4, and the orders of convergence of second order AVF scheme and second order Preissman method are almost equal to 2. The fourth order energy preserving composition AVF scheme is more accurate than the second order AVF scheme and second order Preissman method, this result is consistent with the theory.
Scheme 1 is the second order Preissman scheme, Scheme 2 is the second order AVF scheme, and Scheme 3 is the fourth order composition AVF scheme.
Figure 1 shows the evolution of single solitary waves in t [ 0 , 100 ] . The numerical solution obtained from the fourth order energy-preserving composition AVF scheme can well simulate the single solitary wave. Figure 2a shows the energy error obtained from the second order AVF scheme. Figure 2b shows the energy error obtained from the fourth order composition AVF scheme. Figure 2c shows the energy error obtained from the second order Preissman scheme. It is obvious that the second order AVF scheme and the fourth order composition AVF scheme can preserve the energy conservation accurately, the second order Preissman scheme only can preserve the energy conservation approximatively.

4.2. Numerical Experiments for Kink and Anti-Kink Solitary Waves

In this section, we consider the collision behavior of kink and anti-kink solitary waves. Equation (45) has the exact solution
u ( x , t ) = 4 arctan ( exp ( x + x 0 β t 1 β 2 ) ) + 4 arctan ( exp ( x + x 0 β t 1 β 2 ) ) ,
where x [ 30 , 30 ] , N = 300 , τ = 0.02 , x 0 = 10 , β = 0.5 , the initial condition is obtained when t = 0 in Equation (71).
Table 2 shows the maximal module error of numerical solution and exact solution and the order of convergence of the different schemes with different time steps at t = 0.2 . It is easy to see that the orders of convergence of fourth order energy preserving composition AVF scheme is close to 4, and the orders of convergence of second order AVF scheme and second order Preissman method are almost equal to 2. The fourth order energy preserving composition AVF scheme is more accurate than the second order AVF scheme and second order Preissman method, this result is consistent with the theory.
Scheme 1 is the second order Preissman scheme. Scheme 2 is the second order AVF scheme. Scheme 3 is the fourth order composition AVF scheme.
Figure 3 shows the collision behavior of kink and anti-kink solitary waves with time, the fourth order composition AVF scheme can simulate the waves well. As can be seen from Figure 4a, the error of energy is very small, almost close to zero, the second order AVF scheme can preserve the energy conservation well. Figure 4b shows the error of energy from fourth order composition scheme, we can see that the scheme can preserve the energy accurately. From Figure 4c, the error of energy is 10 4 . This shows that the second order Preissman scheme can only approximately maintain the energy conservation of the equation.

5. Concluding Remarks

In this paper, a new fourth order energy preserving composition scheme for the multi-symplectic structure PDE is proposed based on the second other AVF method. The new fourth order composition AVF scheme of sine-Gordon equation is compared with the corresponding second order AVF scheme and the second order Preissman scheme. Numerical results showed that the fourth order composition AVF scheme of sine-Gordon equation can have the fourth order accuracy and preserve the energy conservation property. The fourth order energy preserving scheme of the multi-symplectic structure PDE can also be applied to other multi-symplectic structure PDE.

Author Contributions

Methodology, J.S.; Validation, J.Z.; Formal analysis, J.K. All authors have read and agreed to the published version of the manuscript.

Funding

The work is supported by the Natural Science Foundation of China (Grant Nos.11961020, 11561018, 41974114).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Blanes, S.; Casas, F.; Ros, J. Symplectic intergrators with processing: A general study. SIAM J. Sci. Comput. 1999, 21, 711–727. [Google Scholar] [CrossRef]
  2. Calvo, M.P.; Sanz-Serna, J.M. The development of variable-step symplectic integrators, with applications to the two-body problem. SIAM J. Sci. Comput. 1993, 14, 936–952. [Google Scholar] [CrossRef]
  3. Candy, J.; Rozmus, W. A symplectic integration algorithm for separable Hamiltonian functions. J. Comput. Phys. 1991, 92, 230–256. [Google Scholar] [CrossRef]
  4. Feng, K.; Wu, H.M.; Qin, M.Z.; Wang, D.L. Construction of canonical difference schemes for Hamiltonian formalism via generating functions. J. Comput. Math. 1989, 7, 71–96. [Google Scholar]
  5. Sun, J.Q.; Gu, X.Y.; Ma, Z.Q. Numerical study of the soliton waves of the coupled nonlinear Schrödinger system. Phys. D Nonlinear Phenom. 2004, 196, 311–328. [Google Scholar] [CrossRef]
  6. Van de Vyver, H. A fourth order symplectic exponentially fitted integrator. Comput. Phys. Commun. 2006, 174, 255–262. [Google Scholar] [CrossRef]
  7. Bridges, T.J. Multi-symplectic structures and wave propagation. Math. Proc. Camb. Philos. Soc. 1997, 121, 147–190. [Google Scholar] [CrossRef] [Green Version]
  8. Marsden, J.E.; Shkoller, S. Multi-symplectic geometry, covariant Hamiltonians and water waves. Math. Proc. Camb. Philos. Soc. 1999, 125, 553–575. [Google Scholar] [CrossRef] [Green Version]
  9. Reich, S. Multi-symplectic Runge-Kutta collocation methods for Hamiltonian Wave Equation. J. Comput. Phys. 2000, 157, 473–499. [Google Scholar] [CrossRef] [Green Version]
  10. Ascher, U.M.; McLachlan, R.I. Multi-symplectic box schemes and the KortewegCde Vries equation. Appl. Numer. Math. 2004, 48, 255C–269C. [Google Scholar] [CrossRef] [Green Version]
  11. Bridges, T.J.; Reich, S. Multi-symplectic integrators: Numerical schemes for Hamiltonian PDEs that conserve symplecticity. Phys. Lett. A 2001, 284, 184–193. [Google Scholar] [CrossRef]
  12. Chen, J.B. A multisymplectic integrator for the periodic nonlinear Schrödinger equation. Appl. Math. Comput. 2005, 170, 1394–1417. [Google Scholar] [CrossRef]
  13. Hong, J.L.; Kong, L.H. Novel multi-symplectic integrators for nonlinear fourth-order Schrödinger equation with trapped term. Commun. Comput. Phys. 2010, 7, 613–630. [Google Scholar]
  14. Celledoni, E.; Grimm, V.; Mclachlan, R.I.; O’Neale, D.; Owren, B.; Quispel, G.R.W. Preserving energy resp. dissipation in numerical PDEs using the Average Vector Field method. Comput. Phys. 2012, 231, 6770–6789. [Google Scholar] [CrossRef] [Green Version]
  15. McLachlan, R.I.; Quispel, G.R.W.; Robidoux, N. Geometric integration using discrete gradients. Philos. Trans. R. Soc. A 1999, 357, 1021–1046. [Google Scholar] [CrossRef]
  16. Quispel, G.R.W.; Mclaren, D.I. A new class of energy-preserving numerical integration methods. Phys. A Math. Theor. 2008, 41, 045206. [Google Scholar] [CrossRef]
  17. Gong, Y.Z.; Cai, J.X.; Wang, Y.S. Some new structure-preserving algorithms for general multi-symplectic formulations of Hamitonian PDEs. Comput. Phys. 2014, 279, 80–102. [Google Scholar] [CrossRef]
  18. Ruth, R.D. A canonical integration technique. IEEE Trans. Nucl. Sci. 1983, 30, 26–69. [Google Scholar] [CrossRef]
  19. Yoshida, H. Construction of higher order symplectic intergrators. Phys. Lett. A 1990, 150, 262–268. [Google Scholar] [CrossRef]
  20. Qin, M.Z.; Zhu, W.J. Construction of higher order symplectic schemes by composition. Computing 1992, 47, 309–321. [Google Scholar]
  21. Wrubel, O. Qin-Kompositionen mit Lie-Reihen; Diplomarbeit Uni Karlsruhe (TH): Karlsruhe, Germany, 1996. [Google Scholar]
  22. Chen, J.B.; Qin, M.Z. Multi-symplectic Fourier pseudospectral method for the nonlinear Schrödinger equation. Electr. Trans. Numer. Anal. 2001, 12, 193–204. [Google Scholar]
  23. Wang, M.Y. Discussion on diagonalization of real antisymmetric matrices. J. Hexi Univ. 2008, 24, 34–37. [Google Scholar]
  24. Josephson, J.D. Supercurrents through barries. Adv. Phys. 1965, 14, 419–451. [Google Scholar] [CrossRef]
  25. Liu, A.R.; Gao, W.; Li, H. A fourth-order compact finite volume scheme for 1D sine-Gordon equations. Adv. Appl. Math. 2015, 4, 262–270. [Google Scholar] [CrossRef]
  26. Guo, B.Y.; Pascual, P.J.; Rodriguez, M.J.; Vázquez, L. Numerical solution of the sine-Gordon equation. Appl. Math. Comput. 1986, 18, 1–14. [Google Scholar]
  27. Li, S.; Vu-Quoc, L. Finite difference calculus invariant structure of a class of algorithms for the nonlinear Klein-Gordon equation. SIAM. J. Numer. Analys. 1995, 32, 1839–1875. [Google Scholar] [CrossRef]
  28. Vu-Quoc, L.; Li, S.F. Invariant-conserving finite difference algorithms for the nonlinear Klein-Gordon equation. Compt. Methods Appl. Mech. Eng. 1993, 107, 341–391. [Google Scholar] [CrossRef]
  29. Mclachlan, R.I. Symplectic integration of Hamiltonian wave equations. Numer. Math. 1993, 66, 465–492. [Google Scholar] [CrossRef]
  30. Arnold, V.I. Mathematical Methods of Classical Mechanics; Springer: Berlin/Heidelberg, Germany, 1974. [Google Scholar]
  31. Iavernaro, F.; Pace, B. S-Stage trapezoidal methods for the conservation of Hamiltonian functions of polynomial type. AIP Conf. Proc. 2007, 936, 603–606. [Google Scholar]
  32. Dehghan, M.; Mirzaei, D. The Boundary Integral Equation Approach for Numerical Solution of the One Dimensional Sine-Gordon Equation; Wiley InterScience: Hoboken, NJ, USA, 2008. [Google Scholar]
  33. Jiang, C.L.; Sun, J.Q.; Li, H.C.; Wang, Y. A fourth-order AVF method for the numerical integration of sine-Gordon equation. Appl. Math. Comput. 2017, 313, 144–158. [Google Scholar]
Figure 1. The numerical solutions from t = 0 to t = 100 with τ = 0.02 and h = 0.4 .
Figure 1. The numerical solutions from t = 0 to t = 100 with τ = 0.02 and h = 0.4 .
Mathematics 11 01105 g001
Figure 2. The double solitary wave’s energy error of second order AVF method, fourth order composition method and second order Preissman method in t [ 0 , 100 ] with τ = 0.02 , h = 0.4 . (a) AVF method; (b) composition method; and (c) Preissman method.
Figure 2. The double solitary wave’s energy error of second order AVF method, fourth order composition method and second order Preissman method in t [ 0 , 100 ] with τ = 0.02 , h = 0.4 . (a) AVF method; (b) composition method; and (c) Preissman method.
Mathematics 11 01105 g002
Figure 3. The numerical solutions from t = 0 to t = 200 with τ = 0.02 and h = 0.2 .
Figure 3. The numerical solutions from t = 0 to t = 200 with τ = 0.02 and h = 0.2 .
Mathematics 11 01105 g003
Figure 4. The kink and anti-kink solitary waves energy error of second order AVF method, fourth order composition method and second order Preissman method in t [ 0 , 200 ] with τ = 0.02 , h = 0.2 . (a) AVF method; (b) composition method; and (c) Preissman method.
Figure 4. The kink and anti-kink solitary waves energy error of second order AVF method, fourth order composition method and second order Preissman method in t [ 0 , 200 ] with τ = 0.02 , h = 0.2 . (a) AVF method; (b) composition method; and (c) Preissman method.
Mathematics 11 01105 g004
Table 1. The L errors and the order of convergence of three different schemes with h = 0.16 and different time steps at t = 0.25 .
Table 1. The L errors and the order of convergence of three different schemes with h = 0.16 and different time steps at t = 0.25 .
t = 0.25 Scheme 1OrderScheme 2OrderScheme 3Order
τ = 0.05 3.5408 × 10 4 3.3818 × 10 4 2.2893 × 10 6
τ = 0.025 8.8508 × 10 5 2.00038.4576 × 10 5 1.99951.4431 × 10 7 3.9876
τ = 0.0125 2.2126 × 10 5 2.00022.1146 × 10 5 1.99999.0375 × 10 9 3.9971
τ = 0.00625 5.5315 × 10 6 2.00015.2866 × 10 6 2.00005.6367 × 10 10 4.0030
Table 2. The L errors and the order of convergence of three different schemes with h = 0.2 and different time steps at t = 0.2 .
Table 2. The L errors and the order of convergence of three different schemes with h = 0.2 and different time steps at t = 0.2 .
t = 0.2 Scheme 1OrderScheme 2OrderScheme 3Order
τ = 0.04 1.5178 × 10 5 1.0912 × 10 5 7.4527 × 10 8
τ = 0.025 2.8834 × 10 6 1.99812.7312 × 10 6 1.99834.7887 × 10 9 3.9601
τ = 0.0125 7.2113 × 10 7 1.99946.8304 × 10 7 1.99953.5881 × 10 10 3.7383
τ = 0.00625 1.8034 × 10 7 1.99951.7082 × 10 7 1.99952.7656 × 10 11 3.6987
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sun, J.; Zhang, J.; Kong, J. High Order Energy Preserving Composition Method for Multi-Symplectic Sine-Gordon Equation. Mathematics 2023, 11, 1105. https://doi.org/10.3390/math11051105

AMA Style

Sun J, Zhang J, Kong J. High Order Energy Preserving Composition Method for Multi-Symplectic Sine-Gordon Equation. Mathematics. 2023; 11(5):1105. https://doi.org/10.3390/math11051105

Chicago/Turabian Style

Sun, Jianqiang, Jingxian Zhang, and Jiameng Kong. 2023. "High Order Energy Preserving Composition Method for Multi-Symplectic Sine-Gordon Equation" Mathematics 11, no. 5: 1105. https://doi.org/10.3390/math11051105

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop