Skip to Content
AxiomsAxioms
  • Article
  • Open Access

30 April 2026

27 Pages

An Extended Cubic B-Spline Galerkin Finite Element Method for Multi-Term Time-Fractional Differential Equations

,
,
,
and
1
Department of Mathematics, University of Sargodha, Sargodha 40100, Pakistan
2
Department of Mathematics, College of Sciences, Qassim University, Buraydah 51452, Saudi Arabia
*
Author to whom correspondence should be addressed.
This article belongs to the Section Mathematical Analysis

Abstract

This study presents an extended cubic B-spline Galerkin scheme for the numerical solution of multi-term time-fractional differential equations. The proposed formulation employs extended cubic B-splines together with the Caputo fractional derivative to model the time-fractional operators. Gauss quadrature is used to accurately evaluate the resulting integral. A stability analysis of the scheme is provided and its accuracy is assessed through L 2 and L ∞ error norms over different spatial nodes and mesh refinements. The numerical results demonstrate excellent agreement with the exact solutions, as illustrated in the tables and figures. These findings confirm the robustness, efficiency and reliability of the proposed method for solving multi-term time-fractional differential equations.

1. Introduction

Multi-term time-fractional differential equations (MTTF-DEs) arise naturally in modeling of complex physical processes characterized by memory, hereditary effects and anomalous diffusion. Such equations generalize classical diffusion models by incorporating multiple fractional-order temporal derivatives, enabling more accurate descriptions of viscoelastic materials, transport phenomena in porous media, biological systems and non-Newtonian fluids. The general form of MTTF-DEs is given by
1 ∑ i = 1 n a i ∂ μ i ψ ( v , t ) ∂ t μ i = ∂ 2 ψ ( v , t ) ∂ v 2 + f ( v , t ) , v ∈ ( c , d ) , t > 0 , initial condition : ψ ( v , 0 ) = g ( v ) , v ∈ [ c , d ] , boundary conditions : ψ ( c , t ) = h 1 ( t ) , ψ ( d , t ) = h 2 ( t ) , t > 0 ,
where the coefficients a i are assumed to be positive constants for i = 1 , 2 , ⋯ , n and g ( v ) , h 1 ( t ) and h 2 ( t ) are prescribed functions. The exact solution ψ ( v , t ) is assumed to be sufficiently smooth, ensuring the existence of required spatial derivatives and the validity of the proposed numerical formulation and stability analysis. Through this work, the fractional orders are assumed to satisfy
0 < μ i ≤ 1 , i = 1 , 2 , … , m ,
and the Caputo definition of the fractional derivative is employed. Under appropriate assumptions on the coefficients and the source function, the multi-term time-fractional diffusion equation has a unique solution. Specifically, when a i > 0 and μ i ∈ ( 0 , 1 ] , existence and uniqueness can be proven based on the theory of fractional differential equations of the Caputo type.
Over the past decades, MTTF-DEs have attracted considerable attention and numerous analytical and numerical techniques have been developed, including separation of variables, integral transform methods, spline-based schemes and finite-difference approaches. Kulish and Lage [1] studied the application of the fractional calculus to the anomalous diffusion phenomenon that relates to non-Newtonian fluids. Tarasov [2] used the fractional operators in economy to describe systems with memory and hereditary characteristics. The basic connection between fractional calculus and viscoelasticity has been demonstrated in the work of Bagley and Torvik [3], in which fractional derivatives describe frequency-dependent damping. Arifeen et al. [4] worked on a Galerkin method to solve MTTF-DEs numerically. A correct mathematical formulation of initial boundary value problems for multi-term time-fractional diffusion was provided by Luchko [5]. A numerical method for the solution of MTTF-DEs has been presented using matrix Mittag–Leffler functions by Katsikadelis [6]. Abbas et al. [7] utilized cubic trigonometric B-splines to solve hyperbolic equations numerically. Liu et al. [8] have developed some numerical methods that aim to solve the multi-term time-fractional wave-diffusion equation. Brandibur and Kaslik [9] studied stability features for systems described by multi term time-fractional differential equations. An implicit method for solving multi-term fractional diffusion equation has been formulated by Ravi Kanth and Garg [10]. Ahmad et al. [11] presented a local meshless method to tackle the MTTF-DEs which arise in mathematical physics and biology. Yang and Wu [12] presented a parallel method of natural differences for multi-term time-fractional diffusion equations. Zheng et al. [13] developed a high-order spectral method for solving time fractional-diffusion equation involving multiple terms. Sin et al. [14] have provided analytical solutions for multi-term time-space fractional diffusion equation by using the Caputo-Riesz fractional derivative on an infinite domain. Daftardar-Gejji and Bhalekar [15] examined boundary value formulations that occur in the framework of MTTF-DEs. Li et al. [16] investigated time-fractional diffusion equation with multiple fractional orders, constant positive coefficients and associated initial-boundary value problems. Hussain and Haq [17] proposed weighted meshless spectral method for solving multi-term time-fractional advection-diffusion model for thermo mass transport. Dehghan et al. [18] proposed two high-order numerical methods for multi-term time-fractional diffusion-wave equation. Ren and Sun [19] developed stable and high-efficiency numerical methods for multi-term time-fractional sub-diffusion equation. Edwards et al. initiated works on numerically solving linear multi-term fractional differential equations in the system of equations [20]. In the work by Brandibur and Kaslik [21], a stability analysis was conducted for three fractional derivatives in a MTTF-DE. Bhrawy et al. [22] deduced an effective generalized Laguerre-spectral scheme for solving MTTF-DEs on half-line. A  high-precision numerical scheme of second-order has been designed and proposed by Zeng et al. [23] to solve MTTF-DEs for both smooth and non-smooth solutions. Gazi Karakoc and Geyikli [24] applied a Petrov–Galerkin finite element method for finding a solution for modified regularized long wave equation. Esen and Taşbozan [25] applied a cubic B-spline finite element method to solve the Burgers equation with time fractional derivative. Arifeen et al. [26] conducted a computational investigation of a MTTF-DE using a cubic B-spline finite element method. Jin et al. [27] formed the groundwork of the theoretical analysis for the Galerkin finite element method for a multi-term time-fractional-diffusion equation. Zhang et al. [28] constructed finite difference algorithms for multi-term time-fractional diffusion equations, indicating their efficiency for obtaining accurate and stable numerical solutions. A computational method was presented by Delkhosh and Parand [29] which uses the fractional Lagrange functions for solving multi-term fractional-differential equations, showing better accuracy than other numerical methods. A new numerical technique that employs a combination of cubic B-splines and finite difference method has been introduced by Abu Arqub et al. [30] for solving time-fractional nonlinear diffusion wave equations. Rahman et al. [31] reviewed Caputo fractional derivatives and Riemann–Liouville fractional integrals of various orders and discussed their applications in multi-term differential equations. Abd-Elhameed and Alsuyuti [32] developed a numerical approach using generalized Chebyshev polynomials to efficiently solve multi-term fractional differential equations. Pata et al. [33] investigated multi-term fractional linear equations to model oxygen subdiffusion processes in capillary systems. Santra [34] proposed a higher-order numerical scheme for solving multi-term time-fractional integro-partial differential equations with weakly singular kernels. Mani et al. [35] studied the existence and uniqueness of solutions for multi-term delay Caputo fractional differential equations.
The current spline-based and finite element approaches, such as the classical cubic B-spline Galerkin formulation, possess some shortcomings. These approaches normally make use of static basis sets, limiting their capability for handling solutions that have abrupt gradients or variations. Furthermore, some standard techniques could need mesh refinement in order to improve accuracy, thereby raising the computational expense. Besides, many conventional techniques do not offer an in-built means to regulate the shape attributes of the basis set, which limits their adaptability. In order to resolve the above problems, the current study proposes the application of the extended cubic B-spline Galerkin approach that includes another extended parameter λ in its formulation. The inclusion of λ increases the adaptability of the basis set without changing the polynomial order of the approach or increasing the number of nodes within the mesh.
The key point of the proposed scheme resides in introducing the extension parameter λ to the classical cubic B-spline basis, thus broadening the approximation space while keeping the same order of polynomial degree and meshes involved. As opposed to the traditional cubic B-spline Galerkin scheme, in which the shapes of basis functions remain unchanged, λ introduces controllable variation to the basis function shapes in our extended scheme.
In this work, we propose a hybrid numerical framework combining finite differences in time with a Galerkin finite element formulation in space based on extended cubic B-splines. A freely adjustable parameter is introduced within the spline basis, providing enhanced flexibility in controlling approximate behavior. The Caputo definition is introduced within the spline basis, providing enhanced flexibility in controlling approximation behavior. The Caputo definition is employed to approximate temporal fractional derivatives, while numerical integration is performed using a four-point Gaussian quadrature rule for improved precision.
The main contributions of this paper can be summarized as follows:
  • An extended cubic B-spline Galerkin formulation is developed for multi-term time-fractional differential equations.
  • A flexible extension parameter is incorporated into the spline basis to improve solution accuracy.
  • Stability of the fully discrete scheme is analyzed with respect to time step size and fractional orders.
  • Convergence is quantitatively assessed using L 2 and L ∞ error norms.
  • Numerical experiments confirm the effectiveness and robustness of the proposed approach.
