Abstract

The exponential cubic B-spline algorithm is presented to find the numerical solutions of the Korteweg-de Vries (KdV) equation. The problem is reduced to a system of algebraic equations, which is solved by using a variant of Thomas algorithm. Numerical experiments are carried out to demonstrate the efficiency of the suggested algorithm.

1. Introduction

The splines consist of piecewise functions defined on the distributed knots on problem domain and have certain continuity inside problem subdomain and at the knots. Until now, some types of splines have been developed and especially polynomial splines. The exponential splines are defined as more general splines by McCartin [13]. The basis of the exponential splines known as the exponential B-splines is also given in the studies of McCartin. Existence of the free parameter in the exponential B-splines yields the different shapes of the splines functions. He has also showed a reliable algorithm by using the exponential spline functions to solve the hyperbolic conservation laws, McCartin and Jameson [4]. However, McCartin stated that application of the exponential spline/exponential B-spline functions has been neglected in the numerical analysis. So, use of the exponential spline in the numerical methods for finding solutions of the differential equations is not common and few papers exist in the literature. McCartin has shown that the exponential splines admit a basis known as the exponential B-splines. These B-splines have been started using to form approximates functions recently which are adapted to set up the numerical methods to find solutions of the differential equations recently. An application of the simple exponential splines is considered for setting up the collocation method to solve the numerical solution of singular perturbation problem [5]. Cardinal exponential B-splines are applied in solving singularly perturbed boundary problems [6]. A variant of B-spline exponential collocation method was also built up for computing numerical solutions of the singularly perturbed boundary value problem [7]. Very recently, the exponential B-spline collocation method has been applied to obtain the solutions of the one-dimensional linear convection-diffusion equation [8].

Types of spline functions are utilized to form approximate solutions for Korteweg-de Vries equation (KdVE). The standard Galerkin formulation using the smooth splines on uniform mesh is set up for 1-periodic solutions of KdVE by Baker and his coauthors [9]. The Galerkin finite element method together with the cubic B-splines is used to solve the KdVE in the paper [10]. The quadratic B-spline Galerkin method is built up to find solutions of the KdVE [11]. A collocation solution of the Korteweg-de Vries equation using septic B-splines is proposed by Soliman [12]. A variant of the Galerkin finite element method is designed for solving the KdVE by Aksan and Özdeş [13]. The collocation method using quintic B-splines is developed to solve the KdVE [14]. A numerical method is developed for the KdVE by using splitting finite difference technique and quintic B-spline functions [15]. The spline finite element method using quadratic polynomial spline for the numerical solution of the KdVE is given by G. Micula and M. Micula [16]. A cubic B-spline Taylor-Galerkin method is developed to find numerical solution of the KdVE by Canıvar et al. in [17]. A study based on cubic B-spline finite element method for the solution of the KdVE is suggested by Kapoor et al. [18]. A Bubnov-Galerkin finite element method with quintic B-spline functions taken as element shape and weight functions is presented for the solution of the KdVE [19]. The paper deals with the numerical solution of the KdVE using quartic B-splines Galerkin method as both shape and weight functions over the finite intervals [20]. A blended spline quasi-interpolation scheme is employed to solve the one-dimensional nonlinear KdVE [21]. A multilevel quartic spline quasi-interpolation scheme is fulfilled to exhibit a large number of physical phenomena for KdVE [22].

The aim of the present paper is to develop an approximate solution of KdVE by collocation method. In Section 2, the exponential B-spline collocation algorithm is defined for the KdVE. In Section 3, the three numerical experiments are constructed to demonstrate the efficiency of the proposed method and the results are documented in tables and graphs are depicted.

We will solve the KdVE: where , are positive parameters and the subscripts and denote differentiation. The boundary conditions will be chosen as

KdVE is prototypical example of exactly solvable mathematical model of waves on shallow water surface. It arises for evolution, interaction of waves, and generation in physics. Due to the term ,  (1) is called the evolution equation, the nonlinear term causes the steepness of the wave, and the dispersive term defines the spreading of the wave. It is known that the effect of the steepness and spreading results in soliton solutions for the KdVE.

2. Exponential B-Spline Collocation Method

The region is partitioned into equal subintervals by points ,  . On these points together with additional points ,   outside the domain, the exponential B-splines, , can be defined as where

forms a basis for the exponential spline space on the interval . On the four consecutive subintervals, an exponential B-spline is defined and it is second-order continuously differentiable functions.

In Table 1, the values of , , and at the points , which can be obtained from (3) are listed where denotes differentiation with respect to space variable .

The global approximation to the solution will be searched in terms of the unknown parameters and exponential B-spline function defined on the problem domain: Substitution of the points in (5), in its first and its second derivatives, respectively, yields the numerical solution in terms of parameters: where , , and .

Over the subregion , the local approximation is given by where , , and act as subregion parameters and , , and are known as the subregion shape parameters.

To be able to apply the collocation method formed with the exponential B-splines, KdV equation is space-splitted as This system includes the second-order derivatives so that smooth approximation can be done with the exponential B-splines. To integrate system (8) in time, discretize by the usual finite difference scheme and , , and by Crank-Nicolson method and we get where represent the solution at the th time level. Here, and is the time step; superscripts denote th time level, .

One linearizes terms and in (9) as to obtain the time-integrated KdVE: We approximate and in terms of the element parameters and exponential B-splines separately as

Putting the approximate solution (12) and its derivatives into (11) and evaluating the resulting equations at the points , yield the following system of equations: where

The system consists of linear equation in unknown parameters . A unique solution of the system can be obtained by imposing the boundary conditions ,  ,  ,   to have the following the equations:

Elimination of the parameters ,  ,  ,  , using (15) from system (13), gives a solvable system of linear equation including unknown parameters. Placing solution parameters in (12) when computed from the system via a variant of the Thomas algorithm gives the approximate solution over the subregion . We need the initial parameter vectors , to start the iteration process for system of (13). To do that, the following requirements help to determine the initial parameters:

3. Numerical Tests

Since the conservation laws remain constant at all time, first three numerical conservations are calculated using the rectangular rule for integrals: The error norm is calculated to show the error between analytical and numerical solutions.

(a) The soliton solution of the KdVE is where and . This solution represents propagation of single soliton, having velocity and amplitude .

The analytical solution (19) is used as the initial condition when . The Dirichlet boundary conditions and are adapted to the system to control numerical solutions at the boundaries. Parameters ,  , , , space step , and time step on the interval from time to are chosen. At time , numerical magnitude of the single soliton is calculated as , so that the numerical amplitude is obtained to be almost the same as the analytical amplitude. Figure 1 illustrates the amplitudes at some times. The distribution of the absolute values of errors can be observed in Figure 2.

error norms and invariants are presented at the selected times in Table 2, as seen from the table that error norm is found small enough and conservation invariants are excellent throughout the simulation. The method gives good results when the free parameter is used. Invariants and remain constant during the run and remains the constant up to the third decimal digits seen in Table 2.

(b) Wave generation is performed by using the Maxwellian initial condition: and boundary conditions:

and and are taken. We have verified the case in which is some critical parameter and, according to the parameters , initial condition breaks up into a number of solitons and, for values , soliton turns into exhibiting the rapidly oscillating wave packets. When together with parameters , ,  , and , the solution takes the form of the leading soliton and an oscillating tail. This case is shown in Figure 3.

For , we observe a solitary wave plus an oscillating tail (Figure 3). The actual velocity of the wave has been measured and also computed from the measured amplitude using the formula . We find that and , so the solitary waves are indeed solitons. In Table 3 invariant for Maxwellian and .

When , we find three solitons. We have measured the velocity of the largest solitary wave as and calculated the expected velocity from the observed amplitude 1.54468 as . In Figure 4, Maxwellian initial condition is depicted for ,  , ,  , and . The invariants are given in Tables 4 and 5 for , and ,  , respectively.

For , we observed nine solitons moving to the right in Figure 5. The measured velocity of leading soliton is and the corresponding velocities calculated from their measured amplitudes are . The agreement is good. The initial perturbation breaks up into a number of solitons in the course of time depending on the value of chosen. So, if we decrease the value of , then the number of solitons, amplitude, and the velocity increase.

(c) As a final test example, initial condition together with boundary conditions cause the production of a train of solitons depending on the value of for the KdVE. Computation is done on region [] up to time with parameters ,  , , and . Visual representation of the solution in Figures 6(a)6(f) is drawn that 10 solitons have been broken up from the given initial condition.

The first three conservation laws are recorded at some times in Table 6. These are favorably constant. The observed velocity of the leading soliton having the amplitude 1.96342 is which was in close agreement with that calculated from its observed amplitude of .

4. Conclusion

The numerical solution of the KdVE is obtained by the collocation method using the exponential basis functions. Performance of the present method is shown by calculating —the error norm, and conservation laws. The present method gives accurate results and simulations such as the propagation of soliton and generation of waves which are substantiated fairly. Using the exponential cubic B-splines, alternative numerical methods can be set up for finding numerical solutions of the differential equations with high accuracy when an appropriate free parameter is chosen.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.