Abstract

Since the collocation method approximates ordinary differential equations, partial differential equations, and integral equations in physical space, it is very easy to implement and adapt to various problems, including variable coefficient and nonlinear differential equations. In this paper, we derive a Jacobi-Gauss-Lobatto collocation method (J-GL-C) to solve numerically nonlinear time-delayed Burgers-type equations. The proposed technique is implemented in two successive steps. In the first one, we apply nodes of the Jacobi-Gauss-Lobatto quadrature which depend upon the two general parameters , and the resulting equations together with the two-point boundary conditions constitute a system of ordinary differential equations (ODEs) in time. In the second step, the implicit Runge-Kutta method of fourth order is applied to solve a system of ODEs of second order in time. We present numerical results which illustrate the accuracy and flexibility of these algorithms.

1. Introduction

Spectral methods have emerged as powerful techniques used in applied mathematics and scientific computing to numerically solve linear and nonlinear differential equations [14] and integral equations [57]. Also, they have become increasingly popular for solving fractional differential equations [810]. The main idea of spectral methods is to put the solution of the problem as a sum of certain basic functions and then to choose the coefficients in the sum in order to minimize the difference between the exact solution and the approximate one as well as possible. The choice of test functions leads to the three well-known types of spectral methods, namely, the Galerkin, tau, and collocation methods [1114]. Spectral collocation method has an exponential convergence rate, which is very useful in providing highly accurate solutions to nonlinear differential equations even using a small number of grids.

The Jacobi polynomials satisfy the orthogonality condition on the interval with respect to the weight function . There are many special cases of the Jacobi polynomials such as Gegenbauer, Legendre, Zernike, ultraspherical, and Chebyshev polynomials [15]. In recent decades, the use of Jacobi polynomials for solving differential equations has gained increasing popularity due to obtaining the solution in terms of the Jacobi parameters and (see, e.g., [16, 17]).

Time-delay partial differential equations are a type of differential equations in which the derivative of the unknown function at a certain time is given in terms of the values of the function at previous times. They have a wide range of applications in science and engineering such as physical, chemical, and biological sciences [18, 19]. Also, time-delayed nonlinear partial differential equations described the propagation and transport phenomena or population dynamics.

The solution of delay differential equations has been presented by many authors, but we briefly review some of them. In [20], Ghasemi and Kajani developed a numerical approach of time-varying delay systems using Chebyshev wavelets. Hybrid functions together with Legendre polynomials are investigated in [2123] to obtain efficient numerical solution of delay systems. Sedaghat et al. [24] presented a numerical scheme based on Chebyshev polynomials to treat the delay differential equations of pantograph type. The authors in [25] proposed a Bernoulli operational matrix method for solving generalized pantograph equation. Recently, Ali et al. [26] implemented spectral Legendre approach for solving pantograph-type differential and integral equations with studying the error analysis of the method. More recently, the work of Trif [27] discussed the application of the Tau method based on operational matrix of Chebyshev polynomials for solving DDEs of pantograph-type.

Recently, the authors of [28] and [29] presented some new travelling wave solutions of Burgers equation with finite transport memory and the Korteweg-de Vries-Burgers equation, respectively. Pandey et al. [30] investigated Du Fort-Frankel finite difference approach for solving Burgers equation in finite domain. Meanwhile, in [31], Sun and Wu presented and applied an efficient numerical solution for the Burgers equation based on a difference scheme in an unbounded domain. More recently, a differential quadrature scheme for Burgers equations was proposed in [32]. The idea of commutative hypercomplex mathematics and the homotopy perturbation method were combined to investigate solutions of time-delayed Burgers equation by Rostamy and Karimi [33]. The Darboux transformation was described in [34] to determine the exact solutions to the Burgers equation. Caglar and Ucar [35] proposed the nonpolynomial cubic spline scheme to develop a numerical solution of Burgers equation. Regarding the two-dimensional Burgers equation, Wang and Zhao [36] presented a novel combination of two-dimensional Haar wavelet functions based on tensorial products for solving two-dimensional Burgers equation.

