#### Abstract

We solve three versions of nonlinear time-dependent Burgers-type equations. The Jacobi-Gauss-Lobatto points are used as collocation nodes for spatial derivatives. This approach has the advantage of obtaining the solution in terms of the Jacobi parameters *a* and *ß*. In addition, the problem is reduced to the solution of the system of ordinary differential equations (SODEs) in time. This system may be solved by any standard numerical techniques. Numerical solutions obtained by this method when compared with the exact solutions reveal that the obtained solutions produce high-accurate results. Numerical results show that the proposed method is of high accuracy and is efficient to solve the Burgers-type equation. Also the results demonstrate that the proposed method is a powerful algorithm to solve the nonlinear partial differential equations.

#### 1. Introduction

Spectral methods (see, e.g., [1–3] and the references therein) are techniques used in applied mathematics and scientific computing to numerically solve linear and nonlinear differential equations. There are three well-known versions of spectral methods, namely, Galerkin, tau, and collocation methods. Spectral collocation method is characterized by the fact of providing highly accurate solutions to nonlinear differential equations [3–6]; also it has become increasingly popular for solving fractional differential equations [7–9]. Bhrawy et al. [5] proposed a new Bernoulli matrix method for solving high-order Fredholm integro-differential equations with piecewise intervals. Saadatmandi and Dehghan [10] developed the Sinc-collocation approach for solving multipoint boundary value problems; in this approach the computation of solution of such problems is reduced to solve some algebraic equations. Bhrawy and Alofi [4] proposed the spectral-shifted Jacobi-Gauss collocation method to find an accurate solution of the Lane-Emden-type equation. Moreover, Doha et al. [11] developed the shifted Jacobi-Gauss collocation method to solve nonlinear high-order multipoint boundary value problems. To the best of our knowledge, there are no results on Jacobi-Gauss-Lobatto collocation method for solving Burgers-type equations arising in mathematical physics. This partially motivated our interest in such method.

For time-dependent partial differential equations, spectral methods have been studied in some articles for several decades. In [12], Ierley et al. investigated spectral methods to numerically solve time-dependent class of parabolic partial differential equations subject to periodic boundary conditions. Tal-Ezer [13, 14] introduced spectral methods using polynomial approximation of the evolution operator in the Chebyshev Least-Squares sense for time-dependent parabolic and hyperbolic equations, respectively. Moreover, Coutsias et al. [15] developed spectral integration method to solve some time-dependent partial differential equations. Zhang [16] applied the Fourier spectral scheme in spatial together with the Legendre spectral method to solve time-dependent partial differential equations and gave error estimates of the method. Tang and Ma [17] introduced the Legendre spectral method together with the Fourier approximation in spatial for time-dependent first-order hyperbolic equations with periodic boundary conditions. Recently, the author of [18] proposed an accurate numerical algorithm to solve the generalized Fitzhugh-Nagumo equation with time-dependent coefficients.

In [20], Bateman introduced the one-dimensional quasi-linear parabolic partial differential equation, while Burgers [21] developed it as mathematical modeling of turbulence, and it is referred as one-dimensional Burgers’ equation. Many authors gave different solutions for Burgers’ equation by using various methods. Kadalbajoo and Awasthi [22] and Gülsu [23] used a finite-difference approach method to find solutions of one-dimensional Burgers’ equation. Crank-Nicolson scheme for Burgers’ equation is developed by Kim, [24]. Nguyen and Reynen [25, 26], Gardner et al. [27, 28] and Kutluay et al. [29] used methods based on the Petrov-Galerkin, Least-Squares finite-elements, and B-spline finite element methods to solve Burgers’ equation. A method based on collocation of modified cubic B-splines over finite elements has been investigated by Mittal and Jain in [30].

In this work, we propose a J-GL-C method to numerically solve the following three nonlinear time-dependent Burgers’-type equations:(1) time-dependent 1D Burgers’ equation: (2) time-dependent 1D generalized Burger-Fisher equation: (3) time-dependent 1D generalized Burgers-Huxley equation:

