Content area
This paper introduces an efficient numerical method based on applying the typical Petrov–Galerkin approach (
Full text
1. Introduction
Fractional differential equations (FDEs) are crucial in numerous areas of the practical sciences. They provide an excellent explanation of why traditional differential equations (DEs) fail to capture some phenomena. This is due to their exceptional ability to model memory and hereditary properties. Numerical analysis is usually employed to solve these equations due to their analytical impossibility. Various FDEs have been solved numerically using several methods. Among these methods are the Chelyshkov wavelet scheme [1], the Ritz-Piecewise Gegenbauer approach [2], the homotopy analysis transform method [3], the Adomian spectral method [4], the Adomian decomposition method [5], the finite difference method [6], the finite element method [7], and Laplace optimized decomposition [8].
Spectral methods are powerful techniques for solving differential equations (DEs). FDEs and high-order ordinary DEs can be solved effectively using these methods. For smooth problems, their ability to achieve exponential or high-order convergence makes them incredibly precise, which constitutes their main advantage over traditional numerical methods. These methods extend the solution based on global basis functions, usually special functions or special polynomials, providing a precise approximation with a minimal number of degrees of freedom. Many studies have focused on using these methods to solve various types of DEs. For instance, the authors in [9] used to approximate the Kudryashov–Sinelshchikov equation. In [10], the authors used the collocation method to approximate the nonlinear ordinary and fractional Newell–Whitehead–Segel equation. Also, in [11], the author used to solve the . For more studies, see [12,13,14,15,16,17,18,19,20].
Orthogonal polynomials are widely used in science and engineering due to their excellent computational and approximation capabilities. They can be classified as either symmetric or asymmetric. The Chebyshev polynomials (CPs) are highly regarded for their significance and are among the essential orthogonal polynomials. The four well-known CPs are all special cases of Jacobi polynomials. The first and second types of polynomials are symmetric, whereas the third and fourth types are asymmetric. In numerical analysis, they are very important for spectral techniques for solving DEs because they give very accurate results with few retained modes. Some applications of orthogonal polynomials can be found in [21,22,23,24]. Of paramount relevance in theory and practice are the CPs. The CPs and their shifted forms have been used to solve various types of DEs. The authors in [25] employed CPs to treat high-order DEs. The authors in [26] used the fifth-kind CPs spectral method to solve the convection-diffusion equation. The authors in [27] presented a numerical technique based on CPs. For more studies, see [28,29,30,31].
Our main contributions, including the novelty of our work, are listed in the following items: Proposing new basis functions in terms of to treat this type of FDE. Developing some new theoretical results of , such as their definite integral formulas. Designing a new PGA for treating the based on the theoretical background of these polynomials.
The paper is structured as follows: The following section describes some of the characteristics of fractional calculus. Moreover, some features of are given in this section. Section 3 proposes a numerical approach to solving with homogeneous conditions using . Section 4 investigates the error bound of the developed double expansion. Some numerical experiments are described in Section 5 to illustrate the efficiency and precision of our numerical scheme. Finally, some conclusions are reported in Section 6.
2. Some Fundamentals
2.1. Caputo Fractional Derivative
([32]). The Caputo fractional derivative of order ν is defined as:
where .The following features are classified by the operator for ,
where , and the notation denotes the ceiling function.2.2. An Overview of
The defined in the interval by are denoted by . The definition of these polynomials is [33]
(1)
where and fulfills the orthogonality relation [33]:(2)
where and is the well-known Kronecker delta.The recurrence relation of is
whereMoreover, the inversion formula is [33]
(3)
where([33]). Let i and m be any two integers that are not negative. The moment formula for the is provided by
where([34]). The first derivative of is
For and , the following relation is satisfied
(4)
where
3. Treatment for the with Homogeneous Conditions
This section focuses on examining to address the following [35]:
(5)
subject to homogeneous initial and boundary conditions ()(6)
where is the source term and a and b are the coefficients of the damping and reaction terms, respectively.3.1. Basis Functions
Consider the following basis functions
(7)
The basis functions specified in (7) meet the conditions listed below
Also, by virtue of the orthogonality relation in (2), we obtain the following relations and where and([34]). It is possible to clearly express the second-derivative of in terms of as
where3.2. for the with Homogeneous Conditions
Assume that the (5), governed by the (6).
Now, consider
where Then, any can be expressed as where and the matrix of unknowns with order is .Now, the residual of Equation (5) can be calculated
(8)
The application of leads to(9)
where .Assume that
(10)
Finally, the system of Equations (10) of order can be solved utilizing the Gauss elimination method.The elements of matrices , and are given as
where
To prove the part (1), the application of Lemma 1 along with the definition of the basis function enables us to write
Now, the integration can be written after using the last relation and the relation (4) asTo prove the part (2), the application of Theorem 1 enables us to write as which can be written after using the orthogonality relation (2) asTo prove the part (3), the application of Lemma 1 along with the definition of the basis function enables us to write(11)
Now, using the last relation and relation (4), we getTo prove part (4), the application of Corollary 1 and Equation (11), one hasNow, using the last relation and relation (4), we getTo find the part (5): Using Equation (1) along with the orthogonality relation (2), one can write the last equation may be written after using the relation given below as(12)
If we see the identity listed below:(13)
Now, inserting Equation (13) into Equation (12), we get□
The expansion of in terms of is spectrally accurate since is complete in the weighted space. Additionally, the sparsity of the coefficients results in a sparse matrix , which significantly increases the method’s computational efficiency.
3.3. Transformation to the
Assuming the following [35]:
(14)
governed by the following constraints:(15)
(16)
In virtue of the following transformation: whereThe (14) governed by (15) and (16) is converted into the adapted Equation (5) governed by (6), where4. Error Bound
The following Chebyshev-weighted Sobolev space is assumed to conform to
where and , equipped with the norm, semi-norm, and inner product where andThe orthogonality relation (4), which includes , is very important for finding the elements of the system matrices and that come from the . It makes sure that the projection fits with , which makes the presented numerical technique more accurate and stable.
Now, suppose that the two-dimensional Chebyshev-weighted Sobolev space is represented by
along with the norm and semi-norm where and([36]). Let and , where are constants. One has
whereFor the given , can be written as follows:
Suppose is the approximate solution of Then, for we obtain
where certifies that a constant ν exists such that
To derive the proof of this corollary, insert in Theorem 4.2 in Ref. [34]. □
Suppose and is the approximate solution of Then, for we get
(17)
The definitions of and enable us to derive
(18)
To estimate the factor we find Equation (1) along with (2) allows us to write and accordingly, we haveThe following inequality can be obtained after using Lemma 2:By virtue of Lemma 2, can be written as where .Similarly, we have
and accordingly, we have(19)
Inserting Equation (19) into Equation (18), one getsTherefore, we obtain the desired result. □The bound in inequality (17) remains valid and precise as or . The spectral coefficients exhibit a rapid decay, and the solution becomes smoother over time for such values. Therefore, the convergence of the approximation is enhanced in the weighted norm .
Let be the approximate solution of ; then, for the following estimation holds:
By virtue of and one gets
Now, imitating the same steps as in Theorem 3, one has□
Let be the approximate solution of . Then, for one gets
Let be the approximate solution of , and assume that . Consequently, for one has
The proof of Theorems 4 and 5 are in the same manner as the proof of Theorem 3. □
Let be the residual of Equation (8), then the following relation holds
of Equation (5) can be written as
Using Corollary 3, Theorems (4), and 5 lead toAt the end, it is obvious that as □5. Examples
([35]). Consider the following equation:
governed by and is selected such that the analytical solution is .The absolute errors () and the approximate solution for when are shown in Figure 1. The of our technique at and the method in [35] at when are compared in Table 1. Additionally, a comparison of the error norm and at is presented in Table 2. These comparisons show that our method is superior to the method in [35]. The precision of the proposed method is demonstrated by the significant decrease in as increases from 4 to 7 when , as illustrated in Figure 2. The proposed procedure is accurate for small choices of , as illustrated by these results.
Table 3 illustrates the agreement between the theoretical and numerical results of the error norm presented in Table 2 for . For example, assume , , and the generic constant in Theorem 4.
Consider the following equation:
governed by
and is selected such that the analytical solution is .
The at and are displayed in Table 4. The results of the are extremely near to the precise solution, as illustrated by this table. The precision of the proposed method is shown in Figure 3, where the decrease significantly as increases from 3 to 6 when . The error norms at several ν and values are displayed in Table 5. These results demonstrate our technique’s outstanding efficiency. These findings show that the suggested strategy works well for small choices of .
([35]). Consider the following equation:
governed by and is selected such that the analytical solution is .Table 6 compares the between our method at and the approach in [35] at various values of ν when . Furthermore, Table 7 compares the error norm and at . These comparisons show that our method outperforms the method in [35]. The and approximate solution at when are finally depicted in Figure 4. This figure demonstrates that the approximate solution is extremely close to the exact solution. These findings show that the suggested method works well for small choices of .
([35]). Consider the following equation:
governed by and is selected such that the analytical solution is .Table 8 compares the between our method at and the method in [35] at various values of ν when . The and approximate solution at when are depicted in Figure 5. This figure demonstrates that the approximate solution is extremely close to the exact solution. Finally, Table 9 also provides a comparison of the error norm and for at various values of t. The findings indicate that the proposed technique is precise for limited selections of .
Table 1, Table 2, Table 6, Table 7, Table 8 and Table 9 demonstrate that the findings are precise for small selections of . Furthermore, these comparisons demonstrate the superior performance of our strategy compared to the method presented in [35].
6. Concluding Remarks
In this work, we present certain -based spectral methods for numerically solving . We built an efficient spectral framework to handle this problem by proving operational identities for . The spectral was utilized for this purpose. The numerical results confirmed the excellent accuracy of our approach. We believe that this basis can be utilized to handle different forms of DEs. In the future, we hope to apply the theoretical findings developed in this study, as well as suitable spectral approaches, to address other FDEs. All codes were written and debugged using Mathematica 11 on an HP Z420 Workstation with an Intel (R) Xeon(R) CPU E5-1620 v2-3.70 GHz, 16 GB RAM DDR3, and 512 GB storage.
Conceptualization, A.G.A.; Methodology, S.S.A., A.A.A. and A.G.A.; Software, A.G.A.; Validation, S.S.A., A.A.A. and A.G.A.; Formal analysis, S.S.A., A.A.A. and A.G.A.; Investigation, A.G.A.; Data curation, A.G.A.; Writing—original draft, A.A.A. and A.G.A.; Writing—review & editing, S.S.A. and A.G.A.; Visualization, A.G.A.; Supervision, S.S.A. and A.G.A. All authors have read and agreed to the published version of the manuscript.
Data are contained within the article.
The authors declare no conflicts of interest.
Footnotes
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.
Figure 1 The
Figure 2 The
Figure 3 The
Figure 4 The
Figure 5 The
Comparison of
| x | Method in [ | Our Method |
|---|---|---|
| 0.1 | | |
| 0.2 | | |
| 0.3 | | |
| 0.4 | | |
| 0.5 | | |
| 0.6 | | |
| 0.7 | | |
| 0.8 | | |
| 0.9 | | |
Comparison of the error norm
| Method in [ | Our Method at | |||
|---|---|---|---|---|
| | ||||
| 0.2 | | | | |
| 0.4 | | | | |
| 0.6 | | | | |
| 0.8 | | | | |
| 1 | | | | |
Theoretical error of Example 1.
| | 7 |
| Error in Theorem 4 | |
| | | | |
|---|---|---|---|
| 0.1 | | | |
| 0.2 | | | |
| 0.3 | | | |
| 0.4 | | | |
| 0.5 | | | |
| 0.6 | | | |
| 0.7 | | | |
| 0.8 | | | |
| 0.9 | | | |
| CPU time | 6.907 | 6.907 | 6.907 |
The error norm
| | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|
| | | | | | |
| CPU time | 1.922 | 2.203 | 2.829 | 4. | 6.986 |
| | | | | | |
| CPU time | 1.845 | 2.173 | 2.829 | 4.094 | 6.907 |
Comparison of
| Method in [ | Our Method | |||
|---|---|---|---|---|
| | | | | |
| 0.1 | | | | |
| 0.2 | | | | |
| 0.3 | | | 0 | |
| 0.4 | | | 0 | |
| 0.5 | | | 0 | 0 |
| 0.6 | | | 0 | |
| 0.7 | | | 0 | |
| 0.8 | | | | |
| 0.9 | | | | |
Comparison of the error norm
| Method in [ | Our Method at | |||
|---|---|---|---|---|
| | ||||
| 0.2 | | | | |
| 0.4 | | | | |
| 0.6 | | | | |
| 0.8 | | | | |
| 1 | | | | |
Comparison of
| Method in [ | Our Method at | |||
|---|---|---|---|---|
| | | | | |
| 0.1 | | | | |
| 0.2 | | | | |
| 0.3 | | | | |
| 0.4 | | | | |
| 0.5 | | | | |
| 0.6 | | | | |
| 0.7 | | | | |
| 0.8 | | | | |
| 0.9 | | | | |
Comparison of the error norm
| Method in [ | Our Method at | |||||
|---|---|---|---|---|---|---|
| | CPU Time | CPU Time | ||||
| 0.2 | | | | 9.986 | | 8.017 |
| 0.4 | | | | 11.954 | | 8.017 |
| 0.6 | | | | 14.376 | | 8.017 |
| 0.8 | | | | 16.704 | | 8.032 |
| 1 | | | | 16.704 | | 8.032 |
1. Ordokhani, Y.; Sabermahani, S.; Rahimkhani, P. Application of Chelyshkov Wavelets and Least Squares Support Vector Regression to Solve Fractional Differential Equations Arising in Optics and Engineering. Math. Methods Appl. Sci.; 2025; 48, pp. 1996-2010. [DOI: https://dx.doi.org/10.1002/mma.10420]
2. Dehestani, H. Performance of Ritz-Piecewise Gegenbauer Approach for Two Types of Fractional Pantograph Equations Including Piecewise Fractional Derivative. Math. Methods Appl. Sci.; 2025; 48, pp. 6889-6903. [DOI: https://dx.doi.org/10.1002/mma.10724]
3. Jassim, H.; Hussein, G. Analytical Solutions to Fractional Differential Equations: A Comparative Study with the Natural Homotopy Perturbation Method. Proceedings of the 3rd International Conference on Mathematics, AI, Information and Communication Technologies (ICMAICT 2023); Erbil, Iraq, 27–28 April 2025; AIP Conference Proceedings AIP Publishing: Melville, NY, USA, 2025; Volume 3264, 050048.
4. Sayed, S.; Mohamed, A.; Abo El-Dahab, E.; Youssri, Y. Alleviated Shifted Gegenbauer Spectral Method for Ordinary and Fractional Differential Equations. Contemp. Math.; 2024; pp. 1344-1370. [DOI: https://dx.doi.org/10.37256/cm.5220244559]
5. Ramadan, M.; Mansour, M.; El-Shazly, N.; Osheba, H. The Double Ramadan Group Accelerated Adomian Decomposition Method for Solving Nonlinear Partial Differential Equations. Comput. Methods Differ. Equ.; 2025; [DOI: https://dx.doi.org/10.22034/cmde.2025.65368.3000]
6. Vargas, A. Finite Difference Method for Solving Fractional Differential Equations at Irregular Meshes. Math. Comput. Simul.; 2022; 193, pp. 204-216. [DOI: https://dx.doi.org/10.1016/j.matcom.2021.10.010]
7. Nedaiasl, K.; Dehbozorgi, R. Galerkin Finite Element Method for Nonlinear Fractional Differential Equations. Numer. Algorithms; 2021; 88, pp. 113-141. [DOI: https://dx.doi.org/10.1007/s11075-020-01032-2]
8. Maayaha, B.; Bushnaq, S.; Moussaoui, A. Numerical solution of fractional order SIR model of dengue fever disease via Laplace optimized decomposition method. J. Math. Comput. Sci.; 2024; 32, pp. 86-93. [DOI: https://dx.doi.org/10.22436/jmcs.032.01.08]
9. Samy, H.; Adel, W.; Hanafy, I.; Ramadan, M. A Petrov–Galerkin approach for the numerical analysis of soliton and multi-soliton solutions of the Kudryashov–Sinelshchikov equation. Iran. J. Numer. Anal. Optim.; 2024; 14, pp. 1309-1334.
10. Yassin, N.; Atta, A.; Aly, E. Numerical Solutions for Nonlinear Ordinary and Fractional Newell–Whitehead–Segel Equation Using Shifted Schröder Polynomials. Bound. Value Probl.; 2025; 2025, 57. [DOI: https://dx.doi.org/10.1186/s13661-025-02041-7]
11. Atta, A. Approximate Petrov–Galerkin Solution for the Time Fractional Diffusion Wave Equation. Math. Methods Appl. Sci.; 2025; 48, pp. 11670-11685. [DOI: https://dx.doi.org/10.1002/mma.10984]
12. Hafez, R.; Ahmed, H.; Alqubori, O.; Amin, A.; Abd-Elhameed, W. Efficient Spectral Galerkin and Collocation Approaches Using Telephone Polynomials for Solving Some Models of Differential Equations with Convergence Analysis. Mathematics; 2025; 13, 918. [DOI: https://dx.doi.org/10.3390/math13060918]
13. Taema, M.; Dagher, M.; Youssri, Y. Spectral Collocation Method via Fermat Polynomials for Fredholm–Volterra Integral Equations with Singular Kernels and Fractional Differential Equations. J. Math.; 2025; 14, pp. 481-492.
14. Salamaa, M.H.; Zedan, H.A.; Abd-Elhameed, W.M.; Youssri, Y.H. Galerkin Method with Modified Shifted Lucas Polynomials for Solving the 2D Poisson Equation. J. Comput. Appl. Mech.; 2025; 56, pp. 737-775.
15. Abdelhakem, M.; Abdelhamied, D.; El-Kady, M.; Youssri, Y. Two Modified Shifted Chebyshev–Galerkin Operational Matrix Methods for Even-Order Partial Boundary Value Problems. Bound. Value Probl.; 2025; 2025, 34. [DOI: https://dx.doi.org/10.1186/s13661-025-02021-x]
16. Abd-Elhameed, W.M.; Alkhamisi, S.O.; Amin, A.K.; Youssri, Y.H. Numerical contrivance for Kawahara-type differential equations based on fifth-kind Chebyshev polynomials. Symmetry; 2023; 15, 138. [DOI: https://dx.doi.org/10.3390/sym15010138]
17. Yağmurlu, N.M.; Karakaş, A.S. A novel perspective for simulations of the MEW equation by trigonometric cubic B-spline collocation method based on Rubin-Graves type linearization. Comput. Methods Differ. Equ.; 2022; 10, pp. 1046-1058.
18. Kutluay, S.; Yağmurlu, N.M.; Karakaş, A.S. A novel perspective for simulations of the Modified Equal-Width Wave equation by cubic Hermite B-spline collocation method. Wave Motion; 2024; 129, 103342. [DOI: https://dx.doi.org/10.1016/j.wavemoti.2024.103342]
19. Kutluay, S.; Yağmurlu, N.M.; Karakaş, A.S. A robust septic Hermite collocation technique for Dirichlet boundary condition heat conduction equation. Int. J. Math. Comput. Eng.; 2025; 3, pp. 253-266. [DOI: https://dx.doi.org/10.2478/ijmce-2025-0019]
20. Luo, M.; Qiu, W.; Nikan, O.; Avazzadeh, Z. Second-order accurate, robust and efficient ADI Galerkin technique for the three-dimensional nonlocal heat model arising in viscoelasticity. Appl. Math. Comput.; 2023; 440, 127655. [DOI: https://dx.doi.org/10.1016/j.amc.2022.127655]
21. Gottlieb, D.; Orszag, S. Numerical Analysis of Spectral Methods: Theory and Applications; SIAM: Philadelphia, PA, USA, 1977.
22. Brezinski, C. Padé-Type Approximation and General Orthogonal Polynomials; Springer: Berlin/Heidelberg, Germany, 1980; Volume 50.
23. Funaro, D. Polynomial Approximation of Differential Equations; Springer: Berlin/Heidelberg, Germany, 2008; Volume 8.
24. Gautschi, W. Orthogonal Polynomials: Computation and Approximation; Oxford University Press: Oxford, UK, 2004.
25. Gamal, M.; Zaky, M.; El-Kady, M.; Abdelhakem, M. Chebyshev Polynomial Derivative-Based Spectral Tau Approach for Solving High-Order Differential Equations. Comput. Appl. Math.; 2024; 43, 412. [DOI: https://dx.doi.org/10.1007/s40314-024-02908-y]
26. Abd-Elhameed, W.; Youssri, Y. New Formulas of the High-Order Derivatives of Fifth-Kind Chebyshev Polynomials: Spectral Solution of the Convection–Diffusion Equation. Numer. Methods Partial Differ. Equ.; 2024; 40, e22756. [DOI: https://dx.doi.org/10.1002/num.22756]
27. Sadiq, S.; ur Rehman, M. Numerical Technique Based on Generalized Laguerre and Shifted Chebyshev Polynomials. J. Appl. Anal. Comput.; 2024; 14, pp. 1977-2001. [DOI: https://dx.doi.org/10.11948/20220504]
28. Brahim, M.S.T.; Youssri, Y.H.; Alburaikan, A.; Khalifa, H.; Radwn, T. A Refined Galerkin Approach for Solving Higher-Order Differential Equations via Bernoulli Polynomials. Fractals; 2025; 2540183, 14.
29. Adebisi, A.; Uwaheren, O.; Oseni, W.; Ishola, C.; Peter, O. Numerical Solution of Fractional Order Differential Equations by Chebyshev Least Squares Approximation Method. Euler J. Ilm. Mat. Sains Teknol.; 2025; 13, pp. 38-44. [DOI: https://dx.doi.org/10.37905/euler.v13i1.31034]
30. Abd-Elhameed, W.; Ahmed, H. Spectral Solutions for the Time-Fractional Heat Differential Equation Through a Novel Unified Sequence of Chebyshev Polynomials. AIMS Math.; 2024; 9, pp. 2137-2166. [DOI: https://dx.doi.org/10.3934/math.2024107]
31. Ahmed, H.; Hafez, R.; Abd-Elhameed, W. A Computational Strategy for Nonlinear Time-Fractional Generalized Kawahara Equation Using New Eighth-Kind Chebyshev Operational Matrices. Phys. Scr.; 2024; 99, 045250. [DOI: https://dx.doi.org/10.1088/1402-4896/ad3482]
32. Podlubny, I. Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications; Elsevier: Amsterdam, The Netherlands, 1998; Volume 198.
33. Abd-Elhameed, W.; Youssri, Y. Explicit Shifted Second-Kind Chebyshev Spectral Treatment for Fractional Riccati Differential Equation. Comput. Model. Eng. Sci.; 2019; 121, pp. 1029-1049. [DOI: https://dx.doi.org/10.32604/cmes.2019.08378]
34. Abd-Elhameed, W.; Al-Sady, A.; Alqubori, O.; Atta, A. Numerical Treatment of the Fractional Rayleigh-Stokes Problem Using Some Orthogonal Combinations of Chebyshev Polynomials. AIMS Math.; 2024; 9, pp. 25457-25481. [DOI: https://dx.doi.org/10.3934/math.20241243]
35. Shafiq, M.; Abbas, M.; El-Shewy, E.; Abdelrahman, M.; Abdo, N.; El-Rahman, A. Numerical Investigation of the Fractional Diffusion Wave Equation with the Mittag–Leffler Function. Fractal Fract.; 2023; 8, 18. [DOI: https://dx.doi.org/10.3390/fractalfract8010018]
36. Zhao, X.; Wang, L.L.; Xie, Z. Sharp Error Bounds for Jacobi Expansions and Gegenbauer–Gauss Quadrature of Analytic Functions. SIAM J. Numer. Anal.; 2013; 51, pp. 1443-1469. [DOI: https://dx.doi.org/10.1137/12089421X]
© 2025 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/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.