Skip to main content

Theory and Modern Applications

A Legendre-Gauss collocation method for neutral functional-differential equations with proportional delays

Abstract

In this paper, we present a unified framework for analyzing the spectral collocation method for neutral functional-differential equations with proportional delays using shifted Legendre polynomials. The proposed collocation technique is based on shifted Legendre-Gauss quadrature nodes as collocation knots. Error analysis and stability of the proposed algorithm are theoretically investigated under several mild conditions. The accuracy of the proposed method has been compared with a variational iteration method, a one-leg θ-method, a particular Runge-Kutta method, and a reproducing kernel Hilbert space method. Numerical results show that the proposed methods are of high accuracy and are efficient for solving such an equation. Also, the results demonstrate that the proposed method is a powerful algorithm for solving other delay differential equations.

1 Introduction

One of the fundamental classes of delay differential equations (DDEs) is that of neutral functional-differential equations (NFDEs) with proportional delays. Such equations arise in many areas of science and engineering and play an important role in the modeling of real-life phenomena in other fields of science (cf. [15]). For these reasons, NFDEs have received much attention in the last decades. The principal difficulty in studying DDEs lies in their special transcendental nature. Obviously, most of NFDEs cannot be solved by the well-known exact methods. Therefore, it is highly desirable to design accurate numerical approaches to approximate the solutions of NFDEs.

The theory of DDEs with multiple delays has been analyzed by many authors, and we briefly review some of them. In [6] Jackiewicz and Lo proposed and developed the Adams predictor-corrector method for the numerical solution of NFDEs. In [7], the authors investigated the Adomian decomposition method for solving a special class of DDEs and established the convergence of this approach.

Some analytical and numerical solutions of a family of DDEs were presented in [8]. The authors of [9] investigated the Runge-Kutta (RK) method for NFDEs with different proportional delays and proved the stability of RK for this equation. Wang and Li [10] proposed the one-leg-methods for solving nonlinear neutral functional differential equations. We also refer to the articles [1113] and the references therein for applying the waveform relaxation method to solve neutral type functional-differential systems.

Over the years, it was found that the spectral methods were a valid method to obtain approximations for differential equations. The solution of a DDE globally depends on its history due to the delay variable, so a global spectral method could be a good candidate for numerical DDEs. In this direction, Ishiwata and Muroya [14] proposed the rational approximation algorithm based on Legendre polynomials and Ishiwata et al. [15] developed the collocation approximation for solving DDEs. Meanwhile, in [16] the authors discussed the tau approach for solving a class of NFDEs, and the solution was expanded by a shifted Legendre polynomial, and the unknown expansion coefficients were obtained by a segmented Lanczos-tau formulation. The authors of [17] proposed a Bernoulli operational matrix method for solving a generalized pantograph equation. Wang and Wang [18] proposed and analyzed the Legendre collocation algorithm for nonlinear DDEs with variable delay. The theory and the numerical results given in [18] and [19] explained that the proposed collocation approximations converge exponentially when the data in the given DDEs are smooth. Recently, Ali et al. [20] implemented a spectral Legendre approach for solving pantograph-type differential and integral equations and studied the error analysis of the method. More recently, the work of Trif [21] discussed the application of the tau method based on the operational matrix of Chebyshev polynomials for solving DDEs of pantograph type.

Our fundamental goal of this paper is to develop a suitable way to approximate the neutral functional-differential equations with proportional delays on the interval [0,T] by using the shifted Legendre polynomials. In other words, we propose the spectral shifted Legendre-Gauss collocation (SLC) method to find the solution u N (x). For suitable collocation points, we use the (Nm+1) nodes of the shifted Legendre-Gauss interpolation on the interval [0,T]. These equations together with m initial conditions generate (N+1) algebraic equations which can be solved. It should be noted that the basic requirement for using any spectral base (e.g., Legendre polynomials) is the smoothness of the solution of the considered problem. This may be guaranteed by the smoothness of known functions in the neutral equation. By these assumptions (i.e., being smooth), exponential convergence behavior of spectral approximations is exhibited in any test problem.

The paper is organized as follows. Section 2 is devoted to preliminaries needed hereafter. In Section 3, we design the shifted Legendre-Gauss collocation technique for NFDEs with proportional delays. The error analysis and stability of the solution are provided in Section 4 under several mild conditions. In Section 5, we present some numerical results demonstrating the efficiency of the suggested numerical algorithm. Concluding remarks are given in Section 6.