This paper is further structured as follows: Section 2 presents the detailed derivation of the Galerkin-based numerical scheme using extended cubic B-splines. Section 3 discusses the stability analysis of the proposed scheme. Section 4 presents detailed convergence analysis. Section 5 presents numerical results and a comparison with results from existing numerical schemes in the literature. Section 6 concludes this paper with conclusing remarks.

2. A Galerkin-Based Derivation of the Scheme

In this section, the solution of Equation (1) is obtained by employing extended cubic B-spline basis functions within the framework of the Galerkin finite element method.

2.1. Temporal Discretization

The term involving the fractional derivative in Equation (1) is discretized using the L 1 approximation. For a single fractional derivative of order μ at the time level t n + 1 , the  L 1 approximation is used to approximate the temporal contribution:
∂ μ ∂ t μ ψ ( v , t n + 1 ) = 1 Γ ( 1 − μ ) ∫ 0 t n + 1 ∂ ψ ( v , t ) ∂ t ( t n + 1 − t ) − μ d t = 1 Γ ( 1 − μ ) ∑ k = 0 n ∫ t k t k + 1 ∂ ψ ( v , t ) ∂ t ( t n + 1 − t ) − μ d t .
To evaluate the fractional integral in Equation (2), the interval [ 0 , t n + 1 ] is divided into subintervals [ t k , t k + 1 ] . On each subinterval, the time derivative ∂ ψ ( v , t ) ∂ t is approximated using a first-order finite difference approximation, i.e.,
∂ ψ ( v , t ) ∂ t ≈ ψ k + 1 − ψ k Δ t , t ∈ [ t k , t k + 1 ] .
Substituting this approximation into Equation (2) gives
∂ μ ψ ( v , t n + 1 ) ∂ t μ ≈ 1 Γ ( 1 − μ ) ∑ k = 0 n ψ k + 1 − ψ k Δ t ∫ t k t k + 1 ( t n + 1 − t ) − μ d t .
Now, evaluating the integral term explicitly,
∫ t k t k + 1 ( t n + 1 − t ) − μ d t = ( t n + 1 − t k ) 1 − μ − ( t n + 1 − t k + 1 ) 1 − μ 1 − μ .
Since t k = k Δ t , we obtain
t n + 1 − t k = ( n + 1 − k ) Δ t .
Substituting this into the above expression yields a discrete convolution form.
The truncation error arises from the linear approximation of ψ t on each subinterval, which is first-order accurate in time. When combined with the weakly singular kernel ( t n + 1 − t ) − μ , the global discretization error becomes
O ( Δ t 2 − μ ) ,
which reflects the reduced regularity effect typical in Caputo fractional derivatives. The discretization of the time derivative based on a forward-difference is given by
∂ μ ∂ t μ ψ ( v , t n + 1 ) = 1 Γ ( 1 − μ ) ∑ k = 0 n ψ k + 1 − ψ k Δ t + O ( Δ t ) ∫ t k t k + 1 ( t n + 1 − t ) − μ d t = 1 Γ ( 1 − μ ) ∑ k = 0 n ψ k + 1 − ψ k Δ t ( n + 1 − k ) 1 − μ − ( n − k ) 1 − μ 1 − μ Δ t 1 − μ + O ( Δ t ) 2 − μ = ( Δ t ) − μ Γ ( 2 − μ ) ∑ k = 0 n ψ n + 1 − k − ψ n − k ( k + 1 ) 1 − μ − k 1 − μ + O ( Δ t ) 2 − μ .
The obtained expression in Equation (3) can be interpreted as a discrete convolution form, where the fractional derivative is approximated as a weighted sum of past solution increments. This structure is commonly known as the L1 scheme for Caputo fractional derivatives, which is widely used due to its simplicity and effectiveness in handling weakly singular kernels. Recent studies have shown that the L1 approximation achieves accuracy of order O ( Δ t 2 − μ ) under suitable smoothness assumptions of the solution by introducing the following notation:
r μ = ( Δ t ) − μ Γ ( 2 − μ ) , s μ ( k ) = ( k + 1 ) 1 − μ − k 1 − μ .
Equation (3) can be rewritten in the compact form given in Equation (4), which highlights the convolutional structure of the fractional operator.
∂ μ ∂ t μ ψ ( v , t n + 1 ) = r μ ∑ k = 0 n s μ ( k ) ψ n + 1 − k − ψ n − k + O ( Δ t ) 2 − μ .
For multi-term fractional operator in Equation (1), the  above approximation is applied to each term:
∑ i = 1 m a i ∂ μ i ψ ∂ t μ i ≈ ∑ i = 1 m a i r μ i ψ n + 1 − r μ i ψ n + r μ i ∑ k = 1 n s μ i ( k ) ψ n + 1 − k − ψ n − k .
where
r μ i = ( Δ t ) − μ i Γ ( 2 − μ i ) , s μ i ( k ) = ( k + 1 ) 1 − μ i − k 1 − μ i , i = 1 , 2 , … , m .
For the multi-term case, each fractional derivative of order μ i is treated independently using the same L1 discretization framework. The index i = 1 , 2 , … , m refers to different fractional orders, while k = 0 , 1 , … , n represents the time history levels. To avoid confusion, it is emphasized that the summation over i corresponds to multiple fractional operators, whereas the summation over k represents the temporal convolution within each fractional term.
Remark 1.
As is commonly acknowledged, the solutions to fractional-order differential equations featuring Caputo derivatives tend to show a weakly singular nature at t = 0 . Specifically, the partial derivative of the solution function with respect to time can be approximated by
∂ ψ ∂ t ∼ t μ min − 1 , t → 0 .

2.2. Extended Cubic B-Spline Special Discretization

