- Research
- Open Access
- Published:

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

*Advances in Difference Equations*
**volume 2013**, Article number: 63 (2013)

## 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.* [1–5]). 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 [11–13] 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 $(N-m+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

If $\alpha >-1$, $\beta >-1$ and ${P}_{k}^{(\alpha ,\beta )}(x)$ is the *k* th degree of the Jacobi polynomial, then for an integer *m*, the *m* th-order derivative of Legendre polynomials is

Let ${w}^{(\alpha ,\beta )}(x)={(1-x)}^{\alpha}{(1+x)}^{\beta}$, then we define the weighted space ${\mathrm{\u0141}}_{{w}^{(\alpha ,\beta )}}^{2}(-1,1)$ as usual, equipped with the following inner product and norm:

The set of Legendre polynomials forms a complete ${\mathrm{\u0141}}^{2}(-1,1)$-orthogonal system, and

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}(\frac{2x}{T}-1)$. Thus ${L}_{T,k}(x)$ can be obtained by

With the aid of the standard Legendre polynomials, we get

Next, we define the space ${\mathrm{\u0141}}^{2}(0,T)$ in the usual way, with the following inner product and norm:

The set of shifted Legendre polynomials is a complete ${\mathrm{\u0141}}^{2}(0,T)$-orthogonal system. Moreover, due to (3), we have

## 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:

with the initial conditions

Here, $a(x)$ and ${b}_{n}(x)$ ($n=0,1,\dots ,m-1$) are given analytical functions, and ${\gamma}_{n}$, *β*, ${\lambda}_{n}$ are constants with $0<{\gamma}_{n}<1$ ($n=0,1,\dots ,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})$, $0\u2a7dj\u2a7dN$, and ${\varpi}_{N,j}({\varpi}_{T,N,j})$, $0\le i\le N$, 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]

and if ${S}_{N}(0,T)$ denotes the set of all polynomials of degree at most *N*, then it follows that for any $\varphi \in {S}_{2N+1}(0,T)$ (*cf.* [23]),

We define the discrete inner product and norm as follows:

Obviously,

Thus, for any $u\in {S}_{N}(0,T)$, the norms ${\parallel u\parallel}_{N}$ and $\parallel u\parallel $ coincide. We set

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

where

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

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)\in {S}_{N}(0,T)$ such that

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

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

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

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

To find the solution ${u}_{N}(x)$, we collocate Eq. (19). Using (13) and (15), at the $(N-m+1)$ shifted Legendre roots, yields

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

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,\dots ,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, $\xi :[-1,1]\u27f6\mathrm{\Re}$ belongs to the Sobolev space ${W}^{m,p}$, if its *j* th weak derivative, ${\xi}^{(j)}$, lies in ${L}^{p}[-1,1]$ for all $0\le j\le m$ with the norm

where ${\parallel \xi \parallel}_{{L}^{p}}$ denotes the usual Lebesgue norm,

and $\parallel \xi (x)\parallel $ stands for any finite dimensional norm in ${\mathrm{\Re}}^{n}$.

**Lemma 4.1** *Given a function* $\xi \in {W}^{m,\mathrm{\infty}}$, $x\in [-1,1]$, *there exists a polynomial* ${u}_{N}(x)$ *of degree less than or equal to* *N* *such that*

*where* *C* *is a constant independent of* *N*, *m* *is the order of smoothness of* *ξ*, *and* ${C}_{0}={\parallel \xi \parallel}_{{W}^{m,\mathrm{\infty}}}$. *Here*, ${u}_{N}(x)$ *with the smallest norm* ${\parallel \xi (x)-{u}_{N}(x)\parallel}_{{L}^{\mathrm{\infty}}}$ *is called the* *Nth order best polynomial approximation of* $\xi (x)$ *in the norm of* ${L}^{\mathrm{\infty}}$.

Note that if $\xi \in {C}^{\mathrm{\infty}}$, then $m=\mathrm{\infty}$. 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

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:

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

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