2 Preliminaries

Let P i (x) be the standard Legendre polynomial of degree i, then we have that

P i (x)= ( 1 ) i P i (x), P i (1)= ( 1 ) i , P i (1)=1.
(1)

If α>1, β>1 and P k ( α , β ) (x) is the k th degree of the Jacobi polynomial, then for an integer m, the m th-order derivative of Legendre polynomials is

D m P k (x)= 2 m Γ ( m + k + 1 ) Γ ( k + 1 ) P k m ( m , m ) (x).
(2)

Let w ( α , β ) (x)= ( 1 x ) α ( 1 + x ) β , then we define the weighted space Ł w ( α , β ) 2 (1,1) as usual, equipped with the following inner product and norm:

( u , v ) w ( α , β ) = 1 1 u(x)v(x) w ( α , β ) (x)dx, v w ( α , β ) = ( v , v ) w ( α , β ) 1 2 .

The set of Legendre polynomials forms a complete Ł 2 (1,1)-orthogonal system, and

P i ( x ) 2 = h i = 2 2 i + 1 .
(3)

Let T>0, then the shifted Legendre polynomial of degree k on the interval (0,T) is defined by L T , k (x)= P k ( 2 x T 1). Thus L T , k (x) can be obtained by

(k+1) L T , k + 1 (x)=(2k+1) ( 2 x T 1 ) L T , k (x)k L T , k 1 (x),k=1,2,.

With the aid of the standard Legendre polynomials, we get

L T , k (0)= ( 1 ) k , D q L T , k (0)= ( 1 ) k q ( k + q ) ! T q ( k q ) ! q ! , D q L T , k (T)= ( k + q ) ! T q ( k q ) ! q ! .
(4)

Next, we define the space Ł 2 (0,T) in the usual way, with the following inner product and norm:

(u,v)= 0 T u(x)v(x)dx,u= ( u , u ) 1 / 2 .
(5)

The set of shifted Legendre polynomials is a complete Ł 2 (0,T)-orthogonal system. Moreover, due to (3), we have

L T , k 2 = ( T 2 ) h k = h T , k .
(6)

3 Shifted Legendre-Gauss collocation method

In this section, we develop a spectral Legendre-Gauss collocation approach to analyze the following NFDEs with proportional delays:

( u ( x ) + a ( x ) u ( γ m x ) ) ( m ) =βu(x)+ n = 0 m 1 b n (x) u ( n ) ( γ n x)+f(x),x0,
(7)

with the initial conditions

u ( n ) (0)= λ n ,n=0,1,,m1.
(8)

Here, a(x) and b n (x) (n=0,1,,m1) are given analytical functions, and γ n , β, λ n are constants with 0< γ n <1 (n=0,1,,m).

Now we introduce the Legendre-Gauss quadratures in two different intervals (1,1) and (0,T) that will be used in the sequel. Denote by x N , j ( x T , N , j ), 0jN, and ϖ N , j ( ϖ T , N , j ), 0iN, the nodes and Christoffel numbers of the standard (shifted) Legendre-Gauss-Lobatto quadratures on the intervals (1,1), (0,T), respectively. Then one can clearly deduce that [22]

x T , N , j = T 2 ( x N , j + 1 ) , 0 j N , ϖ T , N , j = ( T 2 ) ϖ N , j , 0 j N ,

and if S N (0,T) denotes the set of all polynomials of degree at most N, then it follows that for any ϕ S 2 N + 1 (0,T) (cf. [23]),

0 T ϕ ( x ) d x = ( T 2 ) 1 1 ϕ ( T 2 ( x + 1 ) ) d x = ( T 2 ) j = 0 N ϖ N , j ϕ ( T 2 ( x N , j + 1 ) ) = j = 0 N ϖ T , N , j ϕ ( x T , N , j ) .
(9)

We define the discrete inner product and norm as follows:

( u , v ) N = k = 0 N u( x T , N , k )v( x T , N , k ) ϖ N , k , u N = ( u , u ) N .
(10)

Obviously,

( u , v ) N =(u,v)uv S 2 N 1 .
(11)

Thus, for any u S N (0,T), the norms u N and u coincide. We set

S N (0,T)=span { L T , 0 ( x ) , L T , 1 ( x ) , , L T , N ( x ) } .
(12)

The following relation for the q th derivative of shifted Legendre polynomials L T , k (x) will be needed for our main results [24]:

L T , k ( q ) (x)= i = 0 ( k + i ) even k q C q (k,i) L T , i (x),
(13)

where

C q (k,i)= 2 q 1 ( 2 i + 1 ) Γ ( 1 2 ( q + k i ) ) Γ ( 1 2 ( q + k + i + 1 ) ) T q Γ ( q ) Γ ( 1 2 ( 2 q + k i ) ) Γ ( 1 2 ( 3 q + k + i ) ) .
(14)

In virtue of (13), the high-order derivative of shifted Legendre polynomials with proportional delay can be written as

L T , k ( q ) ( γ m x)= i = 0 ( k + i ) even k q γ m q C q (k,i) L T , i ( γ m x),
(15)

where C q (k,i) is defined in (14).

The shifted Legendre-Gauss collocation method for solving (7) and (8) is to seek u N (x) S N (0,T) such that

(16)

Now, we derive an efficient algorithm for tackling (7) and (8). Let us expand the numerical approximation in terms of shifted Legendre polynomials

u N (x)= h = 0 N a h L T , h (x),a= ( a 0 , a 1 , , a N ) T .
(17)

We first approximate u(x) and u n (x) as Eq. (17). By substituting these approximations in Eq. (7), we get

( h = 0 N a h L T , h ( x ) + a ( x ) h = 0 N a h L T , h ( γ m x ) ) ( m ) = β h = 0 N a h L T , h ( x ) + n = 0 m 1 h = 0 N b n ( x ) a h D ( n ) L T , h ( γ n x ) + f ( x ) .
(18)

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

( h = 0 N a h L T , h ( x ) + a ( x ) h = 0 N a h L T , h ( γ m x ) ) ( m ) = β h = 0 N a h L T , h ( x ) + n = 0 m 1 h = 0 N f = 0 h q ( γ n ) n b n ( x ) a h C q ( h , f ) L T , f ( γ n x ) + f ( x ) .
(19)

Also, by substituting Eq. (17) in Eq. (8), we obtain

h = 0 N a h D ( n ) L T , h (0)= λ n ,n=0,1,,m1.
(20)

To find the solution u N (x), we collocate Eq. (19). Using (13) and (15), at the (Nm+1) shifted Legendre roots, yields

( h = 0 N a h L T , h ( x T , N , k ) + a ( x T , N , k ) h = 0 N a h L T , h ( γ m x T , N , k ) ) ( m ) = β h = 0 N a h L T , h ( x T , N , k ) + n = 0 m 1 h = 0 N f = 0 h q ( γ n ) n b n ( x T , N , k ) a h C q ( h , f ) L T , f ( γ n x T , N , k ) + f ( x T , N , k ) .
(21)

Next, Eq. (20), after using (4), can be written as

h = 0 N ( 1 ) h n a h ( h + n ) ! T n ( h n ) ! n ! = λ n ,n=0,1,,m1.
(22)

Thus Eq. (21) with relation (22) generate (N+1) of a set of algebraic equations which can be solved for the unknown coefficients a j , j=0,1,2,,N, by using any standard solver technique.

4 Error analysis and stability of the solution

This section is divided into two subsections. The first subsection is related to presenting a bound for the error of the proposed method; meanwhile, in the second subsection, the stability of the numerical solution is investigated briefly.

4.1 Error bound of the method

In this part, the error bound of the method will be provided under several mild conditions such as solution boundedness of the main neutral differential equation. However, some definitions and lemmas should be provided for clarifying the main theorem of this subsection.

Definition 4.1 A function, ξ:[1,1] belongs to the Sobolev space W m , p , if its j th weak derivative, ξ ( j ) , lies in L p [1,1] for all 0jm with the norm

ξ W m , p = j = 0 m ξ ( j ) L p ,

where ξ L p denotes the usual Lebesgue norm,

ξ L p = ( 1 1 ξ ( x ) p d x ) 1 p ,

and ξ(x) stands for any finite dimensional norm in n .

Lemma 4.1 Given a function ξ W m , , x[1,1], there exists a polynomial u N (x) of degree less than or equal to N such that

ξ ( x ) u N ( x ) L C C 0 N m ,x[1,1],

where C is a constant independent of N, m is the order of smoothness of ξ, and C 0 = ξ W m , . Here, u N (x) with the smallest norm ξ ( x ) u N ( x ) L is called the Nth order best polynomial approximation of ξ(x) in the norm of L .

