Quartic Non-Polynomial Spline for Solving the Third-Order Dispersive Partial Differential Equation

Abstract

In the present paper, we introduce a non-polynomial quadratic spline method for solving third-order boundary value problems. Third-order singularly perturbed boundary value problems occur frequently in many areas of applied sciences such as solid mechanics, quantum mechanics, chemical reactor theory, Newtonian fluid mechanics, optimal control, convection-diffusion processes, hydrodynamics, aerodynamics, etc. These problems have various important applications in fluid dynamics. The procedure involves a reduction of a third-order partial differential equation to a first-order ordinary differential equation. Truncation errors are given. The unconditional stability of the method is analysed by the Von-Neumann stability analysis. The developed method is tested with an illustrated example, and the results are compared with other methods from the literature, which shows the applicability and feasibility of the presented method. Furthermore, a graphical comparison between analytical and approximate solutions is also shown for the illustrated example.

Share and Cite:

Alaofi, Z. , Ali, T. , Alaal, F. and Dragomir, S. (2021) Quartic Non-Polynomial Spline for Solving the Third-Order Dispersive Partial Differential Equation. American Journal of Computational Mathematics, 11, 189-206. doi: 10.4236/ajcm.2021.113013.

1. Introduction

The field of nonlinear dispersive waves has undergone enormous development since the work of Stokes, Boussinesq, and Korteweg and de Vries (KdV)—all of whom studied water wave problems in the nineteenth century. In the 1960s, researchers developed effective asymptotic methods for deriving nonlinear wave equations, such as the KdV equation, which governed a broad class of physical phenomena [1]. Some approaches for solving nonlinear partial differential equations have been addressed in recent literature; the most prominent of these were the non-polynomial spline methods. The non-polynomial spline used for solving nonlinear partial differential equations was employed by many researchers. The most known and well-focused results are those presented by Ramadan et al. (2005), who used a numerical method for approximation of Burger’s equation [2]. Shock waves and blowup arising in third-order nonlinear dispersive equations were studied in 2008 by Galaktionov, V.A. and Pohozaev, S.I. [3]. In [4] [5], the criteria for deriving stability conditions of the different methods were considered for the numerical solution of a third-order linear dispersive equation. Research by Tirmizi et al. (2008) used Quartic non-polynomial spline functions to develop a class of numerical methods for solving self-adjoint singularly perturbed problems [6]. In 2011, Taiwo and Ogunlaran developed a numerical technique for solving linear fourth-order boundary-value problems, which were initially reduced to a system of second-order boundary-value problems [7]. In research by Lin (2014), a numerical method based on splines in tension was developed for solving the RLW equation. The method was tested by using single solitary waves, the interaction of two solitary waves, and solitary waves with Maxwellian initial condition [8]. In the same year, Mustafa and Ilhame discussed the method of lines is applied to the boundary-value problem for the third-order partial differential equation [9]. In 2017, El-Danaf et al. considered the Generalised Regularised Long Wave (GRLW) equation. They studied the interaction of solitons, where no analytic solution is known during the interaction. The Maxwellian initial condition for the GRLW equation was used [10]. A year later, Li et al. solved the time-fractional nonlinear Schrödinger equation [11]. In 2018, Sultana et al. presented a new three-level implicit method, which was developed to solve linear and nonlinear third-order dispersive partial differential equations [12]. In 2019, Shahna demonstrated how to solve fourth-order boundary value problems whose highest-order derivative was multiplied by a small perturbation parameter [13]. In this paper, a novel approach, based on using non-polynomial splines to solve a third-order dispersive partial differential equation is proposed. The third-order dispersive partial differential equation we will use is [14].

η t + 3 η x 3 = g ( x , t ) , a x b , t > 0 (1)

where g ( x , t ) is a source term. The boundary conditions associated with Equation (1) are assumed to be of the form:

η ( a , t ) = β 1 ( t ) , η ( b , t ) = β 2 ( t ) , η x x ( b , t ) = β 3 ( t ) , t > 0 (2)