In order to obtain the solution in terms of the Jacobi parameters and , the use of the Jacobi polynomials for solving differential equations has gained increasing popularity in recent years (see, [31–35]). The main concern of this paper is to extend the application of J-GL-C method to solve the three nonlinear time-dependent Burgers-type equations. It would be very useful to carry out a systematic study on J-GL-C method with general indexes . The nonlinear time-dependent Burgers’-type equation is collocated only for the space variable at points, and for suitable collocation points, we use the nodes of the Jacobi-Gauss-Lobatto interpolation which depends upon the two general parameters ; these equations together with the two-point boundary conditions constitute the system of ordinary differential equations (ODEs) in time. This system can be solved by one of the possible methods of numerical analysis such as the Euler method, Midpoint method, and the Runge-Kutta method. Finally, the accuracy of the proposed method is demonstrated by test problems.

The remainder of the paper is organized as follows. In the next section, we introduce some properties of the Jacobi polynomials. In Section 3, the way of constructing the Gauss-Lobatto collocation technique for nonlinear time-dependent Burgers-type equations is described using the Jacobi polynomials, and in Section 4 the proposed method is applied to three problems of nonlinear time-dependent Burgers-type equations. Finally, some concluding remarks are given in Section 5.

#### 2. Some Properties of Jacobi Polynomials

The standard Jacobi polynomials of degree (,??) with the parameters are satisfying the following relations: Let ; then we define the weighted space as usual, equipped with the following inner product and norm: The set the of Jacobi polynomials forms a complete -orthogonal system, and Let be the set of polynomials of degree at most , and due to the property of the standard Jacobi-Gauss quadrature, it follows that for any , where () and () are the nodes and the corresponding Christoffel numbers of the Jacobi-Gauss-quadrature formula on the interval , respectively. Now, we introduce the following discrete inner product and norm: For , one recovers the ultraspherical polynomials (symmetric Jacobi polynomials) and for , the Chebyshev of the first and second kinds and the Legendre polynomials, respectively; and for the nonsymmetric Jacobi polynomials, the two important special cases (the Chebyshev polynomials of the third and fourth kinds) are also recovered.

#### 3. Jacobi Spectral Collocation Method

Since the collocation method approximates the differential equations in physical space, it is very easy to implement and be adaptable to various problems, including variable coefficient and nonlinear differential equations (see, for instance [4, 6]). In this section, we develop the J-GL-C method to numerically solve the Burgers-type equations.

##### 3.1. (1 + 1)-Dimensional Burgers’ Equation

In 1939, Burgers has simplified the Navier-Stokes equation by dropping the pressure term to obtain his one-dimensional Burgers’ equation. This equation has many applications in applied mathematics, such as modeling of gas dynamics [36, 37], modeling of fluid dynamics, turbulence, boundary layer behavior, shock wave formation, and traffic flow [38]. In this subsection, we derive a J-GL-C method to solve numerically the (1 + 1)-dimensional Burgers’ model problem: where subject to the boundary conditions and the initial condition Now we assume that and if we make use of (6)–(8), then we find and accordingly, (14) takes the form or equivalently takes the form The spatial partial derivatives with respect to in (9) can be computed at the J-GL-C points to give where Making use of (17) and (18) enables one to rewrite (9) in the form: where Using Equation (19) and using the two-point boundary conditions (11) generate a system of ODEs in time: where Then the problem (9)–(12) transforms to the SODEs: which may be written in the following matrix form: where The SODEs (24) in time may be solved using any standard technique, like the implicit Runge-Kutta method.

##### 3.2. (1 + 1)-Dimensional Burger-Fisher Equation

The Burger-Fisher equation is a combined form of Fisher and Burgers’ equations. The Fisher equation was firstly introduced by Fisher in [39] to describe the propagation of a mutant gene. This equation has a wide range of applications in a large number of the fields of chemical kinetics [40], logistic population growth [41], flame propagation [42], population in one-dimensional habitual [43], neutron population in a nuclear reaction [44], neurophysiology [45], autocatalytic chemical reactions [19], branching the Brownian motion processes [40], and nuclear reactor theory [46]. Moreover, the Burger-Fisher equation has a wide range of applications in various fields of financial mathematics, applied mathematics and physics applications, gas dynamic, and traffic flow. The Burger-Fisher equation can be written in the following form: where subject to the boundary conditions and the initial condition The same procedure of Section 3.1 can be used to reduce (26)–(29) to the system of nonlinear differential equations in the unknown expansion coefficients of the sought-for semianalytical solution. This system is solved by using the implicit Runge-Kutta method.

