Abstract

The shifted Jacobi-Gauss-Lobatto pseudospectral (SJGLP) method is applied to neutral functional-differential equations (NFDEs) with proportional delays. The proposed approximation is based on shifted Jacobi collocation approximation with the nodes of Gauss-Lobatto quadrature. The shifted Legendre-Gauss-Lobatto Pseudo-spectral and Chebyshev-Gauss-Lobatto Pseudo-spectral methods can be obtained as special cases of the underlying method. Moreover, the SJGLP method is extended to numerically approximate the nonlinear high-order NFDE with proportional delay. Some examples are displayed for implicit and explicit forms of NFDEs to demonstrate the computation accuracy of the proposed method. We also compare the performance of the method with variational iteration method, one-leg -method, continuous Runge-Kutta method, and reproducing kernel Hilbert space method.

1. Introduction

In the last four decades, spectral method has become increasingly popular and been successfully applied in solving all types of differential equations owing to its high order of accuracy (see, for instance, [15]). Recently there has been a growing interest in applying spectral methods for the numerical solution of fractional differential equations and delay differential equations (DDEs). Moreover, the principal difficulty in studying NFDEs with proportional delays lies in their special transcendental nature. Thus we propose an efficient technique to solve such differential equations numerically based on shifted Jacobi polynomials.

In the last two decades, some numerical approaches for treating several types of DDEs were presented in [612]. In this direction, Zhao et al. [13] studied the stability of Runge-Kutta approach and applied it for solving the NFDEs with proportional delays. Tohidi et al. [12] derived the operational matrix of Bernoulli polynomial and used it with collocation method to solve the pantograph type equation. The one-leg approach was implemented to solve nonlinear NFDEs in [14]. Meanwhile, Trif [15] proposed a direct solution technique by using the Chebyshev Tau operational matrix method for solving the pantograph type equation. More recently, Bhrawy et al. [16] proposed the Legendre pseudospectral algorithm with studying the error analysis and stability of the proposed algorithm for a class of DDEs. Sun and Zhang [17] proposed a compact difference method for solving nonlinear partial DDE. Cordero and Escalante [18] extended the application of segmented tau approach for solving a class of NFDEs, meanwhile, the history-valued NFDEs were approximated in [19]. Isik et al. [20] introduced a new Bernstein collocation method for the numerical solution of DDEs of pantograph-type with retarded case. The existence of solutions of neutral functional-differential equations with proportional delays had been discussed in [2124].

The aim of this paper is to develop a direct solution technique to approximate the linear high-order NFDEs with proportional delays using the shifted Jacobi polynomials on the interval ; we dedicate the shifted Jacobi-Gauss-Lobatto pseudospectral (SJGLP) method to find the approximate solution . Approximate semianalytical solution with high accuracy can be obtained by selecting a limited number of Gauss-Lobatto collocation points for the linear and nonlinear high-order NFDEs with proportional delays. For suitable collocation points we use the nodes of the shifted Jacobi-Gauss-Lobatto interpolation on in which the nodes are distinct and lie between and , and the two endpoints of the domain ( and ) are used as the first and last collocation points, respectively. The algorithms given in [16] can be obtained as special cases from the proposed algorithms. Finally, the accuracy of the proposed method is showed by test problems. From the results, these algorithms are extremely efficient and accurate for solving NFDEs.

The paper is arranged in the following way. In the next section, some basic properties of Jacobi polynomials which are required in the present paper are given, and in Section 3, the way of constructing the pseudospectral technique for NFDEs with proportional delays is described using the shifted Jacobi polynomials. In Section 4, we investigate the shifted Jacobi-Gauss-Lobatto pseudo-spectral (SJGLP) method for solving nonlinear high-order NFDEs with proportional delays. Some numerical results exhibiting the accuracy of the proposed algorithm are given in Section 5. Finally, a conclusion is given in Section 6.

2. Preliminaries

In this section, we briefly recall some properties of the Jacobi polynomials (, , , ), which satisfy 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

Let us denote , . By the shifted Jacobi polynomial of degree and by using (1) and (2); then we deduce that

The following inner product and norm are defined on the weighted space subject to the weight function . Moreover, forms a complete -orthogonal system.

According to (5), we get

3. Linear High-Order NFDE with Proportional Delay

In this section, we shall investigate solutions to NFDEs with proportional delays of the form with the initial conditions where and () are given functions, meanwhile, , , , and are constants with (). This class of equations plays an important role in modeling phenomena of the real world.

In the pseudo-spectral methods [2528], one needs to exactly satisfy the differential equation at specified collocation points in the domain of solution. Generally, the distribution of the collocation nodes can be freely chosen, but an accurate approximations are obtained by selecting the collocation nodes as the zeros of the orthogonal polynomials. For shifted Jacobi polynomials, two commonly used quadrature and collocation nodes, namely, (i) shifted Jacobi-Gauss nodes (in the interior of the domain) and (ii) shifted Jacobi-Gauss-Lobatto nodes (in the interior and at the two endpoints of the domain).