and the initial condition is:

η ( x , 0 ) = f ( x ) , a x b . (3)

The spline functions proposed, as defined in [15], have the form T 4 = s p a n { 1 , x , x 2 , sin ω x , cos ω x } where ω is the frequency of the trigonometric part of the spline functions, which will be used to increase the accuracy of our method.

2. Analysis of the Method

The first step in the non-polynomial spline method is to create a grid with two mesh constants h and k. The grid points for this situation are ( x i , t j ) where x i = a + i h , i = 0 , 1 , , N + 1 and t j = j k , j = 0 , 1 , .

Let Z i j be an approximation to η ( x i , t j ) , obtained by the segment P i ( x , t j ) of the mixed spline function passing through the points ( x i , Z i j ) and ( x i + 1 , Z i + 1 j ) .

Each segment has the form:

P i ( x , t j ) = a i ( t j ) cos ω ( x x i ) + b i ( t j ) sin ω ( x x i ) + c i ( t j ) ( x x i ) 2 + d i ( t j ) ( x x i ) + e i ( t j ) . (4)

for each i = 0 , 1 , , N . To obtain expressions for the coefficients of Equation (4) in terms of Z i j , Z i + 1 j , M i j , S i j , and S i j + 1 , we first define:

P i ( x i , t j ) = Z i j , P i ( x i + 1 , t j ) = Z i + 1 j , P i ( 1 ) ( x i ) = M i j , P i ( 3 ) ( x i , t j ) = S i j , P i ( 3 ) ( x i + 1 , t j ) = S i + 1 j . (5)

Using Equations (4) and (5), we get:

a i + e i = Z i j ,

a i cos θ + b i sin θ + h 2 c i + h d i + e i = Z i + 1 j ,

b i ω + d i = M i j , (6)

ω 3 b i = S i j ,

a i ω 3 sin θ b i ω 3 cos θ = S i + 1 j .

where a i a i ( t j ) , b i b i ( t j ) , c i c i ( t j ) , d i d i ( t j ) , e i e i ( t j ) , and θ = ω h .

By solving the last five equations in (6), we obtain the following:

a i = h 3 S i + 1 j S i j cos θ θ 3 sin θ , b i = h 3 S i j θ 3 ,

c i = Z i + 1 j Z i j h 2 + h ( S i + 1 j + S i j ) ( 1 cos θ ) θ 3 sin θ M i j h h S i j θ 2 (7)

d i = M i j + h 2 S i j θ 2 , e i = Z i j h 3 S i + 1 j S i j cos θ θ 3 sin θ .

Using the continuity condition of the first and second derivatives at x = x i , that is P i ( n ) ( x i , t j ) = P i 1 ( n ) ( x i , t j ) where n = 1 and 2, we get the following relations:

ω b i + d i = a i 1 ω sin θ + b i 1 ω cos θ + 2 h c i 1 + d i 1

ω 2 a i + 2 c i = a i 1 ω 2 cos θ b i 1 ω 2 sin θ + 2 c i 1 (8)

Using expressions in Equation (7), then Equation (8) becomes:

M i j + M i 1 j = 2 h ( Z i j Z i 1 j ) h 2 θ 2 ( S i 1 j + S i j ) + 2 h 2 θ 3 sin θ ( S i 1 j + S i j ) ( 1 cos θ ) (9)

M i j M i 1 j = h 2 S i j cos θ θ sin θ h 2 2 θ sin θ ( S i 1 j + S i + 1 j ) + 1 h ( Z i 1 j 2 Z i j + Z i + 1 j ) + h 2 θ 3 sin θ ( 1 cos θ ) ( S i + 1 j S i 1 j ) + h 2 θ 2 ( S i 1 j S i j ) (10)

Adding Equations (8) and (10), we get:

M i j = 1 2 h ( Z i + 1 j Z i 1 j ) h 2 θ 2 S i j + h 2 2 θ 3 sin θ ( 1 cos θ ) ( S i 1 j + 2 S i j + S i + 1 j ) + h 2 S i j cos θ 2 θ sin θ h 2 4 θ sin θ ( S i 1 j + S i + 1 j ) . (11)

Similarly,

M i 1 j = 1 2 h ( Z i j Z i 2 j ) h 2 θ 2 S i 1 j + h 2 2 θ 3 sin θ ( 1 cos θ ) ( S i 2 j + 2 S i 1 j + S i j ) + h 2 S i 1 j cos θ 2 θ sin θ h 2 4 θ sin θ ( S i 2 j + S i j ) . (12)

Using M i j and M i 1 j in Equations (10) and (11) gives the following relation:

1 2 h ( Z i + 1 j Z i 1 j + Z i j Z i 2 j ) h 2 θ 2 ( S i j + S i 1 j ) + h 2 ( 1 cos θ ) 2 θ 3 sin θ ( S i 2 j + 3 S i 1 j + 3 S i j + S i + 1 j ) + h 2 ( S i j + S i 1 j ) cos θ 2 θ sin θ h 2 4 θ sin θ ( S i 2 j + S i 1 j + S i j + S i + 1 j ) = 2 h ( Z i j Z i 1 j ) h 2 θ 2 ( S i 1 j + S i j ) + 2 h 2 θ 3 sin θ ( S i 1 j + S i j ) ( 1 cos θ )

or:

Z i 2 j h 3 S i 2 j ( cos θ 1 θ 3 sin θ + 1 2 θ sin θ ) + 3 Z i 1 j h 3 S i 1 j ( 1 cos θ θ 3 sin θ cos θ θ sin θ + 1 2 θ sin θ ) 3 Z i j h 3 S i j ( 1 cos θ θ 3 sin θ cos θ θ sin θ + 1 2 θ sin θ ) + Z i + 1 j h 3 S i + 1 j ( cos θ 1 θ 3 sin θ + 1 2 θ sin θ ) = 0 , i = 2 , , N .

This equation can be rewritten in the following simple form:

Z i 2 j + 3 Z i 1 j 3 Z i j + Z i + 1 j = α S i 2 j + β S i 1 j + β S i j + α S i + 1 j , i = 2 , , N . (13)

where:

α = h 3 ( cos θ 1 θ 3 sin θ + 1 2 θ sin θ ) and β = h 3 ( 1 cos θ θ 3 sin θ cos θ θ sin θ + 1 2 θ sin θ )

Remark 1. As ω 0 , that is θ 0 , then ( α , β ) ( h 3 24 , 11 h 3 24 ) , and system (13) reduces to ordinary quartic spline:

Z i 2 j + 3 Z i 1 j 3 Z i j + Z i + 1 j = h 3 24 ( S i 2 j + 11 S i 1 j + 11 S i j + S i + 1 j ) ,

Using Equation (1), we can write S i 2 j , S i 1 j , S i j and S i + 1 j , in the form:

S i 2 j = 3 Z i 2 j x 3 = ( g i 2 j Z i 2 j t ) , S i 1 j = 3 Z i 1 j x 3 = ( g i 1 j Z i 1 j t )

S i j = 3 Z i j x 3 = ( g i j Z i j t ) , S i + 1 j = 3 Z i + 1 j x 3 = ( g i + 1 j Z i + 1 j t )

These equations can be discretised in the form:

S i 2 j ( g i 2 j ( Z i 2 j Z i 2 j 1 k ) ) , S i 1 j ( g i 1 j ( Z i 1 j Z i 1 j 1 k ) ) , S i j ( g i j ( Z i j Z i j 1 k ) ) , S i + 1 j ( g i + 1 j ( Z i + 1 j Z i + 1 j 1 k ) ) . (14)

The use of Equation (13) in Equation (14) gives us the following system:

Z i 2 j + 3 Z i 1 j 3 Z i j + Z i + 1 j = α ( g i 2 j Z i 2 j Z i 2 j 1 k ) + β ( g i 1 j Z i 1 j Z i 1 j 1 k ) + β ( g i j Z i j Z i j 1 k ) + α ( g i + 1 j Z i + 1 j Z i + 1 j 1 k ) ,

or:

A i Z i 2 j + B i Z i 1 j + C i Z i j + D i Z i + 1 j = α Z i 2 j 1 + β Z i 1 j 1 + β Z i j 1 + α Z i + 1 j 1 + δ i j , i = 2 , , N . (15)

where:

A i = k + α , B i = 3 k + β , C i = 3 k + β , D i = k + α

and:

δ i j = k ( α g i 2 j + β g i 1 j + β g i j + α g i + 1 j )

System (15) consists of N-1 equations in unknowns Z i j , i = 0 , , N + 1 . To get a solution to this system, we need three additional equations. Two equations are obtained from the first two parts in Equation (2).

Z 0 j = η ( a , t ) = β 1 ( t ) , Z N + 1 j = η ( b , t ) = β 2 ( t ) (16)

The third equation can be obtained from the third part of Equation (2), that is 2 Z N + 1 j x 2 = η x x ( b , t ) = β 3 ( t ) , which can be discretised:

10 Z N 4 j + 61 Z N 3 j 156 Z N 2 j + 214 Z N 1 j 154 Z N j + 45 Z N + 1 j 12 h 2 2 Z N + 1 j x 2 = 12 h 2 β 3 , j 0 (17)

Writing Equations (15) - (17) in matrix form gives:

Q Z j = Q * Z j 1 + r j (18)

where:

Z j = ( Z 0 j Z 1 j Z 2 j Z N 1 j Z N j Z N + 1 j ) t ,

Q = [ 1 0 0 0 0 0 0 0 A 2 B 2 C 2 D 2 0 0 0 0 0 A 3 B 3 C 3 D 3 0 0 0 0 0 0 A N 1 B N 1 C N 1 D N 1 0 0 0 0 0 A N B N C N D N 0 0 10 61 156 214 154 45 0 0 0 0 0 0 0 1 ] ,

Q * = [ 0 0 0 0 0 0 0 0 α β β α 0 0 0 0 0 α β β α 0 0 0 0 0 0 α β β α 0 0 0 0 0 α β β α 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] ,

and r j = ( β 1 ( t j ) , δ 2 j , , δ N j , 12 h 2 β 3 ( t j ) , β 2 ( t j ) ) t . The initial condition η ( x , t 0 ) = f ( x ) , for each a x b , implies that Z i 0 = f ( x i ) , for each i = 0 , 1 , , N + 1 . These values can be used in Equation (2.15) to find the value of Z i 1 , for each i = 0 , 1 , , N + 1 . If the procedure is reapplied once all the approximations Z i 1 are known, the values of Z i 2 , Z i 3 , can be obtained in a similar manner.

3. Error Analysis

Using Equation (14), we obtain the truncation error:

T i j = A i η i 2 j + B i η i 1 j + C i η i j + D i η i + 1 j α η i 2 j 1 β η i 1 j 1 β η i j 1 α η i + 1 j 1 δ i j (19)

where:

A i = k + α , B i = 3 k + β , C i = 3 k + β , D i = k + α

and:

δ i j = k ( α g i 2 j + β g i 1 j + β g i j + α g i + 1 j )

Expanding Equation (19) in Taylor series, in terms of η ( x i , t j ) and its derivatives, we obtain the following expression:

T i j = A i ( 1 2 h 1 ! D x + ( 2 h ) 2 2 ! D x 2 ) η i j + B i ( 1 h D x + h 2 2 ! D x 2 ) η i j + C i η i j + D i ( 1 + h D x + h 2 2 ! D x 2 + h 3 3 ! D x 3 + ) η i j α ( 1 + ( k D t 2 h D x ) + 1 2 ! ( k D t 2 h D x ) 2 + ) η i j β ( 1 + ( k D t h D x ) + 1 2 ! ( k D t h D x ) 2 + ) η i j

