Abstract
In this paper, the radial basis function (RBF) collocation method is applied to solve nonlinear partial differential equations (PDEs). First, the given equation is reduced to time-discrete form using Ө-weighted scheme. Then, with the help of RBFs, the given PDEs are transformed into a system of algebraic equations that is easy to solve. The proposed technique is verified by solving Hunter–Saxton and Gardner equations. For the solution of these problems, three types of RBFs, including multiquadric (MQ), inverse multiquadric (IMQ), and Gaussian (GA) have been used. The obtained solution is validated with the help of absolute error, L2, and L∞ error norms. The involved shape parameter is selected by the automatic algorithm that lies in the stable region of the method. The stability of the scheme is discussed by the spectral matrix method and validated computationally.
1. Introduction
Partial differential equations (PDEs) are used to model various physical, chemical, and biological processes. Due to their considerable application, researchers are continuously looking for the robust numerical method to find their approximate solution. Consider the one-dimensional nonlinear Hunter–Saxton (HS) equation given as follows:which was modeled by Hunter and Saxton [1] to describe the wave propagation in the director field of nematic liquid crystal, where is a variable with the moving frame of reference and is the slow time variable. Many researchers have used various numerical techniques for approximate solutions of the Hunter–Saxton equation. For instance, Baxter et al. [2] studied the model and found separable as well as self-similar solutions to the problem. Behzadi [3] also studied the equation and obtained series solutions through analytical methods. Arbabi et al. [4] computed semianalytical solution by using Haars and Adomian decomposition method.
Also, we consider the Gardner (KdV + mKdV) equation which was developed by Clifford Gardner in 1968 and is of the form as follows:where are arbitrary constant. This model is used to study the propagation of negative ion-acoustic plasma waves and also explain internal waves with large amplitude [5]. Various techniques determine the exact solution of the Gardner equation. Zuntao et al. [6] found solitary wave solution using projective Riccati equation. Wazwaz [7] obtained the kink solution by applying the tanh approach. The approximate solution of the Gardner equation is computed using various numerical techniques. The propagation of one soliton solution was approximated by a conservative finite difference scheme in [8]. Restrictive Taylor’s technique and extended cubic spline approaches were also applied to find approximate solution [9].
In the present work, we use the mesh-free Radial basis functions (RBF) method to investigate the approximate solution of the above models. The RBF meshless method is the convenient and most powerful technique to solve multivariate problems. Owing to its fast convergence, ease implementation and low computational cost RBFs technique have given preference over the traditional methods. In 1971, Hardy used multiquadrics to interpolate two-dimensional data and obtain accurate results. In 1982, Franke [10] conducted a number of experiments using different techniques for scattered data approximation and concluded that MQ-RBF is the best one. Kansa (1990) extended the study by using the radial basis function method to find a numerical solution of partial differential equation [11]. Later on, most of the researchers have used the RBF method to solve different kinds of PDEs, e.g., Korteweg–de Vries equation [12], Coupled Korteweg–de Vries equations [13], Kuramoto–Sivashinsky equation [14], RLW equation [15], and Burger equation [16]. Most recently, researchers are using the local meshless method for approximate solution of various classes of differential equations. In [17, 18], Pouria Assari and his co-worker investigated the meshless local discrete collocation and discrete Galerkin method for boundary integral equations. The same author studied the solution of logarithmic singular boundary integral equations which arise from the Laplace equation using meshless Galerkin scheme based on radial basis function [19, 20]. Similarly, other numerical techniques are used for approximate solution of different class of PDEs in [21–24] and the reference there in.
The convergence of the method mostly depends on shape parameter , which needs to be defined by the user. The importance of shape parameter in RBF was discussed in detail by Tarwater [25]. Many algorithms are available in the literature for the selection of . Hardy (1971) introduced an algorithm where . Fasshauer (2002) chose optimal parameter as . Similarly, Rippa [26] introduced the other way for selection of optimal . However, all of the above tools have no generality in selecting shape parameters. In the current discussion, we used an automatic algorithm for selection of shape parameter , which choose value of in the region of stability which corresponds to the convergence of the solution. For computation, we use MATLAB 2013, using Intel core-i7 computer having 4 GB Ram. Rest of the paper is organized as follows. In Section 2, general scheme, stability of the method, and quasi-linearization are discussed, while Section 3 presents error norms and some test problems. Finally, the paper is concluded in Section 4.
2. Interpretation of the Proposed Method
To explain the basic concept of the method, consider a general one-dimensional time-dependent PDE over a spatial domain and time .
With initial and boundary conditions,where \ is any differential operator in spatial domain , is boundary operator, is given smooth function, and and are interior and boundary of the spatial domain. Applying weighted scheme, equation (3) can be written as
Now, approximate the spatial part of (3) by RBFs aswhere is the Euclidean norm between collocation points. The solution is represented by which can be written in matrix form aswhere are the unknown coefficient vector which can be determined and is matrix whose elements are in the form . Now, using (6) in (5), we have
After rearranging, we have
Similarly, the boundary condition can be approximated as follows:
The matrix form of the above equations can be written as follows:
For , the components of these matrices are as follows:where and are matrices. are column vectors. Using the above matrices in (11), the unknown coefficient can be found easily, and then solution can be obtained via (7).
2.1. Stability Analysis
To check the stability of system (11), we use a spectral radius of the amplification matrix. Let denote approximate solution while represents the exact solution, and then the error can be defined as follows:
From (7), we know ; by putting the value of for any in (11), we have
After rearranging, we get
The above difference equation gives approximate solution at any time level for all nodal points. Similarly, if is the exact solution of PDE, then it must satisfy the difference equation such that [27]
Substituting the values from (11) and (18) in (15), we havewhere is the amplification matrix. Scheme (17) is stable when the spectral radius of matrix is such that , where and are the eigenvalue of matrix . The validation of this condition is described with the help of the following example.
2.2. Quasi-linearization
Quasi-linearization technique is generalization of the Newton–Raphson method for functional equations. It converges quadratically. Consider a nonlinear order differential equation as
Using quasi-linearization technique, (20) reduces to following form:which is order linear differential equation in iterated form and denotes number of iterations. From equation (21), one can easily compute at iteration when it is known at iteration. For better understanding, we consider a second-order nonlinear differential equation of the form as follows:where is another function, and then by using (21), we linearize (22) as
Equation (23) is always a linear differential equation and can be solved recursively, where is known and one can use for obtaining .
3. Numerical Experiment
In this section, the proposed method is applied to find the approximate solution of the above models and compare the results with exact and existing numerical solutions for different time levels and collocation points with specific spatial and time step size , respectively. The performance of the method can be examined in terms of and and root mean square norms, which are defined as follows:where is the exact and is the approximate solution of the considered problems.
Example 1.
Consider the Hunter–Saxton equation [4].with initial condition and boundary conditions
The exact solution of the problem isBy comparing (26) with (3), we haveUsing the methodology discussed in Section 2, (26) reduces toApply quasi-lineariation technique to linearize the nonlinear terms asAfter simplification, we getUsing similar procedure for , we haveNow, putting the above linear terms in (29), we haveAfter using RBFs approximation for the function and their derivatives, the elements of the matrices in (11) can be obtained from the following:For comparison, the solution of the problem is calculated using three different RBFs, which are Multiquadric (MQ), Inverse multiquadric (IMQ), and Gaussian (GA). The values of corresponding shape parameter are, respectively, selected experimentally. The solution is computed over the domain for the collocation points , time , and time step . The performance of the method is examined in terms of absolute error. The computed results by three RBFs are compared with the results produced by the Haar wavelet method [4] which are presented in Table 1. From the table, it is clear that the RBFs approximation is more accurate and reliable than [4]. The table also indicates that the absolute error produced by Gaussian is better than MQ, whereas MQ is better than IMQ RBFs. In Figure 1, surface plots of exact and approximate solutions are displayed, whereas absolute errors obtained by MQ and Gaussian are shown in Figure 2. The shape parameters versus is plotted in Figure 3, which shows that the method should be stable when the value of is selected from the stable region.