##### 3.3. (1 + 1)-Dimensional Generalized Burgers-Huxley Equation

The Huxley equation is a nonlinear partial differential equation of second order of the form It is an evolution equation that describes the nerve propagation [47] in biology from which molecular CB properties can be calculated. It also gives a phenomenological description of the behavior of the myosin heads II. In addition to this nonlinear evolution equation, combined forms of this equation and Burgers’ equation will be investigated. It is interesting to point out that this equation includes the convection term and the dissipation term in addition to other terms. In this subsection, we derive J-GL-C method to solve numerically the ()-dimensional generalized Burgers-Huxley equation: where subject to the boundary conditions: and the initial condition: The same procedure of Sections 3.1 and 3.2 is used to solve numerically (30)–(34).

#### 4. Numerical Results

To illustrate the effectiveness of the proposed method in the present paper, three test examples are carried out in this section. The comparison of the results obtained by various choices of the 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 1. *Consider the nonlinear time-dependent one-dimensional generalized Burgers-Huxley equation:
subject to the boundary conditions:
and the initial condition:
The exact solution of (35) is

The difference between the measured value of the approximate solution and its actual value (absolute error), given by where and , is the exact solution and the approximate solution at the point , respectively.

In the cases of , and , Table 1 lists the comparison of absolute errors of problem (35) subject to (36) and (37) using the J-GL-C method for different choices of and with references [19], in the interval . Moreover in Tables 2 and 3, the absolute errors of this problem with and various choices of for , in both intervals and , are given, respectively. In Table 4, maximum absolute errors with various choices of for both values of are given where , in both intervals and . Moreover, the absolute errors of problem (35) are shown in Figures 1, 2, and 3 for , and with values of parameters listed in their captions, respectively, while in Figure 4, we plotted the approximate solution of this problem where , , , and for . These figures demonstrate the good accuracy of this algorithm for all choices of , , and and moreover in any interval.

*Example 2. *Consider the nonlinear time-dependent one dimensional Burgers-type equation:
subject to the boundary conditions
and the initial condition
If we apply the generalized tanh method [48], then we find that the analytical solution of (40) is

In Table 5, the maximum absolute errors of (40) subject to (41) and (42) are introduced using the J-GL-C method, with various choices of in both intervals and . Absolute errors between exact and numerical solutions of this problem are introduced in Table 6 using the J-GL-C method for with , and , and in both intervals and . In Figures 5, 6, and 7, we displayed the absolute errors of problem (40) for different numbers of collation points and different choices of and in interval with values of parameters being listed in their captions. Moreover, in Figure 8, we see that, the approximate solution and the exact solution are almost coincided for different values of (0, 0.5 and 0.9) of problem (40) where , , , , and in interval .

*Example 3. *Consider the nonlinear time-dependent one-dimensional generalized Burger-Fisher-type equation:
subject to the boundary conditions
and the initial condition
The exact solution of (44) is

In Table 7, we listed a comparison of absolute errors of problem (44) subject to (45) and (46) using the J-GL-C method with [19]. Absolute errors between exact and numerical solutions of (44) subject to (45) and (46) are introduced in Table 8 using the J-GL-C method for with , respectively, and . In Figures 9 and 10, we displayed the absolute errors of problem (44) where at and ( and ) in interval , respectively. Moreover, in Figures 11 and 12, we see that, in interval , the approximate solution and the exact solution are almost coincided for different values of (0, 0.5 and 0.9) of problem (44) where at and ( and ), respectively. This asserts that the obtained numerical results are accurate and can be compared favorably with the analytical solution.

#### 5. Conclusion

An efficient and accurate numerical scheme based on the J-GL-C spectral method is proposed to solve nonlinear time-dependent Burgers-type equations. The problem is reduced to the solution of a SODEs in the expansion coefficient of the solution. Numerical examples were given to demonstrate the validity and applicability of the method. The results show that the J-GL-C method is simple and accurate. In fact by selecting few collocation points, excellent numerical results are obtained.