β ( 1 k D t + k 2 2 ! D t 2 k 3 3 ! D t 3 + ) η i j α ( 1 + ( k D t + h D x ) + 1 2 ! ( k D t + h D x ) 2 + ) η i j k α ( 1 2 h D x + ( 2 h ) 2 2 ! D x 2 ) g i j k β ( 1 h D x + h 2 2 ! D x 2 ) g i j k β g i j k α ( 1 + h D x + h 2 2 ! D x 2 + ) g i j

where g i j = D t η i j + D x 3 η i j . After simple calculations, we get:

T i j = k ( 2 h 1 ! D x + ( 2 h ) 2 2 ! D x 2 ) η i j + 3 k ( h D x + h 2 2 ! D x 2 ) η i j + k ( h D x + h 2 2 ! D x 2 + h 3 3 ! D x 3 + ) η i j 2 ( β + α ) ( k D t + k 2 2 ! D t 2 k 3 3 ! D t 3 + ) η i j + ( β + α ) h ( 1 2 ! ( 2 1 ) k D t + 1 3 ! ( 3 1 ) k 2 D t 2 ) D x η i j + ( β + 5 α ) h 2 ( 1 3 ! ( 3 2 ) k D t 1 4 ! ( 4 2 ) k 2 D t 2 + ) D x 2 η i j

+ ( β + 7 α ) h 3 ( 1 4 ! ( 4 3 ) k D t + 1 5 ! ( 5 3 ) k 2 D t 2 ) D x 3 η i j + k α ( 2 h D x + ( 2 h ) 2 2 ! D x 2 ) ( D t + D x 3 ) η i j k β ( h D x + h 2 2 ! D x 2 ) ( D t + D x 3 ) η i j k α ( h D x + h 2 2 ! D x 2 + ) ( D t + D x 3 ) η i j 2 k ( β + α ) ( D t + D x 3 ) η i j

T i j = k ( h 3 2 ( β + α ) ) D x 3 η i j + k h ( h 3 2 + ( β + α ) ) D x 4 η i j + k h 2 ( h 3 4 1 2 ( β + 5 α ) ) D x 5 η i j + k h 3 ( h 3 12 + 1 6 ( β + 7 α ) ) D x 6 η i j + k h 4 ( h 3 40 1 24 ( β + 17 α ) ) D x 7 η i j + + 2 ( β + α ) ( k 2 2 ! D t 2 + k 3 3 ! D t 3 ) η i j

+ ( β + α ) h ( 1 3 ! ( 3 1 ) k 2 D t 2 1 4 ! ( 4 1 ) k 3 D t 3 + ) D x η i j + ( β + 5 α ) h 2 ( 1 4 ! ( 4 2 ) k 2 D t 2 + 1 5 ! ( 5 2 ) k 3 D t 3 ) D x 2 η i j + ( β + 7 α ) h 3 ( 1 5 ! ( 5 3 ) k 2 D t 2 1 6 ! ( 6 3 ) k 3 D t 3 + ) D x 3 η i j + . (20)

For β + α = h 3 2 , the local truncation error is of order o ( k h 2 + k 2 h 3 ) but for β + α = h 3 2 and α = 0 it is of o ( k h 4 + k 2 h 3 ) .

Remark 2. The previous relations, which enable us to choose α and β , can be obtained using simple calculations by expanding Equation (19) in terms of u i j and its derivatives, which is the local truncation error of Equation (19), as follows:

T * i j = η i 2 j + 3 η i 1 j 3 η i j + η i + 1 j α D x 3 η i 2 j β D x 3 η i 1 j β D x 3 η i j α D x 3 η i + 1 j ,

T i j = ( h 3 2 ( β + α ) ) D x 3 η i j + h ( h 3 2 + ( β + α ) ) D x 4 η i j + h 2 ( h 3 4 1 2 ( β + 5 α ) ) D x 5 η i j + h 3 ( h 3 12 + 1 6 ( β + 7 α ) ) D x 6 η i j + h 4 ( h 3 40 1 24 ( β + 17 α ) ) D x 7 η i j + .

