Skip to Content
  • Article
  • Open Access

7 August 2026

39 Pages

A Galerkin Finite Element Method with Cubic β-Spline Basis for Multi-Term Time-Fractional Differential Equations

,
,
,
and
1
Department of Mathematics, University of Sargodha, Sargodha 40100, Pakistan
2
Department of Mathematics, College of Science, Qassim University, Buraydah 51452, Saudi Arabia
*
Author to whom correspondence should be addressed.

Abstract

This paper presents a Galerkin finite element method based on cubic β -spline basis functions for the numerical solution of multi-term time-fractional differential equations. The spatial discretization is constructed using a parametric family of cubic β -splines, which provide enhanced flexibility and smoothness in the approximation space. For the temporal discretization, the Caputo fractional derivatives are approximated using the L 1 scheme combined with a θ -method to improve stability and numerical accuracy for multi-term fractional models. The resulting fully discrete formulation is solved efficiently and the source terms are evaluated using Gauss–Legendre quadrature to obtain accurate load vector approximations. The convergence behavior of the proposed scheme is investigated through mesh refinement analysis and numerical accuracy is assessed using standard error norms. Several benchmark test problems are considered to validate the proposed method. The numerical results demonstrate that the cubic β -spline Galerkin approach provides accurate and stable approximations, with error norms decreasing consistently as the mesh is refined. Comparisons with available exact solutions further confirm the efficiency and reliability of the proposed numerical scheme for solving complex multi-term time-fractional differential equations.

1. Introduction

The multi-term time-fractional differential equation (MTT-FDE) considered in this study is given by
∑ k = 1 m d k ∂ η k ψ ( x , t ) ∂ t η k = ∂ 2 ψ ( x , t ) ∂ x 2 + e ( x , t ) ,
subject to the initial condition
ψ ( x , 0 ) = h ( x ) , x ∈ [ u , v ] ,
and the boundary conditions (BCs)
ψ ( u , t ) = g 1 ( t ) , ψ ( v , t ) = g 2 ( t ) , t > 0 .
Here, D t η k denotes the Caputo fractional derivative of order η k ( 0 < η k ≤ 1 ) , the coefficients d k > 0 are constants and h ( x ) , g 1 ( t ) , g 2 ( t ) and e ( x , t ) are prescribed functions. The Caputo fractional derivative of order η is defined as
D t η C f ( t ) = 1 Γ ( 1 − η ) ∫ 0 t f ′ ( s ) ( t − s ) η d s , 0 < η < 1 .
Multi-term time-fractional differential equations arise in the modeling of physical and engineering processes that exhibit complex memory effects and anomalous diffusion behavior. In many real-world applications, a single fractional derivative is not sufficient to describe the underlying dynamics, whereas multi-term fractional models provide a more accurate representation of materials and processes with multiple memory scales.
Multi-term fractional differential equations occur naturally in many applications in science and engineering that require memory terms. Examples are anomalous diffusion in heterogeneous porous media, viscoelasticity modeling, contaminant transport in groundwater, heat transfer in composite materials, electrochemical diffusion in batteries, biological transport processes, and financial mathematics with long-term memory effects. Thus, the numerical solution of such models becomes essential in order to study transport phenomena that cannot be captured by classical integer models.
The numerical simulation of MTT-FDEs has received considerable interest in the past few decades owing to the capability of MTT-FDEs in describing complex anomalous diffusion phenomena at various memory scales. As the exact analytical solution of such systems cannot usually be obtained, it is imperative that reliable and accurate numerical schemes are developed for this purpose. The basic mathematical properties, initial-boundary conditions, and stability analysis of such fractional models have been critically investigated in the literature [1,2,3,4,5]. Based on the existing theories, various numerical and semi-analytical methods have been developed, which can be classified into transformation-based methods, meshless collocation approaches, and finite difference schemes, among others.
One category of primary studies focused on the use of semi-analytical and expansion schemes such as matrix Mittag–Leffler approximation, decomposition techniques, and polynomial transformations, as described by Malik et al. [6], Bhrawy et al. [7], Popolizio [8], Ming et al. [9], Momani and Al-Khaled [10], and Abuasad et al. [11]. Though these approaches provide significant closed-form solutions in specific domains and certain regions of parameters, they suffer from some inherent drawbacks in terms of scalability. For example, the calculation of complex matrix operations and operational matrices for several fractional orders results in high computational complexity, making them unsuitable for general multi-term cases with inhomogeneous boundaries.
For bypassing the complexities related to the geometrical irregularities without having the need for the domain meshing, the global and local meshless collocation schemes have been developed; some examples are the radial basis formulations and the wavelets based patterns proposed by Qiao and Xu [12], Ahmad et al. [13], Hussain and Haq [14], Shiralashetti and Deshi [15], Ramezani [16], and Katsikadelis [17]. Even though such collocation schemes are extremely flexible in terms of the shape of the domain, they have a drawback that the matrices involved in such formulations become densely packed and highly ill-conditioned. When such matrices are used for solving MTT-FDEs with extensive memory effects over time, their storage and inversion create significant memory costs.
As another alternative, to impose sparsity and regularity of the matrices, grid-based formulations such as the classical finite element method (FEM) and classic cubic B-spline Galerkin have become popular [18,19,20,21,22,23]. In particular, Jin et al. [22] and Li et al. [23] have derived precise conditions of convergence for the standard Galerkin spaces, and Arifeen et al. [20,21] have employed traditional cubic B-splines for the retention of sparseness and bandedness of the matrices. Although they have been successful in solving the memory storage problems of the meshless method, both standard finite elements and traditional B-splines suffer from the same problem; that is, they are parametrically and geometrically rigid. This means that classical FEM basis functions and traditional B-splines do not offer any inherent and tunable shape parameter that can be adjusted to change the local smoothness and behavior at boundaries without having to make drastic changes to the grid itself.
In addition to this spatial rigidity, there is the complexity of the stability criteria of multi-term evolution with respect to time. The time-stepping schemes that are well-developed and the L 1 type formulation studied by Ravi Kanth and Garg [24], Dehghan et al. [25], Fan et al. [26], El-Mesiry et al. [27], Ren and Sun [28], Liu et al. [29], and Zou and Zhang [30] have performed much for the advancement of time stepping of single-term fractional differential equations. However, when different memory functions act on different fractional powers of time at the same time, then the conventional time stepping suffers from stability and accuracy constraints close to the origin t → 0 .
Zhao et al. [31] presented a mixed finite element scheme for solving multi-term time-fractional reaction–diffusion equations. Their numerical experiment showed the efficiency of their method. Shafiq et al. [32] proposed a cubic B-spline method to solve the fractional diffusion-wave equation with an exponential kernel. The accuracy and computational efficiency of the proposed method were illustrated by their findings. Singh et al. [33] proposed a full discretization based on a cubic spline approximation for the solution of the time fractional reaction diffusion equation having weakly singular initial data. Shafiq et al. [34] proposed an extended cubic B-spline method to solve the time fractional diffusion-wave equation having an exponential kernel. Their findings showed that their method had excellent precision and computational efficiency.
Hence, an important research gap that requires attention is a need for a single approach that simultaneously ensures high-order spatial smoothness, parametric control of approximation spaces and adjustment of the temporal stability mechanism, resulting in lightweight and sparse systems.
In an attempt to fill this gap, this paper presents a novel coupled scheme comprising a cubic β -spline Galerkin technique for spatial discretization and the application of a weighted θ -method along with the L 1 approach for advancing in time. While the use of the cubic β -spline method allows for customization of the scaling parameters ( β 1 and β 2 ) which enable one to modulate the degree of smoothness of the solution in space as well as boundary flexibility without changing the grid size, the employment of a weighted θ -method ensures the explicit tuning of the model to strike a perfect balance between accuracy and stability for conflicting temporal fractional scales. Most importantly, the full discretization scheme ensures the generation of symmetric narrow-banded system matrices.
Despite the fact that both Galerkin finite element and cubic B-spline techniques have previously been used for solving multi-term time-fractional differential equations, the current formulation is different from the existing schemes through the use of a set of parametric cubic β -spline basis functions. Unlike the conventional cubic B-spline basis functions whose shape is predetermined, the cubic β -spline basis includes the parameters β 1 and β 2 , which affect the nodal values and derivatives of the basis functions. As a result, the mass and stiffness matrices become parameter dependent.
Choice of the approximation spaces is vital for the efficiency and effectiveness of the finite element methods. Cubic B-splines, which are commonly used for fractional differential equation solving due to their C 2 continuity and local support, have inflexible form restrictions since the form of their basis functions is uniquely defined by a set of knots. On the contrary, cubic β -splines have two extra shape parameters, namely skewness ( β 1 ) and tension ( β 2 ).
The additional shape parameters of the cubic β -spline provide several advantages over the conventional cubic B-spline basis. The tension parameter β 2 enables local control over the tightness of the spline, allowing the approximation to adapt more effectively to steep solution gradients and boundary layers while reducing oscillations. The skewness parameter β 1 introduces directional flexibility into the basis functions, which is particularly beneficial for problems exhibiting asymmetric or transport-dominated solution profiles. Furthermore, the cubic β -spline is a strict generalization of the classical cubic B-spline, since choosing β 1 = 1 and β 2 = 0 exactly recovers the standard basis functions while preserving their desirable computational properties, including local support and c 2 continuity. The availability of these shape parameters also provides additional freedom to improve the conditioning of the global system matrices, resulting in enhanced numerical stability and computational efficiency compared with conventional B-spline formulations.
The key contribution of the proposed method is to provide a Galerkin finite element formulation that uses cubic β -splines for the trial and test functions in multi-term time-fractional differential equations. The parameter-dependent spatial approximation is coupled with L 1 discretization of the Caputo fractional derivatives and a weighted θ -scheme. This formulation keeps the compact support and banded matrices and provides some extra flexibility using the shape parameters β 1 and β 2 .
This paper introduces a parameterized Galerkin finite element approach using cubic β -spline basis functions to solve the multi-term time-fractional differential equations. The spatial approximation introduced here is coupled with the L 1 approximation of the Caputo fractional derivatives and the θ -method to provide a stable and efficient fully-discrete algorithm. Because of the local support of the cubic β -spline basis functions, the linear systems involved in the algorithm are symmetric and banded, making the numerical implementation efficient. The performance of the proposed method is examined via various numerical experiments, including error analysis, sensitivity analysis on the spline shape parameters, effect of different fractional orders of derivatives, and comparison with other numerical schemes.
The suggested formulation has some distinct features compared to other existing Galerkin formulations. Unlike traditional cubic B-spline basis functions, the cubic β -spline basis functions contain two shape parameters, which offer more opportunities for adjusting the approximation space. The ability to tune basis functions according to the problem properties without violating their favorable properties like compactness and smoothness is possible due to such adjustable parameters. Due to the fact that a cubic β -spline is a mathematical generalization of a cubic B-spline, the traditional formulation can be considered a particular case of the suggested one under conditions β 1 = 1 and β 2 = 0 . Furthermore, adjustable basis functions result in better matrix conditioning, thus increasing stability and computational efficiency of the algorithm without changing the structure of the finite element matrices.
Owing to the inherent flexibility of the cubic β -spline approximations along with the stability of the developed time discretization scheme, it can be anticipated that the current approach will be efficient for the numerical solution of multi-term fractional diffusion and reaction-diffusion equations which arise in many practical applications.
The rest of the paper is structured as follows. The derivation of the cubic β -spline Galerkin approach along with the temporal and spatial discretizations is described in Section 2. Section 3 and Section 4 analyze the stability and convergence properties, respectively. In Section 5, various numerical examples, sensitivity analyses, and comparison studies are presented to show the accuracy, robustness, and efficiency of the new method. Finally, the concluding remarks along with some future works are reported in Section 6.

