Abstract
The fractional Legendre polynomials (FLPs) that we present as an effective method for solving fractional delay differential equations (FDDEs) are used in this work. The Liouville–Caputo sense is used to characterize fractional derivatives. This method uses the spectral collocation technique based on FLPs. The proposed method converts FDDEs into a set of algebraic equations. We lay out a study of the convergence analysis and figure out the upper bound on error for the approximate solution. Examples are provided to demonstrate the precision of the suggested approach.
Keywords:
FDDEs; orthogonal system; spectral collocation technique; convergence analysis; fractional-order Legendre polynomials MSC:
41A30; 65N20
1. Introduction
In the hope of simulating a variety of physical events, it is crucial to use differential equations based on fractional-order operators [1,2]. Some applications of these equations include earthquake simulation, damping principles, fluid dynamics, biology, physics, and engineering [3,4,5,6,7]. Numerous techniques have been employed to locate appropriate solutions to these equations depending on their physical structure. The majority of the current systems are flawed and unworkable considering the actual physical existence of these problems. The numerical findings show the full reliability of the proposed algorithms [8,9,10]. Since explicit exact solutions for FDEs are still lacking, approximation and numerical techniques such as the spectral collocation method (SCM), FEM, FVM, and many others have been used to solve many fractional models [11,12,13,14,15]. The paper’s primary goal is to use the mentioned algorithm ([16,17]) to obtain the numerical solution of the following FDDE using SCM depending on the fractional Legendre polynomials [18]:
where
where the order of the Liouville–Caputo fractional is . The delay function is a function g that satisfies condition and . Also, we shall calculate an upper bound for the estimated solution’s resulting error and the convergence will be studied. In ([19,20]), the authors used spline functions to study both the error and stability analysis for first-order delay differential equations. We plan to discretize Equation (1) using the Legendre collocation method to produce an algebraic system of equations (linear/nonlinear) and solve it.
The manuscript is structured as follows: Section 2 presents the definitions and approximate formula for the fractional derivative. Section 3 provides some thoughts on the recently revealed fractional-order Legendre polynomials. The polynomials approximation and error estimation are discussed in Section 4. The implementation of the Legendre spectral method for solving FDDE is introduced in Section 5. Section 6 also discusses numerical simulation. We provide the conclusions and some observations in Section 7.
2. Preliminaries and Notations
Definition 1.
The following formula defines the fractional derivative of order α of Liouville–Caputo ([15,21]):
where
Additionally, a generalization of Taylor’s formula is introduced based on the fractional derivative of Liouville–Caputo [22]. Assume that
then,
3. Legendre Polynomials of Fractional Order
Since the well-known Legendre polynomials are defined on ([23,24]), we introduce the shifted Legendre polynomials by inserting to use these polynomials on .
We shall introduce the fractional-order Legendre polynomials in this section. By changing the variables and on , these polynomials will be obtained. We represent FLPs, by . We note that the recurrence formula for may be deduced from the recurrence relation of [18]:
The analytic form of the FLPs, of degree is given by:
Note that and .
Lemma 1
([25]). According to the weight function , the fractional-order polynomials are orthogonal over . Therefore, we obtain
Proof.
The formula can be obtained directly by taking , in the orthogonality condition □
4. Approximating Polynomials and Estimating Errors
Let a non-negative, integrable, real-valued function spanning the range be denoted by . In the first -terms of FLPs, the function , which is a square-integrable function in , can be represented and approximated as follows:
The error estimate for this approximation in -norm is provided by the following theorem.
Theorem 1.
The error bound can be calculated using the following formula if is the best estimation to out of and for :
where
,
Proof.
As an approximate representation of and denoted by , consider the generalized Taylor’s polynomial as follows:
where it is known that the following error bound exists and:
Since and is the best approximation to out of , then
this together with the well-known Stirling formula (, for some lead to the desired result. □
The primary formula for calculating an approximation of the Liouville–Caputo fractional derivative is given in the following theorem.
Theorem 2.
Let be as described in (6) and then:
Proof.
Theorem 3.
The error in approximating by is bounded by:
where
Proof.
The proof can be found in [24]. □
5. Implementation of Legendre-SCM for Solving FDDE
Consider the FDDE (1), we first write ) as:
We now collocate Equation (10) at points , as:
We utilize the roots of the fractional Legendre polynomial for suitable collocation nodes.
6. Numerical Results
Example 1.
Consider the following differential equation for a linear fractional delay:
with the initial condition:
Using the provided method and , we arrive at the following approximation of the solution:
Using Equation (11) with , we have:
with where are roots of and at . Using Equations (14) and (15) we get:
Thus, using Equation (15) we can get:
Example 2.
Consider the following differential equation for a linear fractional delay:
with
The exact solution of Equation (18) at is . Using the provided method and , we arrive at the following approximation of the solution:
Thus, using Equation (20) we can obtain the approximate solution of Example 2.
The approximate solution and the exact one are given in Figure 1 at and . But, the approximate solution with is given in Figure 2. These graphs demonstrate that the exact solution and numerical solution are in very good agreement, and the approximate solution exhibits the same behavior.
Figure 1.
The numerical solution and the exact solution of Example 2.
Figure 2.
The approximate solution with different values of of Example 2.
Example 3.
Consider the following non-linear fractional delay differential equation:
where , with
Using the provided method and , we arrive at the following approximation of the solution:
Thus, using Equation (25) at , we can obtain:
Example 4 ((Ikeda system-One delay)).
Consider the Ikeda delay system with one delay, which is described in ([26,27]):
where , and τ are constants; with
Using the provided method and , we arrive at the approximation of the solution as in Equation (25). Using Equation (11), we have
with where are roots of . Using Equations (25) and (30), we can obtain:
Now, solving the system of Equations (31)–(32), we obtain the approximate solution of this model (29).
To conclude this numerical analysis with the simulation; we define the residual error function (REF) as:
The absolute relative error drops to zero in all situations when the residual is minimal (), indicating that the solution tends to the exact one. Since the precise answer is unknown in the situation of α in fractional order, we shall employ this form of error. Finally, REF includes other forms; for further information, see [28].
Using the provided method, we present a numerical simulation of this model (29) in Figure 3, Figure 4 and Figure 5 with and initial values . In Figure 3, the REF at with (a) and (b) is given. In Figure 4, the REF at with (a) and (b) is given. Finally, in Figure 5, we provide a numerical simulation of this model using ; with (a) and (b). These Figures demonstrate that the solution depends on and , demonstrating the effectiveness of the numerical technique for solving the posed issue in fractional derivatives.
Figure 3.
The REF of Example 4 with ; at (a) and (b).
Figure 4.
The REF of Example 4 with ; at (a) and (b).
Figure 5.
The numerical solution of Example 4, with ; with different values of (a) and (b).
Example 5 ((Ikeda system-two delays)).
Consider the Ikeda delay system with two delays which is described in [29]:
where , and are constants and with:
Using the provided method and , we arrive at the approximation of the solution as in (25). Using Equation (11), we have
with where are roots of . Using (25) and (35), we get:
Now, solving the system of Equations (36)–(37), we obtain the approximate solution to this model (34).
Here, we define the REF to conduct a full numerical study with the simulation:
Using the provided method, we present a numerical simulation of this model (34) using the suggested approach in Figure 6, Figure 7 and Figure 8 with and initial values . In Figure 6, the REF at with (a) and (b) is given. In Figure 7, the REF at with (a) and (b) is given. Finally, in Figure 8, the solution at ; with (a) and (b) is given. These Figures demonstrate that the solution depends on and , demonstrating the effectiveness of the numerical technique for solving this issue in fractional derivatives.
Figure 6.
The REF of Example 5 with ; at (a) and (b).
Figure 7.
The REF of Example 5 with ; at (a) and (b).
Figure 8.
The numerical solution of Example 5, with ; with different values of (a) and (b).
7. Conclusions and Remarks
This work’s primary focus is on presenting fractional Legendre polynomials with states and demonstrating some of their characteristics. In addition, the Legendre SCM is used in this article to solve fractional delay differential equations. The suggested problem is reduced to a system of algebraic equations, which can be solved using an appropriate numerical method, leveraging the properties of the new fractional Legendre polynomials. We examine the convergence analysis, the generated formula’s accuracy, and the approximation of the solution. The numerical simulations show that this approach to applying the Liouville–Caputo derivative is an effective way to solve FDDE. In addition, Only a few shifted fractional Legendre polynomials are required to produce a good outcome. By including new terms in the series, overall error rates can be reduced.
Author Contributions
Data curation, M.M.K. and M.A.; Formal analysis, M.A., S.A. and M.M.K.; Methodology, M.M.K. and K.A.; Project administration, M.A. and S.A.; Resources, M.A., K.A. and S.A.; Software, M.M.K., K.A. and S.A.; Writing original draft, M.M.K., S.A., K.A. and M.A.; Writing review and editing, M.M.K., S.A., M.A. and K.A. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
All data and materials are available for everyone.
Acknowledgments
The researchers wish to extend their sincere gratitude to the Deanship of Scientific Research at the Islamic University of Madinah for the support provided to the Post-Publishing Program 2.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Adel, M.; Srivastava, H.M.; Khader, M.M. Implementation of an accurate method for the analysis and simulation of electrical R-L circuits. Math. Meth. Appl. Sci. 2023, 46, 8362–8371. [Google Scholar] [CrossRef]
- Saadatmandi, A.; Dehghan, M. A new operational matrix for solving fractional-order differential equations. Comput. Math. Appl. 2010, 59, 1326–1336. [Google Scholar] [CrossRef]
- Basti, B.; Hammami, N.; Berrabah, I.; Nouioua, F.; Djemiat, R.; Benhamidouche, N. Stability analysis and existence of solutions for a modified SIRD model of Covid-19 with fractional derivatives. Symmetry 2021, 13, 1431. [Google Scholar] [CrossRef]
- Khoojine, A.S.; Mahsuli, M.; Shadabfar, M.; Hosseini, V.R.; Kordestani, H. A proposed fractional dynamic system and Monte Carlo-based back analysis for simulating the spreading profile of Covid. Eur. Phys. J. Spec. Top. 2022, 19, 1–11. [Google Scholar]
- Butt, A.I.K.; Imran, M.; Batool, S.; Nuwairan, M.A.L. Theoretical analysis of a Covid-19 CF-fractional model to optimally control the spread of Pandemic. Symmetry 2023, 15, 380. [Google Scholar] [CrossRef]
- Adel, M.; Khader, M.M.; Ahmad, H.; Assiri, T.A.; Batool, S.; Nuwairan, M.A.L. Approximate analytical solutions for the blood ethanol concentration system and predator-prey equations by using variational iteration method. Aims Math. 2023, 8, 19083–19096. [Google Scholar] [CrossRef]
- Abd-Elhameed, W.M. New Galerkin operational matrix of derivatives for solving Lane-Emden singular-type equations. Eur. Phys. J. Plus 2015, 130, 52. [Google Scholar] [CrossRef]
- Khan, M.A.; Atangana, A. Modeling the dynamics of novel Coronavirus (2019-nCoV) with fractional derivative. Alex. Eng. J. 2020, 56, 2379–2389. [Google Scholar] [CrossRef]
- Dokuyucu, M.A.; Celik, E.; Bulut, H.; Baskonus, H.M. Cancer treatment model with the Caputo-Fabrizio fractional derivative. Eur. Phys. J. Plus 2018, 133, 92. [Google Scholar] [CrossRef]
- Dokuyucu, M.A.; Celik, E. Analyzing a novel coronavirus model (COVID-19) in the sense of Caputo-Fabrizio fractional operator. Appl. Comput. Math. 2021, 20, 49–69. [Google Scholar]
- Oldham, K.B.; Spanier, J. The Fractional Calculus; Academic Press: New York, NY, VSA, 1974. [Google Scholar]
- Podlubny, I. Fractional Differential Equations; Academic Press: New York, NY, VSA, 1999. [Google Scholar]
- Jafari, H.; Momani, S. Solving fractional diffusion and wave equations by modified homotopy perturbation method. Phys. Lett. 2007, 370, 388–396. [Google Scholar] [CrossRef]
- Adel, M.; Khader, M.M.; Assiri, T.A.; Kallel, W. Simulating Covid-19 model research using a multidomain spectral relaxation technique. Symmetry 2023, 15, 931. [Google Scholar] [CrossRef]
- Srivastava, H.M.; Kilbas, A.A.; Trujillo, J.J. Theory and Application of Fractional Differential Equations; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
- Khader, M.M. An efficient class of discrete finite difference/element scheme for solving the fractional reaction sub-diffusion equation. Math. Methods Appl. Sci. 2023, 46, 10512–10526. [Google Scholar] [CrossRef]
- Adel, M.; Khader, M.M.; Algelany, S. High-dimensional chaotic Lorenz system: Numerical treated using Changhee polynomials of the Appell type. Fractal Fract. 2023, 7, 398. [Google Scholar] [CrossRef]
- Kazem, S.; Abbasbandy, S.; Kumar, S. Fractional-order Legendre functions for solving fractional-order differential equations. Appl. Math. Model. 2013, 37, 5498–5510. [Google Scholar] [CrossRef]
- Ramadan, M.A. Spline solution of first order delay differential equation. J. Egypt. Math. Soc. 2005, 1, 7–18. [Google Scholar]
- Ramdan, M.A.; Shrif, M.N. Numerical solution of a system of first order delay differential equations using spline functions. Int. J. Comput. Math. 2006, 83, 925–937. [Google Scholar] [CrossRef]
- Miller, K.S.; Ross, B. An Introduction to the Fractional Calculus and Fractional Differential Equations; John Wiley and Sons: New York, NY, USA, 1993. [Google Scholar]
- Odibat, Z.M.; Shawagfeh, N.T. Generalized Taylor’s formula. Appl. Math. Comput. 2007, 186, 286–293. [Google Scholar] [CrossRef]
- Bell, W.W. Special Functions for Scientists and Engineers; Great Britain, Butler and Tanner Ltd.: Frome, UK; London, UK, 1968. [Google Scholar]
- Khader, M.M.; Sweilam, N.H. Approximate solutions for the fractional advection-dispersion equation using Legendre pseudo-spectral method. Comp. Appl. Math. 2014, 33, 739–750. [Google Scholar] [CrossRef]
- Li, B.; Liu, S.; Cui, J.; Li, J. A simple Predator-Prey population model with rich dynamics. Appl. Sci. 2016, 6, 151. [Google Scholar] [CrossRef]
- Bhalekar, S. Stability and bifurcation analysis of a generalized scalar delay differential equation. Chaos Interdiscip. J. Nonlinear Sci. 2016, 26, 084306. [Google Scholar] [CrossRef] [PubMed]
- Lu, J.-G. Chaotic dynamics of the fractional-order Ikeda delay system and its synchronization. Chin. Phys. 2006, 15, 301. [Google Scholar]
- Parand, K.; Delkhosh, M. Operational matrices to solve nonlinear Volterra-Fredholm IDEs of multi-arbitrary order. Gazi Univ. J. Sci. 2016, 29, 895–907. [Google Scholar]
- Bhalekar, S. Analyzing the stability of a delay differential equation involving two delays. Pramana-J. Phys. 2019, 93, 24. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).