(a)

(b)

(a)

(b)

(a)

(b)
Example 2.
Consider the nonlinear problem [3].with initial conditionand corresponding boundary conditionsThe exact solution to the problem is given byThe approximate solution of this problem is calculated using MQ RBFs with the value of at . The computed solutions are compared with the exact solutions at , 0.1, 1, , 0.16, 0.36, 0.48, , and . The results are shown in Table 2 along with absolute errors. The table clarifies that RBFs approximation gives reasonable accuracy while using less number of collocation points. Also, it is clear from the table that as the final time increases, the error decreases. Figure 4 presents exact, numerical, and absolute error plots for which shows a good agreement between exact and numerical solutions.

(a)

(b)

(c)

(d)
Example 3. Consider the general Gardner (2) given asFor , and in (41), we haveThe exact solution [28] isThe initial and boundary condition is extracted from the exact solution. To solve this problem, we implemented MQ, IMQ, and GA RBFs with the value of shape parameter . The solution is computed for with and collocation point . The obtained results in terms of , , and error norms along with the spectral radius of the amplification matrix are presented in Table 3. Also, the time computed in seconds is shown in the same table. The table shows that the RBF collocation method is applicable even in a large domain and gives a stable and accurate solution. In Figure 5, exact and numerical solutions are shown. In Figure 6, absolute errors obtained by MQ and IMQ are plotted which indicate that the absolute error produced by MQ is better than that by IMQ. The graph of spectral radius vs. shape parameter for MQ and GA is shown in Figure 7.