4. Stability

Using the Von Neumann method, the stability of the method can be investigated. According to this method, the solution of the difference Equation (14) can be written in the form:

Z i j = ζ j exp ( q ϕ i h ) (21)

where ϕ is the wave number, q = 1 , h is the element size, and ζ j is the amplification factor at time level j. Inserting the latter expression for Z i j in scheme (14), we obtain the characteristic equation in the form:

ζ j { A i exp ( ( i 2 ) q ϕ h ) + B i exp ( ( i 1 ) q ϕ h ) + C i exp ( i q ϕ h ) + D i exp ( ( i + 1 ) q ϕ h ) } = ζ j 1 { α exp ( ( i 2 ) q ϕ h ) + β exp ( ( i 1 ) q ϕ h ) + β exp ( i q ϕ h ) + α exp ( ( i + 1 ) q ϕ h ) }

A i = k + α , B i = 3 k + β , C i = 3 k + β , D i = k + α

After simple calculations, we obtain:

ζ = α exp ( 2 q ϕ h ) + β exp ( q ϕ h ) + β + α exp ( q ϕ h ) A i exp ( 2 q ϕ h ) + B i exp ( q ϕ h ) + C i + D i exp ( q ϕ h ) (22)

Using Euler’s formula, that is:

exp [ q φ ] = cos φ + q sin φ , φ = ϕ h ,

Equation (22) becomes:

ζ = X * + q Y * X + q Y (23)

where:

X * = α cos 2 φ + ( β + α ) cos φ + β Y * = α sin 2 φ + ( α β ) sin φ X = ( α k ) cos 2 φ + ( β + α + 4 k ) cos φ + ( β 3 k ) Y = ( k α ) sin 2 φ + ( 2 k + α β ) sin φ (24)

Using cos 2 φ = 1 2 sin 2 φ , and cos φ = 1 2 sin 2 φ 2 , we can write the equations in (24) as:

X * = 2 ( cos 2 φ 2 ) ( β + α 4 α sin 2 φ 2 ) Y * = 2 ( sin φ 2 cos φ 2 ) ( β + α 4 α sin 2 φ 2 ) X = [ 2 ( cos 2 φ 2 ) ( β + α 4 α sin 2 φ 2 ) 8 k sin 4 φ 2 ] = X * + T Y = 2 ( sin φ 2 cos φ 2 ) ( β + α 4 α sin 2 φ 2 ) 8 k cos φ 2 sin 3 φ 2 = Y * + G (25)

where T = 8 k sin 4 φ 2 , G = 8 cos φ 2 sin 3 φ 2 ,

Using (24), we obtain:

| ζ | = X * 2 + Y * 2 X 2 + Y 2 (26)

The equations in (26) enable us to rewrite the last equation in the form:

| ζ | = X * 2 + Y * 2 ( X * + T ) 2 + ( Y * + G ) 2 .

or:

| ζ | = X * 2 + Y * 2 X * 2 + T 2 + Y * 2 + G 2 + δ . (27)

where δ = 2 X * T + 2 Y * G . Using Equation (27), δ becomes:

δ = 32 k cos 2 φ 2 sin 4 φ 2 ( β + α 4 α sin 2 φ 2 ) + 32 k cos 2 φ 2 sin 4 φ 2 ( β + α 4 α sin 2 φ 2 ) = 0

This result enables us to write Equation (27) as:

| ζ | = X * 2 + Y * 2 X * 2 + Y * 2 + T 2 + G 2 . (28)

For stability, we must have | ζ | 1 (otherwise ζ j in Equation (21) would grow in an unbounded manner). Using Equation (28), we can say that the stability condition, that is | ζ | 1 , is satisfied.

5. Numerical Example

In this section, we obtain numerical solutions of Equation (1) for a numerical example.