In Galerkin approximations, it is possible to employ different functions for the basis and testing functions. In this work, the extended cubic b-spline functions are employed for both basis and testing functions. The region v ∈ [ c , d ] is divided into N sub-intervals of equal mesh step
h = v i + 1 − v i .
The Extended cubic B-spline basis function definitions are specified by the following:
D i ( v ) = 1 24 h 4 − 4 h ( λ − 1 ) ( v − v i ) 3 + 3 λ ( v − v i ) 4 , v ∈ [ v i , v i + 1 ] , ( 4 − λ ) h 4 + 12 h 3 ( v − v i + 1 ) v ∈ [ v i + 1 , v i + 2 ] , + 6 h 2 ( 2 + λ ) ( v − v i + 1 ) 2 − 12 h ( v − v i + 1 ) 3 − 3 λ ( v − v i + 1 ) 4 , ( 16 + 2 λ ) h 4 − 12 h 2 ( 2 + λ ) ( v − v i + 2 ) 2 v ∈ [ v i + 2 , v i + 3 ] , + 12 h ( 1 + λ ) ( v − v i + 2 ) 3 − 3 λ ( v − v i + 2 ) 4 , − ( h + v i + 3 − v ) 3 h ( λ − 4 ) + 3 λ ( v − v i + 3 ) , v ∈ [ v i + 3 , v i + 4 ] .
The free parameter λ appears in Equation (6), where its presence determines the properties of basis functions. Specifically, it can be used to vary the shape of splines without altering the size of their support or the degree of the polynomial. The basis functions retain their property of being non-zero on four consecutive intervals. For  λ ≠ 0 , more flexibility is achieved due to extra variations introduced to the basis function shapes, resulting in better approximation performance for steep gradient cases. Figure 1 shows the plots of D i ( v ) for various values of λ .
Figure 1. Extended cubic B-splines for λ = 0 , 5 , 10 .
The extended cubic B-spline basis is used to approximate ψ ( v , t ) as
ψ ( v , t ) ≈ ∑ i = − 1 N + 1 H i ( t ) D i ( v ) ,
where the parameters H i are unknown and need to be determined. By taking δ = v − v i , 0 ≤ δ ≤ h in (6), we obtain
D i − 1 = 1 4 h 4 ( δ − h ) 3 ( h λ − 4 h + 3 λ δ ) , D i = 1 4 h 4 ( 16 + 2 λ ) h 4 − 12 h 2 δ 2 ( 2 + λ ) + 12 h δ 3 ( 1 + λ ) − 3 λ δ 4 , D i + 1 = 1 4 h 4 h 4 ( 4 − λ ) + 12 h 3 δ + 6 h 2 δ 2 ( 2 + λ ) − 12 h δ 3 − 3 λ δ 4 , D i + 2 = 1 4 h 4 4 h δ 3 ( 1 − λ ) + 3 λ δ 4 .
Over the interval [ v i , v i + 1 ] , only splines D i − 1 , D i , D i + 1 and  D i + 2 have non-zero values. Substituting Equation (8) into Equation (7) yields the following:
ψ ( δ , t ) ≈ ∑ j = i − 1 i + 2 H j ( t ) D j ( δ ) .
The nodal values of ψ and ψ ′ are given by
ψ i = 4 − λ 4 H i − 1 + 4 + λ 2 H i + 4 − λ 4 H i + 1 ,
ψ i ′ = 3 h − H i − 1 + H i + 1 , i = − 1 , 1 , 0 , 1 , 2 , … , N + 1 .
The relationships given in Equations (10) and (11) are obtained by substituting the spline interpolation function defined in Equation (6) and its spatial derivative at the nodal points v = v i . As a result of the compactness of the basis functions associated with extended cubic B-splines, only neighboring basis functions will be active at each node. The substitution will provide the nodal relations in Equation (10) and differentiation will give the derivative relation in Equation (11). The importance of these relations lies in their ability to establish a connection between the nodal solutions and unknown coefficients of the splines in order to formulate the algebraic equations.

2.3. Numerical Formulation by Galerkin-Method