Now, we will present the shifted Jacobi-Gauss-Lobatto type quadratures. Let , , be the nodes of the Jacobi-Gauss-Lobatto interpolation on , and let , , be the corresponding weights. Throughout this paper, we assume that , , stands for the nodes of the shifted Jacobi-Gauss-Lobatto interpolation on the interval . Thus , , and their corresponding weights are , . Let be the set of all polynomials of degree =. One gets for any ,

Let us first introduce some basic notations that will be used in the sequel. We set The discrete inner product and norm are defined by where and are the nodes and the corresponding weights of the shifted Jacobi-Gauss-Lobatto quadrature formula on the interval , respectively. Obviously,

The shifted Jacobi-Gauss-Lobatto pseudo-spectral method for solving (28) and (29) is to seek , such that where the , , are distinct and lie between and , , and . For simplicity in presentation and without loss of generality, assume that . We now derive the collocation algorithm for solving (28) and (29). To do this, consider the solution is approximated by a truncated Jacobi expansion

We first approximate and as (32). By substituting these approximation in (28), we get

Then, by virtue of (8), we deduce that

Also, by substituting (32) in (29), we obtain

To find the solution , we first collocate (20) at the shifted Jacobi roots that yields

Next, (21), after using (7), can be written as

Thus (22) with relation (23) can be written as a linear algebraic system. To do this, let us consider

The matrix system associated with (22) and (23) becomes where the matrices , , , , , and are given explicitly in the following. If we denote that , , , , , and , then the elements , , , and are given by Moreover, the elements of the matrix corresponding to the mixed initial conditions are given by

In the case of , , , and , the linear system (25) can be solved by forming explicitly the LU factorization; that is, . The expense of calculating LU factorization is operations, and the expense of solving the linear system (25), provided that the factorization is known, is .

4. Nonlinear High-Order NFDE with Proportional Delay

In this section, we investigate the shifted Jacobi-Gauss-Lobatto pseudospectral method to numerically approximate the nonlinear high-order NFDE with proportional delay; namely, subject to where , , and are constants with (), meanwhile, is nonlinear in general. This equation is a generalized form of the proportional delay differential equations given in [14, 29, 30] and plays an important role in modeling phenomena of the real world.

The shifted Jacobi-Gauss-Lobatto pseudospectral approximation for (28) is to find such that

Now, we approximate the numerical solution as a truncated series expansion of shifted Jacobi polynomial in the form Accordingly, (30) can be written as

Next, making use of relation (8), thus the high-order derivatives of the proposed solution with proportional delays, , can be expressed explicitly in terms of the shifted Jacobi polynomials and the expansion coefficients ; consequently

Finally, to find the unknown expansion coefficients , , we implement any iteration technique to solve a system of nonlinear algebraic equations resulting from the combination of nonlinear algebraic equations resulting from (33) and linear algebraic equations resulting from (29).

5. Numerical Results

In this section, we will carry out three test examples to study the validity and effectiveness of the proposed method and also show that high accurate solutions are achieved using a few number of the Jacobi Gauss-Lobatto points. Moreover, comparisons with other methods reveal that the present method is accurate and convenient. All the numerical computations have been performed by the symbolic computation software Mathematica 8.0.

Example 1. Consider the first-order NFDE with proportional delay considered in [31] which has the exact solution .

Table 1 lists the absolute error using Jacobi pseudospectral method for three choices of at in the interval . We compare the errors obtained by the proposed method with variational iteration (VI) method [32], the one-leg method [14, 33] with , and RKHSM method [31]. The graph of analytical solution and approximate solution in long interval for and , is displayed in Figure 1 to make it easier to compare with analytical solution. Moreover, in this case the graph of the error is given in Figure 2. Consequently, we conclude that the approximate solution by Jacobi pseudospectral method agree very well with the exact solution.

Example 2. Let us consider the second-order NFDE with proportional delay which enjoys exact solution .

In Table 2, we introduce the absolute error using the proposed method at with various choices of and . The resulting graph of (35) for the presented method in the case of at and the analytic solution are shown in Figure 3.

Example 3. Consider the third-order NFDE with proportional delays where The exact solution of the problem is .

Table 3 lists the maximum absolute errors using SJGLP method in the interval at and different choices of and .

In case of Chebyshev polynomials of the second kind (), the graph of exact solution and approximate solution for is plotted in Figure 4 in the interval .

6. Conclusion

In this paper, we have demonstrated the feasibility of SJGLP for solving linear NFDEs with proportional delays. We also have discussed the resulting linear system. Moreover, we have implemented the SJGLP method to numerically approximate the nonlinear high-order NFDE with proportional delay.

All the given examples reveal that the results of SJGLP method are in excellent agreement with the analytical solutions. It is concluded from the aforementioned tables and figures that SJGLP method is an accurate and efficient method to solve NFDEs when compared with those generated by some other methods.

In the future work, we address the Jacobi pseudospectral approximation for the solution of linear and nonlinear delay partial differential equations in two and three dimensions (see, e.g., [17, 34]).