Next Article in Journal
Synergizing Trucks with Fixed-Route Buses to Design an Efficient Three-Echelon Rural Delivery Logistics Network
Next Article in Special Issue
Nonlinear Wave Structures, Multistability, and Chaotic Behavior of Quantum Dust-Acoustic Shocks in Dusty Plasma with Size Distribution Effects
Previous Article in Journal
Few-Shot Community Detection in Graphs via Strong Triadic Closure and Prompt Learning
Previous Article in Special Issue
Very Large Angular Oscillations (Up to 3π/4) of the Physical Pendulum—A Simple Trigonometric Analytical Solution
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Solutions for Linear Fractional Differential Equations with Multiple Constraints Using Fractional B-Poly Bases

by
Md. Habibur Rahman
,
Muhammad I. Bhatti
* and
Nicholas Dimakis
Department of Physics and Astronomy, University of Texas Rio Grande Valley, Edinburg, TX 78539, USA
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(19), 3084; https://doi.org/10.3390/math13193084
Submission received: 18 August 2025 / Revised: 22 September 2025 / Accepted: 23 September 2025 / Published: 25 September 2025

Abstract

This study presents an innovative numerical method for solving linear fractional differential equations (LFDEs) using modified Bernstein polynomial bases. The proposed approach effectively addresses the challenges posed by the nonlocal nature of fractional derivatives, providing a robust framework for handling multiple initial and boundary value constraints. By integrating the LFDEs and approximating the solutions with modified fractional-order Bernstein polynomials, we derive operational matrices to solve the resulting system numerically. The method’s accuracy is validated through several examples, showing excellent agreement between numerical and exact solutions. Comparative analysis with existing data further confirms the reliability of the approach, with absolute errors ranging from 10−18 to 10−4. The results highlight the method’s efficiency and versatility in modeling complex systems governed by fractional dynamics. This work offers a computationally efficient and accurate tool for fractional calculus applications in science and engineering, helping to bridge existing gaps in numerical techniques.

1. Introduction

This paper introduces a novel numerical method addressing key limitations in existing approaches for solving linear fractional differential equations (LFDEs). Fractional calculus is pivotal for modeling anomalous transport and memory-dependent phenomena in physics, engineering, biology, and finance [1,2,3,4,5]. Linear fractional partial differential equations (LFPDEs) are indispensable for modeling nonlocal and memory-driven phenomena. However, their analytical intractability frequently necessitates robust numerical frameworks [6,7]. The nonlocal nature of fractional derivatives presents specific challenges, such as disrupting the periodicity of periodic functions [8]. This poses a critical challenge for analyzing dynamical systems governed by such operators [9]. The absence of a systematic stability framework for fractional-order delay systems contrasted with mature theories for integer-order systems reflects unresolved challenges posed by memory effects and power-law kernels [10]. By integrating Genocchi polynomials with semi-orthogonal bases, this study develops operational matrices tailored for solving fractional differential equations, bridging gaps in handling nonlinearity and nonlocality [11]. Fractional models better capture nonlocal effects and memory phenomena in complex systems (e.g., fractal geometries, turbulent flow) [1,12]. Unlike integer-order derivatives, fractional derivatives are nonlocal, enabling accurate modeling of irregular or discontinuous dynamics [13,14]. Extending the proposed error estimation method to time fractional PDEs and exploring applications in multi-physics systems [15,16]. The work underscores the need for robust numerical frameworks to handle the singularity and complexity of linear and nonlinear FDEs [17,18,19].
There are various existing methods for solving linear and nonlinear fractional differential equation (FDE) problems [20,21,22,23], but many of these techniques have limitations. Therefore, a new approach is needed. This study introduces a novel procedure for solving linear fractional differential equations using an integral method. While exploring different solution strategies, we identified several drawbacks in existing methods, reinforcing the need for our proposed approach [24,25,26,27,28,29,30].
For the reasons mentioned above, fractional calculus is a key tool for modeling modern complex systems and is also indispensable for capturing nonlocal and memory-driven phenomena in various fields, including physics, engineering, biology, and finance [1,2,3,4,5]. Although several existing methods have been implemented, many of these techniques still possess significant limitations, and most methods are analytical methods. Although several methods exist for solving fractional differential equations (FDEs), such as the Runge–Kutta method, Taylor series expansions, and finite difference methods, they often struggle with complex or nonlinear problems [31]. For instance, techniques that combine Sawi with iterative methods still face limitations inherent to these traditional approaches [31].
Another author uses finite difference schemes and spectral methods to solve FDEs [32]. It has limitations due to Numerical methods for fractional calculus, such as finite difference and spectral schemes, which face significant challenges, including poor error control, high computational costs for multidimensional data, and inefficiency with complex geometries. These difficulties are compounded by the nonlocal nature of fractional operators, which leads to theoretical complexity and practical issues like numerical instability and uncertain convergence. Furthermore, the absence of a standardized methodology for choosing between fractional operators that yield different results remains a significant obstacle in the field [32].
Another study uses the shifted Jacobi method, which employs Jacobi polynomials within a conformable fractional derivative framework to solve second-order singular periodic boundary value problems [33]. The method can be computationally intensive and complex to implement compared to simpler polynomial bases, and may converge slowly, particularly for large systems or matrices with poorly scaled elements [33]. Another study proposes a meshless Generalized Finite Difference Method (GFDM) for discretizing spatial derivatives, which uses moving least squares and a weight function to optimize a weighted Taylor series based on node distance for approximating Caputo and Riemann–Liouville fractional derivatives [34]. The method proves “conditional convergence”, which means its convergence depends on certain conditions [34].
The Tantawy Technique is a fast, computationally efficient method that uses direct compensation for high accuracy [35]. In contrast, the Variational Iteration Transform Method (VITM) employs correction functionals to solve nonlinear differential equations without linearization [35]. The Variational Iteration Transform Method (VITM) requires expertise in variational calculus to identify the Lagrange multiplier effectively [35]. Another study employs a hybrid method combining a finite difference L1 scheme on a graded mesh for temporal discretization of the Caputo derivative and a Generalized Jacobi Petrov–Galerkin spectral approach with non-smooth basis functions for spatial discretization, effectively handling non-smooth solutions [36]. Achieving high-order accuracy in finite difference/spectral methods relies on often unrealistic smoothness assumptions, facing spatial challenges with non-guaranteed smoothness in spectral methods and temporal limitations in handling non-smooth solutions on uniform meshes, as hybrid approaches generally presume smoothness in at least one dimension [36]. Given these persistent challenges and limitations across existing numerical approaches, the development of novel, more versatile numerical techniques remain essential to accurately and efficiently solve fractional differential equations.
To address these challenges and numerical gaps, we outline a new computational technique to solve fractional differential equations. We begin by introducing the classical Bernstein polynomials and subsequently extend them into fractional Bernstein polynomials through the application of Caputo’s fractional derivative. The structure of the method begins by integrating the linear fractional differential equation and applying the initial and boundary conditions as integration limits. We assume an approximate solution as a linear combination of modified fractional B-polys, called Bhatti fractional B-polys. This approximation is then substituted into the integral form of the linear fractional differential equation. The resulting equation is solved using an operational matrix approach, and the unknown coefficients are determined to obtain the final solution. To gauge the accuracy of our method, we apply it to three examples of linear fractional differential equations in this study. We then perform an error analysis to demonstrate the accuracy and efficiency of the proposed method.
This study is structured as follows. First, the Introduction establishes the necessity for a novel numerical technique by discussing the limitations of existing methods in solving fractional differential equations. Next, the Methodology section details the theoretical foundation of the proposed approach, including the construction of fractional Bernstein polynomial bases and operational matrices. The Implementation section describes the application of this method to specific problem types, followed by Numerical Examples, where the method is tested on several benchmark problems. Error Analysis is then performed to evaluate the accuracy and robustness of the solutions. Finally, the Conclusion summarizes the findings, highlights the advantages of the proposed technique, and suggests potential directions for future research.

