Abstract
The main objective of this work is to apply a novel and accurate algorithm for solving the second-order and fourth-order fractional diffusion-wave equations (FDWEs). First, the desired equation is reduced to the corresponding Volterra integral equation (VIE). Then, the collocation method is applied, for which the Chebyshev cardinal functions (CCFs) have been considered as the bases. In this paper, the CCFs based on a Lobatto grid are introduced and used for the first time to solve these kinds of equations. To this end, the derivative and fractional integral operators are represented in CCFs. The main features of the method are simplicity, compliance with boundary conditions, and good accuracy. An exact analysis to show the convergence of the scheme is presented, and illustrative examples confirm our investigation.
MSC:
54A25; 65N35; 35L05; 35R11
1. Introduction
Recently, the modeling of various physical phenomena greatly relies on the significance of fractional differential equations (FDEs), making this subject a focal point for many researchers [1,2,3,4]. Numerous mathematical schemes have been introduced and applied to study and solve FDEs, including the adaptive grid technique [5], the B-spline collocation method [6], the wavelet method [7,8], multi-step methods [9], fast second-order accurate difference schemes [10], the Petrov–Galerkin finite element-meshfree formulation [11], the finite element method [12], an implicit integration factor method [13], Adomian decomposition [14], the Kuratowski measure of the noncompactness technique [15], etc.
The FDWE serves as a valuable mathematical model for representing various significant physical phenomena. The foundation of this model lies in a linear integro-partial fractional differential equation derived from the classical diffusion-wave equation. Notably, in its formulation, the conventional second-order time derivative is substituted with a fractional derivative of order (). The FWDE accurately describes numerous universal mechanical, electromagnetic, and acoustic responses; see, e.g., [16]. The fourth-order spatial derivative is accrued in the context of wave propagation in beams and the modeling of grooves on a flat surface. As a result, substantial attention has been focused on the fourth-order FDWE and its practical applications [17]. The second-order and fourth-order FDWEs have been considered in this paper as follows.
Our objective in this study was to solve the second-order FDWE,
with
and the fourth-order FDWE,
with
where , and indicates the derivative operator.
Several schemes have been introduced and implemented to solve these kinds of equations, including a compact difference scheme [18,19], the finite difference scheme [20], the Sumudu transform method [21], high-order compact finite difference methods [22], the implicit difference scheme [23], and the spectral tau method [24].
We strive to present a novel and accurate algorithm for solving Equations (1) and (2). After converting the desired equation into a Volterra integral equation, the next step is to solve it using the collocation method that relies on the CCFs. The CCFs are the powerful bases for solving a variety of equations [6,25,26]. In this work, the CCFs obtained from a Lobatto grid are used for the first time. Notably, the Lobatto grid is popular for solving boundary value problems because the boundary conditions instantly furnish two grid point values for the unknown. On the other hand, when the differential equation is singular at the endpoints, then the Lobatto grid is preferable.
The upcoming portions of the document are arranged as follows: Section 2 contains a review and introduction of CCFs and their properties. The collocation method is applied to solve second-order and fourth-order FDWEs using CCFs in Section 3. This section includes an investigation of the convergence analysis as well. Section 4 is dedicated to illustrating the accuracy and applicability of the method. To sum up our work, we included a conclusion in Section 5.
2. Chebyshev Cardinal Polynomials Based on Lobatto Grid
Let us denote the Chebyshev polynomials of order N by . As we know, has N real, simple, and different roots, sometimes called Chebyshev nodes. The Chebyshev nodes can be set as . Defining the Chebyshev polynomials onto the interval , called shifted Chebyshev polynomials and characterized by , is easy, and can be carried out through an affine transformation that maps into , viz.,
Consequently, the roots of are obtained through
The CCFs defined rely on two types of grids of the Chebyshev nodes. The first definition is associated with the Gauss–Chebyshev nodes of , and the second involves the Lobatto grid, which includes the extrema of Chebyshev polynomial along with the endpoints. Considering as the derivative operator with respect to x, the CCFs corresponding to the Gauss–Chebyshev grid [25,26,27] are stated by the following:
As mentioned above, there is another definition of CCFs with a substitute of nodes, namely the Lobatto grid, which are determined as follows:
in which .
For , the Sobolev space is denoted by
endowed with the inner product
which induces the norm
and the semi-norm
The remarkable characteristic of the CCFs is their cardinality, i.e.,
where denotes the Kronecker delta. The significance of this property lies in its ability to help determine coefficients without the need for calculating integrals when approximating any function with them. Introducing a projection operator is essential to map into (the space of all polynomials of degree less than ), i.e.,
Lemma 1
(cf [28]). Given , if , we have
where C is a constant independent of N.
2.1. Matrix Representation of the Derivative Operator in CCFs Obtained by Lobatto Grids
Consider as a vector function whose components are . The focus of this part is to specify a square matrix D, denoted as
The process below outlines how to specify the entries for D. Thanks to Equation (11), it is easy to confirm that
According to the definition of the CCFs using the Lobbato grid, an alternate formulation can be presented (see, e.g., [29]):
where
- If , then we obtainFrom Equation (10), we conclude that
- If , then one can obtain
2.2. Matrix Representation of the Fractional Integral Operator in CCFs Obtained by Lobatto Grids
In recalling the fractional integral operator (FIO), see, e.g., [30,31],
the square matrix fulfills
Thanks to (11), one can calculate the elements of as
For simplicity, the alternate formula of (15) can be considered, introduced in [25], as follows:
where
with
Consequently, (22) and (24) lead to determining
3. Proposed Algorithm
Taking into account the Lemma 2.22 [30] and taking the fractional integral from both sides of (26), one can obtain the corresponding integral equation, viz.,
where , and . To give rise to the proposed algorithm, the solution y must be approximated by CCFs, i.e.,
where N and can be different. Strictly speaking, they depend on our selection of the number of bases in each axis. Substituting in integral Equation (27) leads to
where , and . In the matrix form, one can write
where , and
The suggested algorithm utilizes the collocation approach as its foundation. Note that the collocation method selects the solution that satisfies the equation at the collocation points. Equivalently, in this approach, the residual function must approach zero at the collocation points. So, we obtain the residual function
and set the Lobatto nodes as collocation points.
Thanks to the matrix representation of FIO and derivative operator, and using the Lobatto grid, the following linear system can be obtained:
Consequently, we have the linear system .
In considering the endpoints as collocation points in the Lobatto grid, only two conditions in the fourth-order FDWE remain unapplied. To use these two conditions, we make the following substitutions:
where are obtained by
By converting the matrices A, Y, and G into vectors , , and , respectively, the following system can be obtained:
Solving this system using the Linsolve command of Matlab (version 2022) leads to finding the unknowns , for , .
Convergence Analysis
The boundedness of the FIO in was presented in [30] as follows:
Theorem 1.
Let . The proposed method converges, and the error satisfies
where C andΛare constants, , and .
Proof.
Subtracting Equation (29) from (27) leads to
where . Taking the norm of (36) and using the triangular inequality gives rise to
Motivated by Lemma 1 and in using , the first norm on the left side can be bounded as follows:
where is a constant. Similarly, thanks to Lemma 1 and using Equation (34), we have
in which is a constant, and K is determined by (34). In addition to Lemma 1 and Equation (34), we need to use Theorem 8.6 [28] to find the bound of the second norm on the left side of Equation (37), viz.,
Consequently, it is easy to confirm that
Considering , one can obtain
□
4. Numerical Experiments
To show the accuracy of the proposed scheme, we calculated the -error and -error. These errors are given by the following equations:
and
Example 1.
Consider the second-order FDWE as follows [32]:
with conditions
The analytic solution for this equation is reported in [33], obtained by VIM, as
in which denotes the Mittag–Leffler function [30].
To demonstrate the presented method’s ability to solve second-order FDWE, Table 1 is provided. As you can see, the method solves the problem with high accuracy. Table 2 tabulates the method’s convergence. Increasing the value of N (number of bases) reduces error. Also, in this table, we report the CPU time. Figure 1 illustrates the approximate solution and corresponding absolute error, taking and . Figure 2 plots the absolute errors obtained with different values of N at , where was selected as . It is worth mentioning that when , we expected the solutions to tend toward the corresponding solution obtained with . Figure 3 demonstrates this fact.
Table 1.
The errors obtained using the presented method for Example 1.
Table 2.
The -error, taking for Example 1.
Figure 1.
Plots of the approximate solution and corresponding error, where and (Example 1).
Figure 2.
Errors reported at for different values of N, taking for Example 1.
Figure 3.
Approximate solution obtained for different values of at for Example 1.
Example 2.
The second example delves into the fourth-order FDWE [20]:
with
and
As reported in [20], the exact solution is denoted as .
The capability of solving fourth-order FDWEs is showcased in Table 3 through the presented method. We tabulated Table 4 to confirm that the method is convergent. Increasing the number of bases (N) reduces error. Also, in this table, we report the CPU time. Table 5 is reported to compare the presented method with CCNFDM [20]. Our scheme gives better accuracy than CCNFDM, and it requires fewer calculations. Figure 4 illustrates the approximate solution and corresponding absolute error, taking and . We plot the absolute errors at , obtained for different values of N, in Figure 5.
Table 3.
The errors obtained using the presented method for Example 2.
Table 4.
The -error, taking for Example 2.
Table 5.
A comparison between the presented scheme and CCNFDM [20] for Example 2.
Figure 4.
Plots of the approximate solution and corresponding error, where and (Example 2).
Figure 5.
Errors reported at for different values of N, taking for Example 2.
5. Conclusions
Considering the importance and application of the FDWE, mentioned in the introduction section, solving this type of equation can be extremely valuable. In this study, we introduce an innovative and precise algorithm for solving the given equation. The algorithm is derived by reducing the equation to the Volterra integral equation and solving this integral equation with the collocation method. To confirm the convergence of the method, we performed a rigorous analysis, and the numerical examples support our findings.
Based on the experimental observations, the following conclusions can be drawn:
- The presented algorithm demonstrates efficacy in solving the FDWE.
- Our algorithm demonstrates convergence when tackling these equations.
- The method presented offers reduced computational cost by avoiding integration to find coefficients.
- The proposed algorithm is simple to implement, and it also provides good accuracy.
Author Contributions
Conceptualization, H.B.J. and I.D.; methodology, H.B.J.; software, H.B.J. and I.D.; validation, H.B.J. and I.D.; formal analysis, H.B.J. and I.D.; investigation, H.B.J. and I.D.; writing—original draft preparation, H.B.J. and I.D.; writing—review and editing, H.B.J. and I.D.; visualization, H.B.J. and I.D.; supervision, H.B.J.; project administration, H.B.J. and I.D.; funding acquisition, H.B.J. All authors have read and agreed to the published version of the manuscript.
Funding
This project was supported by Researchers Supporting Project number RSP2024R210, King Saud University, Riyadh, Saudi Arabia.
Data Availability Statement
The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.
Conflicts of Interest
The writers state that they have no known personal relationships or competing financial interests that could have appeared to affect the work reported in this work.
References
- Arif, M.; Ali, F.; Khan, I.; Nisar, K.S. A time fractional model with non-singular kernel the generalized couette flow of couple stress nanofluid. IEEE Access 2020, 8, 77378–77395. [Google Scholar] [CrossRef]
- Chang, A.; Sun, H.; Zheng, C.; Bingqing, L.; Chengpeng, L.; Rui, M.; Yong, Z. A Time Fractional Convection-Diffusion Equation to Model Gas Transport through Heterogeneous Soil and Gas Reservoirs. Physica A 2018, 502, 356–369. [Google Scholar] [CrossRef]
- Tenreiro, M.; Silva, M.F.; Barbosa, R.S.; Jesus, I.S.; Reis, C.M.; Marcos, M.G.; Galhano, A.F. Some Applications of Fractional Calculus in Engineering. Math. Probl. Eng. 2010, 2010, 639801. [Google Scholar] [CrossRef]
- Mainardi, F. Fractional Calculus and Waves in Linear Viscoelasticity; Imperial College Press: London, UK, 2010. [Google Scholar]
- Maji, S.; Natesan, S. Adaptive-grid technique for the numerical solution of a class of fractional boundary-value-problems. Comput. Methods Differ. Equ. 2010, 12, 338–349. [Google Scholar]
- Lakestani, M.; Dehghan, M. The use of Chebyshev cardinal functions for the solution of a partial differential equation with an unknown time-dependent coefficient subject to an extra measurement. J. Comput. Appl. Math. 2010, 235, 669–678. [Google Scholar] [CrossRef][Green Version]
- Asadzadeh, M.; Saray, B.N. On a multiwavelet spectral element method for integral equation of a generalized Cauchy problem. BIT Numer. Math. 2022, 62, 383–1416. [Google Scholar] [CrossRef]
- Shi, L.; Saray, B.N.; Soleymani, F. Sparse wavelet Galerkin method: Application for fractional Pantograph problem. J. Comput. Appl. Math. 2024, 451, 116081. [Google Scholar] [CrossRef]
- Garrappa, R. On some explicit Adams multistep methods for fractional differential equations. J. Comput. Appl. Math. 2009, 229, 392–399. [Google Scholar] [CrossRef]
- Jian, H.Y.; Huang, T.Z.; Zhao, X.; Zhao, Y.L. A fast second-order accurate difference schemes for time distributed-order and Riesz space fractional diffusion equations. J. Appl. Anal. Comput. 2019, 9, 1359–1392. [Google Scholar] [CrossRef]
- Lin, Z.; Wang, D.; Qi, D.; Deng, L. A Petrov–Galerkin finite element-meshfree formulation for multi-dimensional fractional diffusion equations. Comput. Mech. 2020, 66, 323–350. [Google Scholar] [CrossRef]
- Fix, G.J.; Roop, J.P. Least squares finite element solution of a fractional order two-point boundary value problem. Comput. Math. Appl. 2004, 48, 1017–1033. [Google Scholar] [CrossRef]
- Zhao, Y.L.; Zhu, P.; Gu, X.M.; Zhao, X.; Jian, H.Y. An implicit integration factor method for a kind of spatial fractional diffusion equations. J. Phys. Conf. Ser. 2019, 1324, 012030. [Google Scholar] [CrossRef]
- Daftardar-Gejji, V.; Jafari, A. Adomian decomposition: A tool for solving a system of fractional differential equations. J. Math. Anal. Appl. 2005, 301, 508–518. [Google Scholar] [CrossRef]
- Benkerrouche, B.; Baleanu, D.; Souid, M.S.; Hakem, A. Boundary value problem for nonlinear fractional differential equations of variable order via Kuratowski MNC technique. Adv. Differ. Equ. 2021, 2021, 365. [Google Scholar] [CrossRef]
- Nigmatullin, R.R. To the theoretical explanation of the universal response. Phys. Status Solidi B Basic Res. 1984, 123, 739–745. [Google Scholar] [CrossRef]
- Oldham, K.B.; Spanier, J. The Fractional Calculus; Academic Press: New York, NY, USA, 1974. [Google Scholar]
- Du, R.; Cao, W.R.; Sun, Z.Z. A compact difference scheme for the fractional diffusion-wave equation. Appl. Math. Model. 2010, 34, 2998–3007. [Google Scholar] [CrossRef]
- Hu, X.; Zhang, L. A compact finite difference scheme for the fourth-order fractional diffusion-wave system. Comput. Phys. Commun. 2011, 182, 1645–1650. [Google Scholar] [CrossRef]
- Hu, X.; Zhang, L. On finite difference methods for fourth-order fractional diffusion-wave and subdiffusion systems. Appl. Math. Comput. 2012, 218, 5019–5034. [Google Scholar] [CrossRef]
- Darzi, R.; Mohammadzade, B.; Mousavi, S.; Beheshti, R. Sumudu transform method for solving fractional differential equations and fractional diffusionwave equation. J. Math. Comput. Sci. 2013, 6, 79–84. [Google Scholar] [CrossRef][Green Version]
- Cui, M.R. Convergence analysis of high-order compact alternating direction implicit schemes for the two-dimensional time fractional diffusion equation. Numer. Algorithms 2013, 62, 383–409. [Google Scholar] [CrossRef]
- Chen, J.; Liu, F.; Anh, V.; Shen, S.; Liu, Q.; Liao, C. The analytical solution and numerical solution of the fractional diffusion-wave equation with damping. Appl. Math. Comput. 2012, 219, 1737–1748. [Google Scholar] [CrossRef]
- Bhrawy, A.H.; Doha, E.H.; Baleanu, D.; Ezz-Eldien, S.S. A spectral tau algorithm based on Jacobi operational matrix for numerical solution of time fractional diffusion-wave equations. J. Comput. Phys. 2015, 293, 142–156. [Google Scholar] [CrossRef]
- Afarideh, A.; Dastmalchi Saei, F.; Lakestani, M.; Saray, B.N. Pseudospectral method for solving fractional Sturm-Liouville problem using Chebyshev cardinal functions. Phys. Scr. 2021, 96, 125267. [Google Scholar] [CrossRef]
- Shahriari, M.; Saray, B.N.; Mohammadalipour, B.; Saeidian, S. Pseudospectral method for solving the fractional one-dimensional Dirac operator using Chebyshev cardinal functions. Phys. Scr. 2023, 98, 055205. [Google Scholar] [CrossRef]
- Boyd, J.P. Chebyshev and Fourier Spectral Methods, 2nd ed.; Dover Publications: Garden City, NY, USA, 2001. [Google Scholar]
- Shen, J.; Tang, T.; Wang, L.L. Spectral Methods: Algorithms. Analysis, Applications; Springer: Berlin, Germany, 2011. [Google Scholar]
- Afarideh, A.; Dastmalchi Saei, F.; Saray, B.N. Eigenvalue problem with fractional differential operator: Chebyshev cardinal spectral method. J. Math. Model. 2021, 11, 343–355. [Google Scholar]
- Kilbas, A.; Srivastava, H.M.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; Elsevier B. V.: Amsterdam, The Netherlands, 2006. [Google Scholar]
- Saray, B.N. Abel’s integral operator: Sparse representation based on multiwavelets. BIT Numer. Math. 2021, 61, 587–606. [Google Scholar] [CrossRef]
- Jafari, H.; Momani, S. Solving fractional diffusion and wave equations by modified homotopy perturbation method. Phys. Lett. A 2007, 370, 388–396. [Google Scholar] [CrossRef]
- Momani, S.; Odibat, Z. Comparison between the homotopy perturbation method and the variational iteration method for linear fractional partial differential equations. Comput. Math. Appl. 2007, 54, 910–919. [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. |
© 2024 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/).