- 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 by using the shifted Legendre polynomials. In other words, we propose the spectral shifted Legendre-Gauss collocation (SLC) method to find the solution . For suitable collocation points, we use the nodes of the shifted Legendre-Gauss interpolation on the interval . These equations together with m initial conditions generate 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 be the standard Legendre polynomial of degree i, then we have that
If , and is the k th degree of the Jacobi polynomial, then for an integer m, the m th-order derivative of Legendre polynomials is
Let , then we define the weighted space as usual, equipped with the following inner product and norm:
The set of Legendre polynomials forms a complete -orthogonal system, and
Let , then the shifted Legendre polynomial of degree k on the interval is defined by . Thus can be obtained by
With the aid of the standard Legendre polynomials, we get
Next, we define the space in the usual way, with the following inner product and norm:
The set of shifted Legendre polynomials is a complete -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, and () are given analytical functions, and , β, are constants with ().
Now we introduce the Legendre-Gauss quadratures in two different intervals and that will be used in the sequel. Denote by , , and , , the nodes and Christoffel numbers of the standard (shifted) Legendre-Gauss-Lobatto quadratures on the intervals , , respectively. Then one can clearly deduce that [22]
and if denotes the set of all polynomials of degree at most N, then it follows that for any (cf. [23]),
We define the discrete inner product and norm as follows:
Obviously,
Thus, for any , the norms and coincide. We set
The following relation for the q th derivative of shifted Legendre polynomials 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 is defined in (14).
The shifted Legendre-Gauss collocation method for solving (7) and (8) is to seek 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 and 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 , we collocate Eq. (19). Using (13) and (15), at the shifted Legendre roots, yields
Next, Eq. (20), after using (4), can be written as
Thus Eq. (21) with relation (22) generate of a set of algebraic equations which can be solved for the unknown coefficients , , 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, belongs to the Sobolev space , if its j th weak derivative, , lies in for all with the norm
where denotes the usual Lebesgue norm,
and stands for any finite dimensional norm in .
Lemma 4.1 Given a function , , there exists a polynomial 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 . Here, with the smallest norm is called the Nth order best polynomial approximation of in the norm of .
Note that if , then . This implies that 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 by and the uniform norm in by
Again, we consider Eq. (7) with the initial conditions (8). For clarity of presentation, we assume that . 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 yields
Accordingly, we can rewrite the above-obtained equation in the following form:
where and .
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 and are the exact and approximate solutions of (23). Also, let the approximations of , , and be , , and , respectively. Moreover, suppose that , , , where . Then under the condition .
Proof Since the known functions , , and are approximated in terms of shifted Legendre polynomials, then the obtained solution is an approximated polynomial in the form of . Our aim is to find an upper bound for the associated error between and 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 and , the above inequality reduces to a simple form as follows:
In other words,
Since , then . Also, imposing the assumptions , , to the above inequality yields
For clarity of presentation, we rewrite the above inequality in the following form:
If , then (or ). This conclusion is made because of the smoothness of , , and . These assumptions imply that , , and (see Lemma 4.1). This completes the proof. □
4.2 Stability of the solution
Theorem 4.3 Let us consider together with its Lagrange interpolation polynomial which is based on the shifted Gaussian points; then
where is the best approximation of Nth order of u and
are the Lebesgue constant and the Lebesgue function, respectively. Also, stands for the jth Lagrange polynomial which is constructed by using shifted Gaussian points.
Proof Since , the best approximating polynomial for u, say , exists and we immediately have
However, both and 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 represents a perturbed version of ; 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 .
We apply the proposed shifted Legendre-Gauss collocation method at 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 for 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 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 .
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 , 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 for 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 .
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 , 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 for 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 is chosen such that the analytical solution .
In Table 4, we list the absolute errors using SLC method in the two intervals and , at and 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 and the exact one in two long intervals, and , 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
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
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
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
Hairer E, Norsett SP, Wanner G: Solving Ordinary Differential Equation I: Nonstiff Problems. 2nd edition. Springer, Berlin; 1993.
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
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
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
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
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
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
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
Zubik-Kowal B, Vandewalle S: Waveform relaxation for functional-differential equations. SIAM J. Sci. Comput. 1999, 21: 207-226. 10.1137/S1064827598332916
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
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
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
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
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
Wang ZQ, Wang LL: A Legendre-Gauss collocation method for nonlinear delay differential equations. Discrete Contin. Dyn. Syst., Ser. B 2010, 13: 685-708.
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.
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
Trif D: Direct operatorial tau method for pantograph-type equations. Appl. Math. Comput. 2012, 219: 2194-2203. 10.1016/j.amc.2012.08.065
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
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
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
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
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
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
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
Bellen A, Zennaro M: Numerical Methods for Delay Differential Equations, Numerical Mathematics and Scientific Computation. Oxford University Press, New York; 2003.
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
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
Authors and Affiliations
Corresponding author
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
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
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/1687-1847-2013-63