2. Fractional-Order Bernstein Polynomials Basis

The generalized form of fractional B-polys B i , n α , x , expressed in terms of the variable x or t over the interval 0 ,   R or 0 ,   T , is defined in the referenced sources [26,37],
B i , n α , x = k = 0 n β i , k x R α k .
where α represents the fractional order of B-polys. In this equation, β i , k is described as,
β i , k = 1 i k n k k i .
The coefficient of binomial is expressed as n k = n ! k ! n k ! .

3. Caputo’s Fractional Derivative

We compute fractional derivatives using Caputo’s operator. Fractional derivatives are computed via Caputo’s operator [38], formulated as:
D a + γ C f t = 1 Γ n α a t f n t τ α n + 1 d τ     f o r   n 1 < α < n ,
where γ denotes the fractional order, Γ represents the gamma function, and f n is the nth integer-order derivative of f . The Caputo derivative D γ notably facilitates direct incorporation of initial and boundary conditions, making it consistent with physical systems [38]. The Caputo derivative D γ of polynomial is given by
D γ x α = 0                                                                                                         f o r   α N o   a n d     α < γ Γ α + 1 x α γ Γ α + 1 γ                                                                                                           o t h e r w i s e .
where α denotes the fractional order function. The one-dimensional approximate solution y x is represented as a series expansion in terms of fractional-order B-polys B i , n α , x . Specifically, the estimated solution to the linear fractional differential equation is expressed in the form:
y x = i = 0 n c i   B i , n α , x .
where c i are the expansion coefficients in Equation (5). Let us examine a canonical linear fractional differential equation (FDE) of order γ , expressed in the form, ref. [30]:
γ y x x γ + a 1 y x x + a 2 g x y x = f x .
Integrating both sides with respect to the variable x , where a 1 ,   a 2 are constants. Applying the initial y 0 = 1 and boundary conditions to the equation, we obtain [30,39]:
0 x y x x d x + 0 x γ y x x γ d x + 0 x g x y x d x = 0 x f x d x y x + 0 x γ y x x γ d x + 0 x g x y x d x = 0 x f x d x + 1 .
By substituting the approximate solution y x = i = 0 n c i   B i , n α , x , Equation (5) into Equation (7) in above equation. We then separate the coefficient term c i as vector C , and represent the remaining terms as a matrix X on the left-hand side, while denoting the right-hand side as column matrix W . This leads to the operational matrix equation X   C = W . This equation is solved numerically to determine the unknown coefficients c i . Substituting these coefficients back into the approximate solution then yields the approximated numerical solution. We evaluated our method’s accuracy by solving various linear fractional equations and calculating absolute errors.

4. Examples