Note that if ξ C , then m=. This implies that u N (x) converges to ξ at a spectral rate, i.e., it is faster than any given polynomial rate. Moreover, we denote the set of continuous functions in a linear space on [0,T] by C[0,T] and the uniform norm in C[0,T] by

f = max 0 x t | f ( x ) | ,fC[0,T].

Again, we consider Eq. (7) with the initial conditions (8). For clarity of presentation, we assume that m=1. A similar procedure can be applied for higher values of m. Therefore, (7)-(8) can be written as follows:

( u ( x ) + a ( x ) u ( γ 1 x ) ) =βu(x)+ b 0 (x)u( γ 0 x)+f(x),u(0)= λ 0 .

Integrating the aforementioned equation in the interval [0,x] yields

u(x)+a(x)u( γ 1 x) ( λ 0 + a ( 0 ) λ 0 ) = 0 x ( β u ( ε ) + b 0 ( ε ) u ( γ 0 ε ) + f ( ε ) ) dε.

Accordingly, we can rewrite the above-obtained equation in the following form:

u(x)+a(x)u( γ 1 x)=g(x)+β 0 x u(ε)dε+ 0 γ 0 x b ˆ 0 (θ)u(θ)dθ,
(23)

where g(x)=( λ 0 +a(0) λ 0 )+ 0 x f(ε)dε and b ˆ 0 (θ)= 1 γ 0 b 0 ( θ γ 0 ).

In the following theorem, we show that the approximate solution which was expressed in terms of Legendre polynomials converges to the exact solution under several mild conditions.

Theorem 4.2 Consider Eq. (23) again. Assume u(x) and u N (x) are the exact and approximate solutions of (23). Also, let the approximations of a(x), g(x), and b ˆ 0 (x) be a N (x), g N (x), and b ˆ 0 , N (x), respectively. Moreover, suppose that a ( x ) A, u N ( x ) U N , b ˆ 0 ( x ) B, where x[0,T]. Then lim N u N (x)=u(x) under the condition A+|β|T+TB1.

Proof Since the known functions a(x), g(x), and b ˆ 0 (x) are approximated in terms of shifted Legendre polynomials, then the obtained solution is an approximated polynomial in the form of u N (x). Our aim is to find an upper bound for the associated error between u(x) and u N (x) for (23). We rewrite (23) in the following form:

u(x)=a(x)u( γ 1 x)+g(x)+β 0 x u(ε)dε+ 0 γ 0 x b ˆ 0 (θ)u(θ)dθ.

According to the assumptions, one reaches the following equation:

u N (x)= a N (x) u N ( γ 1 x)+ g N (x)+β 0 x u N (ε)dε+ 0 γ 0 x b ˆ 0 , N (θ) u N (θ)dθ.

Subtraction of the above equations yields

u ( x ) u N ( x ) = a ( x ) u ( γ 1 x ) + a N ( x ) u N ( γ 1 x ) + g ( x ) g N ( x ) + β 0 x u ( t ) d t β 0 x u N ( ε ) d ε + 0 γ 0 x b ˆ 0 ( θ ) u ( θ ) d θ 0 γ 0 x b ˆ 0 , N ( θ ) u N ( θ ) d θ .

According to the trigonometric inequality, we have

u ( x ) u N ( x ) a ( x ) u ( γ 1 x ) + a N ( x ) u N ( γ 1 x ) + g ( x ) g N ( x ) + β 0 x u ( ε ) d ε β 0 x u N ( ε ) d ε + 0 γ 0 x b ˆ 0 ( θ ) u ( θ ) d θ 0 γ 0 x b ˆ 0 , N ( θ ) u N ( θ ) d θ .

Since 0 γ 0 1 and x[0,T], the above inequality reduces to a simple form as follows:

u ( x ) u N ( x ) a ( x ) ( u ( γ 1 x ) u N ( γ 1 x ) ) + ( a ( x ) a N ( x ) ) u N ( γ 1 x ) + g ( x ) g N ( x ) + T β ( u ( x ) u N ( x ) ) + T b ˆ 0 ( x ) u ( x ) b ˆ 0 , N ( x ) u N ( x ) .

In other words,

