Doha, E. H.Bhrawy, A. H.Ezz-Eldien, S. S.2019-11-202019-11-202015Cited References in Web of Science Core Collection: 491555-1423https://doi.org/10.1115/1.4027944https://cutt.ly/jeZcACNAccession Number: WOS:000351349700019n this work, we discuss an operational matrix approach for introducing an approximate solution of the fractional subdiffusion equation (FSDE) with both Dirichlet boundary conditions (DBCs) and Neumann boundary conditions (NBCs). We propose a spectral method in both temporal and spatial discretizations for this equation. Our approach is based on the space-time shifted Legendre tau-spectral method combined with the operational matrix of fractional integrals, described in the Riemann-Liouville sense. The main characteristic behind this approach is to reduce such problems to those of solving systems of algebraic equations in the unknown expansion coefficients of the sought-for spectral approximations. In addition, this approach is also investigated for solving the FSDE with the variable coefficients and the fractional reaction subdiffusion equation (FRSDE). For conforming the validity and accuracy of the numerical scheme proposed, four numerical examples with their approximate solutions are presented. Also, comparisons between our numerical results and those obtained by compact finite difference method (CFDM), Box-type scheme (B-TS), and FDM with Fourier analysis (FA) are introduced.enUniversity for fractional subdiffusion equationfractional reaction subdiffusion equationNeumann boundary conditionsoperational matrixTau-spectral methodRiemann-Liouville integralCaputo derivativeAn Efficient Legendre Spectral Tau Matrix Formulation for Solving Fractional Subdiffusion and Reaction Subdiffusion EquationsArticlehttps://doi.org/10.1115/1.4027944