(a)

(b)

(c)

(a)

(b)

(a)

(b)
Example 4.
Considering the value of , and in (41), we haveThe exact solution in this case is given in [7] asThe initial and boundary condition is obtained from the exact solution. This problem is solved in the spatial domain at time . The results were produced by two different RBFs like MQ and IMQ with , respectively. In Table 4, we compare exact and numerical solution when time step and nodal points , where represents index of nodal points with step size . From the table, it is clear that the solution produced by the RBFs method is found in good agreement with the exact solution. The error in both cases is comparable with each other. In Figure 8, exact and numerical solutions are shown. In Figure 9, absolute errors obtained by MQ and IMQ are plotted. The figure indicates that the absolute error produced by MQ is better than IMQ. Spectral radius vs. shape parameters for MQ and IMQ RBFs is plotted in Figure 10.

(a)

(b)

(c)

(a)

(b)

(a)

(b)
4. Conclusion
A mesh-free collocation method based on radial basis functions (RBFs) is applied to approximate time-dependent PDEs. The approximate solutions of the Hunter–Saxton and Gardner equations have been computed using MQ, IMQ, and GA RBFs. The involved shape parameter was selected using an automatic algorithm. The method’s stability is discussed using the matrix method and verified computationally. Quasi-linearization technique is used for linearizing the nonlinear term involving in the models. Performance of the method is examined with the help of various error norms. The computed results are compared with other available techniques in the literature. The tabulated results clarify that the proposed method gives more accurate solution than existing techniques.
Data Availability
The data are available from the corresponding author upon request.
Ethical Approval
This article does not contain any studies with human participant or animal performed by any of the author.
Conflicts of Interest
The authors declare that there are no conflicts of interest with anyone.
Authors’ Contributions
The idea of this paper was proposed by Ihteram Ali. Ihteram Ali computed data and prepared the manuscript initially. Sadaf Shaheen performs experiments for selection of shape parameters. All authors read and approved the final manuscript.