u ( x ) u N ( x ) a ( x ) ( u ( γ 1 x ) u N ( γ 1 x ) ) + ( a ( x ) a N ( x ) ) u N ( γ 1 x ) + g ( x ) g N ( x ) + T β ( u ( x ) u N ( x ) ) + T b ˆ 0 ( x ) ( u ( x ) u N ( x ) ) + T ( b ˆ 0 ( x ) b ˆ 0 , N ( x ) ) u N ( x ) .

Since 0 γ 1 1, then lim N u ( x ) u N ( x ) = lim N u ( γ 1 x ) u N ( γ 1 x ) . Also, imposing the assumptions a ( x ) A, u N ( x ) U N , b ˆ 0 ( x ) B to the above inequality yields

u ( x ) u N ( x ) A u ( x ) u N ( x ) + U N a ( x ) a N ( x ) + g ( x ) g N ( x ) + | β | T u ( x ) u N ( x ) + T B u ( x ) u N ( x ) + T U N b ˆ 0 ( x ) b ˆ 0 , N ( x ) .

For clarity of presentation, we rewrite the above inequality in the following form:

u ( x ) u N ( x ) U N a ( x ) a N ( x ) + g ( x ) g N ( x ) + T U N b ˆ 0 ( x ) b ˆ 0 , N ( x ) 1 A | β | T T B .

If A+|β|T+TB1, then lim N u ( x ) u N ( x ) =0 (or lim N u N (x)=u(x)). This conclusion is made because of the smoothness of a(x), g(x), and b ˆ 0 (x). These assumptions imply that lim N a ( x ) a N ( x ) =0, lim N g ( x ) g N ( x ) =0, and lim N b ˆ 0 ( x ) b ˆ 0 , N ( x ) =0 (see Lemma 4.1). This completes the proof. □

4.2 Stability of the solution

Theorem 4.3 Let us consider u(x)C[0,T] together with its Lagrange interpolation polynomial I N u(x) which is based on the shifted Gaussian points; then

u I N u (1+ Λ N ) u p ,

where p is the best approximation of Nth order of u and

Λ N = max 1 x 1 λ N (x), λ N (x)= j = 0 N | F j ( x ) |

are the Lebesgue constant and the Lebesgue function, respectively. Also, F j (x) stands for the jth Lagrange polynomial which is constructed by using shifted Gaussian points.

Proof Since u(x)C[0,T], the best approximating polynomial for u, say p , exists and we immediately have

u I N u u p + p I N u .

However, both p and I N u are N th order polynomials

p I N u Λ N u p ,

where

Λ N = max 1 x 1 λ N (x), λ N (x)= j = 0 N | F j ( x ) | .

 □

The Lebesgue function and the Lebesgue constant both depend only on the choice of interpolation nodes. The above theorem indicates that a good set of grid points is one which minimizes the Lebesgue constant for interpolation. We know that on equally spaced interpolation points, the Lebesgue constant blows up exponentially with the increasing of N (as made apparent by the classical Runge phenomenon). On the contrary, the best possible Lebesgue constant among all distributions of N prohibits only a logarithmic growth with N. Fortunately, the main families of Gaussian points (Gauss, Gauss-Radau, Gauss-Lobatto) for the Legendre or Chebyshev weights have Lebesgue constants that grow logarithmically or sub-linearly with N.

Errors in the experimental measure of the data and computational issues such as rounding errors can impact on the accuracy of the interpolation. Assume that u ϵ (x) represents a perturbed version of u(x); i.e.,

u u ϵ ϵ,

the difference between the two polynomial representations is then

I N u I N u ϵ ϵ Λ N .

Now we can deduce that for large N, Gaussian interpolation points with respect to equally spaced points have better stability, and for equally spaced points, an interpolation polynomial can become unstable for large N.

5 Numerical results

To illustrate the effectiveness of the proposed method in the present paper, several test examples are carried out in this section. Comparisons of the results obtained by the present method with those obtained by other methods reveal that the present method is very effective and convenient. We consider the following examples.

Example 1 Consider the first-order neutral functional-differential equation with proportional delay used in [25]

