Nonlinear evolution equations are crucial for understanding the phenomena in science and technology. One such equation with periodic solutions that has applications in various fields of physics is the Korteweg-de Vries (KdV) equation. In the present work, we are concerned with the implementation of a newly defined quintic B-spline basis function in the differential quadrature method for solving the Korteweg-de Vries (KdV) equation. The results are presented using four experiments involving a single soliton and the interaction of solitons. The accuracy and efficiency of the method are presented by computing the and norms along with the conservational quantities in the forms of tables. The results show that the proposed scheme not only gives acceptable results but also consumes less time, as shown by the CPU for the elapsed time in two examples. The graphical representations of the obtained numerical solutions are compared with the exact solution to discuss the nature of solitons and their interactions for more than one soliton.

1. Introduction

While performing studies to identify the most effective design for canal boats on the Edinburgh-Glasgow canal in 1844, John Scott Russell noticed a phenomenon. He noticed that after one or two miles, the height of water in the canal steadily decreases as it travels along the watercourse. He invented the term “wave of translation” to describe this unique and wonderful phenomenon [1]. This gives rise to the soliton defined as a wave with a defined shape traveling at a constant speed through a given medium. The first wave to exhibit characteristics similar to a soliton was observed by Yuliawati et al. [2]. This was the beginning of an absolutely specific field of research to which scientists and mathematicians have contributed a lot over time. Nowadays, it is known that many equations have soliton solutions. Some of the equations having soliton solution are the KdV equation, Fisher equation, NLS equation, etc.

The Korteweg-de Vries (KdV) equation is a nonlinear partial differential equation developed by Gardner and Morikawa in 1895 with respect to plasma waves [3] and then again by Washimi and Taniuti [4] to study acoustic waves in a cold plasma. The KdV equation is used to examine the propagation of low-amplitude water waves in shallow water bodies. The solution to this equation produces solitary waves [5].

The KdV equation is given by where and are positive parameters and represents the range under consideration. The KdV equation is a third-order nonlinear evolution equation that characterizes long waves and is widely used in physical and engineering disciplines. For example, it is used in modeling ionic-acoustic solitons in plasma physics [6], in the study of a long wave in subsurface oceans, and shallow sols in geophysical fluid dynamics [7, 8]. It also describes the phenomenon in cluster physics and superdeformed nuclei [9, 10], quantum field theory, and classical general relativity [11]. The solution of the KdV equation has opened enormous possibilities for mathematical concepts.

The solutions of nonlinear equations are always of interest to researchers as they are studied using various approaches [12, 13]. In most cases, an analytical solution is not accessible, so numerical aspects are always necessary [14]. Gardner et al. [15] proved both the existence and uniqueness of solutions to the KdV equation. Liu [16] provided an elliptic Jacobi function solution for the KdV equation. In the same research paper, Hufford and Xing [17] reported a numerical solution for the linearized version of the problem as well as superconvergence for the approach used. Trogdon and Deconinck [18] presented a finite-genus solution to the equation. Grava and Klein [19] solved the KdV equation numerically and asymptotically for a small dispersion limit. Leach [20] gives the large-time evolution of the generalized Korteweg-de Vries equation. The wavelet Galerkin approach is used by Kumar and Mehra [21] to find a time-accurate solution of this equation. To solve this equation, Bahadir [22] uses an exponential finite difference technique. Aksan and Özdeş [23] use the Galerkin finite element approach with B-spline functions. This equation was solved numerically and analytically by Özer and Kutluay [24]. Ascher and McLachlan [25] provided a multisymplectic box technique for the KdV equation. Small time solutions of the equation were given by Kutluay et al. [26]. Idrees et al. [27] use the optimal homotopic asymptotic technique to solve this equation. To solve the KdV equation numerically, Gücüyenen and Tanoğlu [28] used the iterative splitting approach. Sarma [29] provided a solitary wave solution for this equation. Van de Fliert and Groesen [30] used a variational methodology, which was further investigated by Yuliawati et al. using the steepest descent approach, to study the solution of the KDV equation in the Hamiltonian condition. In addition, there have been several other successful numerical approaches to the KdV equation, including the spectral method [31], the pseudospectral method, and the collocation method [32].

This paper is divided into the following sections. In Section 2, the numerical scheme with the weight coefficient calculation procedure is discussed. Section 3 discusses numerical experiments and results, and Section 4 presents the final conclusion.

2. Numerical Scheme

Bellman et al. [33] first introduced the differential quadrature method (DQM) for the numerical solution of partial differential equations in 1972. Due to its simplicity, the approach has recently attracted much attention. The concept of the method is to use basis functions whose derivatives at the nodes are known [34]. Numerous researchers have used various test functions to construct different types of DQMs [3538].