In this section, we present three illustrative examples to thoroughly evaluate the accuracy and effectiveness of the proposed method. These examples are carefully chosen to represent a diverse set of fractional differential equations involving various initial and boundary conditions. The goal is to demonstrate the method’s robustness and adaptability in handling complex problems across different scenarios. Due to its flexible framework, the method is expected to be highly versatile, capable of addressing both linear and nonlinear cases with high precision. Through these examples, we aim to showcase not only the accuracy of numerical results but also the method’s potential as a reliable tool for solving a wide class of problems in the field of fractional calculus.
Example 1: As a first example, we consider solving a one-dimensional linear fractional differential equation that incorporates both integer-order and non-integer (fractional) derivatives. The equation is given by [40]:
d 2 y x d x 2 + 3 d y x d x + 2 d 0.1379 y x d x 0.1379 + d 0.0159 y x d x 0.0159 + 5 y x = f x .
where f x is given by,
f x = 6 + 3 x + 5 x 2 2 + 2 0.908102 x 0.1379 + 0.565684   x 1.8621 + 0.990657 x 0.0159 + 0.507365   x 1.9841 .
where the terms fractional d 0.1379 y x d x 0.1379 and d 0.0159 y x d x 0.0159 represent derivatives of the function y ( x ) with respect to x . These fractional derivatives are typically interpreted in the Caputo or Riemann–Liouville sense, depending on the context and required initial/boundary conditions. This equation serves as a benchmark problem to test the accuracy and efficiency of our proposed numerical method. By including derivatives of both integer and low-order fractional degrees, the equation simulates scenarios found in physical systems with memory or hereditary properties, such as anomalous diffusion, porous media flow, or viscoelastic materials. This example illustrates the method’s robustness in handling mixed-order differential operators and its capability to produce highly accurate results even when fractional orders are very small and close to zero.
Employing the initial conditions y 0 = 1 , y 0 = 0 , we numerically solve the equation over the interval 0 x 1 . The exact solution to Equation (8) is given by
y e x a c t x = 1 + x 2 2 .
We perform double integration of the equation on both sides as follows:
I 2 D 2 y x + 3 I 2 D y x + 2   I 2 D 0.1379 y x + I 2 D 0.0159 y x +   I 2 5   y x = I 2 f x I 2 y x + 3 I 2 D y x + 2   I 2 D 0.1379 y x + I 2 D 0.0159 y x   +   I 2 5   y x   = I 2 f x .
Twice integration ( I 2 ) of both terms with respect to x , subject to the given initial condition, produces [30,39]
I y x y 0 + 3 I 2 D y x + 2   I 2 D 0.1379 y x + I 2 D 0.0159 y x + I 2 5   y x   = I 2 f x I y x 0 + 3 I 2 D y x + 2   I 2 D 0.1379 y x + I 2 D 0.0159 y x + I 2 5   y x   = I 2 f x y x y 0 + 3 I 2 D y x + 2   I 2 D 0.1379 y x + I 2 D 0.0159 y x + I 2 5   y x   = I 2 f x y x 1 + I 2 5   y x + 3 I 2 D y x + 2   I 2 D 0.1379 y x + I 2 D 0.0159 y x     = I 2 f x .
A simplified representation of this equation is obtained as
y x + 3 I 2 D y x + 5 I 2   y x + 2   I 2 D 0.1379 y x + I 2 D 0.0159 y x = I 2 f x + 1 .
The solution to Equation (8) can be approximated using a fractional B-polynomial expansion in the x variable:
y x =   i n c i   B i x ,  
where c i represents the unknown expansion coefficient. Substituting these fractional B-polys into Equation (13) and W =   I 2 f x + 1 and applying the Galerkin minimization procedure yields [38]
c i   B i x   + 3 I 2 D c i   B i x   + 5 I 2 c i   B i x   + 2 I 2 D 0.1379 c i   B i x   + I 2 D 0.0159 c i   B i x   = W c i   B i B l + 3   I 2 D B i B l + 5   I 2 B i B l + 2   I 2 D 0.1379 B i   B l + I 2 D 0.0159 B i   B l = W C   M + N + R + P + Q = W ,
where M , N , P , Q denote the corresponding matrix operators with elements,
L e t , X = M + N + R + P + Q M = B i B l N = 3 I 2 D B i B l R = 5 I 2 B i B l P = 2 I 2 D 0.1379 B i B l Q = I 2 D 0.0159 B i B l W =   I 2 f + 1   B l .
This equation can be expressed in matrix form as
C M + N + R + P + Q = W C   X = W
This formulation yields an n + 1 by n + 1 system of equations X   C = W , which is solved numerically for the unknown coefficients C as column matrix; these coefficients are then substituted into Equation (14) to obtain the complete solution. Matrices X and W in Equations (15) and (17) are constructed from inner products of fractional B-polys, computed numerically. The coefficient vector C is determined by solving the linear system derived from Equation (17). The final numerical solution to the fractional differential equation is given by
y a p p r . x = c i B i x = 0.9999999999999991   + 3.552713678800501 × 10 15 x + 0.49999999999999556 x 2
The numerical solution demonstrates excellent agreement with the exact solution y e x a c t x = 1 + x 2 2 . For this computation, the fractional B-polynomials n = 3 in Equation (1) were employed in the x variables to solve the linear fractional differential Equation (8). As shown in Figure 1, the numerical and exact solutions coincide within machine precision, confirming the high accuracy of the method.
Example 2: We now consider solving a third one-dimensional linear fractional differential equation of the form:
d 2 y x d x 2 2 d 0.75 y x d x 0.75 + y x = f x
where f x is given by
f x = x 3 + 6 x + 128 15 Γ 1 4 x 2.25
where d 2 y x d x 2 represents the classical second-order derivative, and d 0.75 y x d x 0.75 denotes the fractional derivative of order 3/4 = 0.75, which can be interpreted using either the Caputo or Riemann–Liouville definition depending on the initial and boundary conditions.
This equation is particularly interesting because it combines local (integer-order) and nonlocal (fractional-order) differential operators, modeling systems where both instantaneous and memory-dependent behaviors are present. The fractional term introduces a nonlocal influence, capturing effects such as historical dependence or anomalous transport, which are common in complex physical and engineering systems.
The main objective here is to assess how well our numerical method handles the interaction between different derivative orders, especially when fractional orders are less than one, as is the case here. This type of mixed-order equation is more challenging to solve due to the presence of the fractional term, which requires careful numerical treatment.
By applying our proposed method to this problem, we aim to demonstrate its robustness, flexibility, and accuracy in solving fractional differential equations of mixed order across the domain 0     x     1 under appropriate boundary conditions y 0 = 0 and y 0 = 0 . This example serves as a further test of the proposed numerical method’s effectiveness in handling equations involving both integer- and non-integer-order derivatives, particularly when initial-value conditions are prescribed. The inclusion of a fractional derivative of order 3/4 = 0.75 poses additional challenges due to the nonlocal nature of fractional operators, which depend on the entire history of the solution up to a given point.
We utilize the initial conditions y 0 = 0 , y 0 = 0 , and the numerical solution of this equation is sought out in intervals 0     x     1 . The exact solution which satisfies initial conditions and Equation (19) is given by
y e x a c t x = x 3 .
Let us twice integrate the equation on both sides as given below:
I 2 D 2 y x 2 I 2 D 0.75 y x + I 2 y x   = I 2 f x
The integration twice (I2) of both terms with respect to variable x is provided with two initial conditions implemented [30,39],
After first integration of the first term in Equation (22),
I y x y 0 2 I 2 D 0.75 y x + I 2 y x = I 2 f x
After second integration and implementing the initial conditions,
y x y 0 2 I 2 D 0.75 y x + I 2 y x = I 2 f x .
A simplified representation of this equation is obtained:
y x 2 I 2 D 0.75 y x + I 2 y x = I 2 f x .
We approximate that the solution of Equation (19) can be expressed in terms of the fractional B-polys expansion in variable x :
y   x =   i n c i   B i x   .
where c i are the unknown expansion coefficients in Equation (23). After substituting these fractional B-polys into Equation (22) using the Galerkin method for minimization [38], we obtain the following expression,
c i   B i x   2 I 2 D 0.75 c i   B i x   + I 2 c i   B i x   = I 2 f x c i   B i B l 2   I 2 D 0.75 B i   B l + I 2 B i B l = I 2 f B l   C   M N + P = W
where matrices M , N , P , W are represented by matrix elements
L e t ,   M = B i B l N = 2   I 2 D 0.75 B i   B l P = I 2 B i B l   W =   I 2 f   B l   X = M N + P .  
We can arrange this equation in terms of matrices so that
X   C = W .
This formulation results in an n   +   1 by n   +   1 linear system X   C   =   W , which is solved numerically for the expansion coefficients c i in Equation (34). These coefficients are then substituted into Equation (22) to construct the approximate solution. Matrices X and W in Equations (24) and (25) are defined through inner products of fractional B-polys, computed numerically. The coefficient vector C is determined by solving the linear system derived from Equation (26). The final numerical solution is given by
y a p p r . x = c i   B i x = 0 . × 10 30 + 0 . × 10 29 x + 0 . × 10 28 x 2 + 1.0 x 3 y a p p r . x = 1.0 x 3 .
The above result is highly accurate and matches the exact solution y e x a c t x = x 3 . The B-polys with n = 3 have been employed in x variables in order to solve the linear fractional Equation (26). The perfect agreement between the two results, exact and numerical solutions, at the level of machine accuracy is demonstrated in Figure 2. This solution precisely matches the exact solution, illustrating the effectiveness of the current approach. For this example, we also present a graph to compare the exact solution of the example. The comparative plot visually validates this exact correspondence, demonstrating the approach’s effectiveness.
Example 3: We now consider a second example involving the solution of a one-dimensional linear fractional differential equation of the form [40]:
d 1.5 y x d x 1.5 + y x = f x ,
where d 1.5 y x d x 1.5 denotes the fractional derivative of order 1.5 with respect to x, typically interpreted in the Caputo or Riemann–Liouville sense. This equation is representative of systems exhibiting super-diffusive behavior, where the dynamics are governed by nonlocal and memory-dependent effects. The inclusion of a non-integer derivative of order greater than one introduces both fractional integration and differentiation into the model, reflecting more complex physical phenomena than traditional integer-order models can capture. This example is used to further validate the proposed numerical method’s ability to handle fractional orders beyond the first derivative and to demonstrate its effectiveness in providing accurate solutions for equations involving higher-order fractional operators.
The function f x on the right-hand side of Equation (30) is given by
f x = x 5 x 4 + 128 7 π x 3.5 64 5 π x 2.5 .
Subject to the boundary conditions, y 0 = 0   a n d   y 1 = 0 , we seek a numerical solution to this fractional differential equation over the interval 0     x     1 . These conditions ensure a well-posed boundary value problem and allow for a meaningful comparison between the numerical and exact solutions. The purpose of this example is to assess the accuracy of the proposed method when applied to a fractional differential equation involving a non-integer derivative of order 1.5. The exact analytical solution of Equation (30) is given by:
y e x a c t x = x 4 x 1 ,
which satisfies the boundary conditions and serves as a benchmark for evaluating the performance of the numerical approach. Applying double integration with respect to x to both sides of Equation (30), yields an equivalent integral form that can be more suitable for certain numerical methods. Specifically, integrating both sides twice reduces the fractional derivative order and helps in transforming the problem into a form that is more amenable to approximation techniques. Both terms are integrated with respect to x while incorporating two initial conditions, yielding the resulting expression is:
I 2 D 1.5 y x + I 2 y x = I 2 f x .
This transformation can facilitate the construction of numerical schemes by replacing fractional derivatives with their corresponding integral representations, allowing the use of standard quadrature or interpolation-based methods.
The approximate solution to Equation (30) takes the form of a fractional-order Bernstein polynomial expansion in the spatial variable x :
y   x =   i n c i   B i x ,  
where c i denotes the expansion coefficient. Substituting the fractional B-polynomial expansion into Equation (33) and applying the Galerkin minimization procedure to Equation (33) yields [38]
I 2 D 1.5 c i   B i x   + I 2 c i   B i x = I 2 f x .
This equation can be expressed in matrix form as
c i   I 2 ( D 1.5 B i )   B l + I 2 B i B l = I 2 f   B l   M +   N C = W X   C = W .
where matrices M , N , and W are represented by matrix elements.
Let
X = M + N M = I 2 ( D 1.5 B i )   B l N = I 2 B i B l W = I 2 f   B l   C = i n c i
The formulation reduces to an n   +   1 by n   +   1 linear system X   C   =   W , which is solved numerically for the coefficient of vector C . These coefficients are then substituted into Equation (33) to construct the complete solution. The matrices X and W in Equations (36) and (37) are defined through inner products of fractional B-polynomials, computed numerically. The coefficients c i are obtained by solving the linear system derived from Equation (36). The final numerical solution is given by
y e s t i m a t e x = c i   B i x = 2.942091015256665 × 10 15 + 1.110500580381312 × 10 12 x 1.201538868400575 × 10 11 x 2 + 3.955114014075889 × 10 11 x 3 1.0000000000506684 x 4 + 1.0000000000222073 x 5
The numerical solution exhibits excellent agreement with the exact solution y e x a c t x = x 4 x 1 . Using fractional B-polynomials n = 5 in x variables, we solved the linear fractional Equation (30). Figure 3 and Figure 4 show perfect convergence between the numerical and exact solutions at machine precision level, confirming the method’s accuracy. The exact correspondence between both solutions validates the effectiveness of our approach. For clarity, we include a comparative visualization of the exact and numerical solutions.