Time-delayed Burgers equation has a wide range of application in many areas of applied sciences, for example, forest fire, population growth models, and Neolithic transitions [37, 38]. The time-delayed Burgers-Fisher equation is a very important model to forest fire, population growth, Neolithic transitions, the interaction between the reaction mechanism, convection effect and diffusion transport, and so forth [37]. Fahmy et al. [39] used improved tanh function, variational iteration, and the Adomian decomposition methods to present some exact solutions and numerical solutions of the time-delayed Burgers equation. With the aid of a subsidiary high-order ODE, Zhang et al. [37] obtained the exact solutions of the generalized time-delayed Burgers-Fisher equation with positive fractional power terms. Jawad et al. [40] introduced the exact solution of time-delayed Burgers equation using complex tanh method. Moreover, ()-expansion method is applied by Kim and Sakthivel [41] to find the exact solutions of time-delayed Burgers equation.

The goal of this paper is to propose an orthogonal collocation scheme for solving three nonlinear time-delay partial differential equations based on Jacobi family in which the roots of the Jacobi orthogonal polynomials whose distributions can be tuned by two parameters and . Firstly, we apply the Jacobi-Gauss-Lobatto collocation (J-GL-C) method to the model equation for discretizing spatial derivatives, using nodes of the Jacobi-Gauss-Lobatto quadrature which depends upon the two general parameters , ; these equations together with the two-point boundary conditions constitute system of ordinary differential equations (ODEs) in time. Secondly, the Runge-Kutta method of fourth order is investigated for the time integration of the resulting system of nonlinear second-order ODEs.

Indeed, the main advantage of the proposed technique is that the Legendre and Chebyshev collocation methods and other methods can be obtained as special cases from our proposed technique. Comparison of the results obtained by various choices of Jacobi parameters and reveals that the present method is very effective and convenient for all choices of and . Finally, the accuracy of the proposed method is showed by test problems. From the results, these algorithms are extremely efficient and accurate for solving nonlinear time-delayed Burgers'-type equations.

The rest of this paper is structured as follows. In the next section, some basic properties of Jacobi polynomials, which are required in our paper, are given. Section 3 is devoted to the development of Gauss-Lobatto collocation technique for a general form of time-delay partial differential equation based on the Jacobi polynomials, and in Section 4 the proposed method is applied to obtain some numerical results for three problems of time-delay partial differential equations with known exact solutions. Finally, a brief conclusion and some remarks are provided in Section 5.

2. Preliminaries

In this section, we briefly recall some properties of the Jacobi polynomials , , ), which are satisfying the following relations:

The th derivative of Jacobi polynomials of degree can be given by

These polynomials are the only polynomials arising as eigenfunctions of the following singular Sturm-Liouville equation:

Let ; then we define the weighted space as usual. The inner product and the norm of with respect to the weight function are defined as follows:

The set of Jacobi polynomials forms a complete -orthogonal system, and

3. Jacobi Spectral Collocation Method

The main objective of this section is to develop the J-GL-C method to numerically solve the nonlinear time-delayed Burgers-type equations: where

with the boundary-initial conditions where ,  ,  , and are real numbers and is the time delay. Now, suppose that the change of variables , , which will be used to transform problem (6)–(9) into another one in the classical interval for the space variable, to directly implement collocation method based on Jacobi family defined in , where

with the boundary-initial conditions

The aim of this work is to consider the advantage of the collocation point distribution in a specified domain using the roots of the Jacobi orthogonal polynomials whose distributions can be tuned by two parameters, and . Now, we outline the main step of the J-GL-C method for solving nonlinear time-delayed Burgers-type equation. Let us expand the dependent variable in a Jacobi series, and in virtue of (4)-(5), we deduce that

To evaluate the previous integral accurately, we present the Jacobi-Gauss-Lobatto quadrature. For any , where is the set of polynomials of degree less than or equal to , () and () are the nodes and the corresponding Christoffel numbers of the Jacobi-Gauss-Lobatto quadrature formula on the interval , respectively.

In accordance with (15), the coefficients in terms of the solution at the collocation points can be approximated by

Therefore, (13) can be rewritten as

Furthermore, if we differentiate (17) once (using (2)) and evaluate it at all Jacobi-Gauss-Lobatto collocation points, it is easy to compute the first spatial partial derivative in terms of the values at these collocation points as

or it can be shortened to where

Similar steps can be applied to the second spatial partial derivative to get where

In the proposed Jacobi-Gauss-Lobatto collocation method, the residual of (6) is set to zero at of Jacobi-Gauss-Lobatto points; moreover, the boundary conditions (8) will be enforced at the two collocation points and . Therefore, adopting (19)–(22) enables one to write (6)–(8) in the form where