Here, we describe the process of obtaining the numerical solution of Equation (1) using the Galerkin finite element method. An approximate solution ψ ( v , t ) is sought. Since this approximate solution does not satisfy the governing equation exactly, a residual function R ( v , t ) is produced. The Galerkin method minimizes the residual in a weighted integral sense over the solution domain [ c , d ] . For this purpose, the governing equation is multiplied by a suitable weight function W and integrated over the domain [ c , d ] .
∫ c d ∑ i = 1 n a i ∂ t μ i W ψ + ∂ W ∂ v ∂ ψ ∂ v d v − W ψ v | c d − ∫ c d W f d v = 0 .
By rearranging, we obtain
∫ c d ∑ i = 1 n a i ∂ t μ i W ψ + ∂ W ∂ v ∂ ψ ∂ v d v − W ψ v | c d = ∫ c d W f d v .
To derive the discrete system, we employ the Galerkin method in which the test (weight) functions are chosen from the same space as the basis functions. Specifically, we select the test function as
W = D i ( v ) ,
where D i ( v ) denotes the extended cubic B-spline basis functions defined in Equation (6).
The approximate solution ψ ( v , t ) is expressed in terms of these basis functions as
ψ ( v , t ) ≈ ∑ j = − 1 N + 1 H j ( t ) D j ( v ) ,
as given in Equation (7). Substituting this approximation into the weak formulation presented in Equation (12), and taking W = D i ( v ) , we obtain
∫ c d ∑ k = 1 n a k ∂ t μ k ∑ j H j D j D i + ∂ D i ∂ v ∂ ∂ v ∑ j H j D j d v − D i ∂ ∂ v ∑ j H j D j c d = ∫ c d D i f d v .
Rearranging the terms and interchanging summation and integration, we obtain integrals involving products of basis functions and their derivatives. Due to the compact support of the extended cubic B-splines, each basis function D i ( v ) overlaps only with the neighboring functions D i − 1 ( v ) , D i ( v ) , D i + 1 ( v ) and  D i + 2 ( v ) . Therefore, the summation reduces locally to j = i − 1 , i , i + 1 , i + 2 , leading directly to the element-wise formulation given in Equation (14).
∑ j = i − 1 i + 2 ∫ v i v i + 1 D i D j ∑ i = 1 n a i ∂ t μ i + D i ′ D j ′ H j d x − D i D j ′ H j | v i v i + 1 = ∫ v i v i + 1 D i f d v .
substituting Equation (8) in Equation (14) gives
∑ j = i − 1 i + 2 ∫ 0 h D i D j d δ ∑ i = 1 n c i ∂ μ i H j ∂ t μ i + ∫ 0 h D i ′ D j ′ d δ H j − D i D j ′ H j | 0 h = ∫ 0 h D i f ( δ + v i , t ) d δ .
Each of the matrices occurring in Equation (15) can be understood physically and numerically. The matrix that comes from the time derivative term is the mass matrix, resulting from the inner product of the basis functions. The matrix that comes from the spatial derivatives term is known as the stiffness matrix, accounting for the diffusion terms. Furthermore, the contribution from the boundary condition results in the boundary vector/matrix. Let
C 1 e = ∫ 0 h D i D j d δ , i , j = i − 1 , i , i + 1 , i + 2
C 2 e = ∫ 0 h D i ′ D j ′ d δ , i , j = i − 1 , i , i + 1 , i + 2
C 3 e = D i D j ′ | 0 h , i , j = i − 1 , i , i + 1 , i + 2
F e = ∫ 0 h D i f ( δ + v i , t ) d δ i = i − 1 , i , i + 1 , i + 2 .
A matrix form of Equation (15) is given by
∑ i = 1 n a i C 1 e ∂ μ i H e ∂ t δ i + C 2 e − C 3 e H e = F e .
While the exact forms of C 1 e , C 2 e and  C 3 e are quite long, they are listed below for sake of completeness. It should be emphasized that the matrices have good structural characteristics.
C 1 e = ∫ 0 h C i − 1 C i − 1 d δ ∫ 0 h C i − 1 C i d δ ∫ 0 h C i − 1 C i + 1 d δ ∫ 0 h C i − 1 C i + 2 d δ ∫ 0 h C i C i − 1 d δ ∫ 0 h C i C i d δ ∫ 0 h C i C i + 1 d δ ∫ 0 h C i C i + 2 d δ ∫ 0 h C i + 1 C i − 1 d δ ∫ 0 h C i + 1 C i d δ ∫ 0 h C i + 1 C i + 1 d δ ∫ 0 h C i + 1 C i + 2 d δ ∫ 0 h C i + 2 C i − 1 d δ ∫ 0 h C i + 2 C i d δ ∫ 0 h C i + 2 C i + 1 d δ ∫ 0 h C i + 2 C i + 2 d δ ,
C 1 e = h ( 8 + 11 λ + λ 2 ) 56 ( 258 − 147 λ − 37 λ 2 ) 1120 ( 48 − 129 λ + 14 λ 2 ) 560 ( 8 − 10 λ + 3 λ 2 ) 1120 ( 258 − 147 λ − 37 λ 2 ) 1120 ( 4752 + 585 λ + 44 λ 2 ) 560 ( 3732 + 27 λ − 65 λ 2 ) 1120 ( 48 − 129 λ + 14 λ 2 ) 560 ( 48 − 129 λ + 14 λ 2 ) 560 ( 3732 + 27 λ − 65 λ 2 ) 1120 ( 4752 + 585 λ + 44 λ 2 ) 560 ( 258 − 147 λ − 37 λ 2 ) 1120 ( 8 − 10 λ + 3 λ 2 ) 1120 ( 48 − 129 λ + 14 λ 2 ) 560 ( 258 − 147 λ − 37 λ 2 ) 1120 ( 8 + 11 λ + λ 2 ) 56 ,
C 2 e = ∫ 0 h C i − 1 ′ C i − 1 ′ d δ ∫ 0 h C i − 1 ′ C i ′ d δ ∫ 0 h C i − 1 ′ C i + 1 ′ d δ ∫ 0 h C i − 1 ′ C i + 2 ′ d δ ∫ 0 h C i ′ C i − 1 ′ d δ ∫ 0 h C i ′ C i ′ d δ ∫ 0 h C i ′ C i + 1 ′ d δ ∫ 0 h C i ′ C i + 2 ′ d δ ∫ 0 h C i + 1 ′ C i − 1 ′ d δ ∫ 0 h C i + 1 ′ C i ′ d δ ∫ 0 h C i + 1 ′ C i + 1 ′ d δ ∫ 0 h C i + 1 ′ C i + 2 ′ d δ ∫ 0 h C i + 2 ′ C i − 1 ′ d δ ∫ 0 h C i + 2 ′ C i ′ d δ ∫ 0 h C i + 2 ′ C i + 1 ′ d δ ∫ 0 h C i + 2 ′ C i + 2 ′ d δ ,
C 2 e = 1 140 h · 4 ( 63 − 21 λ + 3 λ 2 ) 294 − 33 λ 2 − 504 + 84 λ + 60 λ 2 − 42 + 42 λ − 9 λ 2 294 − 33 λ 2 1428 + 672 λ + 96 λ 2 − 1218 − 714 λ − 93 λ 2 − 504 + 84 λ + 60 λ 2 − 504 + 84 λ + 60 λ 2 − 1218 − 714 λ − 93 λ 2 1428 + 672 λ + 96 λ 2 294 − 33 λ 2 − 42 + 42 λ − 9 λ 2 − 504 + 84 λ + 60 λ 2 294 − 33 λ 2 4 ( 63 − 21 λ + 3 λ 2 ) ,
C 3 e = C i − 1 C i − 1 ′ | 0 h C i − 1 C i ′ | 0 h C i − 1 C i + 1 ′ | 0 h C i − 1 C i + 2 ′ | 0 h C i C i − 1 ′ | 0 h C i C i ′ | 0 h C i C i + 1 ′ | 0 h C i C i + 2 ′ | 0 h C i + 1 C i − 1 ′ | 0 h C i + 1 C i ′ | 0 h C i + 1 C i + 1 ′ | 0 h C i + 1 C i + 2 ′ | 0 h C i + 2 C i − 1 ′ | 0 h C i + 2 C i ′ | 0 h C i + 2 C i + 1 ′ | 0 h C i + 2 C i + 2 ′ | 0 h ,
C 3 e = 3 4 h − ( λ − 4 ) 0 ( λ − 4 ) 0 2 ( 8 + λ ) ( λ − 4 ) − 2 ( 8 + λ ) − ( λ − 4 ) − ( λ − 4 ) − 2 ( 8 + λ ) ( λ − 4 ) 2 ( 8 + λ ) 0 ( λ − 4 ) 0 − ( λ − 4 ) ,
F e = ∫ 0 h D i − 1 d δ ∫ 0 h D i f d δ ∫ 0 h D i + 1 f d δ ∫ 0 h D i + 2 f d δ .
The sparsity and bandedness of the overall system matrices can be attributed to the fact that the basis functions have a finite support region due to which only a few adjacent basis functions will interact with any given basis function. In addition to these attributes, C 1 e and C 2 e are symmetric matrices, while C 3 e stems from the boundary terms. The vector F e is approximated using the four-point Gauss quadrature rule.

2.4. Global System Assembly

The local element formulations interact through global assembly to form the following system:
∑ i = 1 n a i D 1 ∂ μ i H ∂ t μ i + ( D 2 − D 3 ) H = F
where G is the global vector of unknown coefficients, H 1 is the global mass matrix, H 2 and H 3 are the global stiffness-related matrices and F is the global load vector. The assembly of the finite elements leads to the formation of the global matrices, which have a banded structure. Matrices D 1 , D 2 and  D 3 are used to denote the contributions of the global system, which are calculated using the elemental matrices assembly procedure. D 1 denotes the mass matrix that comes with the time derivative, D 2 is the stiffness matrix resulting from the spatial derivative and  D 3 represents the fractional operator contribution. The resulting global matrices D 1 , D 2 and  D 3 takes the form
D 1 = h 140 1 , 120 + 60 λ , 1191 − 120 λ , 2416 + 240 λ , 1191 − 120 λ , 120 + 60 λ , 1 ,
D 2 = 1 10 h − 3 , − 72 + 36 λ , − 45 + 18 λ , 240 , − 45 + 18 λ , − 72 + 36 λ , − 3 ,
D 3 = 3 h 0 , 0 , 0 , 0 , 0 , 0 , 0 .

2.5. Full Disretization