5. Error Analysis

In this section, we perform an error analysis of examples considered in this study. Table 1 presents a comparison between the exact and the approximate solutions for Example 1 at various values of x within the interval [ 0 ,   1 ] . The approximate results were obtained using the proposed numerical method, and the absolute error was calculated as the absolute difference between the exact and numerical solutions divided by a hundred. As shown in Table 1, the error is exceptionally small at the lower end of the interval 1.0 × 10 10 at x = 0 and increases gradually with larger values of x . The maximum absolute error remains below 4 × 10 4 at x = 1 , indicating a high level of accuracy across the domain. When compared to the results reported in [40], our method demonstrates significantly improved precision, particularly in the early and mid-range values of x . These results validate the effectiveness and reliability of the proposed approach in solving linear fractional differential equations.
Table 2 presents a comparison between the exact and approximate solutions for Example 2 at various values of x within the interval [0, 1]. The approximate values were obtained using the proposed numerical method, and the absolute error was calculated as the absolute difference between the exact and approximate solutions divided by a hundred. As shown in the table, the error is exceptionally small at all values of x , indicating a high level of accuracy across the domain. These results validate the effectiveness and reliability of the proposed approach in solving linear fractional differential equations.
Table 3 below presents a comparison between the exact and approximate solutions for Example 3 at various values of x within the interval [ 0,1 ] . The approximate values were obtained using the proposed numerical method, and the absolute error was calculated as the absolute difference between the exact and approximate solutions divided by 100. As shown in the table, the error is exceptionally small at the lower end of the interval 2.2 × 10 9 at x   =   0 and increases gradually with larger values of x. The maximum absolute error remains below 3.2 × 10 9 at x   =   1 , indicating a high level of accuracy across the domain. When compared to the results reported in [40], our method demonstrates significantly improved precision at values of x. These results validate the effectiveness and reliability of the proposed approach in solving linear fractional differential equations.
To quantitatively assess the performance of our technique, we compare its results against those of a previously established method [40]. As detailed in Table 1, Table 2 and Table 3, the numerical approximations y a p p r . ( x ) generated by our method for different problems are in significantly closer agreement with the benchmark solutions than the values reported in [40]. This comparative analysis clearly indicates the enhanced precision and reliability of our proposed approach.
Table 4 demonstrates the convergence properties of the proposed method for Example 3, where the exact solution is given by y e x a c t ( x )   =   x 5     x 4 =   x 4 ( x 1 )   [40]. The table lists the absolute error y a p p r . x y e x a c t x × 10 2 at various points x for an increasing number of fractional B-polynomial basis functions n . The results clearly show that the accuracy of the approximation improves significantly as the size of the basis set n is increased, albeit with a corresponding increase in computational cost, as indicated by the CPU time provided in the last row of Table 4. The absolute error approaches zero for the basis set n = 5 and n = 6 as shown in the last two columns of Table 4.
Table 5 shows that the absolute error in Example 1 depends on the fractional order α of the basis set. Although the exact solution in this case is of integer order, the method’s inherent tunability offers a promising direction for future research into problems governed by fractional-order dynamics. It is evident that for α = 0.9 and 0.75, the absolute error is significantly higher, indicating that a greater number of fractional basis functions are required to improve the accuracy of the solution. At the same time, the computational cost increases significantly. Therefore, in these cases, α = 1 was selected for comparison with the exact solutions.

