Next Article in Journal
On the Estimation of the Binary Response Model
Next Article in Special Issue
Periodic Solutions of Quasi-Monotone Semilinear Multidimensional Hyperbolic Systems
Previous Article in Journal
The Decomposability of Toroidal Graphs without Adjacent Triangles or Short Cycles
Previous Article in Special Issue
Study of the Hypergeometric Equation via Data Driven Koopman-EDMD Theory
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two Reliable Computational Techniques for Solving the MRLW Equation

Department of Mathematics and Statistics, Jordan University of Science and Technology, P.O. Box 3030, Irbid 22110, Jordan
*
Author to whom correspondence should be addressed.
Axioms 2023, 12(2), 174; https://doi.org/10.3390/axioms12020174
Submission received: 22 December 2022 / Revised: 25 January 2023 / Accepted: 6 February 2023 / Published: 8 February 2023
(This article belongs to the Special Issue Special Topics in Differential Equations with Applications)

Abstract

:
In this paper, a numerical solution of the modified regularized long wave (MRLW) equation is obtained using the Sinc-collocation method. This approach approximates the space dimension of the solution with a cardinal expansion of Sinc functions. First, discretizing the time derivative of the MRLW equation by a classic finite difference formula, while the space derivatives are approximated by a θ weighted scheme. For comparison purposes, we also find a soliton solution using the Adomian decomposition method (ADM). The Sinc-collocation method was were found to be more accurate and efficient than the ADM schemes. Furthermore, we show that the number of solitons generated can be approximated using the Maxwellian initial condition. The proposed methods’ results, analytical solutions, and numerical methods are compared. Finally, a variety of graphical representations for the obtained solutions makes the dynamics of the MRLW equation visible and provides the mathematical foundation for physical and engineering applications.

1. Introduction