Substituting the temporal dicretization Equation (5) into Equation (17) and using the weighted average ( θ − m e t h o d ) for the spatial terms, gives
D 4 H n + 1 = D 5 H n + D 6 ,
where
D 4 = ∑ i = 1 m a i r μ i D 1 + θ D 2 − θ D 3 ,
D 5 = ∑ i = 1 m a i r μ i D 1 − ( 1 − θ ) D 2 + ( 1 − θ ) D 3 ,
D 6 = θ F n + 1 + ( 1 − θ ) F n − ∑ i = 1 m a i r μ i ∑ k = 1 n s μ i ( k ) H n + 1 − k − H n − k D 1 .
The operator D 6 includes the history effect characteristic of Caputo-type fractional derivatives. This operator is computed at each step by means of a discrete convolution that utilizes the solution vectors H n − k and H n + 1 − k from the previous steps. In actual computation, the terms
s μ i ( k ) = ( k + 1 ) 1 − μ i − k 1 − μ i
that solely depend on μ i and k, are calculated prior to any iterations and stored for use in the computations. As the operator D 1 does not change after assembly, the history operator is easily computed using the solution vectors obtained during previous computations without having to reconstruct the matrix again.

2.6. Initial Matrix Implementation

Let { L m ( v ) } m = − 1 N + 1 represent the basis formed by extended cubic B-splines with extension parameter λ and equal step size h. The initial value H 0 is determined by Equation (9). The unknown coefficients at each time level are then obtained from Equation (18). To calculate H 0 Equation (9) at t = 0 becomes
ψ ( v , 0 ) = ∑ m = − 1 N + 1 H m 0 D m ( v ) ,
where ψ and ψ ′ are denoted as
ψ ( v i , 0 ) = p ( v i ) , i = 0 , 1 , … , N − 1 , ψ ′ ( v 0 , 0 ) = p ′ ( v 0 ) , ψ ′ ( v N , 0 ) = p ′ ( v N ) .
This yields an ( N + 3 ) × ( N + 3 ) system of equations:
S 4 H 0 = S 5
1 − 2 1 0 … 0 4 − λ 16 + 2 λ 4 − λ 0 … 0 0 4 − λ 16 + 2 λ 4 − λ … 0 ⋮ ⋱ ⋱ ⋱ ⋱ ⋮ 0 … 4 − λ 16 + 2 λ 4 − λ 0 0 … 0 4 − λ 16 + 2 λ 4 − λ 0 … − ( 1 − λ ) 0 ( 1 − λ ) 0 0 … 0 1 − 2 1 ︸ ( N + 3 ) × ( N + 3 ) H − 1 H 0 ⋮ H N + 1 ︸ N + 3 = p ( v − 1 ) p ( v 0 ) p ( v 1 ) ⋮ p ( v N − 2 ) p ( v N − 1 ) p ′ ( v N ) p ( v N + 1 ) ︸ N + 3
Equation (23) emerges after imposing the initial and boundary conditions to the expanded extended cubic B-spline in Equation (22). This results in a system of linear equations of dimension ( N + 3 ) × ( N + 3 ) , where the coefficients of the equation H 0 are unknown. The extra equations in the linear system can be generated from the derivatives of the boundary conditions, providing closure in the system. The coefficient matrix derived from the linear system becomes a band matrix because of the finite nature of the basis function. Given that the extended cubic B-spline basis functions are linearly independent and the boundary conditions are properly set, the system matrix remains non-singular. The implementation of the presented scheme is summarized in Algorithm 1.
Algorithm 1 Numerical solution procedure.
StepDescription
1Discretize the spatial domain [ c , d ] into N elements with step size h and the time domain with step size Δ t .
2Construct extended cubic B-spline basis functions D i ( v ) and compute element matrices C 1 e , C 2 e and  C 3 e .
3Assemble global matrices D 1 , D 2 and  D 3 .
4Compute initial coefficient vector H 0 from Equation (23) using initial and boundary conditions.
5For each time level n = 0 , 1 , 2 , … :
(a) Compute right-hand side vector using Equation (21).
(b) Form matrices D 4 and D 5 using Equations (19) and (20).
(c) Solve D 4 H n + 1 = D 5 H n + D 6 .
6Repeat Step 5 until final time level is reached.
7Obtain approximate solution ψ ( v , t ) using Equation (9).

3. Stability Analysis

We now analyze the stability of proposed procedure using the matrix method. To define the error at time level n, we introduce
E n = ψ ¯ n − ψ n ,
where ψ ¯ denotes the exact solution and ψ represents the approximate solution. From Equation (18), we have
D 4 H n + 1 = D 5 H n + D 6 .
Assume that D 4 is nonsingular, so that D 4 − 1 exists. Then Equation (25) can be written as
H n + 1 = D 4 − 1 D 5 H n + D 4 − 1 D 6 .
Here, D 4 − 1 D 5 is the amplification matrix. If ψ denote the approximate solution vector, then
ψ n + 1 = A D n + 1 , ψ n = A D n .
Using Equations (24), (26) and (27), we obtain
E n + 1 = U E n ,
where the amplification matrix U is defined by
U = A D 4 − 1 D 5 D − 1 .
As the parameter λ occurs explicitly in the element matrices C 1 e , C 2 e and C 3 e , the matrices D 1 , D 2 and D 3 will depend on the parameter λ too. Hence, the amplification matrix can be expressed as
U ( λ ) = D 4 ( λ ) − 1 D 5 ( λ ) .
For the numerical solution to be stable, the error must remain bounded at all time levels. Therefore, for fixed value of λ the following condition is required:
∥ U ( λ ) ∥ ≤ 1 .
If U ( λ ) is symmetric, then its norm is equal to its spectral radius, that is
∥ U ( λ ) ∥ = ξ ( U ( λ ) ) ,
where ξ ( U ( λ ) ) denotes the spectral radius of the matrix U ( λ ) . In general, the inequality
ξ ( U ( λ ) ) ≤ ∥ U ( λ ) ∥
always holds. The stability of the proposed scheme is ensured provided that the spectral radius of the amplification matrix U satisfies
ξ ( U ( λ ) ) ≤ 1 ,
which guarantees that the error remains bounded at all time levels. This condition follows from the matrix form of the scheme and is standard in the analysis of time-stepping methods.
The stability criterion is obtained from the matrix representation of the fully discrete scheme, where the growth of the error is controlled by the amplification matrix U ( λ ) . The stability requirement that the spectral radius satisfy
ξ ( U ( λ ) ) ≤ 1
ensures that the error cannot increase without bound at any time level. This condition is also well-aligned with the classical stability analysis of linear time-marching methods. Here, the appearance of the relevant matrices is due to the application of the Galerkin method based on the extended cubic B-spline basis functions, which have finite support. This implies that the resulting system matrices will be sparse and banded. Additionally, the application of the L1 method for approximating the Caputo derivative gives rise to the inclusion of a weighted history term, which is known to be stable under small step-size assumptions. Consequently, the proposed combination of the Galerkin method and the L1 approach will yield a stable numerical scheme under the specified condition.

4. Convergence Analysis