6. Conclusions

Our current methodology effectively solves linear fractional differential equations, extending its previous application to linear and nonlinear ordinary differential equations. This study specifically addresses higher-order fractional differential equations subject to multiple initial and boundary conditions. The method offers high accuracy, with solutions for most fractional equations aligning exactly with known analytical solutions. For the remaining cases, absolute errors, defined as the difference between exact and numerical solutions, are typically on the order of 10 14 (see Figure 4 and example 3). Solution accuracy is directly influenced by the size of the fractional B-poly basis set employed. Larger basis sets yield more accurate solutions but necessitate more iterations to achieve coefficient convergence, consequently increasing computational time and cost. A notable advantage of our approach is its relative simplicity and accessibility. It avoids grid representation by utilizing a fractional B-polys basis set (Equations (1)–(5)), which reduces the number of iterations needed for coefficient convergence compared to some alternative numerical approaches. This straightforward implementation was realized using the symbolic programming language Mathematica [41].
This study presented an innovative numerical technique for solving linear fractional differential equations (LFDEs) using modified fractional B-polys. The proposed method demonstrated high accuracy and efficiency in handling fractional-order derivatives, as evidenced by the close agreement between numerical and exact solutions across multiple examples. Comparison analyses of all results are provided in four tables in Section 5. Key findings include the following.
The method achieved solutions with absolute errors on the order of 10 14 , shown in example 3 in Figure 4, showcasing its capability to approximate fractional differential equations with excellent precision. The graphical comparisons further validated the method’s effectiveness, with near-perfect overlaps between exact and numerical solutions. By leveraging fractional B-poly bases and operational matrices, the approach simplified the integration and differentiation processes inherent in fractional calculus. This framework reduced computational complexity while maintaining robustness, even for higher-order fractional derivatives. The computational time for all examples considered here was less than 1–2 min of CPU time. More details on CPU time with respect to the basis set are provided in Table 4.
The technique successfully addresses various LFDEs, including those with multiple initial and boundary conditions, demonstrating its adaptability to diverse problems. The examples spanned different fractional orders and functional forms, underscoring the method’s broad applicability. The study bridged gaps in existing numerical methods by offering a systematic approach to handle nonlocality and memory effects in fractional models. This advancement has potential applications in physics, engineering, and other fields where fractional calculus is pivotal. While the method excels in accuracy, larger basis sets may increase computational costs. Future research could explore optimizations for computational efficiency, extensions to nonlinear fractional equations, and applications in multi-physics systems.
In summary, this work contributes a reliable and accessible numerical framework for solving LFDEs, combining theoretical rigor with practical utility. The results affirm the potential of B-poly bases in fractional calculus, paving the way for further innovations in computational mathematics.

Author Contributions

Conceptualization: M.I.B., Software: M.I.B. Methodology: M.I.B. and N.D., Formal Analysis: M.I.B., N.D. and M.H.R., Validation: M.I.B., N.D. and M.H.R., Data Curation: M.I.B., N.D. and M.H.R., Resources: M.I.B., Project Administration: M.I.B., Investigation: M.I.B., N.D. and M.H.R., Supervision: M.I.B., Writing—Original Draft: M.I.B. and M.H.R., Writing—Review and Editing: M.I.B., N.D. and M.H.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data supporting the findings of this study are available within the article.

Acknowledgments

The authors gratefully acknowledge the use of departmental computing resources for this study.

Conflicts of Interest

The authors declare no competing financial or personal interests that could influence this work.