2. Numerical Scheme Derivation

This section presents the complete derivation of the cubic β -spline Galerkin finite element method for solving the multi-term time-fractional differential equation (MTT-FDE) defined in Equation (1).

2.1. Temporal Discretization

The temporal fractional derivatives in Equation (1) are discretized using the L 1 approximation. At the discrete time levels t n = n Δ t , we denote
ψ n ( x ) : = ψ ( x , t n ) .
For a single fractional derivative of order η with 0 ≤ η ≤ 1 at time t n + 1 , we write
∂ η ∂ t η ψ ( x , t n + 1 ) = 1 Γ ( 1 − η ) ∫ 0 t n + 1 ∂ ψ ( x , w ) ∂ w ( t n + 1 − w ) − η d w = 1 Γ ( 1 − η ) ∑ r = 0 n ∫ t r t r + 1 ∂ ψ ( x , w ) ∂ w ( t n + 1 − w ) − η d w
Applying the forward difference to the time derivative gives
∂ η ∂ t η ψ ( x , t n + 1 ) = 1 Γ ( 1 − η ) ∑ r = 0 n ψ r + 1 − ψ r Δ t + O ( Δ t ) ∫ t r t r + 1 ( t n + 1 − w ) η d w = 1 Γ ( 1 − η ) ∑ r = 0 n ψ r + 1 − ψ r Δ t ( n + 1 − r ) 1 − η − ( n − r ) 1 − η 1 − η Δ t 1 − η + O ( Δ t ) 2 − η = ( Δ t ) − η Γ ( 2 − η ) ∑ r = 0 n ψ n + 1 − r − ψ n − r ( r + 1 ) 1 − η − ( r ) 1 − η + O ( Δ t ) 2 − η
This can be expressed compactly as
∂ η ∂ t η ψ ( x , t n + 1 ) = p η ∑ r = 0 n q η ( r ) ψ n + 1 − r − ψ n − r + O ( Δ t ) 2 − η
where
p η = ( Δ t ) − η Γ ( 2 − η ) , q η ( r ) = ( r + 1 ) 1 − η − r 1 − η .
For the multi-term fractional operator in Equation (1), we apply this aproximation to each term:
∑ k = 1 m d k ∂ η k ψ ∂ t η k ≈ ∑ k = 1 m d k p η k ψ n + 1 − p η k ψ n + p η k ∑ r = 1 n q η k ( r ) ψ n + 1 − r − ψ n − r ,
where
p η k = ( Δ t ) − η k Γ ( 2 − η k ) q η k ( r ) = ( r + 1 ) 1 − η k − ( r ) 1 − η k , k = 1 , 2 , 3 .

2.2. Spatial Discretization with Cubic β -Splines