Consider the non-homogeneous third-order dispersive partial differential equation [14]:

η t + 3 η x 3 = sin ( π x ) sin t π 3 cos ( π x ) cos t , 0 x 1 , t > 0

with boundary conditions:

η ( 0 , t ) = η ( 1 , t ) = 0 , η x x ( 0 , t ) = η x x ( 1 , t ) = 0 , t > 0

and the initial condition:

η ( x , 0 ) = sin π x , 0 x 1

The exact solution of this problem is:

η ( x , t ) = sin π x cos t

The obtained numerical results are listed in the Tables 1-7, where all calculations are carried out using Mathematica. The accuracy of method is measured by computing L-error norm, Max. Absolute error, as shown in Tables 1-3 and Table 5 illustrates numerical and exact solutions for: h = 0.025 , k = 0.0005 , β = α + h 3 2 .

The reason that the accuracy in Table 1 is the best is because: α = 0 , β = α + h 3 2 .

Table 1. The L -error between the numerical and exact solutions when h = 0.025 , k = 0.0005 , α = 0 , β = α + h 3 2 .

Table 2. The L -error between the numerical and exact solutions when h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 .

Table 3. The L -error between the numerical and exact solutions when h = 0.025 , k = 0.0005 , α = h 3 24 , β = α + h 3 2 .

Table 4. The comperasion between the numerical and exact solutions when h = 0.025 , k = 0.0005 , t = 2 , α = 0 , β = α + h 3 2 .

Table 5. The L -error between the numerical and exact solutions when h = π 20 , k = 0.002 , α = h 3 160 , β = α + h 3 2 .

Table 6. The comperasion between the numerical and exact solutions when h = π 20 , k = 0.002 , α = h 3 160 , β = α + h 3 2 , t = 2 .

For, the local truncation error is of order o ( k h 4 + k 2 h 3 ) but for: β + α = h 3 2 , α 0 it is of order o ( k h 2 + k 2 h 3 ) .

The following figures from Figures 1-11 show the relation between the numerical and exact solutions of the dispersive equation for virus time and discretization’s (h).

The following figures from Figures 12-15 show the 3D of the numerical solutions of the dispersive equation for virus time and the same discretization’s (h).

Table 7. The L -error between the numerical and exact solutions when h = π 20 , k = 0.002 , α = h 3 160 , β = α + h 3 2 .

Figure 1. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 0.0005 .

Figure 2. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 0.5 .

Figure 3. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 1.0 .

Figure 4. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 1.5 .

Figure 5. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 2.0 .

Figure 6. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 2.5 .

Figure 7. The relation between the numerical and exact solutions of the dispersive eation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 3.0 .

Figure 8. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 3.5 .

Figure 9. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 4.0 .

Figure 10. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 4.5 .

Figure 11. The relation between the numerical and exact solutions of the dispersive equation at h = 0.025 , k = 0.0005 , α = h 3 160 , β = α + h 3 2 , t = 5.00 .

Figure 12. 3D for the numerical solutions of the dispersive equation fromt = 0 to t= 10.

Figure 13. 3D for the numerical solutions of the dispersive equation from t = 10 to t = 20.

Figure 14. The 3D for the numerical solutions of the dispersive equation from t = 20 tot = 30.

Figure 15. The 3D for the numerical solutions of the dispersive equation from t = 30 to t= 40.

6. Concluding Remarks