In this section, a comprehensive convergence analysis of the proposed numerical scheme is presented.
Theorem 1.
Suppose that the exact solution of the multi-term time-fractional differential Equation (1) is sufficiently smooth and the fully discrete extended cubic B-spline Galerkin method is consistent. Furthermore, assume that the L1 approximation is used for each Caputo derivative of order μ i ∈ ( 0 , 1 ] , while the spatial Galerkin discretization is of second-order. Provided that the fully discrete method is stable in the sense that the error is uniformly bounded at all discrete time levels, the numerical solution converges to the exact solution. Furthermore, the global error between the exact and numerical solutions obeys
∥ ψ ( · , t n ) − ψ h n ∥ ≤ C Δ t 2 − μ max + h 2 ,
where μ max = max { μ 1 , μ 2 , … , μ m } .
Proof. 
The proof is based on the consistency and stability properties of the proposed fully discrete scheme.
In terms of the temporal discretization, the error term in approximating the Caputo fractional derivative of order μ i ∈ ( 0 , 1 ] by L1 scheme is of the order
O ( Δ t 2 − μ i ) .
Consequently, the leading error term associated with multi-term fractional derivative operator will be determined by the largest order of differentiation, which is
O ( Δ t 2 − μ max ) , μ max = max { μ 1 , μ 2 , … , μ m } .
With regard to the spatial discretization, provided that the exact solution is sufficiently smooth, the extended cubic B-spline Galerkin approximation gives second-order accuracy, or equivalently,
O ( h 2 ) .
Therefore, the fully discrete scheme is consistent with the order
O ( Δ t 2 − μ max + h 2 ) .
Let
E n = H ¯ n − H n
be the error vector at the time level t n , where H ¯ n and H n stand for the exact and numerical coefficient vectors, respectively. In terms of the matrix form of the scheme, the error fulfills a discrete equation of the kind
E n + 1 = U E n + τ n ,
where U is the amplification matrix and τ n represents the local truncation error.
In the case where the scheme is stable, the discrete solution operator becomes uniformly bounded, and, hence, we have
∥ E n ∥ ≤ C ∥ E 0 ∥ + max 0 ≤ j ≤ n − 1 ∥ τ j ∥ .
Because the initial conditions are prescribed consistently, ∥ E 0 ∥ = 0 , and since
∥ τ j ∥ ≤ C Δ t 2 − μ max + h 2 ,
it follows that
∥ E n ∥ ≤ C Δ t 2 − μ max + h 2 .
Therefore, the numerical solution converges to the exact solution with order
O ( Δ t 2 − μ max + h 2 ) .
This completes the proof. □

5. Numerical Results and Discussions