References

  1. Sun, H.G.; Zhang, Y.; Baleanu, D.; Chen, W.; Chen, Y.Q. A new collection of real world applications of fractional calculus in science and engineering. Commun. Nonlinear Sci. Numer. Simul. 2018, 64, 213–231. [Google Scholar] [CrossRef]
  2. Iqbal, M.A.B.; Raza, M.Z.; Khan, A.; Abdeljawad, T.; Almutairi, D.K. Advanced wave dynamics in the STF-mBBM equation using fractional calculus. Sci. Rep. 2025, 15, 1–24. [Google Scholar] [CrossRef]
  3. Birs, I.; Muresan, C. Fractional-Order Event-Based Control Meets Biomedical Applications. In Computational and Mathematical Models in Biology; Springer: Cham, Switzerland, 2023; pp. 281–304. [Google Scholar] [CrossRef]
  4. Tien, D.N. Fractional stochastic differential equations with applications to finance. J. Math. Anal. Appl. 2013, 397, 334–348. [Google Scholar] [CrossRef]
  5. Najafi, A.; Taleghani, R. Fractional Liu uncertain differential equation and its application to finance. Chaos Solitons Fractals 2022, 165, 112875. [Google Scholar] [CrossRef]
  6. Al-Refai, M.; Baleanu, D.; Al-Refai, M.; Baleanu, D. Comparison principles of fractional differential equations with non-local derivative and their applications. AIMS Math. 2021, 6, 1443–1451. [Google Scholar] [CrossRef]
  7. Derakhshan, M.H.; Ordokhani, Y. Numerical and stability analysis of linear B-spline and local radial basis functions for solving two-dimensional distributed-order time-fractional telegraph models. J. Appl. Math. Comput. 2025, 71, 2859–2887. [Google Scholar] [CrossRef]
  8. Tavazoei, M.S. A note on fractional-order derivatives of periodic functions. Automatica 2010, 46, 945–948. [Google Scholar] [CrossRef]
  9. Singh, M.; Singh, M.P.; Tamsir, M.; Asif, M. Analysis of Fractional-Order Nonlinear Dynamical Systems by Using Different Techniques. Int. J. Appl. Comput. Math. 2025, 11, 47. [Google Scholar] [CrossRef]
  10. Du, F.; Lu, J.G. New criterion for finite-time stability of fractional delay systems. Appl. Math. Lett. 2020, 104, 106248. [Google Scholar] [CrossRef]
  11. Baishya, C.; Veeresha, P. Laguerre polynomial-based operational matrix of integration for solving fractional differential equations with non-singular kernel. Proc. R. Soc. A 2021, 477, 86–90. [Google Scholar] [CrossRef]
  12. Luchko, Y.F.; Rivero, M.; Trujillo, J.J.; Velasco, M.P. Fractional models, non-locality, and complex systems. Comput. Math. Appl. 2010, 59, 1048–1056. [Google Scholar] [CrossRef]
  13. Abu-Ghuwaleh, M.; Saadeh, R. New definitions of fractional derivatives and integrals for complex analytic functions. Arab. J. Basic. Appl. Sci. 2023, 30, 675–690. [Google Scholar] [CrossRef]
  14. de Oliveira, E.C. Fractional Derivatives. Stud. Syst. Decis. Control 2019, 240, 169–222. [Google Scholar] [CrossRef]
  15. Kopteva, N. Pointwise-in-time a posteriori error control for time-fractional parabolic equations. Appl. Math. Lett. 2022, 123, 107515. [Google Scholar] [CrossRef]
  16. Mohammad, M.; Trounev, A. Computational precision in time fractional PDEs: Euler wavelets and novel numerical techniques. Partial. Differ. Equ. Appl. Math. 2024, 12, 100918. [Google Scholar] [CrossRef]
  17. Zhang, D.; Wang, Y.; Jiang, K.; Liang, L. Safe optimal robust control of nonlinear systems with asymmetric input constraints using reinforcement learning. Appl. Intell. 2024, 54, 1–13. [Google Scholar] [CrossRef]
  18. Liu, P.; Meeker, W.Q. Robust Numerical Methods for Nonlinear Regression. 2024. Available online: https://arxiv.org/abs/2403.12759v1 (accessed on 9 April 2025).
  19. Zhang, S.; Jia, R.; He, D.; Chu, F.; Mao, Z. A general data-driven nonlinear robust optimization framework based on statistic limit and principal component analysis. Comput. Chem. Eng. 2022, 160, 107707. [Google Scholar] [CrossRef]
  20. Momani, S.; Odibat, Z. Numerical comparison of methods for solving linear differential equations of fractional order. Chaos Solitons Fractals 2007, 31, 1248–1255. [Google Scholar] [CrossRef]
  21. Rodríguez-Rozas, Á.; Acebrón, J.A.; Spigler, R. The PDD Method for Solving Linear, Nonlinear, and Fractional PDEs Problems. In Nonlocal and Fractional Operators; Springer: Cham, Switzerland, 2021; Volume 26, pp. 239–273. [Google Scholar] [CrossRef]
  22. AlAhmad, R.; Al-Khaleel, M.; Almefleh, H. On solutions of linear and nonlinear fractional differential equations with application to fractional order RC type circuits. J. Comput. Appl. Math. 2024, 438, 115507. [Google Scholar] [CrossRef]
  23. Ali, H.M.; Ameen, I.G. Application of various methods to solve some fractional differential equations in different fields. In Fractional Differential Equations; Elsevier: Amsterdam, The Netherlands, 2024. [Google Scholar] [CrossRef]
  24. Bhatti, M.; Bracken, P.; Dimakis, N.; Herrera, A. Solution of mathematical model for gas solubility using fractional-order Bhatti polynomials. J. Phys. Commun. 2018, 2, 085013. [Google Scholar] [CrossRef]
  25. Bhatti, M.I.; Bhatta, D.D. Numerical solutions of Burgers’ equation in a B-polynomial basis. Phys. Scr. 2006, 73, 539. [Google Scholar] [CrossRef]
  26. Bhatti, M.I.; Bracken, P. Solutions of differential equations in a Bernstein polynomial basis. J. Comput. Appl. Math. 2007, 205, 272–280. [Google Scholar] [CrossRef]
  27. Bhatti, M.I.; Hinojosa, E. 26 results of hyperbolic partial differential equations in B-poly basis. J. Phys. Commun. 2020, 4, 095010. [Google Scholar] [CrossRef]
  28. Bhatti, M.I.; Rahman, M.H. Technique to Solve Linear Fractional Differential Equations Using B-Polynomials Bases. Fractal Fract. 2021, 5, 208. [Google Scholar] [CrossRef]
  29. Rahman, M.H.; Bhatti, M.I.; Dimakis, N. Employing a Fractional Basis Set to Solve Nonlinear Multidimensional Fractional Differential Equations. Mathematics 2023, 11, 4604. [Google Scholar] [CrossRef]
  30. Bhatti, M.I.; Rahman, M.H. A B-Polynomial Approach to Approximate Solutions of PDEs with Multiple Initial Conditions. Axioms 2024, 13, 833. [Google Scholar] [CrossRef]
  31. Saadeh, R.; Al-Wadi, A.; Qazza, A. Advancing Solutions for Fractional Differential Equations: Integrating the Sawi Transform with Iterative Methods. Eur. J. Pure Appl. Math. 2025, 18, 5583. [Google Scholar] [CrossRef]
  32. Hafez, M.; Alshowaikh, F.; Voon, B.W.N.; Alkhazaleh, S.; Al-Faiz, H. Review on Recent Advances in Fractional Differentiation and its Applications. Prog. Fract. Differ. Appl. 2025, 11, 245–261. [Google Scholar] [CrossRef]
  33. Al-Nana, A.; Batiha, I.M.; Jebril, I.H.; Al Khazaleh, S.; Abdeljawad, T. Numerical Solution of Conformable Fractional Periodic Boundary Value Problems by Shifted Jacobi Method. Int. J. Math. Eng. Manag. Sci. 2024, 10, 189–206. [Google Scholar] [CrossRef]
  34. García, A.; Negreanu, M.; Ureña, F.; Vargas, A.M. On the numerical solution to space fractional differential equations using meshless finite differences. J. Comput. Appl. Math. 2025, 457, 116322. [Google Scholar] [CrossRef]
  35. El-Tantawy, S.A.; Al-Johani, A.S.; Almuqrin, A.H.; Khan, A.; El-Sherif, L.S. Novel approximations to the fourth-order fractional Cahn–Hillard equations: Application to the Tantawy Technique and other two techniques with Yang transform. J. Low. Freq. Noise Vib. Act. Control 2025, 44, 14613484251322240. [Google Scholar] [CrossRef]
  36. Chao, Z.; Wang, X.-S.; Zaky, M.A. Finite Difference/Fractional Pertrov–Galerkin Spectral Method for Linear Time-Space Fractional Reaction–Diffusion Equation. Mathematics 2025, 13, 1864. [Google Scholar] [CrossRef]
  37. Bhatti, M.I. Solutions of the harmonic oscillator equation in a B-polynomial basis. Adv. Stud. Theor. Phys. 2009, 3, 451–460. [Google Scholar]
  38. Podlubny, I. Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications; Mathematics in Science and Engineering; Academic Press: Cambridge, MA, USA, 1999; Volume 198. [Google Scholar]
  39. Al-Mazmumy, M.; Alsulami, M. Utilization of the Modified Adomian Decomposition Method on the Bagley-Torvik Equation Amidst Dirichlet Boundary Conditions. Eur. J. Pure Appl. Math. 2024, 17, 546–568. [Google Scholar] [CrossRef]
  40. Kawala, A.M. Numerical Solution for Initial and Boundary Value Problems of Fractional Order. Adv. Pure Math. 2018, 8, 831. [Google Scholar] [CrossRef]
  41. Wolfram Research, Inc. Mathematica 14.1, Version 14.1; Wolfram Research, Inc.: Champaign, IL, USA, 2024.