{ u ( x ) = u ( x ) + 0.1 u ( 0.8 x ) + 0.5 u ( 0.8 x ) + ( 0.32 x 0.5 ) e 0.8 x + e x , x 0 , u ( 0 ) = 0 ,
(24)

which has the exact solution x e x .

We apply the proposed shifted Legendre-Gauss collocation method at t=1 to (24). In Table 1, we compare our results with those obtained by a reproducing kernel Hilbert space method (RKHSM) [25], a variational iteration (VI) method [26], a one-leg θ-method [10, 27], and a Runge-Kutta-type (RKT) method [28]. Numerical results of this problem show that the SLC method is more accurate than the presented methods in [10, 2528]. The graph of the analytical solution and the approximate solution at t=4 for N=15 is displayed in Figure 1 to make it easer to compare with the analytical solution.

Figure 1
figure 1

Graph of the exact solution and the approximate solution at t=4 and N=15 for Example 1.

Table 1 Absolute errors using SLC method at N=17 for Example 1

The logarithmic graph of absolute coefficients of shifted Legendre polynomials of a neutral functional-differential equation with proportional delay is shown in Figure 2, which shows that the method has exponential convergence rate. Absolute errors obtained by the SLC method with N=17 are plotted in Figure 3.

Figure 2
figure 2

Logarithmic graph of absolute coefficients | a j | of shifted Legendre polynomials of Example 1.

Figure 3
figure 3

Graph of absolute errors at N=17 for Example 1.

Example 2 Consider the following first-order neutral functional-differential equation with proportional delay [10, 26, 27, 29, 30]:

{ u ( x ) = u ( x ) + 1 2 u ( x 2 ) + 1 2 u ( x 2 ) , x [ 0 , 1 ] , u ( 0 ) = 1 ,
(25)

the analytic solution of the aforementioned problem is u(x)= e x .

In Table 2, we compare the errors of the present method with a two-stage order-one Runge-Kutta (RK) method [29], a one-leg θ-method [10, 27] with θ=0.8, a variational iteration (VI) method [26], and a shifted Chebyshev operational matrix (SCOM) [30]. The graph of the analytical solution and the approximate solution at t=5 for N=18 is displayed in Figure 4 to make it easer to compare with analytical solution.

Figure 4
figure 4

Graph of the exact solution and the approximate solution at t=5 and N=18 for Example 2.

Table 2 Absolute errors using SLC method at N=14 for Example 2

Example 3 Consider the following second-order neutral functional-differential equation with proportional delays [10, 26, 27, 29, 30]:

{ u ( x ) = 3 4 u ( x ) + u ( x 2 ) + u ( x 2 ) + 1 2 u ( x 2 ) x 2 x + 1 , x [ 0 , 1 ] , u ( 0 ) = u ( 0 ) = 0 ,
(26)

the exact solution of which is u(x)= x 2 .

In Table 3, we compare the errors of the present method with a two-stage order-one Runge-Kutta (RK) method [29], a one-leg θ-method [10, 27] with θ=0.8, a variational iteration (VI) method [26], and a shifted Chebyshev operational matrix (SCOM) [30]. The graph of the analytical solution and the approximate solution at t=40 for N=8 is displayed in Figure 5 to make it easer to compare with analytical solution.

Figure 5
figure 5

Graph of the exact solution and the approximate solution at t=40 and N=8 for Example 3.

Table 3 Absolute errors using SLC method at N=10 for Example 3

Example 4

Consider the following third-order neutral functional-differential equation with proportional delays:

{ u ( x ) = u ( x ) + u ( x 2 ) + u ( x 3 ) + 1 2 u ( x 4 ) + f ( x ) , x [ 0 , 100 ] , u ( 0 ) = 0 , u ( 0 ) = π 100 , u ( 0 ) = π 2 10 , 000 ,
(27)

and the function f(x) is chosen such that the analytical solution u(x)=log(1+sin( π x 100 )).

In Table 4, we list the absolute errors using SLC method in the two intervals [0,50] and [0,100], at N=20 and N=24 respectively.

Table 4 Absolute errors using SLC method for Example 4

From Table 4, we can see that the approximate solution by the SLC method agrees very well with the exact solution. Figures 6 and 7 display the spectral solution at N=24 and the exact one in two long intervals, [0,50] and [0,100], respectively.

Figure 6
figure 6

Comparison of the approximate solutions with the exact solution at t=50 and N=24 for Example 4.

Figure 7
figure 7

Comparison of the approximate solutions with the exact solution at t=100 and N=24 for Example 4.

6 Conclusions and future works

In this paper, we have proposed a new collocation method based on the shifted Legendre polynomials to numerically solve the neutral functional-differential equations with studying the error analysis of the proposed method. The comparison of the obtained results with those based on other methods shows that the present method is a powerful mathematical tool for finding the numerical solutions of such equations. High accuracy in long computational intervals and the stability of the approximated solutions encourage us to apply a similar method for solving other applied mathematics problems (see, for instance, [31]) in the future.

References

  1. Ajello WG, Freedman HI, Wu J: A model of stage structured population growth with density depended time delay. SIAM J. Appl. Math. 1992, 52: 855-869. 10.1137/0152048

    Article  MathSciNet  Google Scholar 

  2. Fox L, Mayers DF, Ockendon JA, Tayler AB: On a functional differential equation. J. Inst. Math. Appl. 1971, 8: 271-307. 10.1093/imamat/8.3.271

    Article  MathSciNet  Google Scholar 

  3. Ockendon JR, Tayler AB: The dynamics of a current collection system for an electric locomotive. Proc. R. Soc. Lond. A 1971, 322: 447-468. 10.1098/rspa.1971.0078

    Article  Google Scholar 

  4. Hairer E, Norsett SP, Wanner G: Solving Ordinary Differential Equation I: Nonstiff Problems. 2nd edition. Springer, Berlin; 1993.

    Google Scholar 

  5. Ghil M, Zaliapin I, Thompson S: A differential delay model of ENSO variability: parametric instability and the distribution of extremes. Nonlinear Process. Geophys. 2008, 15: 417-433. 10.5194/npg-15-417-2008

    Article  Google Scholar 

  6. Jackiewicz Z, Lo E: The numerical solution of neutral functional differential equations by Adams predictor-corrector methods. Appl. Numer. Math. 1991, 8: 477-491. 10.1016/0168-9274(91)90110-L

    Article  MathSciNet  Google Scholar 

  7. Dehghan M, Shakeri F: The use of the decomposition procedure of Adomian for solving a delay differential equation arising in electrodynamics. Phys. Scr. 2008., 78: Article ID 11

    Google Scholar 

  8. Liu MZ, Li DS: Properties of analytic solution and numerical solution of multi-pantograph equation. Appl. Math. Comput. 2004, 155: 853-871. 10.1016/j.amc.2003.07.017

    Article  MathSciNet  Google Scholar 

  9. Zhao JJ, Xu Y, Wang HX, Liu MZ: Stability of a class of Runge-Kutta methods for a family of pantograph equations of neutral type. Appl. Math. Comput. 2006, 181: 1170-1181. 10.1016/j.amc.2006.01.084

    Article  MathSciNet  Google Scholar 

  10. Wang W, Li S: On the one-leg θ -methods for solving nonlinear neutral function differential equations. Appl. Math. Comput. 2007, 193: 285-301. 10.1016/j.amc.2007.03.064

    Article  MathSciNet  Google Scholar 

  11. Bartoszewski Z, Kwapisz M: On the convergence of waveform relaxation methods for differential-functional systems of equations. J. Math. Anal. Appl. 1999, 235: 478-496. 10.1006/jmaa.1999.6380

    Article  MathSciNet  Google Scholar 

  12. Zubik-Kowal B, Vandewalle S: Waveform relaxation for functional-differential equations. SIAM J. Sci. Comput. 1999, 21: 207-226. 10.1137/S1064827598332916

    Article  MathSciNet  Google Scholar 

  13. Wu S, Huang C: Convergence analysis of waveform relaxation methods for neutral differential-functional systems. J. Comput. Appl. Math. 2009, 223: 263-277. 10.1016/j.cam.2008.01.009

    Article  MathSciNet  Google Scholar 

  14. Ishiwata E, Muroya Y: Rational approximation method for delay differential equations with proportional delay. Appl. Math. Comput. 2007, 187: 741-747. 10.1016/j.amc.2006.08.086

    Article  MathSciNet  Google Scholar 

  15. Ishiwata E, Muroya Y, Brunner H: A super-attainable order in collocation methods for differential equations with proportional delay. Appl. Math. Comput. 2008, 198: 227-236. 10.1016/j.amc.2007.08.078

    Article  MathSciNet  Google Scholar 

  16. Cordero LF, Escalante R: Segmented Tau approximation for a parametric nonlinear neutral differential equation. Appl. Math. Comput. 2007, 190: 866-881. 10.1016/j.amc.2007.01.081

    Article  MathSciNet  Google Scholar 

  17. Tohidi E, Bhrawy AH, Erfani K: A collocation method based on Bernoulli operational matrix for numerical solution of generalized pantograph equation. Appl. Math. Model. 2013, 37: 4283-4294. 10.1016/j.apm.2012.09.032

    Article  MathSciNet  Google Scholar 

  18. Wang ZQ, Wang LL: A Legendre-Gauss collocation method for nonlinear delay differential equations. Discrete Contin. Dyn. Syst., Ser. B 2010, 13: 685-708.

    Article  MathSciNet  Google Scholar 

  19. Ali I, Brunner H, Tang T: A spectral method for pantograph-type delay differential equations and its convergence analysis. J. Comput. Math. 2009, 27: 254-265.

    MathSciNet  Google Scholar 

  20. Ali I, Brunner H, Tang T: Spectral methods for pantograph-type differential and integral equations with multiple delays. Front. Math. China 2009, 4: 49-61. 10.1007/s11464-009-0010-z

    Article  MathSciNet  Google Scholar 

  21. Trif D: Direct operatorial tau method for pantograph-type equations. Appl. Math. Comput. 2012, 219: 2194-2203. 10.1016/j.amc.2012.08.065

    Article  MathSciNet  Google Scholar 

  22. Bhrawy AH, Alofi AS: A Jacobi-Gauss collocation method for solving nonlinear Lane-Emden type equations. Commun. Nonlinear Sci. Numer. Simul. 2012, 17: 62-70. 10.1016/j.cnsns.2011.04.025

    Article  MathSciNet  Google Scholar 

  23. Guo B-Y, Wang L-L: Jacobi approximations in non-uniformly Jacobi-weighted Sobolev spaces. J. Approx. Theory 2004, 128: 1-41. 10.1016/j.jat.2004.03.008

    Article  MathSciNet  Google Scholar 

  24. Doha EH, Bhrawy AH: An efficient direct solver for multidimensional elliptic robin boundary value problems using a Legendre spectral-Galerkin method. Comput. Math. Appl. 2012, 64: 558-571. 10.1016/j.camwa.2011.12.050

    Article  MathSciNet  Google Scholar 

  25. Lv X, Gao Y: The RKHSM for solving neutral functional-differential equations with proportional delays. Math. Methods Appl. Sci. 2012. doi:10.1002/mma.2612

    Google Scholar 

  26. Chen X, Wang L: The variational iteration method for solving a neutral functional-differential equation with proportional delays. Comput. Math. Appl. 2010, 59: 2696-2702. 10.1016/j.camwa.2010.01.037

    Article  MathSciNet  Google Scholar 

  27. Wang W, Qin T, Li S: Stability of one-leg θ -methods for nonlinear neutral differential equations with proportional delay. Appl. Math. Comput. 2009, 213: 177-183. 10.1016/j.amc.2009.03.010

    Article  MathSciNet  Google Scholar 

  28. Wang W, Zhang Y, Li S: Stability of continuous Runge-Kutta-type methods for nonlinear neutral delay-differential equations. Appl. Math. Model. 2009, 33: 3319-3329. 10.1016/j.apm.2008.10.038

    Article  MathSciNet  Google Scholar 

  29. Bellen A, Zennaro M: Numerical Methods for Delay Differential Equations, Numerical Mathematics and Scientific Computation. Oxford University Press, New York; 2003.

    Book  Google Scholar 

  30. Sedaghat S, Ordokhani Y, Dehghan M: Numerical solution of the delay differential equations of pantograph type via Chebyshev polynomials. Commun. Nonlinear Sci. Numer. Simul. 2012, 17: 4815-4830. 10.1016/j.cnsns.2012.05.009

    Article  MathSciNet  Google Scholar 

  31. Bhrawy AH, Tohidi E, Soleymani F: A new Bernoulli matrix method for solving high-order linear and nonlinear Fredholm integro-differential equations with piecewise intervals. Appl. Math. Comput. 2012, 219: 482-497. 10.1016/j.amc.2012.06.020

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

This study was supported by the Deanship of Scientific Research of King Abdulaziz University. The authors would like to thank the reviewers for their constructive comments and suggestions to improve the quality of the article.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ali H Bhrawy.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

The authors have equal contributions to each part of this paper. All the authors read and approved the final manuscript.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Bhrawy, A.H., Assas, L.M., Tohidi, E. et al. A Legendre-Gauss collocation method for neutral functional-differential equations with proportional delays. Adv Differ Equ 2013, 63 (2013). https://doi.org/10.1186/1687-1847-2013-63

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-1847-2013-63

Keywords