This section presents the application of the proposed scheme to the solution of MTTF-DEs. The efficiency and accuracy of the presented method are rigorously tested through comparison with the exact solution and with existing approaches reported in the literature. The numerical accuracy is accessed by means of the L ∞ and L 2 norms, which provide a quantitative measure of the approximation error:
L ∞ = max q ψ q − ψ ˜ q ,
L 2 = h ∑ q = 1 N ψ q − ψ ˜ q 2 .
Here h denotes the spatial grid size, N is the total number of grid points, ψ q represents the exact solution, and ψ ˜ q denotes the numerical solution at the grid point q. Moreover, to compute the convergence of the numerical method, we use the relation
Rate of Convergence ( R . C . ) = log 2 L ∞ ( h , 2 Δ t ) L ∞ ( h , Δ t ) .
Remark 2.
It should be emphasized that using a uniform time grid may not be sufficient to account for the weak singularity at t = 0 present in Caputo-type fractional problems. In this case, it is possible to use non-uniform time grids to enhance the convergence of the numerical approximation. One of the most common approaches is to apply the following graded time grid:
t n = n N r T , r > 1 .
The advantages of using a non-uniform time grid have been proven for fractional problems, where the presence of a weak singularity at t = 0 leads to a loss of optimal convergence rate. Nevertheless, in this paper, we consider the problem on a uniform grid for simplicity, leaving the extension of our approach to the non-uniform case as a subject of further research.
Remark 3.
It is worth noting that the error norms reported at the final time level inherently reflect the cumulative effect of the temporal discretization, since the numerical solution at the final time depends on all previous time steps. Therefore, these results provide an effective measure of the global accuracy of the scheme for time-fractional problems.
Remark 4.
Although the test problems considered in this study are smooth, it is well known that solutions of time-fractional equations generally exhibit weak singularity near t = 0 . The consistent convergence behavior observed in the numerical results indicates that the proposed method remains robust under such limited regularity.
The proposed scheme is now applied to determine the numerical solution of selected MTTF-DE’s.
Example 1.
The two-term time-fractional differential equation is given by
∑ i = 1 2 a i ∂ μ i ψ ( v , t ) ∂ t μ i − ∂ 2 ψ ( v , t ) ∂ v 2 = 2 t − t 2 + 2 t 2 − μ 2 Γ ( 3 − μ 2 ) e v ,
with the initial condition
ψ ( v , 0 ) = 0 , v ∈ [ 0 , 1 ]
and boundary conditions
ψ ( 0 , t ) = t 2 , ψ ( v , t ) = e · t 2 ,
while the exact solution is
ψ ( v , t ) = e v t 2 .
The multi-term time-fractional differential equation in Example 1 is solved using the methodology described in Section 3. The parameter values are taken as μ 1 = 1 , μ 2 = 0.85 , θ = 1 2 , a 1 = 1 and a 2 = 1 . The approximate solutions are computed on the interval [ 0 , 1 ] for different choices of time step and corresponding numerical results are reported in Table 1. From the error norms, it is observed that the solution improves as the step size decreases, demonstrating the effectiveness of the proposed method. Comparing to the findings obtained from the literature (refer to [26]) the current work has produced reduced error norms for the exact same discretization parameters. Thus, we can conclude that the extended cubic B-spline Galerkin scheme is more accurate than the existing schemes. Table 1 also reports the computed rate of convergence, which is approximately of second order. Table 2 shows the effect of the parameter λ on the L ∞ error norm. The two-dimensional comparison between the exact and approximate solution for the given problem with Δ t = h = 0.1 is illustrated in Figure 2, while the corresponding three-dimensional representation is shown in Figure 3. The error distribution for the approximate solution is displayed in Figure 4. The log plot of the L ∞ error against the mesh size h is shown in Figure 5. It is clear that the error consistently decreases as the mesh becomes finer, thus verifying the convergence of the proposed scheme. These graphical results confirm the excellent agreement between the numerical and exact solutions, thereby validating the proposed method.
Table 1. Absolute error analysis at different mesh sizes for Example 1.
Table 2. Effect of the extension parameter λ on the L ∞ error for Example 1.
Figure 2. 2D visualization of the exact and computed solutions for Example 1 when h = 1 32 , τ = 1 1024 and T = 1 .
Figure 3. 3D visualization of the exact and computed solutions for Example 1 when h = 1 32 , τ = 1 1024 and T = 1 .
Figure 4. 3D error distribution for Example 1 when h = 1 32 , τ = 1 1024 and T = 1 .
Figure 5. Logarithmic comparison of the L ∞ error with versus mesh size h for Example 1 [26].
Remark 5.
Although an optimal selection rule for λ is not available, its value is chosen based on numerical experimentation to achieve improved accuracy.
Example 2.
We consider the following two-term time-fractional differential equation:
∑ i = 1 2 a i ∂ μ i ψ ( v , t ) ∂ t μ i = ∂ 2 ψ ( v , t ) ∂ v 2 + 2 t 2 − μ 1 Γ ( 3 − μ 1 ) + 2 t 2 − μ 2 Γ ( 3 − μ 2 ) sin ( 2 π v ) + 4 π 2 t 2 sin ( 2 π v ) .
with the initial condition
ψ ( v , 0 ) = 0 , v ∈ [ 0 , 1 ]
and the boundary conditions
ψ ( 0 , t ) = ψ ( v , t ) = 0 , t ∈ [ 0 , 1 ] .
The exact solution is given by
ψ ( v , t ) = t 2 sin ( 2 π v ) .
Using the numerical procedure developed in Section 3, the solution of the two-term time-fractional differential equation in Example 2 is obtained. The parameter values are chosen as a 1 = 1 , a 2 = 1 and θ = 0.5 , while the fractional orders μ 1 and μ 2 vary in the interval [ 0 , 1 ] as shown in Table 3 and Table 4. The numerical solution is computed using different time step sizes while keeping the spatial step size fixed. The corresponding error analysis is presented in Table 3 and Table 4. It can be observed that the error decreases as the time step size becomes smaller, demonstrating the stability and accuracy of the proposed method. Furthermore, comparison with the results reported in [26] indicates that the present scheme provides improved accuracy. The computed convergence rates are also reported and are approximately of second order. Table 5 shows the effect of the parameter λ on the L ∞ error. Figure 6 and Figure 7 illustrate the comparison between the exact and numerical solutions in two-dimensional and three-dimensional forms, respectively, while Figure 8 presents the corresponding error distribution. The log plots of the L ∞ error against the time step τ are presented for different fractional orders in Figure 9. It is obvious that the error consistently decreases as the time step becomes smaller. These graphical results demonstrate the excellent agreement between the exact and approximate solutions, thereby confirming the reliability of the proposed numerical method.
Table 3. Absolute error analysis for Example 2 with μ 1 = 0.9 , μ 2 = 0.5 , h = 0.1 , λ = 0.1 .
Table 4. Absolute error analysis for Example 2 with μ 1 = 0.5 , μ 2 = 0.25 , h = 0.1 , λ = 0.25 .
Table 5. Effect of the extension parameter λ on the L ∞ error for Example 2.
Figure 6. 2D comparison between exact and numerical solutions for Example 2 when h = 1 32 , τ = 1 1024 and T = 1 .
Figure 7. 3D comparison between exact and numerical solutions for Example 2 when h = 1 32 , τ = 1 1024 and T = 1 .
Figure 8. 3D error distribution for Example 2 when h = 1 32 , τ = 1 1024 and T = 1 .
Figure 9. Logarithmic comparison of the L ∞ error versus time step τ for Example 2 [26].
Example 3.
Consider the following three-term time-fractional differential equation:
∑ i = 1 3 a i ∂ μ i ψ ( v , t ) ∂ t μ i − ∂ 2 ψ ( v , t ) ∂ v 2 = 2 v 2 ( 1 − v ) 2 ( a 1 t 2 − μ 1 Γ ( 3 − μ 1 ) + a 2 t 2 − μ 2 Γ ( 3 − μ 2 ) + a 3 t 2 − μ 3 Γ ( 3 − μ 3 ) ) − 2 ( 6 v 2 − 6 v + 1 ) ( 1 + t 2 ) .
with the Initial condition
ψ ( v , 0 ) = v 2 ( 1 − v ) 2 , v ∈ [ 0 , 1 ]
and the boundary conditions
ψ ( 0 , t ) = ψ ( 1 , t ) = 0 , t ∈ [ 0 , 1 ] .
The exact solution is given by
ψ ( v , t ) = v 2 ( 1 − v ) 2 ( 1 + t 2 ) .
In Example 3, the proposed scheme is applied over the spatial domain [ a , b ] . The parameter are chosen as the following values: a 1 = 1 , a 2 = 1 , a 3 = 0.5 , θ = 0.5 , μ 1 = 0.7 , μ 2 = 0.6 , μ 3 = 0.4 and λ = 0.3 . The performance of the proposed numerical scheme is evaluated using the L ∞ error norms reported in Table 6. It can be observed that the numerical accuracy improves as the mesh size and time step decrease. Furthermore, comparison with implicit finite difference scheme reported in [26] demonstrates that the present method produces significantly smaller errors. The computed convergence rates, also shows in Table 6, indicates that the proposed scheme achieves approximately second-order accuracy. Table 7 shows the effect of the parameter λ on the L ∞ error. The graphical comparison between the exact solution, the numerical approximation and the corresponding point-wise error at Δ t = h = 0.1 and t = 1 is illustrated in Figure 10, Figure 11 and Figure 12. As seen in Figure 13, which displays the relationship between the L ∞ error and the mesh width h, the convergence features of the problem in Example 3 have been represented using a log-log graph. These figures show that the numerical and analytical solutions overlap closely, confirming the accuracy and reliability of the proposed method.
Table 6. Absolute error analysis at different mesh sizes for Example 3.
Table 7. Effect of the extension parameter λ on the L ∞ error for Example 3.
Figure 10. 2D comparison between exact and numerical solutions when h = 1 80 , τ = 1 6400 and T = 1 for Example 3.
Figure 11. 3D comparison between exact and numerical solutions when h = 1 80 , τ = 1 6400 and T = 1 for Example 3.
Figure 12. 3D error distribution when h = 1 80 , τ = 1 6400 and T = 1 for Example 3.
Figure 13. Logarithmic comparison of the L ∞ error versus mesh size h for Example 3 [26].
Example 4.
Consider the following three-term time-fractional differential equation:
∑ i = 1 3 a i ∂ μ i ψ ( v , t ) ∂ t μ i − ∂ 2 ψ ( v , t ) ∂ v 2 = v 1 + μ 1 ( 1 − v ) Γ ( μ 2 + μ 3 + 1 ) ( a 1 t μ 2 + μ 3 − μ 1 Γ ( μ 2 + μ 3 − μ 1 + 1 ) + a 2 t μ 3 Γ ( μ 3 + 1 ) + a 3 t μ 2 Γ ( μ 2 + 1 ) ) − ( 1 + μ 1 ) v μ 1 − 1 ( μ 1 − ( 2 + μ 1 ) v ) ( 1 + t μ 2 + μ 3 )
with the initial condition
ψ ( v , 0 ) = v 1 + μ 1 ( 1 − v ) , v ∈ [ 0 , 1 ]
and the boundary conditions
ψ ( 0 , t ) = 0 , ψ ( 1 , t ) = 0 , t ∈ [ 0 , 1 ] .
The exact solution is given by
ψ ( v , t ) = v 1 + μ 1 ( 1 − v ) 1 + t μ 2 + μ 3 .
The approximate solution is computed over the spatial domain [ a , b ] using the parameter values
a 1 = a 3 = 1 , a 2 = 0.5 , θ = 0.5 , μ 1 = 0.8 , μ 2 = 0.7 , μ 3 = 0.6 , λ = 0.5 .
The L ∞ error norms obtained for successfully refined time steps represented in Table 8. It can be observed that the error decrease as the time step size becomes smaller, indicating the stability and efficiency of the proposed numerical scheme. Furthermore, comparison with the results reported in [26] shows that the present method provides significantly smaller errors. The computed convergence rates reported in Table 8 indicate that the scheme achieves approximately second-order accuracy. Table 9 shows the effect of the parameter λ on the L ∞ error. The graphical comparisons between the exact solution, the numerical approximation and the corresponding pointwise error is illustrated in Figure 14, Figure 15 and Figure 16. Figure 17 shows the logarithmic comparison of the L ∞ error with respect to mesh refinement. A consistent reduction in error is observed, further confirming the convergence and reliability of the proposed numerical approach. These figures demonstrate an excellent agreement between the analytical and numerical solutions, confirming the effectiveness of the proposed method.
Table 8. Absolute error analysis at different mesh sizes for Example 4.
Table 9. Effect of the extension parameter λ on the L ∞ error for Example 4.
Figure 14. 2D comparison between exact and numerical solutions when h = 1 80 , τ = 1 6400 and T = 1 for Example 4.
Figure 15. 3D comparison between exact and numerical solutions when h = 1 80 , τ = 1 6400 and T = 1 for Example 4.
Figure 16. 3D error distribution when h = 1 80 , τ = 1 6400 and T = 1 for Example 4.
Figure 17. Logarithmic comparison of the L ∞ error versus mesh size h for Example 4 [26].

6. Conclusions