The differential quadrature method involves estimating a derivative of a given function using linear summation of its components at different nodes of the problem domain. The domain can be simply partitioned into uniformly distributed finite nodes with distance , such that

Let be the quintic B-splines with knots at points , . The arrangement of splines forms the basis for any function on . For , the solution at each time point of the node is . The estimated derivative parameters are calculated as follows: for . The derivatives are approximated by . Once the values of are fixed as described in the next section, the weighting coefficients can be easily calculated. The method for calculating the other coefficients is as follows:

Since is calculated using can be calculated in a similar manner.

For , , the quintic B-spline basis function, describes a piecewise-defined function with the properties of continuity and division of unity.

The following equations can be used to calculate the basis functions. where are the bases formed over the region . Each quintic B-spline covers six elements, so that a total of six quintic B-splines cover one element. Table 1 summarizes the values of and the first four derivatives.

The first-order approximation of the derivative can be estimated using the following relation:

As a result, a matrix system emerges as follows:

Here, is the coefficient matrix given by representing the vector, corresponding to node point . The unknown coefficients are , , with the right-hand side given as follows:

Here, and .

The coefficients for were calculated using MATLAB 2014 to solve the given five-band matrix system. Substituting approximate values for the derived first- and third-order spatial derivatives in equation (1) yields the following system:

The SSP-RK43 scheme [39] is then used to solve this system of ordinary differential equations, which offers numerical solutions at various time levels.

3. Numerical Experiments

In this section, the accuracy of the proposed method is shown by calculating the errors defined as follows:

The lowest three invariants related to mass, momentum, and energy conservation are also calculated by the following equations:

3.1. Experimental of Evaluation of a Single Soliton

Consider the KdV equation with the exact solution given as [40] follows:

Here, so that (13) offers a single soliton with amplitude and velocity moving towards the right.

The equation is solved with the initial state taken from analytic solution (13) as follows: and the boundary conditions for . is employed in order to create a comparison with other investigations. To demonstrate the evolution of the current technique using a modified quintic B-spline DQM, Tables 2 and 3 show the error norm and invariant values, respectively. Moreover, at different values of , numerical and exact solutions are represented by Figures 1 and 2, respectively.

3.2. Experimental Evaluation of the Interaction of Two Solitons

Consider this second experiment [43] with the initial condition stated as follows: with boundary conditions where is considered in all simulations. The same parameters as in the previous study [43] are used for numerical calculations using MATLAB R2015b (32 bit) in Windows 10 version 21H2 for 64x, with and Table 4 displays the error norm and invariant value. Moreover, Figure 3 demonstrates the numerical solution at different values of .

3.3. Experimental Evaluation of Interaction of Three Solitons

The numerical solution is calculated for the interaction of three solitons having the initial condition [44] given as follows: with the zero boundary conditions for domain [−100,100] with The same parameters as in the previous study [44] at and a much smaller number of grid points than those in the previous study [44] were used in the numerical computations. Table 5 displays the error norm and invariant value, and the numerical solution at different values of is presented in Figure 4.

3.4. Experimental Evaluation of Interaction of Four Solitons

In this example, the interaction of four solitons is presented with initial condition [44] given as follows: along with zero boundary conditions for domain [−150,150] with .

The considered parameters are the same as those in the previous study [44] at and a much smaller number of grid points than that in the previous study [44] were used in the numerical computations. Table 6 displays the error norm and invariant value at different time levels with the physical behavior being shown in Figure 5 for different values of .

4. Conclusion

Due to the numerous applications of the KDV equation in the physical phenomena, in recent years, this equation has become a point of attraction for the researchers who want to find a numerical solution for this equation using various methods. In this paper, the newly defined quintic B-spline basis function is presented to solve the equation using the differential quadrature method. The advantage of this approach is involved in transforming the partial differential equation to an ordinary differential equation which can be solved by any numerical technique for the solution of the ordinary differential equation. In the present work, the SSP-RK43 is implemented to solve the obtained system of the ordinary differential equation which is a combination of the RK method of orders four and five that is a strong-stability-preserving scheme. Numerical results in terms of conservation variables and errors are calculated for the single soliton and extended till interaction of four solitons. The results are compared with numerical solutions from the literature. The obtained results agree well with those obtained earlier. The advantage of the proposed method is its ease of implementation compared to the previous methods. Thus, the present approach can be utilized to solve a variety of nonlinear physical models with extension and application to two-dimensional problems.

Data Availability

The (data type) data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there is no conflict of interest.