摘要

In this paper we develop a unified difference-spectral method for stably solving time-space fractional sub-diffusion and super-diffusion equations. Based on the equivalence between Volterra integral equations and fractional ordinary differential equations with initial conditions, this proposed method is constructed by combining the spectral Galerkin method in space and the fractional trapezoid formula in time. Numerical experiments are carried out to verify the effectiveness of the method, and demonstrate that the unified method can achieve spectral accuracy in space and second-order accuracy in time for solving two kinds of time-space fractional diffusion equations.