In this study, a numerical scheme based on extended cubic B-spline Galerkin finite element method has been developed for solving multi-term time-fractional differential equations. The temporal fractional derivatives are discretized using the Caputo definition with a finite difference approximation, while the spatial discretization is performed using extended cubic B-spline basis functions. These basis functions include a free parameter λ , which provides additional flexibility and improves the approximation capability of the method. The forcing terms are evaluated using Gauss–Legendre quadrature, which ensures accurate numerical integration. The effectiveness of the proposed scheme has been validated through several numerical tests problems involving single-, double- and triple-term time-fractional differential equations. The numerical accuracy has been assessed using the L 2 and L ∞ error norms and the obtained results show excellent agreement with the corresponding exact solutions. Furthermore, the stability of the proposed method has been established through Fourier analysis, confirming its stability. Comparative studies with existing numerical approaches reported in the literature demonstrate that the proposed scheme achieves improved accuracy and convergence properties. Therefore, the extended cubic B-spline Galerkin finite element method provides an efficient and reliable numerical tool for solving multi-term time-fractional differential equations. The current research can be further developed in many ways, such as dealing with nonlinear equations, high dimensions, adaptive schemes, variable order fractional derivatives and space fractional equations. This research is ongoing and will be reported in forthcoming papers.

Author Contributions

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

Funding

This research was funded by 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 for financial support (QU-APC-2026).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Kulish, V.V.; Lage, J.L. Application of fractional calculus to fluid mechanics. J. Fluids Eng. 2002, 124, 803–806. [Google Scholar] [CrossRef] [Scilit]
  2. Tarasov, V.E. Mathematical economics: Application of fractional calculus. Mathematics 2020, 8, 660. [Google Scholar] [CrossRef] [Scilit]
  3. Bagley, R.L.; Torvik, P.J. A theoretical basis for the application of fractional calculus to viscoelasticity. J. Rheol. 1983, 27, 201–210. [Google Scholar] [CrossRef] [Scilit]
  4. 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]
  5. 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]
  6. Katsikadelis, J.T. Numerical solution of multiterm fractional differential equations using the matrix Mittag–Leffler functions. Mathematics 2018, 6, 7. [Google Scholar] [CrossRef] [Scilit]
  7. Abbas, M.; Majid, A.A.; Ismail, A.I.M.; Rashid, A. The application of cubic trigonometric B-spline to the numerical solution of the hyperbolic problems. Appl. Math. Comput. 2014, 239, 74–88. [Google Scholar] [CrossRef] [Scilit]
  8. 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]
  9. Brandibur, O.; Kaslik, E. Stability properties of multi-term fractional-differential equations. Fractal Fract. 2023, 7, 117. [Google Scholar] [CrossRef] [Scilit]
  10. Ravi Kanth, A.S.V.; 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]
  11. Ahmad, I.; Ahmad, H.; Tounthong, 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]
  12. Yang, X.; Wu, L. A new kind of parallel natural difference method for multi-term time fractional diffusion model. Mathematics 2020, 8, 596. [Google Scholar] [CrossRef] [Scilit]
  13. Zheng, M.; Liu, F.; Anh, V.; Turner, I. A high-order spectral method for the multi-term time-fractional diffusion equations. Appl. Math. Model. 2016, 40, 4970–4985. [Google Scholar] [CrossRef] [Scilit]
  14. Sin, C.S.; Ri, G.I.; Kim, M.C. Analytical solutions to multi-term time-space Caputo-Riesz fractional diffusion equations on an infinite domain. Adv. Differ. Equ. 2017, 2017, 306. [Google Scholar] [CrossRef] [Scilit]
  15. 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]
  16. Li, Z.; Liu, Y.; Yamamoto, M. Initial-boundary value problems for multi-term time-fractional diffusion equations with positive constant coefficients. Appl. Math. Comput. 2015, 257, 381–397. [Google Scholar] [CrossRef] [Scilit]
  17. 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]
  18. 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]
  19. 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]
  20. 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]
  21. Brandibur, O.; Kaslik, E. Stability analysis of multi-term fractional-differential equations with three fractional derivatives. J. Math. Anal. Appl. 2021, 495, 124751. [Google Scholar] [CrossRef] [Scilit]
  22. Bhrawy, A.H.; Baleanu, D.; Assas, L.M. Efficient generalized Laguerre-spectral methods for solving multi-term fractional differential equations on the half line. J. Vib. Control 2013, 20, 1000–1015. [Google Scholar] [CrossRef] [Scilit]
  23. Zeng, F.; Zhang, Z.; Karniadakis, G.E. Second-order numerical methods for multi-term fractional differential equations: Smooth and non-smooth solutions. Comput. Methods Appl. Mech. Eng. 2017, 327, 478–502. [Google Scholar] [CrossRef] [Scilit]
  24. Gazi Karakoc, S.B.; Geyikli, T. Petrov-Galerkin finite element method for solving the MRLW equation. Math. Sci. 2013, 7, 25. [Google Scholar] [CrossRef] [Scilit]
  25. Esen, A.; Taşbozan, O. Numerical solution of time fractional Burgers equation by cubic B-spline finite elements. Mediterr. J. Math. 2016, 13, 1325–1337. [Google Scholar] [CrossRef] [Scilit]
  26. 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]
  27. 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]
  28. Wang, Y.; Li, T.; Zhao, Y. The finite difference method and analysis for simulating the unsteady generalized Maxwell fluid with a multi-term time fractional derivative. Fractal Fract. 2024, 8, 136. [Google Scholar] [CrossRef] [Scilit]
  29. Delkhosh, M.; Parand, K. A new computational method based on fractional Lagrange functions to solve multi-term fractional differential equations. Numer. Algorithms 2021, 88, 729–766. [Google Scholar] [CrossRef] [Scilit]
  30. Abu Arqub, O.; Tayebi, S.; Baleanu, D.; Osman, M.S.; Mahmoud, W.; Alsulami, H. A numerical combined algorithm in cubic B-spline method and finite difference technique for the time-fractional nonlinear diffusion wave equation with reaction and damping terms. Results Phys. 2022, 41, 105912. [Google Scholar] [CrossRef] [Scilit]
  31. Rahman, G.U.; Ahmad, D.; Gómez-Aguilar, J.F.; Agarwal, R.P.; Ali, A. Study of Caputo fractional derivative and Riemann–Liouville integral with different orders and its application in multi-term differential equations. Math. Methods Appl. Sci. 2025, 48, 1464–1502. [Google Scholar] [CrossRef] [Scilit]
  32. Abd-Elhameed, W.M.; Alsuyuti, M.M. Numerical treatment of multi-term fractional differential equations via new kind of generalized Chebyshev polynomials. Fractal Fract. 2023, 7, 74. [Google Scholar] [CrossRef] [Scilit]
  33. Pata, V.; Siryk, S.V.; Vasylyeva, N. Multi-term fractional linear equations modeling oxygen subdiffusion through capillaries. Appl. Anal. 2026, 105, 659–697. [Google Scholar] [CrossRef] [Scilit]
  34. Santra, S. Analysis of a higher-order scheme for multi-term time-fractional integro-partial differential equations with multi-term weakly singular kernels. Numer. Algorithms 2025, 99, 1649–1695. [Google Scholar] [CrossRef] [Scilit]
  35. Mani, G.; Ganesh, P.; Chidhambaram, K.; Aljohani, S.; Mlaiki, N. Existence and uniqueness solutions of multi-term delay Caputo fractional differential equations. Int. J. Anal. Appl. 2024, 22, 171. [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.