This paper is devoted to the quartic non-polynomial spline functions for solving the third-order dispersive partial differential equation. Recent trends in computational mathematics, mathematical physics and mechanics have widely used numerical methods to solve such problems. The results obtained using the quartic non-polynomial spline functions are very encouraging. It has been shown that the L-∞ errors norm confirm the theoretical convergence. The convergence analysis of the method proved that our scheme is third-order convergent o ( k h 2 + k 2 h 3 ) . Also, the method is shown to be unconditionally stable. The numerical example illustrates that the non-polynomial spline functions are more adaptable in approximating functions. The graphs between exact and approximate solutions for the numerical examples show the superiority of our method compared with [8].

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Ablowitz, M.J. (2011) Nonlinear Dispersive Waves: Asymptotic Analysis and Solitons. Cambridge University Press, Cambridge.
https://doi.org/10.1017/CBO9780511998324
[2] Ramadan, M.A., El-Danaf, T.S. and. Alaal, F.E.I.A. (2007) Application of the Non-Polynomial Spline Approach to the Solution of the Burgers Equation. The Open Applied Mathematics Journal, 1, 15-20.
https://doi.org/10.2174/1874114200701010015
[3] Galaktionov, V.A. and Pohozaev, S.I. (2008) Third-Order Nonlinear Dispersive Equations: Shocks, Rarefaction, and Blowup Waves. Computational Mathematics and Mathematical Physics, 48, 1784-1810.
https://doi.org/10.1134/S0965542508100060
[4] Comerford, R. (2000) Computing. IEEE Spectrum, 37, 45-50.
https://doi.org/10.1109/6.815438
[5] Miller, J.H. (1971) On the Location of Zeros of Certain Classes of Polynomials with Application to Numerical Analysis. IMA Journal of Applied Mathematics, 8, 397-406.
https://doi.org/10.1093/imamat/8.3.397
[6] Tirmizi, I.A., Fazal-i-Haq, and Siraj-ul-Islam (2008) Non-Polynomial Spline Solution of Singularly Perturbed Boundary-Value Problems. Applied Mathematics and Computation, 196, 6-16.
https://doi.org/10.1016/j.amc.2007.05.029
[7] Taiwo, O.A. and Ogunlaran, O.M. (2011) A Non-Polynomial Spline Method for Solving Linear Fourth-Order Boundary-Value Problems. International Journal of Physical Sciences, 6, 3246-3254.
[8] Lin, B. (2015) Non-Polynomial Splines Method for Numerical Solutions of the Regularized Long Wave Equation. International Journal of Computer Mathematics, 92, 1591-1607.
https://doi.org/10.1080/00207160.2014.950254
[9] Kudu, M. and Amirali, I. (2014) Method of Lines for Third Order Partial Differential Equations. Journal of Applied Mathematics and Physics, 2, 33-36.
https://doi.org/10.4236/jamp.2014.22005
[10] El-Danaf, T.S., Raslan, K.R. and Ali, K.K. (2017) Non-Polynomial Spline Method for Solving the Generalized Regularized Long Wave Equation. Communication in Mathematical Modeling and Applications, 2, 1-17.
[11] Li, M., Ding, X. and Xu, Q. (2018) Non-Polynomial Spline Method for the Time-Fractional Nonlinear Schrödinger Equation. Advances in Difference Equations, 2018, Article No. 318.
https://doi.org/10.1186/s13662-018-1743-3
[12] Sultana, T., Khan, A. and Khandelwal, P. (2018) A New Non-Polynomial Spline Method for Solution of Linear and Non-Linear Third Order Dispersive Equations. Advances in Difference Equations, 2018, Article No. 316.
https://doi.org/10.1186/s13662-018-1763-z
[13] Khan, A. and Shahna (2019) Non-Polynomial Quadratic Spline Method for Solving Fourth Order Singularly Perturbed Boundary Value Problems. Journal of King Saud University—Science, 31, 479-484.
https://doi.org/10.1016/j.jksus.2017.08.006
[14] Wazwaz, A.M. (2003) An Analytic Study on the Third-Order Dispersive Partial Differential Equations. Applied Mathematics and Computation, 142, 511-520.
https://doi.org/10.1016/S0096-3003(02)00336-3
[15] Siraj-Ul-Islam, Khan, M.A., Tirmizi, I.A. and Twizell, E.H. (2005) Non-Polynomial Spline Approach to the Solution of a System of Third-Order Boundary-Value Problems. Applied Mathematics and Computation, 168, 152-163.
https://doi.org/10.1016/j.amc.2004.08.044

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.