where $g(x)=({\lambda}_{0}+a(0){\lambda}_{0})+{\int}_{0}^{x}f(\epsilon )\phantom{\rule{0.2em}{0ex}}d\epsilon $ and ${\stackrel{\u02c6}{b}}_{0}(\theta )=\frac{1}{{\gamma}_{0}}{b}_{0}(\frac{\theta}{{\gamma}_{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* ${\stackrel{\u02c6}{b}}_{0}(x)$ *be* ${a}_{N}(x)$, ${g}_{N}(x)$, *and* ${\stackrel{\u02c6}{b}}_{0,N}(x)$, *respectively*. *Moreover*, *suppose that* ${\parallel a(x)\parallel}_{\mathrm{\infty}}\le A$, ${\parallel {u}_{N}(x)\parallel}_{\mathrm{\infty}}\le {U}_{N}$, ${\parallel {\stackrel{\u02c6}{b}}_{0}(x)\parallel}_{\mathrm{\infty}}\le B$, *where* $x\in [0,T]$. *Then* ${lim}_{N\to \mathrm{\infty}}{u}_{N}(x)=u(x)$ *under the condition* $A+|\beta |T+TB\ll 1$.

*Proof* Since the known functions $a(x)$, $g(x)$, and ${\stackrel{\u02c6}{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:

According to the assumptions, one reaches the following equation:

Subtraction of the above equations yields

According to the trigonometric inequality, we have

Since $0\le {\gamma}_{0}\le 1$ and $x\in [0,T]$, the above inequality reduces to a simple form as follows:

In other words,

Since $0\le {\gamma}_{1}\le 1$, then ${lim}_{N\to \mathrm{\infty}}{\parallel u(x)-{u}_{N}(x)\parallel}_{\mathrm{\infty}}={lim}_{N\to \mathrm{\infty}}{\parallel u({\gamma}_{1}x)-{u}_{N}({\gamma}_{1}x)\parallel}_{\mathrm{\infty}}$. Also, imposing the assumptions ${\parallel a(x)\parallel}_{\mathrm{\infty}}\le A$, ${\parallel {u}_{N}(x)\parallel}_{\mathrm{\infty}}\le {U}_{N}$, ${\parallel {\stackrel{\u02c6}{b}}_{0}(x)\parallel}_{\mathrm{\infty}}\le B$ to the above inequality yields

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

If $A+|\beta |T+TB\ll 1$, then ${lim}_{N\to \mathrm{\infty}}{\parallel u(x)-{u}_{N}(x)\parallel}_{\mathrm{\infty}}=0$ (or ${lim}_{N\to \mathrm{\infty}}{u}_{N}(x)=u(x)$). This conclusion is made because of the smoothness of $a(x)$, $g(x)$, and ${\stackrel{\u02c6}{b}}_{0}(x)$. These assumptions imply that ${lim}_{N\to \mathrm{\infty}}{\parallel a(x)-{a}_{N}(x)\parallel}_{\mathrm{\infty}}=0$, ${lim}_{N\to \mathrm{\infty}}{\parallel g(x)-{g}_{N}(x)\parallel}_{\mathrm{\infty}}=0$, and ${lim}_{N\to \mathrm{\infty}}{\parallel {\stackrel{\u02c6}{b}}_{0}(x)-{\stackrel{\u02c6}{b}}_{0,N}(x)\parallel}_{\mathrm{\infty}}=0$ (see Lemma 4.1). This completes the proof. □

### 4.2 Stability of the solution

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

*where*
${p}^{\ast}$
*is the best approximation of*
*Nth order of*
*u*
*and*

*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)\in C[0,T]$, the best approximating polynomial for *u*, say ${p}^{\ast}$, exists and we immediately have

However, both ${p}^{\ast}$ and ${I}_{N}u$ are *N* th order polynomials

where

□

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}_{\u03f5}(x)$ represents a perturbed version of $u(x)$; *i.e.*,

the difference between the two polynomial representations is then

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]

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, 25–28]. 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.

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.

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

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 $\theta =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.

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

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 $\theta =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.

**Example 4**

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

and the function $f(x)$ is chosen such that the analytical solution $u(x)=log(1+sin(\frac{\pi 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.

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.

## 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 - 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 - 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 - 4.
Hairer E, Norsett SP, Wanner G:

*Solving Ordinary Differential Equation I: Nonstiff Problems*. 2nd edition. Springer, Berlin; 1993. - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 12.
Zubik-Kowal B, Vandewalle S:

**Waveform relaxation for functional-differential equations.***SIAM J. Sci. Comput.*1999, 21: 207-226. 10.1137/S1064827598332916 - 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 - 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 - 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 - 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 - 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 - 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. - 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. - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 29.
Bellen A, Zennaro M:

*Numerical Methods for Delay Differential Equations, Numerical Mathematics and Scientific Computation*. Oxford University Press, New York; 2003. - 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 - 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

## 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

## 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

Below are the links to the 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.

## About this article

#### Received

#### Accepted

#### Published

#### DOI

### Keywords

- delay differential equations
- neutral functional-differential equations
- proportional delays
- spectral method
- Legendre-Gauss quadrature