In the present work, cubic β -splines are employed as both basis and test functions. The spatial domain x ∈ [ u , v ] is divided into N equal subintervals of uniform length
h = x k + 1 − x k .
Here, x k = u + k h for k = 0 , 1 , … , N are the nodal points. The cubic β -spline basis functions are obtained through the reduction in the rigid C 2 parametric continuity condition in the traditional cubic B-splines to the second-order geometric continuity condition ( G 2 ), which adds two additional free shape parameters, the skewness parameter β 1 and the tension parameter β 2 .
The conditions that must be fulfilled for the geometric continuity of the spline function S ( x ) at the joint knot point x i include the following:
S ′ ( x i + ) = β 1 S ′ ( x i − ) ,
S ″ ( x i + ) = β 1 2 S ″ ( x i − ) + β 2 S ′ ( x i − ) .
The following are the relationships that define these basis functions:
  • Skewness Parameter ( β 1 ): The parameter β 1 is used to specify the amount of skewness of the basis function about the knot position. In the physical sense, it may be viewed as a scale factor applied to the tangent vector at the joint of the knot. When β 1 > 1 , the tangent is skewed forward, while when 0 < β 1 < 1 , the tangent is skewed backward. When β 1 = 1 , the tangent is unbiased.
  • Tension Parameter ( β 2 ): The tension of the spline curve is regulated by the parameter β 2 . It has an influence on the curve similar to that of the physical spring constant, which tries to pull the curve towards the control polygon. The increase in the value of β 2 results in greater tension and linear basis function behavior.
  • Admissible Ranges: In order to ensure the positivity of the basis functions ( β m ( x ) ≥ 0 ), fulfillment of the property of the partition of unity ( ∑ β m ( x ) = 1 ), and stability of the Riesz basis, the values of the parameters must necessarily fall within the intervals:
    β 1 > 0 , and β 2 ≥ 0 .
  • Influence on Smoothness: Even though standard B-splines have C 2 (second derivative continuity in parametric space), β -splines have G 2 (second derivative continuity in geometric space). The fact that there is an abrupt transition for the parametric derivatives according to β 1 and β 2 notwithstanding, the resulting shape looks visually smooth. When β 1 = 1 and β 2 = 0 , G 2 continuity becomes equivalent to C 2 .
  • Based on the boundary conditions stated above for the geometric boundaries, we are able to determine the algebraic expressions for the localized cubic β -spline basis function as follows:
    S k ( x ) = 1 w 1 h 3 { 2 ( x − x k ) 3 , x ∈ [ x k , x k + 1 ] , 2 h 3 + 6 β 1 h 2 ( x − x k + 1 ) + h ( 3 β 2 + 6 β 1 2 ) ( x − x k + 1 ) 2 − ( β 2 + 2 β 1 2 + 2 β 1 + 2 ) ( x − x k + 1 ) 3 , x ∈ [ x k + 1 , x k + 2 ] , h 3 ( β 2 + 4 β 1 2 + 4 β 1 ) + h 2 ( 6 β 1 3 − 6 β 1 ) ( x − x k + 2 ) − h ( 3 β 2 + 6 β 1 3 + 6 β 1 2 ) ( x − x k + 2 ) 2 + ( 2 β 2 + 2 β 1 3 + 2 β 1 2 + 2 β 1 ) ( x − x k + 2 ) 3 , x ∈ [ x k + 2 , x k + 3 ] , 2 β 1 3 h 3 − 6 β 1 3 h 2 ( x − x k + 3 ) + 6 β 1 3 h ( x − x k + 3 ) 2 − 2 β 1 3 ( x − x k + 3 ) 3 , x ∈ [ x k + 3 , x k + 4 ] .
    where
    w 1 = β 2 + 2 β 1 3 + 4 β 1 2 + 4 β 1 + 2 ≠ 0
    where β 1 and β 2 are the generalized constant, β 1 and β 2 are shape parameters of the cubic β -spline basis functions. They allow controlling the geometrical shape of the basis while maintaining its compactness and continuity, hence providing an extra degree of freedom for the approximation space construction. Various values of these parameters lead to different values of the basis functions and their derivatives, which in turn affect the element matrices, and hence the quality of approximation, stability, and conditioning of the linear system. Figure 1 presents several cubic β -splines for various values of parameters, β 1 and β 2 . In the current work, values of β 1 and β 2 have been chosen empirically after preliminary numerical testing to yield accurate solutions to the benchmark problems under consideration.
    Figure 1. Cubic β -spline basis functions for various values of the parameters β 1 and β 2 .
The approximate solution is written as
ψ ( x , t ) ≈ ∑ k = − 1 N + 1 D k ( t ) S k ( x )
where D k are unknown time-dependent coefficients.
Using the transformation σ = x − x k with 0 ≤ σ ≤ h , Equation (8) reduces to
S k − 1 = 6 w 1 h 3 2 β 1 3 h 3 − 6 β 1 3 h 2 σ + 6 β 1 3 h σ 2 − 2 β 1 3 σ 3 S k = 6 w 1 h 3 [ h 3 ( β 2 + 4 β 1 2 + 4 β 1 ) + h 2 ( 6 β 1 3 − 6 β 1 ) σ − h ( 3 β 2 + 6 β 1 3 + 6 β 1 2 ) σ 2 + ( 2 β 2 + 2 β 1 3 + 2 β 1 2 + 2 β 1 ) σ 3 ] S k + 1 = 6 w 1 h 3 2 h 3 + 6 β 1 h 2 σ + h ( 3 β 2 + 6 β 1 2 ) σ 2 − ( 2 β 2 + 2 β 1 2 + 2 β 1 + 2 ) σ 3 S k + 2 = 12 w 1 h 3 σ 3 .
Here, σ = x − x k is the local coordinate within the element [ x k , x k + 1 ] . Within this interval, only the four splines S k − 1 , S k , S k + 1 , and S k + 2 have non-zero values. Therefore Equation (10) reduces locally to
ψ ( σ , t ) ≈ ∑ i = k − 1 k + 2 D i ( t ) S i ( σ ) .
The nodal values of the approximate solution and its first derivatives are given by
ψ k = ζ 1 D k − 1 + ζ 2 D k + ζ 3 D k + 1 ,
ψ k ′ = ϵ 1 D k − 1 + ϵ 2 D k + ϵ 3 D k + 1 ,
where
ζ 1 = 12 β 1 3 w 1 , ζ 2 = 6 β 2 + 4 β 1 2 + 4 β 1 w 1 , ζ 3 = 12 w 1 ,
ϵ 1 = 36 β 1 3 w 1 h , ϵ 2 = 36 β 1 3 − β 1 w 1 h , ϵ 3 = 36 β 1 w 1 h .

2.3. Galerkin Formulation and Element Matrices

Let W denote the suitable test function over the interval [ u , v ] . Multiplying Equation (1) by W and integrating over the domain yields
∫ u v ∑ k = 1 m d k ∂ t η k W ψ + ∂ W ∂ x ∂ ψ ∂ x d x − W ψ x | u v = ∫ u v W e d x .
The term W ∂ ψ ∂ x u v on the left side of Equation (12) is the boundary flux. When we form the global finite element system from the element equations, the effect of these terms disappears in all internal nodes x 1 , x 2 , … , x N − 1 because of the smoothness of the cubic β -spline basis functions ( C 1 parametric continuity) across the boundaries between the elements. As a result, the boundary integration exists only for the global boundaries of the physical domain ( x = u and x = v ). The above boundary integration disappears for either of the following physical boundary conditions:
  • Homogeneous Dirichlet Boundary Conditions: If ψ ( u , t ) = ψ ( v , t ) = 0 , the corresponding trial and test functions W ( x ) belong to the space H 0 1 ( u , v ) such that W ( u ) = W ( v ) = 0 , making the boundary term vanish.
  • Homogeneous Neumann Boundary Conditions: If ∂ ψ ∂ x ( u , t ) = ∂ ψ ∂ x ( v , t ) = 0 , the gradient term is directly zero at the boundary limits.
  • In case of non-homogeneous Dirichlet boundary conditions (Equation (1)), the model is adjusted through directly imposing the specified boundary values g 1 ( t ) and g 2 ( t ) on the boundary nodes, thereby automatically taking care of the test function terms.
Taking W = S k and substituting Equation (11) into Equation (12), we obtain
∑ i = l − 1 l + 2 ∫ x l x l + 1 S k S i ∑ j = 1 m d j ∂ t η j D i + S k ′ S i ′ D i d x − S k S i ′ D i | x l x l + 1 = ∫ x l x l + 1 S k e d x .
Using Equation (10) in Equation (13), we obtain
∑ i = l − 1 l + 2 ∫ 0 h S k S i d σ ∑ j = 1 m d j ∂ η j D i ∂ t η j + ∫ 0 h S k ′ S i ′ d σ D i − S k S i ′ D i | 0 h = ∫ 0 h S k e ( σ + x l , t ) d σ .
The element matrices over the interval [ l m , l m + 1 ] are defined by
C e 1 = ∫ 0 h S k S i d σ = ∫ 0 h S l − 1 S l − 1 d σ ∫ 0 h S l − 1 S l d σ ∫ 0 h S l − 1 S l + 1 d σ ∫ 0 h S l − 1 S l + 2 d σ ∫ 0 h S l S l − 1 d σ ∫ 0 h S l S l d σ ∫ 0 h S l S l + 1 d σ ∫ 0 h S l S l + 2 d σ ∫ 0 h S l + 1 S l − 1 d σ ∫ 0 h S l + 1 S l d σ ∫ 0 h S l + 1 S l + 1 d σ ∫ 0 h S l + 1 S l + 2 d σ ∫ 0 h S l + 2 S l − 1 d σ ∫ 0 h S l + 2 S l d σ ∫ 0 h S l + 2 S l + 1 d σ ∫ 0 h S l + 2 S l + 2 d σ ,
C e 2 = ∫ 0 h S k ′ S i ′ d σ = ∫ 0 h S l − 1 ′ S l − 1 ′ d σ ∫ 0 h S l − 1 ′ S l ′ d σ ∫ 0 h S l − 1 ′ S l + 1 ′ d σ ∫ 0 h S l − 1 ′ S l + 2 ′ d σ ∫ 0 h S l ′ S l − 1 ′ d σ ∫ 0 h S l ′ S l ′ d σ ∫ 0 h S l ′ S l + 1 ′ d σ ∫ 0 h S l ′ S l + 2 ′ d σ ∫ 0 h S l + 1 ′ S l − 1 ′ d σ ∫ 0 h S l + 1 ′ S l ′ d σ ∫ 0 h S l + 1 ′ S l + 1 ′ d σ ∫ 0 h S l + 1 ′ S l + 2 ′ d σ ∫ 0 h S l + 2 ′ S l − 1 ′ d σ ∫ 0 h S l + 2 ′ S l ′ d σ ∫ 0 h S l + 2 ′ S l + 1 ′ d σ ∫ 0 h S l + 2 ′ S l + 2 ′ d σ ,
C e 3 = S i S j ′ | 0 h = S l − 1 S l − 1 ′ | 0 h S l − 1 S l ′ | 0 h S l − 1 S l + 1 ′ | 0 h S l − 1 S l + 2 ′ | 0 h S l S l − 1 ′ | 0 h S l S l ′ | 0 h S l S l + 1 ′ | 0 h S l S l + 2 ′ | 0 h S l + 1 S l − 1 ′ | 0 h S l + 1 S l ′ | 0 h S l + 1 S l + 1 ′ | 0 h S l + 1 S l + 2 ′ | 0 h S l + 2 S l − 1 ′ | 0 h S l + 2 S l ′ | 0 h S l + 2 S l + 1 ′ | 0 h S l + 2 S l + 2 ′ | 0 h ,
and the element load vector is obtained as
F e = ∫ 0 h S l − 1 e ( σ + x l , t ) d σ ∫ 0 h S l e ( σ + x l , t ) d σ ∫ 0 h S l + 1 e ( σ + x l , t ) d σ ∫ 0 h S l + 2 e ( σ + x l , t ) d σ .
Hence the element equation becomes
∑ k = 1 m d k C e 1 ∂ η k D e ∂ t η k + C e 2 − C e 3 D e = F e .
For h = 0.1 ,   β 1 = 1 and β 2 = 0 , the element matrices are
C e 1 = 0.014286 0.092143 0.042857 0.0007143 0.092143 0.848571 0.666667 0.042857 0.042857 0.666667 0.848571 0.09143 0.0007143 0.042857 0.092143 0.01 ,
C e 2 = 18 21 − 36 − 3 21 102 − 87 − 36 − 36 − 87 102 21 − 3 − 36 21 18 ,
C e 3 = 30 0 − 30 0 0 120 − 30 30 − 30 − 30 − 30 120 0 30 120 30 .
The numerical evaluation of the entries of the element load vector is performed using four-point Gauss–Legendre quadrature. For an element I l = [ x l , x l + 1 ] , the transformation
x = x l + h 2 ( 1 + ζ ) , − 1 ≤ ζ ≤ 1 ,
gives
∫ x l x l + 1 S j ( x ) e ( x , t ) d x ≈ h 2 ∑ q = 1 4 w q S j x l + h 2 ( 1 + ζ q ) e x l + h 2 ( 1 + ζ q ) , t ,
where ζ q and w q are the Gauss—Legendre quadrature points and weights, respectively. The four-point quadrature formula is accurate for polynomials of degree up to seven. As S j is a cubic polynomial on each element, the integral involving the vector of loads will be accurately computed if the source function e ( x , t ) is a polynomial of degree up to four. For sufficiently smooth non-polynomial source terms, the quadrature error depends on the eighth derivative of the transformed integrand and is of higher order than the spatial approximation error. Hence, the selected quadrature rule provides sufficient accuracy without unnecessarily increasing the computational cost.

2.4. Global System Assembly

Through the conventional finite element assembly procedure, the element stiffness matrices are assembled to generate the global equations.For a spatial domain [ u , v ] discretized into N equal subintervals of length h, the corresponding approximation space is spanned by N + 3 cubic β -spline basis functions { S k } k = − 1 N + 1 . Accordingly, the global coefficient vector D ( t ) = [ D − 1 ( t ) , D 0 ( t ) , … , D N + 1 ( t ) ] T and the assembled global load vector F ( t ) have dimensions of ( N + 3 ) × 1 . This global system assembled can be shown as follows:
∑ k = 1 m d k C 1 ∂ η k D ∂ t η k + ( C 2 − C 3 ) D = F ,
where C 1 , C 2 , and C 3 are global assembled matrices which are square matrices of dimension ( N + 3 ) × ( N + 3 ) and have highly symmetric septadiagonal form. The global matrices C 1 , C 2 , and C 3 take the banded forms
C 1 = ( x 1 , x 2 , x 3 , x 4 , x 3 , x 2 , x 1 ) , C 2 = ( y 1 , y 2 , y 3 , y 4 , y 3 , y 2 , y 1 ) , C 3 = ( z 1 , z 2 , z 3 , z 4 , z 3 , z 2 , z 1 ) ,
where
x 1 = 36 h β 1 3 35 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 , x 2 = 18 h β 1 3 35 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 68 + 4 β 1 ( 10 + 3 β 1 ) + 5 β 2 , x 3 = 36 h β 1 3 35 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 β 1 ( 50 + 64 β 1 + 15 β 1 2 ) + 15 β 2 , x 4 = 144 h β 1 6 7 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 , y 1 = − 216 β 1 3 5 h 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 , y 2 = − 108 β 1 3 5 h 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 − 2 + 2 β 1 ( 9 + 4 β 1 ) + 3 β 2 ,
y 3 = 108 β 1 3 5 h 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 2 β 1 ( 9 + 4 β 1 − 6 β 1 2 ) + 3 β 2 , y 4 = 1296 β 1 6 5 h 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 , z 1 = 0 , z 2 = − 432 β 1 4 h 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 , z 3 = − 432 β 1 4 ( β 1 2 − 1 ) h 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 , z 4 = 432 h 2 + 4 β 1 + 4 β 1 2 + 2 β 1 3 + β 2 2 .

2.5. Full Discretization

Substituting the temporal discretization from Equation (4) into Equation (16) and applying a weighted average ( θ − m e t h o d ) to the spatial terms yields
C 4 D n + 1 = C 5 D n + C 6 ,
where
C 4 = ∑ k = 1 m d k p η k C 1 + θ C 2 − θ C 3 ,
C 5 = ∑ k = 1 m d k p η k C 1 − ( 1 − θ ) C 2 + ( 1 − θ ) C 3 ,
C 6 = θ F n + 1 + ( 1 − θ ) F n − ∑ r = 1 n ∑ k = 1 m d k p η k q η k ( r ) D n + 1 − q − D n − q C 1 .
The vector C 6 includes the history term arising from the nonlocality of the Caputo fractional derivatives. The convolution term in the current scheme is computed explicitly and hence needs the previous coefficient vectors
D 0 , D 1 , … , D n
at the temporal grid point t n + 1 . Denote N t as the number of time steps, N s as the number of space degrees of freedom, and m as the number of fractional derivative terms. The evaluation of the history term at the ( n + 1 ) th time level requires
O ( m n N s )
arithmetic operations. Hence, the total computational cost of the direct convolution over all time levels is
O ( m N s N t 2 ) ,
while storage of the complete solution history requires
O ( N s N t )
memory. The banded structure of the matrices C 4 and C 5 brings down the cost of the linear algebra on the space mesh, but the fractional history term is still by far the biggest source of cost when N t is large. For the moderate temporal meshes considered in this work, the direct L 1 implementation remains computationally feasible and avoids introducing additional approximation errors associated with history compression techniques. Several acceleration strategies have been proposed in the literature, including fast convolution algorithms, sum-of-exponentials (SOE) approximations, FFT-based convolution methods and short memory techniques, which can reduce computational complexity from O ( N s N t 2 ) to nearly O ( N s N t log N t ) or even O ( N s N t ) , depending on the implementation. Since the primary objective of the present work is to develop, analyze and validate the proposed cubic β -spline Galerkin formulation, these acceleration techniques have not been incorporated. Their integration with the present framework constitutes an interesting direction for future research, particularly for long-time simulations involving very fine temporal discretizations. At each time level, the resulting linear system is solved to compute the unknown coefficient vector D n + 1 . The same formulation extends naturally to multi-term time-fractional equations involving several fractional derivatives. The parameter θ ∈ [ 0 , 1 ] serves as a weight and determines the implicitness, stability, and temporal order of the fully discrete scheme. More precisely, depending on θ , one can obtain the following three well-known time-integration schemes:
  • Fully Explicit Scheme ( θ = 0 ): By choosing θ = 0 , the spatial operator is discretized completely based on the previous time level t n . While this does not involve any matrix inversion at each time step, it has an inherent conditional stability criterion.
  • Fully Implicit Scheme ( θ = 1 ): For θ = 1 , an expression of the backward difference type results in which the spatial derivative is calculated at the present time level t n + 1 . The scheme is unconditionally stable but is of first order in time.
  • Crank-Nicolson Scheme ( θ = 0.5 ): If the value of θ = 0.5 , then we will obtain a symmetric time averaging method. This method is conditionally stable and has second-order accuracy in time.

2.6. Initial Matrix

The initial coefficient vector D 0 required to start the time-stepping procedure is determined from Equation (9). Setting t = 0 in Equation (9) gives
ψ ( x , 0 ) = ∑ r = − 1 N D r 0 S r ( x ) .
The values of ψ and ψ ′ at the nodal points are expressed as
ψ ( x i , 0 ) = h ( x i ) , i = 0 , 1 , … , N − 1 , ψ x ( x 0 , 0 ) = h x ( x 0 ) , ψ x ( x N , 0 ) = h x ( x N ) .
Define
ζ 1 = 12 β 1 3 w 1 , ζ 2 = 6 ( β 2 + 4 β 1 2 + 4 β 1 ) w 1 , ζ 3 = 12 w 1 , ϵ 1 = 36 β 1 3 w 1 h , ϵ 2 = 36 ( β 1 3 − β 1 ) w 1 h , ϵ 3 = 36 β 1 w 1 h .
Equation (19) yields an ( N + 3 ) × ( N + 3 ) linear system of the form
T 4 D 0 = T 5 ,
where
T 4 = ζ 1 ζ 2 ζ 3 ⋯ 0 0 0 0 ζ 1 ζ 2 ζ 3 ⋯ 0 0 ⋮ ⋱ ⋱ ⋱ ⋱ ⋮ ⋮ 0 ⋯ 0 ζ 1 ζ 2 ζ 3 0 0 ⋯ 0 0 ζ 1 ζ 2 ζ 3 ϵ 1 ϵ 2 ϵ 3 0 ⋯ 0 0 0 ⋯ 0 0 ϵ 1 ϵ 2 ϵ 3 , D 0 = D 0 D 1 ⋮ D N + 2 , T 5 = z ( x 0 ) z ( x 1 ) ⋮ z ( x N ) z ′ ( u ) z ′ ( v ) .
Solving the linear system (20) provides the initial coefficient vector D 0 , which is then used to initiate the time-stepping procedure for the fully discrete system in Equation (17).

3. Stability Analysis

This section addresses the stability of the fully discrete cubic β -spline Galerkin approximation scheme, which is shown to be stable even when the multi-term history part in L 1 is retained intact. The equation studied in this research incorporates the diffusion term ψ x x together with some specified Dirichlet boundary conditions. For non-homogeneous boundary data, we have
ψ ( x , t ) = w ( x , t ) + χ ( x , t ) ,
where χ is sufficiently smooth lifting satisfying
χ ( u , t ) = g 1 ( t ) , χ ( v , t ) = g 2 ( t ) .
Then w satisfies homogeneous boundary conditions. Accordingly, the trial and test space used in the stability analysis is
V h β ⊂ H 0 1 ( u , v ) .
Since every v h ∈ V h β vanishes at x = u and x = v , integration by parts gives
− ∫ u v w x x v h d x = ∫ u v w x ( v h ) x d x .
Thus, the boundary distribution vanishes and does not enter the coercive spatial operator. Let
m ( z h , v h ) = ∫ u v z h v h d x
and
a ( z h , v h ) = ∫ u v ( z h ) x ( v h ) x d x .
The form m ( · , · ) is an inner product on V h β , while
a ( v h , v h ) = ∥ ( v h ) x ∥ L 2 ( u , v ) 2 ≥ 0 .
By the Poincaré inequality, there exists a constant C P > 0 , independent of h, such that
∥ v h ∥ L 2 ( u , v ) ≤ C P ∥ ( v h ) x ∥ L 2 ( u , v ) , v h ∈ V h β .
Consequently, a ( · , · ) is coercive on V h β .

3.1. Fully Discrete Perturbation Equation

Let
t n = n τ , n = 0 , 1 , … , N T ,
and define
U h n + θ = θ U h n + 1 + ( 1 − θ ) U h n .
For 0 < η k < 1 , the L 1 approximation used in the present method is
δ τ η k U h n + 1 = p η k ∑ r = 0 n q η k ( r ) U h n + 1 − r − U h n − r ,
where
p η k = τ − η k Γ ( 2 − η k )
and
q η k ( r ) = ( r + 1 ) 1 − η k − r 1 − η k .
The fully discrete Galerkin formulation is
∑ k = 1 m d k m δ τ η k U h n + 1 , v h + a ( U h n + θ , v h ) = m ( F n + θ , v h ) , ∀ v h ∈ V h β .
Let U h n and U ˜ h n be two numerical solutions corresponding to initial values U h 0 , U ˜ h 0 and source terms F n + θ , F ˜ n + θ , respectively. Define
E h n = U h n − U ˜ h n
and
G n + θ = F n + θ − F ˜ n + θ .
Subtracting the two discrete equations gives
∑ k = 1 m d k m δ τ η k E h n + 1 , v h + a ( E h n + θ , v h ) = m ( G n + θ , v h ) , ∀ v h ∈ V h β .

3.2. Properties of the L 1 Weights

For each k = 1 , 2 , … , m , the coefficients q η k ( r ) satisfy
q η k ( 0 ) = 1 , q η k ( r ) > 0 ,
and
q η k ( r − 1 ) > q η k ( r ) , r ≥ 1 .
Indeed, the function
s ⟼ s 1 − η k
is increasing and concave for 0 < η k < 1 . Therefore, its successive increments are positive and decreasing. Define
α k , n , 0 = q η k ( n ) ,
and, for 1 ≤ j ≤ n ,
α k , n , j = q η k ( n − j ) − q η k ( n − j + 1 ) .
Then
α k , n , j ≥ 0 , j = 0 , 1 , … , n ,
and the coefficients satisfy
∑ j = 0 n α k , n , j = 1 .
Using these coefficients, the L 1 operator can be written as
δ τ η k E h n + 1 = p η k E h n + 1 − ∑ j = 0 n α k , n , j E h j .
Thus, the history part of the L 1 formula is a convex combination of the previous temporal values.

3.3. Matrix Form of the Perturbation Equation

Let { S j } be the cubic β -spline basis of V h β , and write
E h n ( x ) = ∑ j e j n S j ( x ) .
Define the mass matrix M and stiffness matrix K by
M i j = ∫ u v S j S i d x
and
K i j = ∫ u v S j ′ S i ′ d x .
In the notation of the numerical derivation,
M = C 1 , K = C 2 .
The matrix M is symmetric positive definite, since
z T M z = ∑ j z j S j L 2 ( u , v ) 2 > 0
for every nonzero coefficient vector z . Similarly,
z T K z = d d x ∑ j z j S j L 2 ( u , v ) 2 ≥ 0 .
After imposing homogeneous Dirichlet condition, K is positive definite on the reduced finite element space. Set
P τ = ∑ k = 1 m d k p η k .
Futhermore, define the combined history coefficients
ω n , j = 1 P τ ∑ k = 1 m d k p η k α k , n , j , j = 0 , 1 , … , n .
Since d k > 0 , p η k > 0 , and α k , n , j ≥ 0 , we have
ω n , j ≥ 0
and
∑ j = 0 n ω n , j = 1 .
The purturbation Equation (25) is, therefore, equivalent to
P τ M + θ K e n + 1 = P τ M ∑ j = 0 n ω n , j e j − ( 1 − θ ) K e n + g n + θ ,
where g n + θ is the load vector associated with G n + θ .

3.4. Generalized Eigenvalue Representation

Consider the generalized eigenvalue problem
K ϕ ℓ = μ ℓ M ϕ ℓ .
Since M is symmetric positive definite and K is symmetric positive semidefinite, all generalized eigenvalues are real and satisfy
μ ℓ ≥ 0 .
The eigenvectors may be chosen to be orthogonal in the M -inner product:
ϕ ℓ T M ϕ s = δ ℓ s .
Expand
e n = ∑ ℓ e ℓ n ϕ ℓ
and
M − 1 g n + θ = ∑ ℓ g ℓ n + θ ϕ ℓ .
For every eigenmode, (41) becomes
P τ + θ μ ℓ e ℓ n + 1 = P τ ω n , n − ( 1 − θ ) μ ℓ e ℓ n + P τ ∑ j = 0 n − 1 ω n , j e ℓ j + g ℓ n + θ .
Lemma 1.
Let θ ≥ 1 2 . Then for every μ ℓ ≥ 0 ,
P τ ω n , n − ( 1 − θ ) μ ℓ + P τ ∑ j = 0 n − 1 ω n , j ≤ P τ + θ μ ℓ .
Proof. 
Since
∑ j = 0 n − 1 ω n , j = 1 − ω n , n ,
we distinguish two cases.
If
P τ ω n , n − ( 1 − θ ) μ ℓ ≥ 0 ,
then
P τ ω n , n − ( 1 − θ ) μ ℓ + P τ ( 1 − ω n , n ) = P τ − ( 1 − θ ) μ ℓ ≤ P τ + θ μ ℓ .
If
P τ ω n , n − ( 1 − θ ) μ ℓ < 0 ,
then
P τ ω n , n − ( 1 − θ ) μ ℓ + P τ ( 1 − ω n , n ) = P τ + ( 1 − θ ) μ ℓ − 2 P τ ω n , n .
Therefore,
P τ + θ μ ℓ − P τ + ( 1 − θ ) μ ℓ − 2 P τ ω n , n = ( 2 θ − 1 ) μ ℓ + 2 P τ ω n , n ≥ 0 .
The last inequality follows from θ ≥ 1 2 , μ ℓ ≥ 0 , and ω n , n ≥ 0 . Hence, (46) holds in both cases.    □

3.5. Unconditional Stability

Define
∥ z ∥ M = z T M z 1 / 2
and
∥ y ∥ M − 1 = y T M − 1 y 1 / 2 .
Theorem 1
(Stability with respect to perturbations). Assume that
d k > 0 , 0 < η k < 1 , k = 1 , 2 , … , m ,
and let
θ ≥ 1 2 .
Then the numerical perturbation satisfies
max 0 ≤ j ≤ n + 1 ∥ e j ∥ M ≤ ∥ e 0 ∥ M + 1 P τ ∑ s = 0 n ∥ g s + θ ∥ M − 1 ,
where
P τ = ∑ k = 1 m d k τ − η k Γ ( 2 − η k ) .
In particular, the stability constant does not require any coupling condition between h and τ.
Proof. 
From (45) and Lemma 1,
| e ℓ n + 1 |   ≤ max 0 ≤ j ≤ n | e ℓ j | + | g ℓ n + θ | P τ + θ μ ℓ ≤ max 0 ≤ j ≤ n | e ℓ j | + 1 P τ | g ℓ n + θ | .
Applying this estimate recursively gives
max 0 ≤ j ≤ n + 1 | e ℓ j |   ≤   | e ℓ 0 | + 1 P τ ∑ s = 0 n | g ℓ s + θ | .
Using the M -orthonormality of the generalized eigenvectors and the triangle inequality yeilds
max 0 ≤ j ≤ n + 1 ∥ e j ∥ M   ≤   ∥ e 0 ∥ M + 1 P τ ∑ s = 0 n ∥ g s + θ ∥ M − 1 .
This proves (47).    □
Corollary 1
(Homogeneous stability). If the two numerical solutions correspond to the same source term, then
g n + θ = 0 ,
and Theorem 1 gives
max 0 ≤ j ≤ n ∥ e j ∥ M ≤ ∥ e 0 ∥ M .
Hence, perturbations in the initial data do not grow with time.
Corollary 2
(Unconditional stability). For every
θ ≥ 1 2 ,
the fully discrete multi-term L 1 cubic β-spline Galerkin method is unconditionally stable in the mass-matrix norm. More precisely, the stability estimate is valid without imposing a restriction of the form
τ ≤ C h γ .

3.6. Eigenvalue and Matrix-Norm Interpretation

For the instantaneous part of the fully discrete recurrence, define
J θ = P τ M + θ K − 1 P τ M − ( 1 − θ ) K .
For a generalized eigenvalue μ ℓ satisfying
K ϕ ℓ = μ ℓ M ϕ ℓ ,
the corresponding eigenvalue of J θ is
λ ℓ = P τ − ( 1 − θ ) μ ℓ P τ + θ μ ℓ .
For θ ≥ 1 2 ,
P τ + θ μ ℓ 2 − P τ − ( 1 − θ ) μ ℓ 2 = 2 P τ μ ℓ + ( 2 θ − 1 ) μ ℓ 2 ≥ 0 .
Therefore,
| λ ℓ |   ≤   1 .
To obtain the corresponding norm estimate, define
K ^ = M − 1 / 2 K M − 1 / 2 .
Then K ^ is symmetric positive semidefinite and J θ is similar to
J ^ θ = P τ I + θ K ^ − 1 × P τ I − ( 1 − θ ) K ^ .
Since J ^ θ is symmetric,
∥ J ^ θ ∥ 2 = ρ ( J ^ θ ) ≤ 1 .
Equivalently,
∥ J θ z ∥ M ≤ ∥ z ∥ M , ∀ z .
This estimate applies to the instantaneous propagation operator. The complete stability result for the fractional scheme is given by Theorem 1, which also contains the fully L 1 history contribution.

3.7. Remark on Von Neumann Analysis

A separate von Neumann analysis is not required for the present method. Such an analysis is most directly applicable to translation-invariant finite-difference schemes on infinite or periodic domains. The proposed spatial approximation is a Galerkin finite element method with cubic β -spline basis functions and Dirichlet boundary conditions.
The generalized eigenvalue argument and the mass-matrix norm estimate given above apply directly to the assembled Galerkin matrices and preserve the complete multi-term fractional history. They, therefore, provide a more appropriate stability framework for the present scheme.

4. Consistency and Convergence Analysis

In this section, the consistency and convergence properties of the proposed fully discrete cubic β -spline Galerkin method are investigated. The convergence analysis presented here is based on the consistency of the L 1 approximation, the approximation of the cubic β -spline space and the stability estimate of the fully discrete scheme.
Let
Ω = ( u , v ) , 0 = t 0 < t 1 < ⋯ < t N T = T ,
where
t n = n τ , τ = T N T .
Furthermore, define
η max = max 1 ≤ k ≤ m η k , 0 < η k < 1 .
For simplicity, the generic constant C > 0 used throughout this section may take different values at different occurrences, but it is always independent of the spatial mesh size h and the temporal step size τ .

4.1. Assumptions

The following assumptions are imposed in the theoretical analysis.
Assumption 1
(Regularity of the exact solution). The exact solution ψ satisfies
ψ ∈ C 2 [ 0 , T ] ; L 2 ( Ω ) ∩ C 1 [ 0 , T ] ; H 0 1 ( Ω ) ∩ C [ 0 , T ] ; H p ( Ω ) ,
where p ≥ 2 is the spatial approximation order associated with the cubic β-spline space. In addition,
max 0 ≤ t ≤ T ∥ ψ ( t ) ∥ H p ( Ω ) + ∥ ∂ t ψ ( t ) ∥ H p ( Ω ) + ∥ ∂ t t ψ ( t ) ∥ L 2 ( Ω ) < ∞ .
Assumption 2
(Coefficients and fractional orders). The coefficients of the multi-term fractional operator satisfy
d k > 0 , 0 < η k < 1 , k = 1 , 2 , … , m .
Assumption 3
(Admissibility of the cubic β -spline basis). The shape parameters β 1 and β 2 are selected such that the cubic β-spline basis is linearly independent and stable on the quasi-uniform spatial mesh. The mass matrix is symmetric positive definite, and the bilinear form associated with the spatial operator is continuous and coercive on the discrete space.

4.2. Preliminary Results

Let V = H 0 1 ( Ω ) and let V h β ⊂ V denote the finite-dimensional space generated by the cubic β -spline basis functions. The weak form of the spatial operator is represented by the bilinear form
a ( w , v ) = ∫ Ω w x v x d x , w , v ∈ V .
The bilinear form satisfies
| a ( w , v ) | ≤ C a ∥ w ∥ H 1 ( Ω ) ∥ v ∥ H 1 ( Ω )
and
a ( v , v ) ≥ c a ∥ v ∥ H 1 ( Ω ) 2 , v ∈ V ,
for constants C a , c a > 0 independent of h.
Lemma 2
(Approximation property). Let v ∈ H p ( Ω ) ∩ H 0 1 ( Ω ) . Under Assumption 3, there exists an interpolation or projection operator
Π h : H p ( Ω ) ∩ H 0 1 ( Ω ) ⟶ V h β
such that
∥ v − Π h v ∥ L 2 ( Ω ) ≤ C h p ∥ v ∥ H p ( Ω ) ,
∥ v − Π h v ∥ H 1 ( Ω ) ≤ C h p − 1 ∥ v ∥ H p ( Ω ) .
The constant C may depend on the admissible shape parameters β 1 and β 2 , but it is independent of h.
Proof. 
It is an immediate consequence of the polynomial reproduction and local approximation for the stable cubic β -spline space defined on a quasi-uniform grid. The stability of the basis implies that the constant in the approximation estimate does not depend on h.    □
The exact value of p will depend on the approximation theorem that holds for the cubic β -spline basis used in the current work. Hence, the convergence proof is first provided for a general order p. After establishing the relevant approximation theorem for the spline, the exact value of p can be substituted directly into the final error estimate.

4.3. Consistency of the Temporal Discretization

For 0 < η < 1 , define the L 1 error of the Caputo derivative at t n + 1 by
δ τ η ψ n + 1 = p η ∑ r = 0 n q η ( r ) ψ n + 1 − r − ψ n − r ,
where
p η = τ − η Γ ( 2 − η )
and
q η ( r ) = ( r + 1 ) 1 − η − r 1 − η .
Lemma 3
( L 1 truncation error). Let 0 < η < 1 and suppose that
ψ ∈ C 2 [ 0 , T ] ; L 2 ( Ω ) .
Then
D t η C ψ ( t n + 1 ) = δ τ η ψ n + 1 + R η n + 1 ,
where the truncation error satisfies
∥ R η n + 1 ∥ L 2 ( Ω ) ≤ C η τ 2 − η max 0 ≤ t ≤ t n + 1 ∥ ∂ t t ψ ( t ) ∥ L 2 ( Ω ) .
Proof. 
On each interval [ t j , t j + 1 ] , the derivative ∂ t ψ is replaced by its piecewise constant approximation. Taylor expansion with integral remainder gives
∂ t ψ ( s ) − ψ j + 1 − ψ j τ = O ( τ )
in L 2 ( Ω ) . Substitution into the integral representation of the Caputo derivative and summation over the temporal interval yield
∥ R η n + 1 ∥ L 2 ( Ω ) ≤ C η τ 2 − η max 0 ≤ t ≤ t n + 1 ∥ ∂ t t ψ ( t ) ∥ L 2 ( Ω ) .
 □
For a multi-term fractional operator, define
D t ψ = ∑ k = 1 m d k D t η k C ψ
and
δ τ ψ n + 1 = ∑ k = 1 m d k δ τ η k ψ n + 1 .
Lemma 4
(Multi-term temporal consistency). Under Assumptions 1 and 2,
D t ψ ( t n + 1 ) − δ τ ψ n + 1 L 2 ( Ω ) ≤ C τ 2 − η max .
Proof. 
Using Lemma 3, one obtains
D t ψ ( t n + 1 ) − δ τ ψ n + 1 L 2 ( Ω ) ≤ ∑ k = 1 m d k ∥ R η k n + 1 ∥ L 2 ( Ω ) .
Therefore,
D t ψ ( t n + 1 ) − δ τ ψ n + 1 L 2 ( Ω ) ≤ C ∑ k = 1 m τ 2 − η k .
Since 0 < τ ≤ 1 and
η k ≤ η max ,
we have
τ 2 − η k ≤ τ 2 − η max .
Consequently,
D t ψ ( t n + 1 ) − δ τ ψ n + 1 L 2 ( Ω ) ≤ C τ 2 − η max .
This completes the proof.    □

4.4. Consistency of the Weighted Spatial Approximation

For any sequence { w n } , define
w n + θ = θ w n + 1 + ( 1 − θ ) w n , 0 ≤ θ ≤ 1 .
Taylor expansion about t n + θ gives
ψ ( t n + θ ) − θ ψ ( t n + 1 ) + ( 1 − θ ) ψ ( t n ) = O ( τ q θ ) ,
where
q θ = 2 , θ = 1 2 , 1 , θ ≠ 1 2 .
Therefore,
ψ ( t n + θ ) − ψ n + θ H 1 ( Ω ) ≤ C τ q θ .
Let R h : V → V h β denote the Ritz projection defined by
a ( R h v − v , χ h ) = 0 , ∀ χ h ∈ V h β .
The approximation properties of the spline space imply
∥ v − R h v ∥ L 2 ( Ω ) ≤ C h p ∥ v ∥ H p ( Ω ) ,
∥ v − R h v ∥ H 1 ( Ω ) ≤ C h p − 1 ∥ v ∥ H p ( Ω ) .

4.5. Consistency of the Fully Discrete Scheme

Let R n + 1 denote the residual obtained by substituting the projected exact solution into the fully discrete variational scheme.
Theorem 2
(Consistency). Under Assumptions 1–3, the fully discrete scheme is consistent. More precisely,
∥ R n + 1 ∥ L 2 ( Ω ) ≤ C h p + τ 2 − η max + τ q θ .
Equivalently,
∥ R n + 1 ∥ L 2 ( Ω ) ≤ C h p + τ r ,
where
r = min 2 − η max , q θ .
Proof. 
The total residual consists of three contributions:
1.
the L 1 approximation error of the multi-term Caputo operator;
2.
the cubic β -spline spatial projection error;
3.
the error introduced by the weighted θ approximation of the spatial term.
  • By Lemma 4 the first contribution is bounded by
    C τ 2 − η max .
  • By the projection estimate (59), the spatial contribution is bounded by
    C h p .
  • Finally, Taylor expansion of the weighted spatial approximation gives the bound
    C τ q θ .
  • Combining these estimates proves the result.    □
Remark 1.
For the Crank–Nicolson choice θ = 1 2 , one has q θ = 2 . Since
0 < η max < 1 ,
it follows that
2 − η max < 2 .
Hence, on a uniform temporal mesh, the dominant temporal consistency order is
O τ 2 − η max ,
rather than O ( τ 2 ) .

4.6. Convergence Analysis

Let Ψ h n ∈ V h β denote the fully discrete numerical solution. Decompose the total error as
e n = ψ ( t n ) − Ψ h n = ψ ( t n ) − R h ψ ( t n ) ︸ ρ n + R h ψ ( t n ) − Ψ h n ︸ ξ n .
Here, ρ n is the projection error and ξ n is the discrete error. From (59),
∥ ρ n ∥ L 2 ( Ω ) ≤ C h p ∥ ψ ( t n ) ∥ H p ( Ω ) .
Subtracting the numerical scheme from the equation satisfied by the projected exact solution gives the discrete error equation  
∑ k = 1 m d k δ τ η k ξ n + 1 , χ h + a ( ξ n + θ , χ h ) = R n + 1 , χ h , ∀ χ h ∈ V h β .
Taking
χ h = ξ n + θ
and using the positivity of the L 1 convolution weights, the coercivity of a ( · , · ) , and the stability estimate established in Section 3, one obtains
∥ ξ n ∥ L 2 ( Ω ) ≤ C ∥ ξ 0 ∥ L 2 ( Ω ) + max 1 ≤ j ≤ n ∥ R j ∥ L 2 ( Ω ) .
Theorem 3
(Convergence). Suppose that the Assumptions 1–3 hold and that the stability condition established in Section 3 is satisfied. Assume also that the initial coefficient vector is computed consistently so that
∥ ψ ( 0 ) − Ψ h 0 ∥ L 2 ( Ω ) ≤ C h p .
Then the fully discrete cubic β-spline Galerkin solution satisfied
∥ ψ ( t n ) − Ψ h n ∥ L 2 ( Ω ) ≤ C h p + τ 2 − η max + τ q θ ,
for
n = 0 , 1 , … , N T .
Equivalently,
∥ ψ ( t n ) − Ψ h n ∥ L 2 ( Ω ) ≤ C h p + τ r , r = min { 2 − η max , q θ } .
Proof. 
Using error decomposition,
∥ ψ ( t n ) − Ψ h n ∥ L 2 ( Ω )   ≤   ∥ ρ n ∥ L 2 ( Ω ) + ∥ ξ n ∥ L 2 ( Ω ) .
The projection estimate gives
∥ ρ n ∥ L 2 ( Ω ) ≤ C h p .
The stability estimate applied to the discrete error equation yields
∥ ξ n ∥ L 2 ( Ω ) ≤ C ∥ ξ 0 ∥ L 2 ( Ω ) + max 1 ≤ j ≤ n ∥ R j ∥ L 2 ( Ω ) .
The initial consistency assumption gives
∥ ξ 0 ∥ L 2 ( Ω ) ≤ C h p ,
and Theorem 2 gives
∥ R j ∥ L 2 ( Ω ) ≤ C h p + τ 2 − η max + τ q θ .
Combining these inequalities proves
∥ ψ ( t n ) − Ψ h n ∥ L 2 ( Ω ) ≤ C h p + τ 2 − η max + τ q θ .
 □
Corollary 3
(Crank–Nicolson weighting). For θ = 1 2 , the temporal weighing error is O ( τ 2 ) . Therefore,
∥ ψ ( t n ) − Ψ h n ∥ L 2 ( Ω ) ≤ C h p + τ 2 − η max .
Thus, the temporal convergence order on a uniform mesh is 2 − η max under the regularity conditions of Assumption 1.
Corollary 4
(General weighted scheme). For θ ≠ 1 2 , the weighted spatial approximation is generally first-order accurate in time. Consequently,
∥ ψ ( t n ) − Ψ h n ∥ L 2 ( Ω ) ≤ C h p + τ min { 1 , 2 − η max } .
Since 2 − η max > 1 , the temporal order in this case is generally first order.

4.7. Maximum-Norm Estimate

In one spatial dimension, the Sobolev embedding
H 1 ( Ω ) ↪ L ∞ ( Ω )
implies
∥ v ∥ L ∞ ( Ω ) ≤ C ∥ v ∥ H 1 ( Ω ) .
Provided that the corresponding H 1 stability estimate is available, the same error decomposition yields
∥ ψ ( t n ) − Ψ h n ∥ H 1 ( Ω ) ≤ C h p − 1 + τ r ,
where
r = min { 2 − η max , q θ } .
Consequently,
∥ ψ ( t n ) − Ψ h n ∥ L ∞ ( Ω ) ≤ C h p − 1 + τ r .

4.8. Discussion of the Theoretical Order

The theoretical temporal order of the L 1 approximation on a uniform mesh is
2 − η max .
Therefore, the proposed method should not be described as universally second-order accurate in time. For η max close to zero, the order approaches two, whereas for η max close to one, it approaches one.
The spatial order is determined by the approximation properties of the specific cubic β -spline space. If the estimate
∥ v − Π h v ∥ L 2 ( Ω ) ≤ C h p ∥ v ∥ H p ( Ω )
is established with a particular value of p, then the corresponding fully discrete L 2 error estimate is
∥ ψ ( t n ) − Ψ h n ∥ L 2 ( Ω ) ≤ C h p + τ 2 − η max
for θ = 1 2 .

5. Numerical Results and Discussions

In this section, the proposed numerical scheme is applied to solve multi-term time-fractional differential equations. The obtained numerical results are compared with exact solutions as well as with results reported in the literature to demonstrate the accuracy and efficiency of the method. To assess the performance of the proposed scheme, the L ∞ and L 2 error norms are computed as follows:
L ∞ = max 1 ≤ j ≤ N ψ j − ψ ˜ j ,
L 2 = h ∑ j = 1 N ψ j − ψ ˜ j 2 ,
where ψ j and ψ ˜ j denote the exact and numerical solutions at the grid point x j , respectively, and h is the spatial step size. The rate of convergence is calculated using the relation
Convergence Rate ( C . R . ) = log 2 L ∞ ( h , 2 Δ t ) L ∞ ( h , Δ t ) .
All numerical experiments were carried out in Python 3.14.6 on a desktop computer equipped with an Intel Core i5-5200U processor running at 2.20GHz with 8GB RAM under Windows 10 (64-bit). The reported CPU times correspond to the total execution time measured using Python’s time.perf_counter() function. Since CPU performance depends on the hardware configuration, operating system and software environment, the reported execution times are intended primarily for relative comparison among the numerical experiments.
Example 1.
Consider the two-term time fractional differential equation
∑ k = 1 2 d k ∂ η k ψ ( x , t ) ∂ t η k − ∂ 2 ψ ( x , t ) ∂ x 2 = 2 t − t 2 + 2 t 2 − η 2 Γ ( 3 − η 2 ) e x ,
subject to the initial condition
ψ ( x , 0 ) = 0 , x ∈ [ 0 , 1 ]
and the boundary conditions
ψ ( 0 , t ) = t 2 , ψ ( 1 , t ) = e t 2 .
The exact solution is given by
ψ ( x , t ) = e x t 2 .
The numerical scheme described in Section 2 is applied to solve this problem. The parameters are chosen as η 1 = 1 , η 2 = 0.85 , θ = 1 2 , d 1 = 1 and d 2 = 1 . The solution is computed over the spatial domain [ 0 , 1 ] for different mesh sizes. The numerical results are presented in Table 1. It is observed that the error decreases as the mesh is refined, which confirms convergence of the proposed method. To further investigate the influence of the cubic β -spline shape parameters on the proposed method, a sensitivity analysis was carried out for Example 1. The results are summarized in Table 2, where the effects of different values of β 1 and β 2 on the numerical accuracy, condition number, and CPU execution time are presented. The computed error norms indicate that the method achieves high accuracy. A comparison with the results reported in [29] shows that the present method yields improved accuracy. Furthermore, the rate of convergence listed in Table 1 is approximately second order. To further illustrate the performance of the method, graphical comparisons are provided. Figure 2 shows the two-dimensional comparison between the exact and approximate solutions at h = 1 32 , τ = 1 1024 and T = 1 . Figure 3 presents the corresponding three-dimensional surfaces, while Figure 4 illustrates the error distribution. These graphical results demonstrate excellent agreement between the numerical and exact solutions, thereby confirming the reliability and effectiveness of the proposed cubic β -spline Galerkin method.
Table 1. Comparison of absolute errors at different mesh sizes for Example 1.
Table 2. Sensitivity of the proposed method to the cubic β -spline shape parameters β 1 and β 2 in terms of L 2 error, L ∞ error, condition number, and CPU execution time for Example 1 ( N = 16 , τ = 0.0391 ).
Figure 2. Two-dimensional comparison of the approximate and exact solutions when h = 1 32 , τ = 1 1024 and T = 1 for Example 1.
Figure 3. Three-dimensional comparison of the approximate and exact solutions when h = 1 32 , τ = 1 1024 and T = 1 for Example 1.
Figure 4. Three-dimensional error distribution when h = 1 32 , τ = 1 1024 and T = 1 for Example 1.
As shown in Table 2, the proposed method remains numerically stable for all admissible values of the cubic β -spline shape parameters considered in this study. The approximation errors exhibit a moderate dependence on the choice of the shape parameters, with the smallest L 2 error obtained for β 2 = − 0.8 , while the minimum L ∞ error is achieved for β 2 = − 0.6 . Furthermore, the condition number decreases gradually as β 2 decreases, indicating a slight improvement in the conditioning of the resulting linear system. In contrast, the CPU execution time varies only marginally because the bandwidth and sparsity pattern of the assembled matrices remain unchanged for all admissible parameter values. Based on these observations, the parameter values adopted throughout this paper provide an effective balance between numerical accuracy, matrix conditioning, and computational efficiency, and are, therefore, employed in all subsequent numerical experiments.

5.1. Sensitivity Analysis of the Shape Parameters β 1 and β 2

In order to study the impact of the cubic β -spline shape parameters on the performance of the developed technique, a sensitivity analysis has been performed by considering Example 1 as a typical test problem. Several pairs of admissible values for the shape parameters ( β 1 , β 2 ) have been tested with all other numerical parameters kept constant. In each case, the corresponding L 2 and L ∞ errors, the CPU computation time, and the condition number of the assembled system matrix have been calculated.
The numerical findings show that the developed Galerkin β -spline technique is stable under any admissible value of the shape parameters investigated in this paper. The variation in the shape parameters impacts mainly the numerical accuracy and conditioning of the assembled system matrix, but not significantly the computation cost because the sparsity and bandedness properties of the matrices are still preserved for any admissible value of the shape parameters. The value of the shape parameters used in this work has been chosen after conducting this sensitivity analysis.

5.2. Impact of the Fractional Derivative Orders

In order to investigate the stability of the proposed algorithm, we carried out a parametric study for Example 1 by choosing various combinations of fractional derivative orders, keeping other parameters constant. The obtained numerical errors, rates of convergence, and CPU times are presented in Table 3.
Table 3. Influence of different fractional derivative combinations on the numerical accuracy, convergence rates, and CPU execution time of the proposed method for Example 1 at T = 1.0 .
As illustrated in Table 3, the results of the proposed Galerkin scheme based on the cubic β -spline functions have an excellent accuracy for all fractional-order cases under investigation. The order of the convergence is still very close to two, which matches the theoretical result obtained in Section 4. However, a slightly lower value of the convergence rate is obtained for ( η 1 , η 2 ) = ( 1.0 , 0.9 ) due to the increased memory effect, resulting from higher fractional orders, and the increased effect of the temporal error. Nevertheless, the numerical method is stable and continues to show error reduction on refining meshes. In addition, the CPU execution time of the proposed method does not change significantly depending on the fractional orders since the main source of the computational complexity lies in the calculation of the history term and the solution of the linear banded system of equations.
Example 2.
Consider the two-term time-fractional differential equation
∑ k = 1 2 d k ∂ η k ψ ( x , t ) ∂ t η k = ∂ 2 ψ ( x , t ) ∂ x 2 + 2 t 2 − η 1 Γ ( 3 − η 1 ) + 2 t 2 − η 2 Γ ( 3 − η 2 ) ( x − x 2 ) + 2 ( 1 + t 2 ) ,
subject to the initial condition
ψ ( x , 0 ) = 0 , x ∈ [ 0 , 1 ]
and the boundary conditions
ψ ( 0 , t ) = 0 , ψ ( 1 , t ) = 0 , t ∈ [ 0 , 1 ] ,
where the exact solution is given by
ψ ( x , t ) = ( 1 + t 2 ) ( x − x 2 ) .
The proposed numerical scheme described in Section 2 is applied to solve this problem over the domain [ 0 , 1 ] . The model parameters are chosen as η 1 = 0.95 , η 2 = 0.2 , θ = 1 2 , d 1 = 1 and d 2 = 1 . The numerical solutions are computed for different time steps while keeping the spatial step fixed. The results are presented in Table 4. It is observed that the error decreases as the time step is refined, indicating the convergence of the proposed method. A comparison with the results reported in [22] demonstrates that the present method achieves significantly improved accuracy. This highlights the effectiveness of the cubic β -spline Galerkin formulation in handling multi-term fractional models. To further validate the performance of the method, graphical comparisons are provided. Figure 5 shows the two-dimensional comparison between the exact and numerical solutions at h = 1 2 10 , τ = 1 40 and T = 1 . Figure 6 illustrates the corresponding three-dimensional surfaces, while Figure 7 presents the error distribution. The results clearly demonstrate the excellent agreement between the approximate and exact solutions, thereby confirming the accuracy, stability and reliability of the proposed numerical scheme.
Table 4. Comparison of the L 2 errors at different time-step sizes for Example 2.
Figure 5. Two-dimensional comparison of the approximate and exact solutions when h = 1 2 10 , τ = 1 40 and T = 1 for Example 2.
Figure 6. Three-dimensional comparison of the approximate and exact solutions when h = 1 2 10 , τ = 1 40 and T = 1 for Example 2.
Figure 7. Three-dimensional error distribution when h = 1 2 10 , τ = 1 40 and T = 1 for Example 2.
Example 3.
Consider the two-term time fractional differential equation
∑ k = 1 2 d k ∂ η k ψ ( x , t ) ∂ t η k = ∂ 2 ψ ( x , t ) ∂ x 2 + 2 t 2 − η 1 Γ ( 3 − η 1 ) + 2 t 2 − η 2 Γ ( 3 − η 2 ) sin ( 2 π x ) + 4 π 2 t 2 sin ( 2 π x ) ,
subject to the initial condition
ψ ( x , 0 ) = 0 , x ∈ [ 0 , 1 ]
and the boundary conditions
ψ ( 0 , t ) = ψ ( 1 , t ) = 0 , t ∈ [ 0 , 1 ] .
The exact solution is given by
ψ ( x , t ) = t 2 sin ( 2 π x ) .
This proposed numerical scheme is applied to solve this problem over the spatial domain [ 0 , 1 ] . The model parameters are chosen as η 1 = 0.9 , η 2 = 0.5 , θ = 1 2 , d 1 = 1 and d 2 = 1 . The numerical results are computed for different time step sizes while keeping the spatial step fixed. The obtained results are presented in Table 5. The L ∞ error norm is used to evaluate the accuracy of the proposed scheme. It is observed that the error decreases as the time step size is reduced, which confirms the convergence of the method. Furthermore, a comparison with the results reported in [20] indicates that the present method achieves improved accuracy. Although the rate of convergence is observed to be slightly below the ideal second-order rate, it remains stable and consistent, which is typical for multi-term fractional problems due to the presence of the memory effects. To further demonstrate the performance of the proposed method, graphical comparisons are provided. Figure 8 shows the two-dimensional comparison between the exact and approximate solutions at h = 1 10 , τ = 1 50 and T = 1 . Figure 9 illustrates the corresponding three-dimensional surfaces, while Figure 10 presents the error distribution. These graphical results demonstrate excellent agreement between the approximate and exact solutions, thereby confirming the accuracy and robustness of the proposed method.
Table 5. Comparison of absolute errors at different time-step sizes for Example 3.
Figure 8. Two-dimensional comparison of the approximate and exact solutions when h = 1 10 , τ = 1 50 and T = 1 for Example 3.
Figure 9. Three-dimensional comparison of the approximate and exact solutions when h = 1 10 , τ = 1 50 and T = 1 for Example 3.
Figure 10. Three-dimensional error distribution when h = 1 10 , τ = 1 50 and T = 1 for Example 3.
Example 4.
Consider the three-term time fractional differential equation
∑ k = 1 3 d k ∂ η k ψ ( x , t ) ∂ t η k − ∂ 2 ψ ( x , t ) ∂ x 2 = 2 x 2 ( 1 − x ) 2 ∑ k = 1 3 2 t 2 − η k Γ ( 3 − η k ) − 2 ( 6 x 2 − 6 x + 1 ) ( 1 + t 2 ) ,
subject to the initial condition
ψ ( x , 0 ) = x 2 ( 1 − x ) 2 , x ∈ [ 0 , 1 ] ,
and the boundary conditions
ψ ( 0 , t ) = ψ ( 1 , t ) = 0 , t ∈ [ 0 , 1 ] .
The exact solution is given by
ψ ( x , t ) = ( x ( 1 − x ) ) 2 ( 1 + t 2 ) .
The proposed numerical method is applied to solve this three-term time-fractional differential problem over the computational domain [ 0 , 1 ] . The parameters are selected as d 1 = 1 , d 2 = 1 , d 3 = 0.5 , θ = 0.5 , η 1 = 0.7 , η 2 = 0.6 and η 3 = 0.4 . The numerical solutions are computed for different spatial and temporal step sizes, and the corresponding errors are reported in Table 6. The L ∞ error norm is used to assess the accuracy of the proposed scheme. It is observed that the error decreases as the mesh is refined, confirming the convergence of the method. A comparison with the results reported in [19] indicates that the present approach yields significantly improved accuracy. The computed rate of convergence is observed to be close to second order for coarse meshes, although it slightly decreases for finer discretizations. This behavior is consistent with multi-term fractional problems, where the presence of multiple memory terms affects the asymptotic convergence rate. To further validate the effectiveness of the method, graphical comparisons are presented. Figure 11 shows the two-dimensional comparison between the exact and approximate solutions at h = 1 40 , τ = 1 1600 and T = 1 . Figure 12 illustrates the corresponding three-dimensional surfaces, while Figure 13 presents the error distribution. These results demonstrate excellent agreement between the numerical and exact solutions, confirming the stability, accuracy and robustness of the proposed method for multi-term fractional models.
Table 6. Comparison of absolute errors at different mesh sizes for Example 4.
Figure 11. Two-dimensional comparison of the approximate and exact solutions when h = 1 40 , τ = 1 1600 and T = 1 for Example 4.
Figure 12. Three-dimensional comparison of the approximate and exact solutions when h = 1 40 , τ = 1 1600 and T = 1 for Example 4.
Figure 13. Three-dimensional error distribution when h = 1 40 , τ = 1 1600 and T = 1 for Example 4.
It can be observed that the experimental convergence rate decreases from approximately 2.42 to 1.20 as the mesh is further refined. This behavior is attributed to the transition from the pre-asymptotic regime to the asymptotic regime, where the influence of the multi-term fractional history becomes more pronounced. Owing to the limited regularity of the solution and the nonlocal nature of the Caputo fractional derivatives, the temporal discretization error associated with the L 1 approximation becomes dominant for finer discretizations. Consequently, the experimentally observed convergence rate is reduced, although the numerical solution continues to converge consistently towards the exact solution.
Example 5.
Consider the three-term time fractional differential equation
∑ k = 1 3 d k ∂ η k ψ ( x , t ) ∂ t η k − ∂ 2 ψ ( x , t ) ∂ x 2 = x 1 + η 1 ( 1 − x ) Γ ( η 2 + η 3 + 1 ) × d 1 t η 2 + η 3 − η 1 Γ ( η 2 + η 3 − η 1 + 1 ) + d 2 t η 3 Γ ( η 3 + 1 ) + d 3 t η 2 Γ ( η 2 + 1 ) − ( 1 + η 1 ) x η 1 − 1 η 1 − ( 2 + η 1 ) x ( 1 + t η 2 + η 3 ) ,
subject to the initial condition
ψ ( x , 0 ) = ( 1 − x ) x 1 + η 1
and the boundary conditions
ψ ( 0 , t ) = ψ ( 1 , t ) = 0 .
The exact solution is given by
ψ ( x , t ) = x 1 + η 1 ( 1 − x ) ( 1 + t η 2 + η 3 ) .
The proposed numerical method is applied to solve this problem over the computational domain [ 0 , 1 ] . The model parameters are chosen as d 1 = 2 , d 2 = 1 , d 3 = 0.5 , θ = 0.5 , η 1 = 0.8 , η 2 = 0.7 and η 3 = 0.6 . The numerical solutions are computed for different mesh sizes and the corresponding errors are reported in Table 7. The L ∞ error norm is used to assess the accuracy of the scheme. It is observed that the error decreases as the mesh is refined, confirming the convergence of the proposed method. A comparison with the results reported in [19] shows that the present approach provides significantly improved accuracy. The rate of convergence is observed to be close to second order for coarse discretizations; however, slight deviations are noted for finer meshes. This behavior is expected in multi-term fractional problems due to the influence of multiple memory terms and non-smooth temporal kernels. To further validate the effectiveness of the method, graphical comparisons are presented. Figure 14 shows two-dimensional comparison between the exact and numerical solutions at h = 1 40 , τ = 1 1600 and T = 1 . Figure 15 illustrates the corresponding three-dimensional surfaces, while Figure 16 presents the error distribution. These results demonstrate excellent agreement between the approximate and exact solutions, thereby confirming the accuracy, stability and robustness of the proposed numerical method.
Table 7. Comparison of absolute errors at different mesh sizes for Example 5.
Figure 14. Two-dimensional comparison of the approximate and exact solutions when h = 1 40 , τ = 1 1600 and T = 1 for Example 5.
Figure 15. Three-dimensional comparison of the approximate and exact solutions when h = 1 40 , τ = 1 1600 and T = 1 for Example 5.
Figure 16. Three-dimensional error distribution when h = 1 40 , τ = 1 1600 and T = 1 for Example 5.
The reduction in the mathematical convergence rate observed in Example 5 is consistent with the theoretical error estimate of the proposed scheme. The total discretization error consists of both the spatial approximation error, O ( h p ) and the temporal error associated with the L 1 approximation of the multi-term Caputo derivatives O ( τ 2 − η max ) , where η max denotes the largest fractional order. During mesh refinement, the dominant error component gradually shifts from the spatial discretization to the temporal fractional approximation and the accumulated history effect of the fractional operator. Consequently, the experimentally computed convergence rate is not necessarily constant and may decrease as the asymptotic error regime is approached. Nevertheless, the numerical results remain in agreement with the theoretical convergence analysis.

6. Conclusions

The suggested Galerkin finite element technique using cubic β -spline basis functions is an extremely adaptable and effective procedure for the solution of multi-term time-fractional differential equations. The use of shape control parameters, β 1 and β 2 , enables adaptive spatial discretization and avoids oscillatory behavior, improving the condition number of system matrices and thus giving better results than the traditional cubic B-splines approach. The flexibility of the β -spline basis allows this approach to be especially effective in the modeling of processes governed by advection, fractional diffusion in heterogeneous media, and physical systems characterized by strong gradients or boundary layers, which is where conventional approaches encounter problems with convergence or stability. Even though the enhanced geometry is achieved, there is a limitation to this approach in that the computational cost of calculating the multi-term fractional derivatives with the help of the L 1 approximation depends on the storage of the history of the solution. Moreover, although unconditional stability occurs whenever θ ≥ 1 / 2 , accuracy remains bounded by the regularity of the solution in time, which may be reduced because of the initial singularity in the Caputo fractional derivative. Future work will concentrate on the reduction of these drawbacks through the use of high-order time schemes (such as L2-1σ) for improved temporal accuracy. Moreover, future work will aim at expanding the Galerkin β -spline approach to 2-D and 3-D multi-term fractional problems using adaptive mesh refinement.

Author Contributions

Conceptualization, A.T. and M.Y.; methodology, K.S.M. and H.I.; software, M.Y.; validation, A.T., M.Y. and M.S.; formal analysis, A.T. and M.Y.; investigation, K.S.M. and M.S.; resources, M.S. and H.I.; data curation, A.T. and M.Y.; writing—original draft preparation, A.T.; writing—review and editing, M.Y., K.S.M., M.S. and H.I.; visualization, A.T. and M.Y.; supervision, M.Y.; project administration, K.S.M.; funding acquisition, K.S.M., M.S. and H.I. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Deanship of Graduate Studies and Scientific Research at Qassim University grant number (QU-APC-2026).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The researchers would like to thank the Deanship of Graduate Studies and Scientific Research at Qassim University (https://www.qu.edu.sa) for financial support (QU-APC-2026).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Edwards, J.T.; Ford, N.J.; Simpson, A.C. The numerical solution of linear multi-term fractional differential equations: Systems of equations. J. Comput. Appl. Math. 2002, 148, 401–418. [Google Scholar] [CrossRef] [Scilit]
  2. Vasylyeva, N. Cauchy–Dirichlet problem to semilinear multi-term fractional differential equations. Fractal Fract. 2023, 7, 249. [Google Scholar] [CrossRef] [Scilit]
  3. Daftardar-Gejji, V.; Bhalekar, S. Boundary value problems for multi-term fractional differential equations. J. Math. Anal. Appl. 2008, 345, 754–765. [Google Scholar] [CrossRef] [Scilit]
  4. Luchko, Y. Initial-boundary-value problems for the generalized multi-term time-fractional diffusion equation. J. Math. Anal. Appl. 2011, 374, 538–548. [Google Scholar] [CrossRef] [Scilit]
  5. Brandibur, O.; Kaslik, É. Stability properties of multi-term fractional-differential equations. Fractal Fract. 2023, 7, 117. [Google Scholar] [CrossRef] [Scilit]
  6. Malik, S.A.; Ilyas, A.; Samreen, A. Simultaneous determination of a source term and diffusion concentration for a multi-term space-time fractional diffusion equation. Math. Model. Anal. 2021, 26, 411–431. [Google Scholar] [CrossRef] [Scilit]
  7. Bhrawy, A.H.; Tharwat, M.M.; Yildirim, A. A new formula for fractional integrals of Chebyshev polynomials: Application for solving multi-term fractional differential equations. Appl. Math. Model. 2013, 37, 4245–4252. [Google Scholar] [CrossRef] [Scilit]
  8. Popolizio, M. Numerical solution of multiterm fractional differential equations using the matrix Mittag–Leffler functions. Mathematics 2018, 6, 7. [Google Scholar] [CrossRef] [Scilit]
  9. Ming, C.; Liu, F.; Zheng, L.; Turner, I.; Anh, V. Analytical solutions of multi-term time fractional differential equations and application to unsteady flows of generalized viscoelastic fluid. Comput. Math. Appl. 2016, 72, 2084–2097. [Google Scholar] [CrossRef] [Scilit]
  10. Momani, S.; Al-Khaled, K. Numerical solutions for systems of fractional differential equations by the decomposition method. Appl. Math. Comput. 2005, 162, 1351–1365. [Google Scholar] [CrossRef] [Scilit]
  11. Abuasad, S.; Hashim, I.; Abdul Karim, S.A. Modified fractional reduced differential transform method for the solution of multiterm time-fractional diffusion equations. Math. Probl. Eng. 2019, 2019, 5703916. [Google Scholar] [CrossRef] [Scilit]
  12. Qiao, L.; Xu, D. Orthogonal spline collocation scheme for the multi-term time-fractional diffusion equation. Int. J. Comput. Math. 2018, 95, 1478–1493. [Google Scholar]
  13. Ahmad, I.; Ahmad, H.; Thounthong, P.; Chu, Y.-M.; Cesarano, C. Solution of multi-term time-fractional PDE models arising in mathematical biology and physics by local meshless method. Symmetry 2020, 12, 1195. [Google Scholar] [CrossRef] [Scilit]
  14. Hussain, M.; Haq, S. Weighted meshless spectral method for the solutions of multi-term time fractional advection–diffusion problems arising in heat and mass transfer. Int. J. Heat Mass Transf. 2019, 129, 1305–1316. [Google Scholar] [CrossRef] [Scilit]
  15. Shiralashetti, S.C.; Deshi, A.B. An efficient Haar wavelet collocation method for the numerical solution of multi-term fractional differential equations. Nonlinear Dyn. 2016, 83, 293–303. [Google Scholar]
  16. Ramezani, M. Numerical analysis nonlinear multi-term time fractional differential equation with collocation method via fractional B-spline. Math. Methods Appl. Sci. 2019, 42, 4640–4663. [Google Scholar] [CrossRef] [Scilit]
  17. Katsikadelis, J.T. Numerical solution of multi-term fractional differential equations. ZAMM—J. Appl. Math. Mech. 2009, 89, 593–608. [Google Scholar] [CrossRef] [Scilit]
  18. Jiwari, R.; Kumar, N. Analysis and simulation of Korteweg–de Vries–Rosenau regularised long-wave model via Galerkin finite element method. Comput. Math. Appl. 2023, 135, 134–148. [Google Scholar] [CrossRef] [Scilit]
  19. Li, G.; Sun, C.; Jia, X.; Du, D. Numerical solution to the multi-term time fractional diffusion equation in a finite domain. Numer. Math. Theory Methods Appl. 2016, 9, 337–357. [Google Scholar] [CrossRef] [Scilit]
  20. Arifeen, S.U.; Haq, S.; Golkarmanesh, F. Computational Study of Multiterm Time-Fractional Differential Equation Using Cubic B-Spline Finite Element Method. Complexity 2022, 2022, 3160725. [Google Scholar] [CrossRef] [Scilit]
  21. Arifeen, S.U.; Haq, S.; Ali, I.; Aldosary, S.F. Galerkin approximation for multi-term time-fractional differential equations. Ain Shams Eng. J. 2024, 15, 102806. [Google Scholar] [CrossRef] [Scilit]
  22. Jin, B.; Lazarov, R.; Liu, Y.; Zhou, Z. The Galerkin finite element method for a multi-term time-fractional diffusion equation. J. Comput. Phys. 2015, 281, 825–843. [Google Scholar] [CrossRef] [Scilit]
  23. Li, M.; Huang, C.; Ming, W. Mixed finite-element method for multi-term time-fractional diffusion and diffusion-wave equations. Comput. Appl. Math. 2018, 37, 2309–2334. [Google Scholar] [CrossRef] [Scilit]
  24. Ravi Kanth, A.; Garg, N. An implicit numerical scheme for a class of multi-term time-fractional diffusion equation. Eur. Phys. J. Plus 2019, 134, 312. [Google Scholar] [CrossRef] [Scilit]
  25. Dehghan, M.; Safarpoor, M.; Abbaszadeh, M. Two high-order numerical algorithms for solving the multi-term time fractional diffusion-wave equations. J. Comput. Appl. Math. 2015, 290, 174–195. [Google Scholar] [CrossRef] [Scilit]
  26. Fan, W.; Liu, F.; Jiang, X.; Turner, I. Some novel numerical techniques for an inverse problem of the multi-term time fractional partial differential equation. J. Comput. Appl. Math. 2018, 336, 114–126. [Google Scholar] [CrossRef] [Scilit]
  27. El-Mesiry, A.E.M.; El-Sayed, A.M.A.; El-Saka, H.A.A. Numerical methods for multi-term fractional (arbitrary) orders differential equations. Appl. Math. Comput. 2005, 160, 683–699. [Google Scholar] [CrossRef] [Scilit]
  28. Ren, J.; Sun, Z.-Z. Efficient and stable numerical methods for multi-term time fractional sub-diffusion equations. East Asian J. Appl. Math. 2014, 4, 242–266. [Google Scholar] [CrossRef] [Scilit]
  29. Liu, F.; Meerschaert, M.M.; McGough, R.J.; Zhuang, P.; Liu, Q. Numerical methods for solving the multi-term time fractional wave-diffusion equation. Fract. Calc. Appl. Anal. 2013, 16, 9–25. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Zou, L.; Zhang, Y. Numerical solutions of multi-term fractional reaction-diffusion equations. AIMS Math. 2025, 10, 777–792. [Google Scholar] [CrossRef] [Scilit]
  31. Zhao, J.; Dong, S.; Fang, Z. A mixed finite element method for the multi-term time-fractional reaction–diffusion equations. Fractal Fract. 2024, 8, 51. [Google Scholar] [CrossRef] [Scilit]
  32. Shafiq, M.; Abbas, M.; Emadifar, H.; Alzaidi, A.S.M.; Nazir, T.; Abdullah, F.A. Numerical investigation of the fractional diffusion wave equation with exponential kernel via cubic B-spline approach. PLoS ONE 2023, 18, e0295525. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Singh, A.; Kumar, S.; Vigo-Aguiar, J. A fully discrete scheme based on cubic splines and its analysis for time-fractional reaction–diffusion equations exhibiting weak initial singularity. J. Comput. Appl. Math. 2023, 434, 115338. [Google Scholar] [CrossRef] [Scilit]
  34. Shafiq, M.; Fatima, A.; Abbas, M.; Alosaimi, M.; Abdullah, F.A. An effective extended cubic B-spline approach for solving time-fractional diffusion wave equation with exponential kernel. Alex. Eng. J. 2025, 117, 148–163. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.