This provides an system of second-order ordinary differential equations in the expansion coefficients , namely, where

This means that problem (6)–(9) is transformed to the following system of ordinary differential equations (SODEs):

subject to the initial values

Finally, (27)–(28) can be rewritten into a matrix form of second-order ordinary differential equations with their vectors of initial values: where where

Remark 1. We can replace the Jacobi polynomials by the Legendre, Chebyshev of the first, second, third, and fourth kinds, or Gegenbauer polynomials and replace the nodes of Jacobi-Gauss-Lobatto quadrature by the Legendre-, Chebyshev-, or Gegenbauer-Gauss-Lobatto quadrature (cf. [4245]), just by taking the special cases , , , , , or respectively, in the resulting system of ordinary differential equations.

The SODEs (29) can be solved by using implicit Runge-Kutta method of fourth order, which is an important family of implicit and explicit iterative methods for the approximation of solution of system of ordinary differential equations. In the next section, we recall that the difference between the measured or inferred value of approximate solution and its actual value (absolute error) is given by where and are the exact solution and the approximate solution at the point , respectively. Moreover, the maximum absolute error is given by

4. Numerical Results and Discussions

This section considers three numerical examples to demonstrate the accuracy and applicability of the proposed method in the present paper. Comparison of the results obtained by various choices of Jacobi parameters and reveals that the present method is very effective and convenient for all choices of and .

We consider the following three examples.

Example 2. As a first example, we consider the nonlinear time-delayed one-dimensional Burgers equation in the form subject to the initial and boundary values
The exact solution [39] of (34) is

Maximum absolute errors of (34) subject to (35) and (36) are introduced in Table 1 using J-GL-C method with various choices of , and , and ; this table indicates that the obtained results are very accurate for a small choice of , while the absolute errors of problem (34) are presented in Table 2 for , , , and with different values of in the interval .

In Figure 1, we see that the approximate solution and the exact solution for of problem (34) coincide with values of parameters listed in their caption. Moreover, the absolute error of problem (34) where and is displayed in Figure 2. In Figure 3, we plotted the approximate solution . This assertion shows that the obtained numerical results are accurate and compare favorably with the exact solution.

Example 3. Consider the nonlinear time-delayed one-dimensional generalized Burgers equation in the form subject to the boundary conditions
and the initial conditions
The exact solution [39] of (39) is

Table 3 lists the maximum absolute errors of (39) subject to (40) and (41) in , using J-GL-C method for different values of ,, and . Moreover, in Tables 4 and 5, we evaluate the absolute errors of (39) for and , respectively, with different values of in the interval .

Figure 4 plots the approximate and the exact solutions at of (39) with the special values , , , and . Moreover, the absolute errors between the approximate and the exact solutions of (39) with , , , and are shown in Figure 5.

Example 4. Consider the nonlinear time-delayed Burgers-Fisher equation in the form subject to the boundary conditions and the initial condition
The exact solution [39] of (44) is

Maximum absolute errors of (44) subject to (45) and (46) are tabulated in Table 6 using J-GL-C method with various choices of , , and, while the absolute errors of (44) are presented in Table 7 for and with different values of in the interval .

In Figure 6, we see that the approximate solution and the exact solution of (44) coincide for different values of , and and , , , and . The approximate solution of (44) with , , , and is displayed in Figure 7, while the absolute error of (44) with , , , and is displayed in Figure 8.

5. Conclusions and Future Works

We have constructed in this paper an efficient spectral-collocation algorithm for solving nonlinear time-delayed Burgers-type equations with positive power terms subject to initial and boundary conditions. The Jacobi-Gauss-Lobatto collocation methods based upon two general parameters, and , are developed and applied to the time-delayed Burgers-type equations for reformulating the problem to a system of second-order ordinary differential equations.

In fact, Jacobi-Gauss-Lobatto collocation method is slightly more complicated to implement than other orthogonal collocation methods but is more efficient and can be applied to a wider class of problems. We presented some advantages of the presented algorithm, as well as numerical results which demonstrate its accuracy and flexibility.

While the new algorithm presented in this paper only applied to a specific class of nonlinear time-delayed equations, it is very efficient and accurate whenever applicable. Moreover, high accuracy in long computational intervals and the stability of the proposed method encourage us to apply a similar scheme for the numerical solution of coupled nonlinear partial differential equations and other applied mathematics problems (see, e.g, [4649] and references therein) in the future.