Figure 1. The approximate solution, y x , and the exact solutions are depicted in Figure 1. This visual simulation highlights the significant overlap between the two solutions.
Figure 1. The approximate solution, y x , and the exact solutions are depicted in Figure 1. This visual simulation highlights the significant overlap between the two solutions.
Mathematics 13 03084 g001
Figure 2. The approximate solution, y x , and the exact solutions are depicted in Figure 2. This visual simulation highlights the significant overlap between the two solutions.
Figure 2. The approximate solution, y x , and the exact solutions are depicted in Figure 2. This visual simulation highlights the significant overlap between the two solutions.
Mathematics 13 03084 g002
Figure 3. The approximate solution, y x , and the exact solutions are depicted in Figure 2. This visual simulation highlights the significant overlap between the two solutions.
Figure 3. The approximate solution, y x , and the exact solutions are depicted in Figure 2. This visual simulation highlights the significant overlap between the two solutions.
Mathematics 13 03084 g003
Figure 4. The picture above presents the absolute error between the exact and approximate solutions for example 3. Notably, the absolute error is on the order of 10 14 , indicating an extremely high degree of accuracy in the approximation. This level of precision suggests that the approximate solution closely aligns with the exact solution, making it a reliable choice for further analysis or applications.
Figure 4. The picture above presents the absolute error between the exact and approximate solutions for example 3. Notably, the absolute error is on the order of 10 14 , indicating an extremely high degree of accuracy in the approximation. This level of precision suggests that the approximate solution closely aligns with the exact solution, making it a reliable choice for further analysis or applications.
Mathematics 13 03084 g004
Table 1. For Example, 1, at different values of x, we compare our calculated solution y a p p r . ( x ) with those from another study [40]. The exact solution is y e x a c t x = 1 + x 2 2 .
Table 1. For Example, 1, at different values of x, we compare our calculated solution y a p p r . ( x ) with those from another study [40]. The exact solution is y e x a c t x = 1 + x 2 2 .
x Our ResultReference Result [40]Absolute Error
0 1.00000 1.00000 1.0 × 10 10
0.1 1.00500 1.00482 1.7 × 10 6
0.2 1.02 1.01955 4.4 × 10 6
0.3 1.045 1.04456 4.4 × 10 6
0.4 1.08 1.08021 2.2 × 10 6
0.5 1.125 1.12689 1.89 × 10 5
0.6 1.18000 1.18495 4.96 × 10 5
0.7 1.24500 1.25479 9.79 × 10 5
0.8 1.32000 1.33676 1.67 × 10 4
0.9 1.40500 1.43125 2.62 × 10 4
1.0 1.50000 1.53863 3.86 × 10 4
Table 2. For Example 2, at different values of x , we compare our calculated solution y a p p r . ( x ) with those from another study [40]. The exact solution is y e x a c t x = x 3 .
Table 2. For Example 2, at different values of x , we compare our calculated solution y a p p r . ( x ) with those from another study [40]. The exact solution is y e x a c t x = x 3 .
x Our ResultReference Result [40]Absolute Error
0000
0.1 0.00100 0.00100 1.105 × 10 19
0.2 0.00800 0.00800 2.255 × 10 19
0.3 0.02700 0.02700 3.469 × 10 19
0.4 0.06400 0.06400 4.163 × 10 19
0.5 0.125 0.12500 5.551 × 10 19
0.6 0.21600 0.21600 5.551 × 10 19
0.7 0.34300 0.34300 5.551 × 10 19
0.8 0.51200 0.51200 1.110 × 10 18
0.9 0.72900 0.72900 1.110 × 10 18
1.0 1 .01.00
Table 3. For Example, 3, at different values of x, we compare our calculated solution y a p p r . ( x ) with those from another study [40]. The exact solution is y e x a c t x = x 4 x 1 .
Table 3. For Example, 3, at different values of x, we compare our calculated solution y a p p r . ( x ) with those from another study [40]. The exact solution is y e x a c t x = x 4 x 1 .
x Our ResultReference Result [40]Absolute Error
00 2.19999 × 10 7 2.199 × 10 9
0.1 0.00009 0.00008 1.964 × 10 9
0.2 0.00128 0.00127 2.131 × 10 9
0.3 0.00567 0.00566 2.544 × 10 9
0.4 0.01536 0.01535 3.079 × 10 9
0.5 0.03125 0.03124 3.637 × 10 9
0.6 0.05184 0.05183 4.124 × 10 9
0.7 0.07203 0.07202 4.447 × 10 9
0.8 0.08191 0.08191 4.497 × 10 9
0.9 0.06561 0.06560 4.139 × 10 9
1.0 0 3.20000 × 10 7 3.200 × 10 9
Table 4. For various values of x, we evaluate the absolute error between the approximate solution y a p p r . ( x ) and the exact solution y e x a c t x , considering different numbers of basis functions and corresponding CPU times.
Table 4. For various values of x, we evaluate the absolute error between the approximate solution y a p p r . ( x ) and the exact solution y e x a c t x , considering different numbers of basis functions and corresponding CPU times.
x Absolute Error Between Exact and Approximate Solutions at Various Values of x
and the Number of Basis Used in This Study
n = 2n = 3n = 4n = 5n = 6
0 10.6104 1.93419 0.77274 00
0.1 17.8211 4.83627 4.00420 00
0.2 24.5130 7.59033 7.10768 00
0.3 30.6883 10.180380 10.046122 00
0.4 36.3492 12.590412 12.791602 00
0.5 41.4964 14.805625 15.324165 00
0.6 46.1284 16.813614 17.630604 00
0.7 50.2403 18.605579 19.703266 00
0.8 53.8221 20.177514 21.53885 00
0.9 56.8578 21.531418 23.13722 00
1.0 59.3244 22.676487 24.50017 00
CPU time8.83 s10.39 s19.91 s34.88 s56.25 s
Table 5. In example 1 the exact solution to the fractional differential equation is y ( x ) = 1 + x 2 2 . The method’s sensitivity to fractional order values α near 0 and 1 is illustrated using absolute error presented in each column. The number of fractional B-polynomials was fixed at n = 4 , while the fractional order α was varied between 0 and 1.
Table 5. In example 1 the exact solution to the fractional differential equation is y ( x ) = 1 + x 2 2 . The method’s sensitivity to fractional order values α near 0 and 1 is illustrated using absolute error presented in each column. The number of fractional B-polynomials was fixed at n = 4 , while the fractional order α was varied between 0 and 1.
x α = 1
Absolute Error
α = 0.9
Absolute Error
α = 3 4
Absolute Error
α = 1 2
Absolute Error
0 8.29336 × 10 14 0.00028 0.00027 1.39976 × 10 12
0.1 1.55431 × 10 15 0.00020 0.00019 7.91366 × 10 13
0.2 2.22044 × 10 15 0.00051 0.00053 1.63069 × 10 12
0.3 4.15223 × 10 14 0.00105 0.00104 2.65631 × 10 12
0.4 7.90478 × 10 14 0.00173 0.00159 3.71058 × 10 12
0.5 9.28146 × 10 14 0.00240 0.00208 4.65338 × 10 12
0.6 7.68274 × 10 14 0.00299 0.00247 5.37525 × 10 12
0.7 3.99680 × 10 14 0.00344 0.00274 5.78692 × 10 12
0.8 7.99360 × 10 15 0.00377 0.00292 5.81734 × 10 12
0.9 2.10942 × 10 14 0.00406 0.00305 5.40567 × 10 12
1 1.36335 × 10 13 0.00442 0.00321 4.50128 × 10 12
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.

Share and Cite

MDPI and ACS Style

Rahman, M.H.; Bhatti, M.I.; Dimakis, N. Solutions for Linear Fractional Differential Equations with Multiple Constraints Using Fractional B-Poly Bases. Mathematics 2025, 13, 3084. https://doi.org/10.3390/math13193084

AMA Style

Rahman MH, Bhatti MI, Dimakis N. Solutions for Linear Fractional Differential Equations with Multiple Constraints Using Fractional B-Poly Bases. Mathematics. 2025; 13(19):3084. https://doi.org/10.3390/math13193084

Chicago/Turabian Style

Rahman, Md. Habibur, Muhammad I. Bhatti, and Nicholas Dimakis. 2025. "Solutions for Linear Fractional Differential Equations with Multiple Constraints Using Fractional B-Poly Bases" Mathematics 13, no. 19: 3084. https://doi.org/10.3390/math13193084

APA Style

Rahman, M. H., Bhatti, M. I., & Dimakis, N. (2025). Solutions for Linear Fractional Differential Equations with Multiple Constraints Using Fractional B-Poly Bases. Mathematics, 13(19), 3084. https://doi.org/10.3390/math13193084

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop