Skip to main content
Log in

Operational matrix based numerical scheme for the solution of time fractional diffusion equations

  • Original Paper
  • Published:
Fractional Calculus and Applied Analysis Aims and scope Submit manuscript

Abstract

This paper presents a numerical method based on an operational matrix of Legendre polynomials for resolving the class of time fractional diffusion (TFD) equations. The operational matrix of fractional order derivatives of the Legendre polynomials is derived as a product of matrices. The collocation method together with the operational matrix of Legendre polynomials are employed to transform the TFD equations into a set of algebraic equations. The perturbation method is applied to show the stability of the discussed method. The accuracy of the suggested method is validated using numerical experiments. The solution obtained by this method is in excellent agreement with the exact solution for the integer order of derivatives and is more precise than the solution obtained by the existing method in which Bernstein polynomials are taken as the basis polynomials.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. Appadu, A.R., Kelil, A.S.: Some finite difference methods for solving linear fractional KdV equation. Frontiers in Applied Mathematics and Statistics 9, 1261270 (2023)

    Article  Google Scholar 

  2. Baleanu, D., Agheli, B., Darzi, R.: Analysis of the new technique to solution of fractional wave-and heat-like equation. Acta Physica Polonica B 48(1), 77–95 (2017)

    Article  ADS  MathSciNet  Google Scholar 

  3. Cetinkaya, S., Demir, A.: Time fractional diffusion equation with periodic boundary conditions. Konuralp Journal of Mathematics 8(2), 337–342 (2020)

    MathSciNet  Google Scholar 

  4. Chen, N., Huang, J., Wu, Y., Xiao, Q.: Operational matrix method for the variable order time fractional diffusion equation using Legendre polynomials approximation. IAENG International Journal of Applied Mathematics 47(3), 282–286 (2017)

    MathSciNet  Google Scholar 

  5. Gandomani, M.S., Kajan, M.T.: Numerical solution of a fractional order model of hiv infection of cd4+ t cells using Müntz-Legendre polynomials. International Journal Bioautomation 20(2), 193 (2016)

    Google Scholar 

  6. Gorguis, A., Wazwaz, A.A.: Exact solutions for heat-like and wave-like equations with variable coefficients. Applied Mathematics and Computation 149(1), 15–29 (2004)

    Article  MathSciNet  Google Scholar 

  7. Hesameddini, E., Shahbaz, M.: Two-dimensional shifted Legendre polynomials operational matrix method for solving the two-dimensional integral equations of fractional order. Applied Mathematics and Computation 322, 40–54 (2018)

    Article  MathSciNet  Google Scholar 

  8. Heydari, M.H., Avazzadeh, Z., Cattani, C.: Numerical solution of variable-order space-time fractional Kdv-Burgers-Kuramoto equation by using discrete Legendre polynomials. Engineering with Computers, 1–11 (2020)

  9. Hilfer, R.: Applications of Fractional Calculus in Physics. World Scientific (2000)

  10. Hosseininia, M., Heydari, M.H., Avazzadeh, Z.: Orthonormal shifted discrete Legendre polynomials for the variable order fractional extended Fisher-Kolmogorov equation. Chaos, Solitons & Fractals 155, 111729 (2022)

    Article  MathSciNet  Google Scholar 

  11. Jaiswal, S., Das, S., Gómez-Aguila, J.F.: A new approach to solve the fractional order linear/non-linear two-dimensional partial differential equation using Legendre collocation technique. Few-Body Systems 63(3), 1–19 (2022)

    Article  Google Scholar 

  12. Khalil, H., Khan, R.A., Smadi, M.AL., Freihat, A.: A generalized algorithm based on Legendre polynomials for numerical solutions of coupled system of fractional order differential equations. Journal of Fractional Calculus and Applications 6(2), 23-143 (2015)

  13. Kumar, S., Pandey, R.K., Kumar, K., Kamal, S., Dinh, T.N.: Finite difference-collocation method for the generalized fractional diffusion equation. Fractal and Fractional 6(7), 387 (2022)

    Article  Google Scholar 

  14. Langlands, T.A.M., Henry, B.I.: The accuracy and stability of an implicit solution method for the fractional diffusion equation. Journal of Computational Physics 205(2), 719–736 (2005)

    Article  ADS  MathSciNet  Google Scholar 

  15. Li, C., Zeng, F.: Numerical Methods for Fractional Calculus. CRC Press (2015)

  16. Li, C., Zeng, F.: Finite difference methods for fractional differential equations. International Journal of Bifurcation and Chaos 22(04), 1230014 (2012)

    Article  ADS  MathSciNet  Google Scholar 

  17. Li, T., Li, Y., Liu, F., Turner, I.W.: Time-fractional diffusion equation for signal smoothing. Applied Mathematics and Computation 326, 108–116 (2018)

    Article  MathSciNet  Google Scholar 

  18. Liu, N., Lin, E.B.: Legendre wavelet method for numerical solutions of partial differential equations. Numerical Methods for Partial Differential Equations: An International Journal 26(1), 81–94 (2010)

    Article  MathSciNet  Google Scholar 

  19. Momani, S.: Analytical approximate solution for fractional heat-like and wave-like equations with variable coefficients using the decomposition method. Applied Mathematics and Computation 165(2), 459–472 (2005)

    Article  MathSciNet  Google Scholar 

  20. Nadeem, M., Yao, S.W.: Solving the fractional heat-like and wave-like equations with variable coefficients utilizing the Laplace homotopy method. International Journal of Numerical Methods for Heat and Fluid Flow 31(1), 273–292 (2020)

    Article  Google Scholar 

  21. Rangkuti, Y.M., Noorani, M.S.M., Hashi, I.: Variational iteration method for fractional heat-and wave-like equations. Nonlinear Analysis: Real World Applications 10(3), 1854–1869 (2009)

    MathSciNet  Google Scholar 

  22. Rostamy, D., Karimi, K.: Bernstein polynomials for solving fractional heat-and wave-like equations. Fract. Calc. Appl. Anal. 15(4), 556–571 (2012). https://doi.org/10.2478/s13540-012-0039-7

    Article  MathSciNet  Google Scholar 

  23. Saw, V., Kumar, S.: Collocation method for time fractional diffusion equation based on the Chebyshev polynomials of second kind. International Journal of Applied and Computational Mathematics 6(4), 117 (2020)

    Article  MathSciNet  Google Scholar 

  24. Singh, A.K., Mehra, M.: Wavelet collocation method based on Legendre polynomials and its application in solving the stochastic fractional integro-differential equations. Journal of Computational Science 51, 101342 (2021)

    Article  MathSciNet  Google Scholar 

  25. Singh, B.K.: Homotopy perturbation new integral transform method for numeric study of space-and time-fractional (n+1)-dimensional heat-and wave-like equations. Waves, Wavelets and Fractals 4(1), 19–36 (2018)

    Article  Google Scholar 

  26. Singh, H., Singh, C.S.: Stable numerical solutions of fractional partial differential equations using Legendre scaling functions operational matrix. Ain Shams Engineering Journal 9(4), 717–725 (2018)

    Article  Google Scholar 

  27. Uchaikin, V.V.: Fractional Derivatives for Physicists and Engineers. Springer Cambridge (2013)

  28. Yang, Y., Ma, Y., Wang, L.: Legendre polynomials operational matrix method for solving fractional partial differential equations with variable coefficients. Mathematical Problems in Engineering 2015, 1–9 (2015)

    MathSciNet  CAS  Google Scholar 

  29. Yokus, A.: Comparison of Caputo and conformable derivatives for time-fractional Korteweg-de Vries equation via the finite difference method. International Journal of Modern Physics B 32(29), 1850365 (2018)

    Article  ADS  MathSciNet  Google Scholar 

  30. Zaky, M.A., Bhrawy, A.H., Baleanu, D.: New numerical approximations for space-time fractional Burgers’ equations via a Legendre spectral-collocation method. Rom. Rep. Phys 67(2), 340–349 (2015)

    Google Scholar 

Download references

Acknowledgements

The authors appreciate the reviewers’ insightful comments. The first author would like to thank the Council of Scientific and Industrial Research Government of India, for financial assistance in the form of research stipend (09/0874(13343)/2022-EMR-I). The authors also thank to Department of Science and Technology, Government of India, for supporting the completion of this work under the "FIST" scheme (No.SR/FST/MS-I/2019/40).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ashish Awasthi.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Poojitha, S., Awasthi, A. Operational matrix based numerical scheme for the solution of time fractional diffusion equations. Fract Calc Appl Anal 27, 877–895 (2024). https://doi.org/10.1007/s13540-024-00252-w

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13540-024-00252-w

Keywords

Mathematics Subject Classification

Navigation