Partial differential equations, especially non-linear ones, are used in the study of many natural phenomena that often arise in the physical sciences and engineering applications. For nonlinear equations, there is a difficulty, if not an impossibility, in finding exact solutions to the equation, and researchers often resort to finding a solution with approximate methods. Here, we will use two different schemes to solve the modified equation for the long wave known as MRLW equation (see, [1,2,3]).
u t + u x + ϵ u p u x μ t 2 u x 2 = 0
With the following boundary and initial conditions
u ( a , t ) = α 1 ( t ) , u ( b , t ) = α 2 ( t )
u ( x , 0 ) = f ( x ) , x [ a , b ] I R .
where ϵ and μ in Equation (1) are positive constants that describe the undular bore’s behavior, and p is a positive integer greater than or equal to 1, while the function f ( x ) is a localized disturbance inside the interval [ a , b ] subject to physical boundary conditions u as x . The functions that appeared on both sides in Equation (2) are also continuous. Equation (1), which we will abbreviate with MRLW, was originally a mathematical model to describe a physical phenomenon with weak scattering waves, and in another application it describes the movement of transverse waves in shallow water. There are many previous studies that dealt with the use of numerical methods to find approximate solutions to the equation under consideration, the MRLW equation. In the paper [4], the collocation method was used to find an approximate solution to the MRLW equation. The method relied mainly on the use of the Sinc function as a basis. The B-splines finite element method of order 3 was used in [5] to solve the MRLW equation numerically, the numerical results proved the accuracy of the used method. In [6], two different bases are used to solve numerically the MRLW equation, in which the finite difference method is used along the time derivatives, while the delta-shaped basis was used to discretize the space direction. It should be noted here that there are many previous studies in which the Sinc method was used or those that dealt with approximate solutions to the equation under study, among which we mention [7,8,9]. Recently published papers in [10,11,12,13,14] dealt with the use of different methods to find numerical solutions to various forms of the generalized RLW equation. For more knowledge, there are other previous studies that discussed the same ideas presented in this paper, but in different ways, such as [1,15,16].
The Sinc methodology is one of the most powerful tools for solving various types of equations that model various physical phenomena. This method is used to solve integral equations, partial differential equations, and integro-differential equations. The most important motive of this research work is the use of the Sinc method because the convergence of the approximate solution is of exponential type. For some positive constants c , h the Sinc method yields an iterative scheme with an error of order O ( exp ( c / h ) , which is much faster than other traditional methods.
The main objective of this paper is to find an approximate solution to the MRLW equation in (1)–(3), where the basis of the Sinc function on the variable x will be used, while we will use the regular finite difference method when talking about the time variable t. Moreover, the Adomian decomposition method will be used for comparison purposes.
The main idea of using the Sinc function is that in the process of replacing the partial derivatives that appeared in (1), in terms of the variable x, with the corresponding formulas that have been proven in both references Stenger [17] and by Lund [18], followed by the use of the Sinc quadrature formula for integration with some simple manipulations, we end up with a discrete system of the general form A x = b that can be solved iteratively via the use of iterative techniques, such as Newton’s method. What encourages us to use the Sinc function is its ease of use, and most importantly, the fast exponential convergence property when using the Sinc function as a basis. For the purpose of comparing the solution that will be obtained by the Sinc methodology, we will use the Adomian analysis method, the so-called Adomian decomposition method (ADM) [19,20], to find another solution in an approximate (not numerical) way. The ADM method was created and developed at the beginning of the 1980s of the last century, and it has proven its worth when used in various nonlinear, ordinary and partial differential equations. There are many previous studies that dealt with finding a solution to linear or nonlinear, ordinary or partial differential equations, via the use of ADM, see for example [21,22,23]. Those equations represented a mathematical model in several fields, including physics, chemistry, biology, engineering in its various forms and medical sciences. The ADM is summarized as finding a solution in the form of a convergent series, and often we need a number that does not exceed the number of fingers on one hand to obtain an appropriate solution, knowing that in previous studies there is sufficient and convincing evidence for the convergence of the method to an accurate solution.
The general structure of this paper can be reviewed as follows: In Section 2, we present the main concepts of the Sinc function and all the theories we need in writing the solution to Equation (1). As for Section 3, we will discuss the formulation of the solution using the Sinc-collocation method, while Section 4 is limited to talking about the stability of the calculated solution. Section 5 is where we will present the alternative method, which is ADM. The effectiveness of the solution presented by the two methods in this paper is discussed in Section 6 by taking two different values of the constant p. The credibility of the methods used will be shown by presenting the numerical results in the form of tables and graphs, and finally, a summary of what happened with some recommendations in Section 7.

2. Sinc-Collocation

The Sinc function method has proven its effectiveness in finding approximate solutions to many problems with physical and engineering applications. The Sinc function is considered to be some kind of wavelet that has been used effectively in recent years to find solutions to many problems. Here, we will review some important characteristics that we will use to formulate the solution using the basis of the Sinc function. These are discussed in [17,18]. It is known that the Sinc function is defined in the domain of all real numbers as follows
sinc ( x ) = sin ( π x ) π x , x I R .
We will use the Sinc function for the purposes of interpolation, over the defined interval of the question under consideration. To do so, we first divide the interval into sub-intervals, each of which is h, and then redefine the Sinc function as follows:
S j ( x ) = sinc x j h h , j = 0 , 1 , 2 ,
In order to use the formula in Equation (5) as a basis, then for every continuous function f ( x ) , we define an infinite series, known as Whittaker cardinal function, denoted by C ( f , h ) , and defined to be
C ( f , h ) ( x ) = j = f ( i h ) S j ( x ) .
We know very well that we cannot deal with an infinite series, so we will deal with a finite series, ensuring its convergence within certain conditions, which we will impose on the function to be approximated, so N can be a positive integer, we define the series of 2 N + 1 terms as
C N ( f , h ) ( x ) = j = N N f j S j ( x ) .
We use the above series to approximate the n t h derivative of the function f, and is given by the relationship
f ( n ) j = N N f ( j h ) d n d x n [ S j ( x ) ] .
In fact, we need the derivatives of the Sinc function computed at the nodes on which the period was divided, and in this paper we need the first and second derivatives only, so that we can write the solution in the form of a system of linear equations, as we will see in detail later. We also require derivatives of composite Sinc functions evaluated at the nodes. The expressions are required for the present discussion, so the following convenient notation will be needed [17].
δ j k ( 0 ) = [ S j ( x ) ] | x = x k = 1 , j = k 0 , j k
δ j k ( 1 ) = d d x [ S j ( x ) ] | x = x k = 0 , j = k ( 1 ) j k h ( k j ) , j k
δ j k ( 2 ) = d 2 d x 2 [ S j ( x ) ] | x = x k = π 2 3 , j = k 2 ( 1 ) k j ( k j ) 2 , j k .
where the points x k appeared above, they are all those points that have been divided into the period and are called collocation points, and they will be used in the approximation process. So, we need to use a finite series that starts from the integer N and ends with the number N, but there must be a constraint or conditions that the function f, to be approximated, must fulfill or its derivatives. The next definition provides us with a property called exponentially decaying that the function must achieve for this purpose.
Definition 1.
We define a domain D d , in the form of an infinite strip of width 2 d , d > 0 , as
D d = { z I C : z = x + i y , | y | < d π / 2 } .
When 0 < ϵ < 1 , we define the rectangular domain D d ( ϵ ) by
D d ( ϵ ) = { z I C : z = x + i y , | x | < 1 / ϵ , | y | < d ( 1 ϵ ) } .
In the region D d , we define the Hardy space, denoted by B ( D d ) , to be the set of all functions f that satisfy the following boundedness condition.
lim ϵ 0 D d ( ϵ ) | f ( z ) | | d z | < .
There are a lot of characteristics related to the family B ( D d ) mentioned in [17]. Below we write a theorem that we will need when talking about the convergence of the Sinc method.
Theorem 1.
([17]). For the positive constants α , β and d, suppose the following conditions hold true
 1. 
f belongs to the class B ( D d ) .
 2. 
the function f satisfy the decaying condition | f ( x ) | α exp ( β | x | ) , valid for all real-valued of x. We conclude that
sup | f ( n ) ( x ) j = N N f j S j ( n ) ( x ) | C 1 N ( n + 1 ) / 2 exp ( π d β N )
for some constant c 1 , where h = π d / ( β N ) .
It can be summarized what the previous theorem stipulated as follows, if the analytic function f fulfills the vanishing condition, then we can use the Sinc function to approximate f and its n t h -derivatives f ( n ) , so that the error in the approximation is of the exponential type, which is considered to be one of the fastest types of convergence. Thus, in order for us to find an approximate solution to Equation (1), there must be a hypothesis that the initial condition belongs to the family B ( D d ) . Now, we will define some matrices that we will need to describe the solution as a discrete system.
Define three Toeplitz matrices, each of size m × m , ( m = 2 N + 1 ) , as I m ( q ) = [ δ j k ( q ) ] , for values of q = 0 , 1 , 2 , which means the matrix whose j k t h entry is given by δ j k ( q ) , q = 0 , 1 , 2 . The diagonal matrix D ( g ) is defined to be D ( g ) = diag [ g ( x N ) , , g ( x N ) ] . It is known that the matrix I ( 2 ) is symmetric, and I ( 1 ) is skew-symmetric, i.e., I j k ( 1 ) = I k j ( 1 ) and they take the form
I m ( 2 ) = π 2 3 2 ( 1 ) m 1 m 1 2 . . . . . ( 1 ) m 1 m 1 2 π 2 3 , and I m ( 1 ) = 0 1 ( 1 ) m 1 m 1 1 0 ( 1 ) m 1 m 1 1 0
It is noted that I ( 0 ) is the identity matrix. Because these matrices will appear in the final discrete solution, and for the purpose of demonstrating the stability property of the solution, it is necessary to find some bounds for the eigenvalues, as stated in [17]. If { i λ j ( 1 ) } j = N N indicate to be the eigenvalues of the matrix I ( 1 ) , then π λ N ( 1 ) λ N ( 1 ) π . Similarly, { i λ j ( 2 ) } j = N N indicate to be the eigenvalues of the matrix I ( 2 ) , then π 2 λ N ( 2 ) λ N ( 2 ) π 2 .

3. Setting Up the Scheme

To accomplish the goal of finding an approximate solution for the Equation (1), using Sinc-collocation, without losing anything of importance, but for reasons related to facilitating the calculations, we will discuss the solution by the Sinc methodology when p = 2 only. We discretize the time derivatives that appeared on the left side and the last term in Equation (1) via the use of the regular finite-difference scheme, secondly, we apply θ metric ( 0 θ 1 ) scheme to the x derivatives evaluated at two time levels n and n + 1 , so we obtain
u ( n + 1 ) u ( n ) δ t + θ u x ( n + 1 ) + ϵ ( u ) ( n + 1 ) u x ( n + 1 ) + ( 1 θ ) u x ( n ) + ϵ ( u ) ( n ) u x ( n ) μ δ t 2 u x 2 ( n + 1 ) 2 u x 2 ( n ) = 0 ,
where the notation u ( n ) is to represent the value of the solution at time level n, i.e., u ( n ) = u ( x , t ( n ) ) , and for the time step size δ t , we denote t ( n ) = t ( n 1 ) + δ t . Before going into the process of writing the solution, it is necessary to convert the non-linear term in Equation (14) into a linear quantity and the conversion process is achieved through the use of Taylor expansion, as follows:
( u 2 ) ( n + 1 ) u x ( n + 1 ) ( u ( n ) ) 2 u x ( n + 1 ) + 2 u ( n ) u x ( n ) u ( n + 1 ) 2 u ( n ) 2 u x ( n )
From Equations (14) and (15), we arrive at
u ( n + 1 ) + δ t θ u x ( n + 1 ) + ϵ ( u ( n ) ) 2 u x ( n + 1 ) + 2 u ( n ) u x ( n ) u ( n + 1 ) μ 2 u x 2 ( n + 1 ) = u ( n ) + δ t ϵ ( 3 θ 1 ) ( u ( n ) ) 2 u x ( n ) ( 1 θ ) u x ( n ) μ 2 u x 2 ( n )
where u ( n ) represent the n t h iteration in the obtained approximate solution. Next, we use the Sinc-collocation method along the space variable, for that we discretize the interval [ a , b ] as follows: For the positive integer N > 2 , take the step-size h = ( b a ) N 1 , then points of interpolation are
x 0 = a , x N = b , x i = i h N , i = 1 , 2 , , N 1 .
To find a solution for Equation (14), using Sinc basis, we plug in,
u ( x , t n ) u n ( x ) = j = 1 N u j n S j ( x ) ,
where the basis Sinc functions are given by
S j ( x ) = sinc x ( j 1 ) h a h .
The constants u j in Equation (18) are to be determined. Hence, for each collocation point x i in (17), Equation (18) can be written as
u n ( x i ) = j = 1 N u j n S j ( x i ) , i = 1 , , N .
Replacing Equation (20) into Equation (16), the approximation evaluated at those nodes inside the interval is given by
j = 1 N u j n + 1 S j ( 0 ) ( x i ) + δ t θ [ j = 1 N u j n + 1 S j ( 1 ) ( x i ) + ϵ { ( j = 1 N u j n S j ( x i ) ) 2 j = 1 N u j n + 1 S j ( 1 ) ( x i ) + 2 j = 1 N u j n S j ( x i ) j = 1 N u j n S j ( 1 ) ( x i ) j = 1 N u j n + 1 S j ( x i ) } ] μ j = 1 N u j n + 1 S j ( 2 ) ( x i ) = j = 1 N u j n S j ( x i ) + δ t [ ϵ ( 3 θ 1 ) ( j = 1 N u j n S j ( x i ) ) 2 j = 1 N u j n S j ( 1 ) ( x i ) ( 1 θ ) j = 1 N u j n S j ( 1 ) ( x i ) ] μ j = 1 N u j n S j ( 2 ) ( x i ) .
The above Equation (21) is used for all interior points x = x i , i = 2 , , N 1 . The boundary conditions are given by Equation (2) for the boundary points x 1 and x N can be formulated as
j = 1 N u j n + 1 S j ( x i ) = α 1 ( t n + 1 ) , j = 1 N u j n + 1 S j ( x i ) = α 2 ( t n + 1 ) .
In order to write the solution as stated in the previous two equations, and in the form of a system of matrices, we redefine the following matrices and vectors:
U n = [ u 1 n , u 2 n , , n N n ] T , I ( 0 ) = ( S j ( x i ) , I ( 1 ) = ( S j ( x i ) , I ( 2 ) = ( S j ( x i ) , i , j = 1 , , N .
Therefore, in matrix form, Equation (21) becomes as
I ( 0 ) μ I ( 2 ) + θ δ t I ( 1 ) + ϵ u ( n ) 2 I ( 1 ) + 2 u ( n ) u x ( n ) I ( 0 ) u n + 1 = I ( 0 ) μ I ( 2 ) + δ t ϵ ( 3 θ 1 ) u ( n ) 2 I ( 2 ) ( 1 θ ) I ( 2 ) u n + F n + 1 .
where the multiplication of the i t h component of the vector u ( n ) by every element of the i t h row of the matrix I ( q ) , q = 0 , 1 , 2 is denoted by the symbolic notations ★, that has been used above. While the symbol ∘ is to denote the Hadamard matrix multiplication. The discrete system in Equation (24) represents a system of N + 1 equations in N + 1 unknowns, which can be written in a more compact form as
M u n + 1 = R
where
M = [ A d + A b μ C + θ δ t B + ϵ ( E + D ) ]
R = [ A d μ C + δ t { ϵ ( 3 θ 1 ) E ( 1 θ ) B } ] u n + F n + 1 ,
in which the matrices A d , A d , B and C each of size N × N and can be written as
A d = [ I i j ( 0 ) , i = 2 , , N 1 ; j = 1 , , N , o t h e r w i s e 0 ] , A b = [ I i j ( 0 ) , i = 1 , N ; j = 1 , , N , o t h e r w i s e 0 ]
B = [ I i j ( 1 ) , i = 2 , , N 1 ; j = 1 , , N , o t h e r w i s e 0 ] , C = [ I i j ( 2 ) , i = 2 , , N 1 ; j = 1 , , N , o t h e r w i s e 0 ] .
Moreover, u x n = B u n , D = 2 u n u x n D d , E = ( u n ) 2 B , and F n + 1 = [ α 1 ( t n + 1 ) , 0 , . . . , α 2 ( t n + 1 ) ] T . The approximate solution can be found from Equation (25) at any point in the interval [ a , b ] at each time level, which can be solved by any iterative techniques. It should be noted that a previous study for a system of partial differential equations using the same method, (Sinc-collocation ) was published by the first author in [24]. For the purposes of facilitating the computing process, we offer the following algorithm, which summarizes what was stated in this section.

Algorithm Stages

We follow the following steps to write the program:
  • Select collocation points inside the interval [ a , b ] .
  • Select the parameters δ t and θ .
  • Setup the initial solution u ( 0 ) , then use Equation (24).
  • Evaluate the matrix M and the vector R in Equation (25).
  • The approximate solution u ( n + 1 ) at the successive time level is obtained.
  • If n δ t < T stop, otherwise go to step 4.

4. Stability Analysis

Here, we study briefly and in an analytical way the stability of the solution by the Sinc method for the MRLW equation. Imitation of what was performed in [4,25], if U represent the exact solution, while U ˜ , is taken to be the numerical solution of the MRLW equation in (1). If we define the error ε u n = U U ˜ .
Then, the error ε u n + 1 can be written as
ε u n + 1 = U n + 1 U ˜ n + 1 = I ( 0 ) A d 1 A b ε u n
For the stability of the method, we need ε u n 0 , provided n is large enough. We may conclude that the scheme is stable in a numerical sense, if ρ ( I ( 0 ) A d 1 A b ) < 1 , where the notation ρ ( . ) represents the spectral radius. Upon passing simple calculations, it is easy to verify stability if the following two conditions are fulfilled
| 1 + α δ t θ λ 3 + 6 α δ t θ [ λ 1 N + λ 2 N ] 1 α ( 1 θ ) δ t λ 3 6 α ( 1 θ ) δ t λ 1 N + 6 α δ t θ λ 1 N + 2 μ δ t λ 1 N | < 1
and
| 1 + β δ t θ λ 3 1 β ( 1 θ ) δ t λ 3 3 β δ t λ 1 N | < 1
where we have used the numbers 1, λ 1 , λ 3 , λ 1 N , λ 2 N being eigenvalues of the matrices I ( 0 ) , I ( 1 ) , I ( 3 ) , U n I ( 1 ) , U n I ( 0 ) , respectively. We use some known facts about the upper bounds for the matrices I ( 1 ) , I ( 2 ) , together with the fact that λ 1 = i | λ 1 | , λ 3 = i | λ 3 | , and λ 1 N , λ 2 N are complex, after algebraic manipulation (see, [4,25]), the condition (27) must hold for all eigenvalues of the respective matrices, for the method to be stable, and for 1 / 2 θ < 1 is a necessary condition for stability, but not sufficient.

5. Adomian Decomposition Method

Our goal in this section is to introduce the performance of the second scheme, namely, the Adomian decomposition method (ADM) [19,20], and give a detailed description to setup a solution for the MRLW equation [26]. The ADM is a technique to find solutions for differential equations (partial, ordinary), linear and nonlinear, homogeneous and nonhomogeneous. First, we look at the problem under consideration in general, so any nonlinear partial differential equation can be written as
L t u ( x , t ) = L x u ( x , t ) + R ( u ( x , t ) ) + F ( u ( x , t ) ) + g ( x , t )
where the operator L x is to represent the highest order derivative with respect to the variable x, L t represent the time operator, R ( u ( x , t ) ) contains the remaining linear terms of lower derivatives in x, F ( u ( x , t ) ) is an analytic nonlinear term, and g ( x , t ) is the forcing inhomogeneous term. Applying the inverse operator L t 1 to Equation (29), we arrive at
u ( x , t ) = u ( x , 0 ) + L t 1 L x u ( x , t ) + R ( u ( x , t ) ) + F ( u ( x , t ) ) + g ( x , t )
For the use of ADM, we express the solution u ( x , t ) of (30) by the decomposition series
u ( x , t ) = n = 0 u n ( x , t )
while we express the nonlinear term F ( u ( x , t ) ) with an infinite sum of polynomials given by
F ( u ( x , t ) ) = n = 0 A n ( u 0 , u 1 , , u n ) ,
where the terms u n ( x , t ) are calculated recurrently so that the zeroth term u 0 ( x , t ) is chosen from those terms arises from the initial condition, or from the source term. Then, followed by finding the first term u 1 ( x , t ) , which depends on the zeroth term, followed by finding the second term, which also depends on the first term, and so on until we reach the n t h component. As for calculating Adomian polynomials A n , there is a general formula written by Adomian [19,20,27], and another in a famous paper for Wazwaz [27], here we present the Adomian’s formula
A n = 1 n ! d n d λ n F ( i = 0 n λ i u i ) λ = 0 , n 0 .
The substitution of (31) and (32) into (30) yields
n = 0 u n ( x , t ) = u ( x , 0 ) + L t 1 L x n = 0 u n ( x , t ) + R ( n = 0 u n ( x , t ) ) + ( n = 0 A n ( x , t ) ) + g ( x , t ) .
As mentioned above, the components are computed in a recursive manner as
u 0 ( x , t ) = u ( x , 0 ) + L t 1 [ g ( x , t ) ] , u k + 1 ( x , t ) = L t 1 L x ( u k ( x , t ) ) + R ( u k ( x , t ) ) + ( A k ( x , t ) ) , k 0 .
Looking at the above relationships, we can say that all terms depend largely on the zeroth term, so it is desirable that the zeroth term contain the least possible number of terms. If the series converges in a suitable way, then we see that
u A ( x , t ) = lim M n = 0 M u n ( x , t )
where M is the number of terms that we found. Previous studies showed the convergence of the solution series presented in the Equation (35), see for example [28,29]. In order to understand more about the above explanation and presentation of the ADM method, we present in the next subsection the method applied to the equation under consideration.

Analysis of ADM

We rewrite Equation (1) in an operator form as (see, [30])
L t u = u x ϵ N ( u ) + μ L x x ( u t )
with the initial condition u ( x , 0 ) = f ( x ) , where the linear operators are defined by L t ( . ) = t ( . ) and L x x ( . ) = 2 x 2 ( . ) . While the term N ( u ) represents the non-linear term u p u x . To start, we operate on both sides of Equation (36) with the inverse of L t , denoted by L t 1 ( . ) = 0 t . d t yields
u ( x , t ) = u ( x , 0 ) L t 1 ( u x ) ϵ L t 1 ( N ( u ) ) + μ L t 1 ( L x x ( u t ) ) .
Assume the solution u ( x , t ) can be represented as an infinite sum of components of the form:
u ( x , t ) = n = 0 u n ( x , t ) .
While the nonlinear operator N ( u ) can be expressed as
N ( u ) = u p u x = u p + 1 p + 1 x = n = 0 A n ( u 0 , u 1 , , u n ) .
In our case, as the nonlinear part in the PDE is N ( u ) , then Adomian polynomials A n can be evaluated by a formula set by Adomian
A n = 1 n ! d n d λ n N i = 0 λ i u i | λ = 0 .
In the next, we just state the first three Adomian polynomials as:
A 0 = u 0 p + 1 p + 1 x , A 1 = u 0 p u 1 x , A 2 = p u 0 p 1 u 1 2 2 ! + u 0 p u 2 x ,
A 3 = ( p 1 ) p u 0 p 2 u 1 3 3 ! + p u 0 p 1 u 1 u 2 + u 0 p u 3 x
and so on. In the same way, additional polynomials can be calculated. Now, Equation (37) reduces to
n = 0 u n ( x , t ) = u ( x , 0 ) L t 1 ( n = 0 u n x ( x , t ) ) ϵ L t 1 ( n = 0 A n ( u 0 , u 1 , , u n ) ) + μ L t 1 ( L x x ( n = 0 u n t ( x , t ) ) ) ,
Now, set n = 0 into the left-hand-side to identify the zero component to be u 0 ( x , t ) = u ( x , 0 ) , and for n 1 we obtain the subsequent components as
u n + 1 ( x , t ) = L t 1 ( u n ) x ϵ L t 1 ( A n ) + μ L t 1 ( L x x ( u n ) t ) , n 1 .
Then, we see that the approximate solution is given by
u A ( x , t ) = lim M n = 0 M u n ( x , t )
where M is the number of terms that we found.

6. Numerical Experiments and Results

This section provides numerical solutions to the MRLW equation for three standard problems: solitary wave motion and the development of the Maxwellian initial condition into solitary waves. In order to be able to determine the accuracy and effectiveness of the method, we will deal with specific values of the constants that appeared in Equation (1), and here if the value of ϵ = 6 , μ = 1 and p = 2 , then for these values, the exact solution to Equation (1) is known and this allows us to know the exact error, and so we discuss the effectiveness of the proposed schemes in this paper.
Example 1.
Let us examine the problem
u t + u x + 6 u 2 u x t 2 u x 2 = 0
with boundary conditions u 0 , as x , and the initial condition
u ( x , 0 ) = c s e c h [ c μ ( c + 1 ) x + x 0 ] ,
here, the constants c , x 0 are free. The exact solution is given by [31]
u ( x , t ) = c s e c h [ c μ ( c + 1 ) x ( c + 1 ) t + x 0 ] .
Equation (40) has three polynomial invariants that are related to mass, momentum and energy and is given by [32],
I 1 = a b u ( x , t ) d x , I 2 = a b ( u 2 ( x , t ) + μ u x 2 ( x , t ) ) d x , I 3 = a b ( u 4 ( x , t ) 6 μ u x 2 ( x , t ) ) d x .
The invariants I 1 , I 2 , I 3 are considered to be an excellent tool to measure the success of the numerical solution, especially for cases where we do not know the exact solution to the problem. The quantities I 1 , I 2 and I 3 are applied to measure the conservation properties of the collocation scheme. The integrals in (43) are approximated by sums to obtain numerical values of invariants in Equation (43) at the finite domain [ a , b ] as follows:
I 1 h j = 0 N u j ( n ) , I 2 h j = 0 N ( u j ( n ) ) 2 + μ ( ( u ) j ( n ) ) 2 , I 3 h j = 0 N ( u j ( n ) ) 4 μ ( ( u ) j ( n ) ) 2
The computations associated with the example were performed using Mathematica. The accuracy of ADM is demonstrated for the absolute errors | u ( x , t ) u A ( x , t ) | . We compute the quantities I 1 , I 2 and I 3 to ensure the conservation laws in using ADM as an approximate tool for MRLW. In the computational work, we take c = 1 , μ = 1 , ϵ = 6 , and the simulation is performed up to t = 1 , n = 8 . Table 1 shows the difference between the exact and the ADM solution u A ( x , t ) . From Table 1, we can read that results show a high degree of accuracy and efficiency of the ADM. Since the changes of invariants I 1 , I 2 and I 3 are less than 10 4 , 10 5 and 10 6 , respectively, our scheme is sensibly conservative, and our results are recorded in Table 1.
In our computational work for the Sinc-collocation method, we take α = 1.5 , μ = 0.1 , ϵ = 6 , and two different values of the time step sizes δ t = 0.1 and δ t = 0.05 , where our interval is taken to be [ 30 , 30 ] and, the N = 160 for the points in Equation (17). We use the L 2 , L [4,33], defined below to measure the accuracy of our schemes
L 2 = u u ˜ 2 = h j = 1 N | u j u ˜ j | 2 , L = u u ˜ = max 1 j N | u j u ˜ j |
where u and u ˜ represent the exact and approximate solutions, respectively, and h is the minimum distance between any two points in Equation (18). We calculate the convergence with respect to time t, according to the following relationship [4,33]
Order = log 10 u e x a c t u δ t j / u e x a c t u δ t j + 1 log 10 ( δ t j / δ t j + 1 ) ,
where the numerical solution with step size δ t j is denoted by u δ t j . The numerical solutions are shown in Table 2 and Table 3, where invariant and error norms for solitary waves are presented. Looking at the last column in Table 2, we see that the order of convergence is almost 2. The numerical solutions that are shown in Figure 1, Figure 2 and Figure 3. Figure 1 shows the plot of a single soliton solution for different values of time T using the Sinc-collocation method. These solutions are the bell-shaped waves, which agree with the results of [4,5,6]. Figure 2 and Figure 3 illustrate that the series solution is very close to the exact solution.
Example 2.
In this example, we will take the value of p that appeared in Equation (1) to be 3, while keeping the values μ , ϵ as they are in the previous example.
We noticed from the graphics in the first example that the type of solution is of soliton types, but in this second example, a new feature called bifurcation will appear, where the wave starts to bifurcate into two waves after some time close to t = 0.4 , as shown in Figure 4.
Example 3.
In this last example, we examined the evolution of an initial Maxwellian pulse into solitary waves, arising as the initial condition of the form
u ( x , 0 ) = e x p [ ( x 40 ) 2 ]
When solving Equation (1) for p = 2 , and ϵ = 6 . It is known that the behavior of the solution with the Maxwellian condition depends on the values of μ . So, we study each of the three cases: μ = 0.5 , where only a single soliton is generated as shown in Figure 5, and μ = 0.05 . When μ is reduced more and more, such as in the case of μ = 0.05 , two single solitons are generated as in Figure 5, and for the case μ = 0.005 , the Maxwellian initial condition has decayed into three stable solitary waves as generated and shown in Figure 5.

7. Discussion and Conclusions

Two algorithms have been proposed to find a numerical solution to the MRLW equation, which often appears in physical applications. Whereas the first method, which is known as Sinc-collocation, is described in detail, with a simple proof of the stability of the obtained numerical solution, with an indication of an insufficient necessary condition. The other method, known as ADM, was presented in general first, and then the method was allocated to Equation (1). For the effectiveness of the two algorithms, we use one example with a known solution of soliton type, and the accuracy is investigated via the use of the L , L 2 error norms. The numerical results we obtained in the last section prove the effectiveness and accuracy of the two methods to a large extent. However, we would like to point out that the Sinc method is numerical, and the solution was obtained and evaluated at some nodes. The scheme was found to be stable, and it converges exponentially in space direction. On the other hand, the other scheme used to solve the MRLW equation is ADM, which was found to be highly efficient, and it provides accurate approximate solutions without spatial discretization as in the Sinc method. We used a few terms from the series solution obtained by the ADM and obtained a suitable accuracy. However, we may easily increase the accuracy using ADM by adding more terms to the series. The biggest benefit of using this method is the speed of its convergence to the exact solution, as well as the ease of use. Finally, a Maxwellian initial condition was used, and the relationship between μ and the number of solitons was discussed.

Author Contributions

Conceptualization, K.A.-K.; methodology, K.A.-K. and H.J.; software, K.A.-K.; validation, K.A.-K.; formal analysis, K.A.-K. and H.J.; data curation, K.A.-K.; writing—original draft preparation, K.A.-K.; writing—review and editing, K.A.-K.; visualization, K.A.-K. and H.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

Both authors give all thanks to Jordan University of Science and Technology, where one part of this paper (Section 5 and Section 6) was done as a master’s thesis for the second author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Karakoç, S.B.G.; Ak, T.; Zeybek, H. An Efficient Approach to Numerical Study of the MRLW Equation with B-Spline Collocation Method. Abstr. Appl. Anal. 2014, 2014, 596406. [Google Scholar] [CrossRef]
  2. Pindza, E.; Maré, E. Solving the Generalized Regularized Long Wave Equation Using a Distributed Approximating Functional Method. Int. J. Comput. Math. 2014, 2014, 178024. [Google Scholar] [CrossRef]
  3. Karakoç, S.B.G.; Mei, L.; Ali, K.K. Two efficient methods for solving the generalized regularized long wave equation. Appl. Anal. 2022, 101, 4721–4742. [Google Scholar]
  4. Mokhtari, R.; Mohammad, M. Numerical solution of GRLW equation using Sinc-collocation method. Computer Phys. Commun. 2010, 181, 1266–1274. [Google Scholar]
  5. Khalifa, A.K.; Raslan, K.R.; Alzubaidi, H. A collocation method with cubic B-spline for solving the MRLW eqution. J. Comput. Appl. Math. 2008, 212, 406–418. [Google Scholar] [CrossRef]
  6. Omer, O. Numerical investigation of nonlinear generalized regularized long wave equation via delta-shaped basis functions. Int. J. Optim. Control. Theor. Appl. (IJOCTA) 2020, 10, 244–258. [Google Scholar]
  7. Mei, L.; Chen, Y. Numerical solutions of RLW equation using Galerkin method with extrapolation techniques. Comput. Phys. Commun. 2012, 183, 1609–1616. [Google Scholar]
  8. Ali, M.R.; Ma, W.; Sadat, R. Lie symmetry analysis and invariant solutions for (2+1) dimensional Bogoyavlensky-Konopelchenko equation with variable-coefficient in wave propagation. J. Ocean. Eng. Sci. 2022, 7, 248–254. [Google Scholar] [CrossRef]
  9. Al-Khaled, K. Solving a Generalized Fractional Nonlinear Integro-Differential Equations via Modified Sumudu Decomposition Transform. Axioms 2022, 11, 398. [Google Scholar]
  10. Kumar, S.; Kumar, A. Abundant closed-form wave solutions and dynamical structures of soliton solutions to the (3+1)-dimensional BLMP equation in mathematical physics. J. Ocean Eng. Sci. 2022, 7, 178–187. [Google Scholar] [CrossRef]
  11. Zeybek, H.; Battal Gazi Karakoc, S. A collocation algorithm based on quintic B-splines for the solitary wave simulation of the GRLW equation. Sci. Iran. B 2019, 26, 3356–3368. [Google Scholar]
  12. Kukreja, S.V.K. Analysis of RLW and MRLW equation using an improvised collocation technique with SSP-RK43. scheme. Wave Motion 2021, 105, 102761. [Google Scholar]
  13. Avazzadeh, Z.; Nikan, O.; Machado, J.A.T. Solitary Wave Solutions of the Generalized Rosenau-KdV-RLW Equation. Mathematics 2020, 8, 1601. [Google Scholar] [CrossRef]
  14. Jena, S.R.; Senapati, A.; Gebremedhin, G.S. Approximate solution of MRLW equation in B-spline environment. Math. Sci. 2020, 14, 345–357. [Google Scholar]
  15. Rafiq, M.; Singh, B.; Arifa, S.; Nazeer, M.; Usman, M.; Arif, S.; Bibi, M.; Jahangir, A. Harmonic waves solution in dual-phase-lag magneto-thermoelasticity. Open Phys. 2019, 17, 8–15. [Google Scholar] [CrossRef]
  16. Al-Khaled, K. Theory and computation in singular boundary value problems. Chaos Soliton Fract. 2007, 33, 678–684. [Google Scholar] [CrossRef]
  17. Stenger, F. Numerical Methods Based on Sinc and Analytic Functions; Springer: New York, NY, USA, 1993. [Google Scholar]
  18. Lund, J.; Bowers, K.L. Sinc Methods for Quadrature and Differential Equations; SIAM: Philadelphia, PA, USA, 1992. [Google Scholar]
  19. Adomian, G. A review of the decomposition method in applied mathematics. J. Math. Anal. Appl. 1988, 135, 501–544. [Google Scholar]
  20. Adomian, G. Solving Frontier Problems of Physics: The Decompsition Method; Kluwer Academic Publishers: Boston, MA, USA, 1994. [Google Scholar]
  21. Danaf, T.E.; Ramadan, M.A.; Alaal, F.A. The use of adomian decomposition method for solving the regularized long-wave equation. Chaos Solitons Fractals 2005, 26, 747–757. [Google Scholar] [CrossRef]
  22. Al-Zaid, N.A.; Bakodah, H.O.; Hendi, F.A. Numerical Solutions of the Regularized Long-Wave (RLW) Equation Using New Modification of Laplace-Decomposition Method. Adv. Pure Math. 2013, 3, 159–163. [Google Scholar] [CrossRef] [Green Version]
  23. Khalifa, A.K.; Raslan, K.R.; Alzubaidi, H. Numerical study using ADM for the modified regularized long wave equation. Appl. Math. Model. 2008, 32, 2962–2972. [Google Scholar] [CrossRef]
  24. Al-Khaled, K. Numerical Wave Solutions for Nonlinear Coupled Equations using Sinc-Collocation Method. J. Sci. 2015, 20, 19–30. [Google Scholar]
  25. Ma, W.-X.; Seoud, E.Y.A.E.; Ali, M.R.; Sadat, R. Dynamical Behavior and Wave Speed Perturbations in the (2+1) PKP Equation. Qual. Theory Dyn. Syst. 2023, 22, 2. [Google Scholar] [CrossRef]
  26. Jafer, H. Soliton Solutions for the Generalized Regularized Long Wave Equation Using ADM. Master’s Thesis, Jordan University of Science and Technology, Irbid, Jordan, 2021. [Google Scholar]
  27. Wazwaz, A.-M. A new algorithm for calculating Adomian polynomials for nonlinear operators. Appl. Math. Comput. 2000, 111, 53–69. [Google Scholar] [CrossRef]
  28. Cherruault, Y.; Adomian, G. Decomposition methods: A new proof of convergence. Math. Comput. Model. 1993, 18, 103–106. [Google Scholar] [CrossRef]
  29. Abbaoui, K.; Cherruault, Y. Convergence of Adomian’s method applied to nonlinear equations. Math. Comput. Model. 1994, 20, 69–73. [Google Scholar]
  30. Hajji, M.A.; Al-Khaled, K. Two reliable methods for solving nonlinear evolution equations. Appl. Math. Comput. 2007, 186, 1151–1162. [Google Scholar] [CrossRef]
  31. Dereli, Y. Numerical solutions of the MRLW equation using Meshless kernel based method of lines. Int. J. Nonlinear Sci. 2012, 13, 28–38. [Google Scholar]
  32. Khan, Y.; Taghipour, R.; Falahian, M.; Nikkar, A. A new approach to modified regularized long wave equation. Neural Comput. Appl. 2013, 23, 1335–1341. [Google Scholar]
  33. Alia, A.; Siraj-ul-Islamb; Haq, S. A Computational Meshfree Technique for the Numerical Solution of the Two-Dimensional Coupled Burgers’ Equations. Int. J. Comput. Methods Eng. Sci. Mech. 2009, 10, 406–422. [Google Scholar] [CrossRef]
Figure 1. The soliton solution by Sinc-collocation method for different values of time t, and 10 x 20 .
Figure 1. The soliton solution by Sinc-collocation method for different values of time t, and 10 x 20 .
Axioms 12 00174 g001
Figure 2. The ADM soliton solution (left) with exact (right) for MRLW for c = 0.01 and 0 t 2 .
Figure 2. The ADM soliton solution (left) with exact (right) for MRLW for c = 0.01 and 0 t 2 .
Axioms 12 00174 g002
Figure 3. The ADM soliton solution (left) with exact (right) for MRLW for c = 0.01 and 2 t 4 .
Figure 3. The ADM soliton solution (left) with exact (right) for MRLW for c = 0.01 and 2 t 4 .
Axioms 12 00174 g003
Figure 4. The solution of Equation (1) using ADM when p = 3 for different values of t.
Figure 4. The solution of Equation (1) using ADM when p = 3 for different values of t.
Axioms 12 00174 g004
Figure 5. The solution of Equation (1) using ADM when p = 2 , ϵ = 6 when t = 2 and μ = 0.5 (Single soliton), μ = 0.05 (two solitons), μ = 0.005 (three solitons).
Figure 5. The solution of Equation (1) using ADM when p = 2 , ϵ = 6 when t = 2 and μ = 0.5 (Single soliton), μ = 0.05 (two solitons), μ = 0.005 (three solitons).
Axioms 12 00174 g005
Table 1. Invariants for MRLW equation using ADM when c = 0.01 and 0 x 60 . We used x E y to denote x × 10 y .
Table 1. Invariants for MRLW equation using ADM when c = 0.01 and 0 x 60 . We used x E y to denote x × 10 y .
t I 1 I 2 I 3 | u ( x , t ) u A ( x , t ) |
0 3.082210 0.201518 0.000678011 6.28820 E 08
0.1 3.082210 0.201518 0.000678015 1.22231 E 08
0.2 3.082208 0.201518 0.000678019 6.32709 E 07
0.3 3.082205 0.201517 0.000678021 2.72210 E 07
0.4 3.082202 0.201515 0.000678025 3.77219 E 06
0.5 3.082201 0.201515 0.000678027 1.70010 E 06
0.6 3.082201 0.201512 0.000678029 6.00899 E 05
0.7 3.082200 0.201512 0.000678029 3.91129 E 05
0.8 3.082196 0.201510 0.000678032 5.59981 E 04
0.9 3.082190 0.201510 0.000678036 3.72210 E 04
1.0 3.082184 0.201506 0.000678039 1.00287 E 04
Table 2. Estimated error for the Sinc solution of Equation (1): t = 16 , θ = 1 2 , N = 60 , 30 x 30 . We used x E y to denote x × 10 y .
Table 2. Estimated error for the Sinc solution of Equation (1): t = 16 , θ = 1 2 , N = 60 , 30 x 30 . We used x E y to denote x × 10 y .
δ t L Order L 2 Order
0.8 3.10524 E 03 1.10518 E 02
0.4 1.22201 E 03 1.96166 3.22148 E 03 1.96453
0.2 5.35209 E 04 1.99086 8.35020 E 04 1.99486
0.1 1.49743 E 04 1.99748 4.49278 E 04 1.99782
0.05 8.66014 E 05 1.99835 1.65082 E 04 1.99892
0.025 6.84252 E 05 1.99809 5.82611 E 05 1.99212
0.010 2.04701 E 05 1.98971 1.02058 E 05 1.98775
Table 3. Invariants and errors using Sinc-collocation when δ t = 0.1 , c = 0.01 , N = 80 and 40 x 60 . We used x E y to denote x × 10 y .
Table 3. Invariants and errors using Sinc-collocation when δ t = 0.1 , c = 0.01 , N = 80 and 40 x 60 . We used x E y to denote x × 10 y .
Time L L 2 I 1 I 2 I 3 CPU Time
4 1.65338 E 05 3.54902 E 05 3.985214 0.810673 2.597800 0.437 s
82.85221E − 057.50021E − 05 3.985216 0.810673 2.597800 0.901 s
123.85008E − 051.25882E − 04 3.985217 0.810673 2.597800 1.642 s
165.54338E − 051.57520E − 04 3.985202 0.810673 2.597800 1.860 s
201.65338E − 053.54902E − 04 3.985192 0.810673 2.597800 2.145 s
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

Al-Khaled, K.; Jafer, H. Two Reliable Computational Techniques for Solving the MRLW Equation. Axioms 2023, 12, 174. https://doi.org/10.3390/axioms12020174

AMA Style

Al-Khaled K, Jafer H. Two Reliable Computational Techniques for Solving the MRLW Equation. Axioms. 2023; 12(2):174. https://doi.org/10.3390/axioms12020174

Chicago/Turabian Style

Al-Khaled, Kamel, and Haneen Jafer. 2023. "Two Reliable Computational Techniques for Solving the MRLW Equation" Axioms 12, no. 2: 174. https://doi.org/10.3390/axioms12020174

APA Style

Al-Khaled, K., & Jafer, H. (2023). Two Reliable Computational Techniques for Solving the MRLW Equation. Axioms, 12(2), 174. https://doi.org/10.3390/axioms12020174

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