Next Article in Journal
Perfect Projective Synchronization of a Class of Fractional-Order Chaotic Systems Through Stabilization near the Origin via Fractional-Order Backstepping Control
Previous Article in Journal
Design of High-Gain Linear Polarized Fabry–Perot Antenna Based on Minkowski Fractal Structure
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Jacobi Galerkin Operational Matrices of Derivatives: A Highly Accurate Method for Solving Two-Point Fractional-Order Nonlinear Boundary Value Problems with Robin Boundary Conditions

by
Hany Mostafa Ahmed
Department of Mathematics, Faculty of Technology and Education, Helwan University, Cairo 11281, Egypt
Fractal Fract. 2025, 9(11), 686; https://doi.org/10.3390/fractalfract9110686 (registering DOI)
Submission received: 18 September 2025 / Revised: 19 October 2025 / Accepted: 21 October 2025 / Published: 24 October 2025
(This article belongs to the Section Numerical and Computational Methods)

Abstract

A novel numerical scheme is developed in this work to approximate solutions (APPSs) for nonlinear fractional differential equations (FDEs) governed by Robin boundary conditions (RBCs). The methodology is founded on a spectral collocation method (SCM) that uses a set of basis functions derived from generalized shifted Jacobi (GSJ) polynomials. These basis functions are uniquely formulated to satisfy the homogeneous form of RBCs (HRBCs). Key to this approach is the establishment of operational matrices (OMs) for ordinary derivatives (Ods) and fractional derivatives (Fds) of the constructed polynomials. The application of this framework effectively reduces the given FDE and its RBC to a system of nonlinear algebraic equations that are solvable by standard numerical routines. We provide theoretical assurances of the algorithm’s efficacy by establishing its convergence and conducting an error analysis. Finally, the efficacy of the proposed algorithm is demonstrated through three problems, with our APPSs compared against exact solutions (ExaSs) and existing results by other methods. The results confirm the high accuracy and efficiency of the scheme.

1. Introduction

Fractional differential equations (FDEs) have been the subject of heightened interest in recent decades owing to their robust capacity to represent memory and hereditary characteristics across various physical and engineering systems. These equations have been widely utilized in diverse domains, including economics [1], continuum and statistical mechanics [2], anomalous diffusion [3], viscoelasticity and vibration analysis [4], electrical circuit modeling [5], stability analysis [6], control theory [7], stochastic processes [8], time-delay systems [9], bio-engineering [10], and the fields of viscoelasticity and control theory [11,12]. In contrast to traditional differential equations (DEs), FDEs permit non-integer order derivatives, offering a more adaptable and precise mathematical framework for systems where the influence of past states affects present behavior; this capacity renders them vital in the analysis of complex dynamical systems.
Significant advancements have been made over time in extending and refining the models of FDEs to better model real-world complexities. A notable refinement is the increased use of the Liouville–Caputo fractional derivative (LCFD), which offers distinct advantages over the classical Riemann–Liouville Fds. Unlike the Riemann–Liouville Fds, the LCFD allows for the incorporation of more physically meaningful initial conditions, boundary conditions, and mixed conditions related to integer-order derivatives. This capability is particularly crucial in fields such as engineering, physics, and finance, where initial states are often described by measurable physical quantities. In this paper, we focus on the boundary value problem (BVP)
a L C D ξ α 2 Q ( ξ ) = F ( ξ , Q ( ξ ) , a L C D ξ α 1 Q ( ξ ) ) , ξ ( a , b ) ,
subject to the RBCS
β 1 Q ( a ) + β 2 Q ( a ) = C 1 , γ 1 Q ( b ) + γ 2 Q ( b ) = C 2 ,
where 0 < α 1 1 , 1 < α 2 < 2 , and a L C D ξ α 1 , a L C D ξ α 2 are LCFDs.
To the best of our knowledge, BVP (1)–(2) still lack numerical approaches for computing APPSs; this gap motivates us to develop a new numerical method that can effectively address this question and provide accurate solutions for complex scenarios.
The three main classifications of spectral methods are the collocation, tau, and Galerkin approaches. These methods are essential for obtaining numerical solutions (NUMSs) for a wide range of mathematical models: DEs [13], partial DEs [14,15,16,17,18], and FDEs [19,20,21].
They produce highly APPSs for various types of DEs while requiring relatively few unknowns. The choice of the most appropriate method depends on the characteristics of the DEs being examined and the specific boundary conditions involved. These approaches employ OMs to create efficient algorithms that provide accurate NUMSs for many forms of mathematical models: ordinary DEs [22,23,24], ordinary FDEs [25,26,27,28], partial FDEs [29], fractional integro-differential equation [30] thereby reducing the required computational effort.
To date, and to the best of our knowledge, no application of the Galerkin OM (GOM) to solve BVPs (1) and (2) using any basis function that meets the HRBCs has been reported in the literature. This gap partially drives our interest in employing such OMs for the numerical handling of this problem. The main objectives of this paper can be summarized as follows:
(i)
Constructing a new class of basis polynomials, named Robin-Modified General Shifted Jacobi (RMGSJ) polynomials, that satisfy the HRBCs.
(ii)
Establishing OMs for Ods and Fds of RMGSJ polynomials.
(iii)
Constructing a numerical algorithm for solving FDE (1) with HRBCs based on SCM and the introduced OMs of Ods and Fds.
The organization of the paper is as follows: Section 2 provides the definitions and properties of an LCFD. In Section 3, we discuss the necessary formulas related to GSJ polynomials and RMGSJ polynomials. Section 4 focuses on constructing RMGSJ polynomials that satisfy the HRBCs. Section 5 is dedicated to developing new OMs for both of the Ods and Fds of RMGSJ polynomials to address BVPs (1) and (2). The application of SCM to solve (1) and (2) is explored in Section 6. In Section 7, the convergence and error estimates of the suggested approach are examined. Section 8 presents three problems along with comparisons to various other methods found in the literature. Finally, Section 9 summarizes the key conclusions.

2. Basic Definition of LCFD

In this section, we present the essential concepts and the fundamental tools that are necessary for developing the proposed technique [31].
Definition 1.
The LCFD of order ν will be denoted by a L C D ξ ν and is defined as follows:
a L C D ξ ν f ( ξ ) = 1 Γ ( n ν ) a ξ ( ξ τ ) n ν 1 f ( n ) ( τ ) d τ , ξ > a , n 1 < ν n .
The LCFD operator has the following properties:
a L C D ξ ν C = 0 , ( C i s c o n s t a n t ) ,
a L C D ξ ν ( ξ a ) γ = d γ ( ξ a ) γ ν , d γ = Γ ( γ + 1 ) Γ ( γ + 1 ν ) ,
a L C D ξ ν ( δ 1 h 1 ( ξ ) + δ 2 h 2 ( ξ ) ) = δ 1 D ν h 1 ( ξ ) + δ 2 D ν h 2 ( ξ ) ,
a L C D ξ ν f ( ξ ) = D n f ( ξ ) , ν = n , n = 1 , 2 , , D = d d ξ .

3. An Overview on JPs and GJPs

The orthogonal JPs, G n ( ϑ 1 , ϑ 2 ) ( x ) , satisfy [32]:
1 1 w ϑ 1 , ϑ 2 ( x ) G n ( ϑ 1 , ϑ 2 ) ( x ) G m ( ϑ 1 , ϑ 2 ) ( x ) d x = 0 , m n , h n ( ϑ 1 , ϑ 2 ) , m = n ,
where w ϑ 1 , ϑ 2 ( x ) = ( 1 x ) ϑ 1 ( 1 + x ) ϑ 2 and h n ( ϑ 1 , ϑ 2 ) = 2 λ Γ ( n + ϑ 1 + 1 ) Γ ( n + ϑ 2 + 1 ) n ! ( 2 n + λ ) Γ ( n + λ ) , λ = ϑ 1 + ϑ 2 + 1 .
The shifted JPs defined on [ 0 , L ] , denoted as G n ( ϑ 1 , ϑ 2 ) ( Z ; 0 , L ) = G n ( ϑ 1 , ϑ 2 ) ( 2 Z / L 1 ) , are in accordance with
0 L w 0 , L ϑ 1 , ϑ 2 ( Z ) G n ( ϑ 1 , ϑ 2 ) ( Z ; 0 , L ) G m ( ϑ 1 , ϑ 2 ) ( Z ; 0 , L ) d Z = 0 , m n , L 2 λ h n ( ϑ 1 , ϑ 2 ) , m = n ,
where w 0 , L ϑ 1 , ϑ 2 ( Z ) = ( L Z ) ϑ 1 Z ϑ 2 . These polynomials can be represented in power form as follows ([33], Section 11.3.4):
G i ( ϑ 1 , ϑ 2 ) ( Z ; 0 , L ) = k = 0 i c k ( i ) Z k ,
where
c k ( i ) = ( 1 ) i k Γ ( i + ϑ 2 + 1 ) Γ ( i + k + λ ) L k k ! ( i k ) ! Γ ( k + ϑ 2 + 1 ) Γ ( i + λ ) .
The GSJ polynomials defined in [ a , b ] are denoted as
G n ( ϑ 1 , ϑ 2 ) ( ξ ; a , b ) = G n ( ϑ 1 , ϑ 2 ) 2 ξ b a a + b b a = G n ( ϑ 1 , ϑ 2 ) ξ L b a ; 0 , L ,
and then they satisfy
a b w a , b ϑ 1 , ϑ 2 ( ξ ) G n ( ϑ 1 , ϑ 2 ) ( ξ ; a , b ) G m ( ϑ 1 , ϑ 2 ) ( ξ ; a , b ) d ξ = 0 , m n , b a 2 λ h n ( ϑ 1 , ϑ 2 ) , m = n ,
where w a , b ϑ 1 , ϑ 2 ( ξ ) = ( b ξ ) ϑ 1 ( ξ a ) ϑ 2 . The two relations here denoted as (8) and (10) lead to
G i ( ϑ 1 , ϑ 2 ) ( ξ ; a , b ) = k = 0 i b k ( i ) ( ξ a ) k ,
where
b k ( i ) = ( 1 ) i k Γ ( i + ϑ 2 + 1 ) Γ ( i + k + λ ) ( b a ) k k ! ( i k ) ! Γ ( k + ϑ 2 + 1 ) Γ ( i + λ ) .
Formula (11) allows us to see that the qth-derivatives of GSJ polynomials have special values, as follows:
D q G n ( ϑ 1 , ϑ 2 ) ( a ; a , b ) = q ! b q ( n ) , n q , q = 0 , 1 , 2 ,

4. Robin-Modified General Shifted Jacobi Polynomials

In this section, a novel class of polynomials, denoted by M k ( ϑ 1 , ϑ 2 ) ( ξ ) , will be developed. We call them “Robin-Modified Generalized Shifted Jacobi Polynomials”, and they are designed to satisfy the given form of HRBs
β 1 M k ( ϑ 1 , ϑ 2 ) ( a ) + β 2 D M k ( ϑ 1 , ϑ 2 ) ( a ) = 0 ,
γ 1 M k ( ϑ 1 , ϑ 2 ) ( b ) + γ 2 D M k ( ϑ 1 , ϑ 2 ) ( b ) = 0 .
Thus, we propose RMGSJ polynomials in the form
M k ( ϑ 1 , ϑ 2 ) ( ξ ) = ( ξ 2 + A k ξ + B k ) G k ( ϑ 1 , ϑ 2 ) ( ξ ; a , b ) , k = 0 , 1 , 2 , ,
where A k and B k are unique constants such that M k ( ϑ 1 , ϑ 2 ) ( ξ ) satisfy the two conditions (14) and (15). Substitution of M k ( ϑ 1 , ϑ 2 ) ( ξ ) into (14) and (15) yields the two linear equations in the two unknowns A k and B k :
β 1 ( a 2 + A k a + B k ) G k ( ϑ 1 , ϑ 2 ) ( a ; a , b ) + β 2 ( 2 a + A k ) G k ( ϑ 1 , ϑ 2 ) ( a ; a , b ) + ( a 2 + A k a + B k ) D G k ( ϑ 1 , ϑ 2 ) ( a ; a , b ) = 0 ,
γ 1 ( b 2 + A k b + B k ) G k ( ϑ 1 , ϑ 2 ) ( b ; a , b ) + γ 2 ( 2 b + A k ) G k ( ϑ 1 , ϑ 2 ) ( b ; a , b ) + ( b 2 + A k b + B k ) D G k ( ϑ 1 , ϑ 2 ) ( b ; a , b ) = 0 .
This system can be solved using the Mathematica code found in Appendix A, and the use of some simplification tools for algebraic expressions in Mathematica yields
A k = 1 M k i = 0 4 A i , k k i , B k = 1 M k i = 0 4 B i , k k i , M k = i = 0 4 M i , k k i ,
where
A 0 , k = ( ϑ 1 + 1 ) ( ϑ 2 + 1 ) ( b a ) ( 2 a β 2 γ 1 + β 1 ( γ 1 ( a b ) ( a + b ) 2 b γ 2 ) ) , A 1 , k = ( ( ϑ 1 + ϑ 2 + 1 ) ( β 2 ( γ 1 ( ϑ 1 + 1 ) ( a b ) ( a + b ) 2 γ 2 ( a ϑ 2 + a + b ϑ 1 + b ) ) β 1 γ 2 ( ϑ 2 + 1 ) ( a b ) ( a + b ) ) ) , A 2 , k = β 1 γ 2 ( ϑ 2 + 1 ) ( a b ) ( a + b ) + β 2 ( γ 2 ( ϑ 2 2 ( a + b ) + 2 ϑ 2 ( ϑ 1 ( a + b ) + 2 a + b ) + ϑ 1 ( ϑ 1 ( a + b ) + 2 ( a + 2 b ) ) + 3 ( a + b ) )    γ 1 ( ϑ 1 + 1 ) ( a b ) ( a + b ) ) , A 3 , k = 2 β 2 γ 2 ( ϑ 1 + ϑ 2 + 1 ) ( a + b ) , A 4 , k = β 2 γ 2 ( a + b ) ,
B 0 , k = ( ϑ 1 + 1 ) ( ϑ 2 + 1 ) ( a b ) ( β 2 ( b γ 1 ( 2 a b ) + 2 γ 2 ( a b ) ) + a β 1 ( b γ 1 ( a b ) + γ 2 ( a 2 b ) ) ) , B 1 , k = ( ϑ 1 + ϑ 2 + 1 ) ( β 2 ( γ 2 ( a 2 + a ϑ 1 ( a 2 b ) + b ϑ 2 ( b 2 a ) 4 a b + b 2 ) + a b γ 1 ( ϑ 1 + 1 ) ( a b ) ) a b β 1 γ 2 ( ϑ 2 + 1 ) ( a b ) ) , B 2 , k = β 2 ( γ 2 ( a 2 a b ϑ 2 2 + a ϑ 1 ( a b ϑ 1 4 b ) + b ϑ 2 ( 2 a ϑ 1 4 a + b ) 5 a b + b 2 ) + a b γ 1 ( ϑ 1 + 1 ) ( a b ) )    a b β 1 γ 2 ( ϑ 2 + 1 ) ( a b ) , B 3 , k = 2 a b β 2 γ 2 ( ϑ 1 + ϑ 2 + 1 ) , B 4 , k = a b β 2 γ 2 ,
M 0 , k = ( ϑ 1 + 1 ) ( ϑ 2 + 1 ) ( a b ) ( β 1 ( γ 1 ( a b ) γ 2 ) + β 2 γ 1 ) , M 1 , k = ( ( ϑ 1 + ϑ 2 + 1 ) ( β 1 γ 2 ( ϑ 2 + 1 ) ( a b ) + β 2 ( γ 2 ( ϑ 1 + ϑ 2 + 2 ) γ 1 ( ϑ 1 + 1 ) ( a b ) ) ) ) , M 2 , k = β 2 ( γ 1 ( ϑ 1 + 1 ) ( a b ) ( γ 2 ( ϑ 1 + ϑ 2 ) ( ϑ 1 + ϑ 2 + 3 ) ) 3 γ 2 ) β 1 γ 2 ( ϑ 2 + 1 ) ( a b ) , M 3 , k = 2 β 2 γ 2 ( ϑ 1 + ϑ 2 + 1 ) , M 4 , k = β 2 γ 2 .
The special values D q M k ( ϑ 1 , ϑ 2 ) ( a ) , ( 1 q k + 2 ) are needed throughout the paper and have the form
D q M k ( ϑ 1 , ϑ 2 ) ( a ) = ( a 2 + A k a + B k ) D q G k ( ϑ 1 , ϑ 2 ) ( a ; a , b ) + q ( 2 a + A k ) D q 1 G k ( ϑ 1 , ϑ 2 ) ( a ; a , b ) + q ( q 1 ) D q 2 G k ( ϑ 1 , ϑ 2 ) ( a ; a , b ) .

5. Operational Matrix of Derivatives of RMGSJ Polynomials

This section presents and proves two main theorems, which provide the two OMs for Ods and the LCFD related to the vector
M N ( ϑ 1 , ϑ 2 ) ( ξ ) = [ M 0 ( ϑ 1 , ϑ 2 ) ( ξ ) , M 1 ( ϑ 1 , ϑ 2 ) ( ξ ) , , M N ( ϑ 1 , ϑ 2 ) ( ξ ) ] T .
First, we can see that
D M 0 ( ϑ 1 , ϑ 2 ) ( ξ ) = 2 ξ + A 0 ,
D M 1 ( ϑ 1 , ϑ 2 ) ( ξ ) = 1 b a 3 ( ϑ 1 + ϑ 2 + 2 ) G 0 ( ϑ 1 , ϑ 2 ) ( ξ ; a , b ) + ϵ 1 ( 1 ) ( ξ a ) + ϵ 0 ( 1 ) ,
where
ϵ 0 ( 1 ) = ( ( ϑ 2 + 1 ) ( 2 a + A 1 ) ( a b ) 3 ( ϑ 1 + ϑ 2 + 2 ) ( a ( a + A 0 ) + B 0 ) + ( ϑ 1 + ϑ 2 + 2 ) ( a ( a + A 1 ) + B 1 ) ) ,
ϵ 1 ( 1 ) = ( 2 ( a + b + 3 A 0 2 A 1 ) + ϑ 1 ( 2 a + 3 A 0 2 A 1 ) + ϑ 2 ( 3 A 0 2 A 1 + 2 b ) ) .
This leads us to state and prove Theorem 1, which provides a novel GOM for Ods of RMGSJ polynomials.
Theorem 1.
The first derivative of M n ( ϑ 1 , ϑ 2 ) ( ξ ) , ξ [ a , b ] , for all n 0 , can be represented as
D M n ( ϑ 1 , ϑ 2 ) ( ξ ) = j = 0 n 1 a j ( n ) M j ( ϑ 1 , ϑ 2 ) ( ξ ) + ϵ n ( ξ ; a ) , ϵ n ( ξ ; a ) = e 1 ( n ) ( ξ a ) + e 0 ( n ) ,
where a 0 ( n ) , a 1 ( n ) , , a n 1 ( n ) , are given by solving the system
G n a n = B n ,
where a n = [ a 0 ( n ) , a 1 ( n ) , , a n 1 ( n ) ] T , G n = ( g i , j ( n ) ) 0 i , j n 1 , and B n = [ b 0 ( n ) , b 1 ( n ) , , b n 1 ( n ) ] T . The elements of G n and B n are defined as follows:
g i , j ( n ) = D i + 2 M j ( ϑ 1 , ϑ 2 ) ( a ) i j , 0 , otherwise , , b i ( n ) = D i + 2 M n ( ϑ 1 , ϑ 2 ) ( a ) .
In addition, e 0 ( n ) and e 1 ( n ) are given by
e 0 ( n ) = D M n ( ϑ 1 , ϑ 2 ) ( a ) j = 0 n 1 a j ( n ) M j ( ϑ 1 , ϑ 2 ) ( a ) , e 1 ( n ) = D 2 M n ( ϑ 1 , ϑ 2 ) ( a ) j = 0 n 1 a j ( n ) D M j ( ϑ 1 , ϑ 2 ) ( a ) .
Proof. 
It is not challenging to demonstrate that e 0 ( n ) and e 1 ( n ) take the forms (27). So, the expansion (25) for n = 1 , 2 , 3 , , leads to
D M n ( ϑ 1 , ϑ 2 ) ( ξ ) D M n ( ϑ 1 , ϑ 2 ) ( a ) D 2 M n ( ϑ 1 , ϑ 2 ) ( a ) ( ξ a ) = j = 0 n 1 a j ( n ) M j ( ϑ 1 , ϑ 2 ) ( ξ ) M j ( ϑ 1 , ϑ 2 ) ( a ) D M j ( ϑ 1 , ϑ 2 ) ( a ) ( ξ a ) ,
Using the Taylor series for M j ( ϑ 1 , ϑ 2 ) ( ξ ) and D M n ( ϑ 1 , ϑ 2 ) ( ξ ) , considering that they are two polynomials of degrees ( j + 2 ) and ( n + 1 ) , respectively, Equation (28) leads to
r = 2 n + 1 D r + 1 M n ( ϑ 1 , ϑ 2 ) ( a ) ( ξ a ) r r ! = j = 0 n 1 a j ( n ) r = 2 j + 2 D r M j ( ϑ 1 , ϑ 2 ) ( a ) ( ξ a ) r r ! = r = 2 n + 1 j = r n + 1 D r M j 2 ( ϑ 1 , ϑ 2 ) ( a ) a j 2 ( n ) ( ξ a ) r r ! .
This gives the following triangle system of n equations in the unknown a 0 ( n ) , a 1 ( n ) , , a n 1 ( n ) :
j = r n + 1 D r M j 2 ( ϑ 1 , ϑ 2 ) ( a ) a j 2 ( n ) = D r + 1 M n ( ϑ 1 , ϑ 2 ) ( a ) , r = n + 1 , n , , 2 ,
which may be expressed as (26). This completes the proof.    □
In addition, a L C D ξ ν M r ( ϑ 1 , ϑ 2 ) ( ξ ) , r = 0 , 1 , can be expressed as
ξ ν a L C D ξ ν M 0 ( ϑ 1 , ϑ 2 ) ( ξ ) = a ^ 0 ( 0 ) M 0 ( ϑ 1 , ϑ 2 ) ( ξ ) + e ^ 1 ( 0 ) ξ + e ^ 0 ( 0 ) , ξ ν a L C D ξ ν M 1 ( ϑ 1 , ϑ 2 ) ( ξ ) = a ^ 0 ( 1 ) M 0 ( ϑ 1 , ϑ 2 ) ( ξ ) + a ^ 1 ( 1 ) M 1 ( ϑ 1 , ϑ 2 ) ( ξ ) + e ^ 1 ( 1 ) ξ + e ^ 0 ( 1 ) ,
where
a ^ 0 ( 0 ) = d 2 , e ^ 1 ( 0 ) = A 0 ( d 1 d 2 ) , e ^ 1 ( 0 ) = d 2 B 0 , a ^ 1 ( 1 ) = d 3 ( b a ) 6 ( ϑ 1 + ϑ 2 + 2 ) D 3 M 1 ( ϑ 1 , ϑ 2 ) ( a ) , a ^ 0 ( 1 ) = d 2 2 D 2 M 1 ( ϑ 1 , ϑ 2 ) ( a ) a ^ 1 ( 1 ) b a ( ϑ 2 ( 3 a b ) + 2 a ϑ 1 + 5 a + A 1 ( ϑ 1 + ϑ 2 + 2 ) b ) , e ^ 1 ( 1 ) = a ^ 0 ( 1 ) A 0 a ^ 1 ( 1 ) B 1 + d 1 D M 1 ( ϑ 1 , ϑ 2 ) ( 0 ) , e ^ 0 ( 1 ) = a ^ 0 ( 1 ) B 0 a ^ 1 ( 1 ) B 1 a ϑ 1 + a + b ϑ 2 + b a b ,
which enables us to state and prove Theorem 2, in which a novel GOM for the LCFD for RMGSJ polynomials is introduced.
Theorem 2.
a L C D ξ ν M n ( ϑ 1 , ϑ 2 ) ( ξ ) can be expressed as
( ξ a ) ν a L C D ξ ν M n ( ϑ 1 , ϑ 2 ) ( ξ ) = j = 0 n a ^ j ( n ) M j ( ϑ 1 , ϑ 2 ) ( ξ ) + ϵ ^ n ( ξ ; a ) , ϵ ^ n ( ξ ; a ) = e ^ 1 ( n ) ( ξ a ) + e ^ 0 ( n ) ,
where a ^ 0 ( n ) , a ^ 1 ( n ) , , a ^ n ( n ) , are given by solving the system
G ^ n a ^ n = B ^ n ,
where a ^ n = [ a ^ 0 ( n ) , a ^ 1 ( n ) , , a ^ n ( n ) ] T , G ^ n = ( g ^ i , j ( n ) ) 0 i , j n , and B ^ n = [ b ^ 0 ( n ) , b ^ 1 ( n ) , , b ^ n ( n ) ] T . The elements of G ^ n and B ^ n are defined as follows:
g ^ i , j ( n ) = D i + 2 M j ( ϑ 1 , ϑ 2 ) ( a ) i j , 0 , otherwise , , b ^ i ( n ) = d i + 2 D i + 2 M n ( ϑ 1 , ϑ 2 ) ( a ) .
In addition, e ^ 0 ( n ) and e ^ 1 ( n ) are given by
e ^ 0 ( n ) = j = 0 n a ^ j ( n ) M j ( ϑ 1 , ϑ 2 ) ( a ) , e ^ 1 ( n ) = d 1 D M n ( ϑ 1 , ϑ 2 ) ( a ) j = 0 n a ^ j ( n ) D M j ( ϑ 1 , ϑ 2 ) ( a ) .
Proof. 
Using the Taylor series for M n ( ϑ 1 , ϑ 2 ) ( ξ ) and M j ( ϑ 1 , ϑ 2 ) ( ξ ) , taking into consideration that they are polynomials of degrees ( n + 2 ) and ( j + 2 ) , respectively, and applying (5), formula (31) leads to
r = 1 n + 2 d r D r M n ( ϑ 1 , ϑ 2 ) ( a ) ( ξ a ) r r ! = j = 0 n a ^ j ( n ) r = 0 j + 2 D r M j ( ϑ 1 , ϑ 2 ) ( a ) r ! ( ξ a ) r + e ^ 1 ( n ) ( ξ a ) + e ^ 0 ( n )
Then, by expanding and collecting similar terms, we obtain
r = 1 n + 2 d r D r M n ( ϑ 1 , ϑ 2 ) ( a ) ( ξ a ) r r ! = r = 2 n + 2 j = r 2 n D r M j ( ϑ 1 , ϑ 2 ) ( a ) a j ( n ) ( ξ a ) r r ! + e ^ 1 ( n ) + j = 0 n D M j ( ϑ 1 , ϑ 2 ) ( a ) a ^ j ( n ) ( ξ a ) + e ^ 0 ( n ) + j = 0 n M j ( ϑ 1 , ϑ 2 ) ( a ) a ^ j ( n ) .
This leads to the following triangle system of ( n + 1 ) equations in the unknown a ^ 0 ( n ) , a ^ 1 ( n ) , , a ^ n ( n ) :
j = r 2 n D r M j ( ϑ 1 , ϑ 2 ) ( a ) a ^ j ( n ) = d r D r M n ( ϑ 1 , ϑ 2 ) ( a ) , r = n + 2 , n + 1 , , 2 ,
in addition to the two equations
e ^ 0 ( n ) + j = 0 n D r M j ( ϑ 1 , ϑ 2 ) ( a ) a ^ j ( n ) = 0 ,
and
e ^ 1 ( n ) + j = 0 n D M j ( ϑ 1 , ϑ 2 ) ( a ) a ^ j ( n ) = d 1 D M n ( ϑ 1 , ϑ 2 ) ( a ) .
Then, the system (36) may be expressed as (32), and the two coefficients e ^ 0 ( n ) and e ^ 1 ( n ) can be expressed as (27). This completes the proof.    □
Now, the OMs for Ods and LCFD of (24) are provided in Corollaries 1 and 2 as direct results of Theorems 1 and 2.
Corollary 1.
D m M ( ϑ 1 , ϑ 2 ) N ( ξ ) has the expression
D m M N ( ϑ 1 , ϑ 2 ) ( ξ ) = H N m M N ( ϑ 1 , ϑ 2 ) ( ξ ) + η N ( m ) ( ξ ) ,
with η N ( m ) ( ξ ) = k = 0 m 1 H N k ϵ N ( m k 1 ) ( ξ ) , where ϵ N ( ξ ) = ϵ 0 ( ξ ) , ϵ 1 ( ξ ) , , ϵ N ( ξ ) T and H N = h i , j 0 i , j N ,
h i , j = a j ( i ) , i > j , 0 , otherwise .
Corollary 2.
a L C D ξ ν M N ( ϑ 1 , ϑ 2 ) ( ξ ) has the expression
a L C D ξ ν M N ( ϑ 1 , ϑ 2 ) ( ξ ) = ( ξ a ) ν H ^ N ( ν ) M N ( ϑ 1 , ϑ 2 ) ( ξ ) ,
with H ^ N ( ν ) = h ^ i , j 0 i , j N , whose elements have the form
h ^ i , j = a ^ j ( i ) , i j , 0 , otherwise .

6. A Collocation Algorithm for Handling (1) and (2)

In this section, we utilize the OMs derived in Corollaries 1 and 2 to obtain NUMSs for BVPs (1) and (2).

6.1. Homogeneous Form for the RBCs (2)

Suppose that we have HRBCs, that is, C 1 = C 2 = 0 . In this case, we can assume that the APPS of Q ( ξ ) takes the form
Q ( ξ ) Q N ( ξ ) = i = 0 N c i M i ( ϑ 1 , ϑ 2 ) ( ξ ) = A T M N ( ϑ 1 , ϑ 2 ) ( ξ ) , A = c 0 , c 1 , , c N T .
Corollaries 1 and 2 enables us to approximate the Ods and LCFD of Q ( ξ ) as
Q N ( m ) ( ξ ) = A T H m M N ( ϑ 1 , ϑ 2 ) ( ξ ) + η N ( m ) ( ξ ) , a L C D ξ ν Q N ( ξ ) = ( ξ a ) ν A T H ν M N ( ϑ 1 , ϑ 2 ) ( ξ ) .
In the proposed method, we use the approximations (41) and (42) to express the residual of (1) as
R N ( ξ ) = ( ξ a ) α 2 A T H α 2 M N ( ϑ 1 , ϑ 2 ) ( ξ ) F ( ξ , A T M N ( ϑ 1 , ϑ 2 ) ( ξ ) , ( ξ a ) α 1 A T H α 1 M N ( ϑ 1 , ϑ 2 ) ( ξ ) ) , ξ ( a , b ) .
To obtain the NUMS of (1) subject to the HRBCs, a spectral approach is proposed: the Robin generalized shifted Jacobi collocation operational matrix method (RGSJCOMM). The collocation nodes are ξ i = i + 1 N + 2 , i = 0 , 1 , , N , such that
R N ( ξ i ) = 0 , i = 0 , 1 , , N .
The coefficients c i ( i = 0 , 1 , , N ) are determined by solving the system (44) using Newton’s iterative method.

6.2. Nonhomogeneous Boundary Conditions

A pivotal stage in the progression process of RGSJCOMM entails converting Equation (1) subject to the non-homogeneous RBCs (2) into a modified version subject to HRBCs using the transformation
Q ¯ ( ξ ) = Q ( ξ ) μ 1 ( ξ a ) μ 0 ,
where μ 1 = 1 ( β 1 C 2 γ 1 C 1 ) ,    μ 0 = 1 ( C 1 ( b a ) γ 1 + C 1 γ 2 C 2 β 2 ) ,    = ( b a ) β 1 γ 1 + β 1 γ 2 β 2 γ 1 0 .
Hence, the following modified BVP is obtained:
a L C D ξ α 2 Q ¯ ( ξ ) = F ( ξ , Q ¯ ( ξ ) + μ 1 ( ξ a ) + μ 0 , a L C D ξ α 1 Q ¯ ( ξ ) + d 1 μ 1 ( ξ a ) 1 α 1 ) , ξ ( a , b ) ,
subject to the HRBCs
β 1 Q ¯ ( a ) + β 2 Q ¯ ( a ) = 0 , γ 1 Q ¯ ( b ) + γ 2 Q ¯ ( b ) = 0 .
Then,
Q N ( ξ ) = Q ¯ N ( ξ ) + μ 1 ( ξ a ) + μ 0 .
Remark 1.
The computations were performed using Mathematica 13.3.1 on a computer system equipped with an Intel(R) Core(TM) i9-10850 CPU (3.60 GHz, 10 cores, 20 logical processors, and 64.0 GB RAM). The algorithmic steps for solving (1) and (2) using RGSJCOMM are expressed as in Algorithm 1.
Algorithm 1: RGSJCOMM algorithm
Step 1. Given a , b , α 1 , α 2 , β 1 , β 2 , γ 1 , γ 2 , μ 0 , μ 1 , C 1 , C 2 , and N.
Step 2. Define the basis M i ( ϑ 1 , ϑ 2 ) ( ξ ) , the vectors A , M N ( ϑ 1 , ϑ 2 ) ( ξ ) and compute the
             elements of ( N + 1 ) ( N + 1 ) matrices  H N , H ^ N ( α 1 ) , H ^ N ( α 2 ) , η ( ξ ) .
Step 3. Evaluate   H k ( k = 2 , 3 , , m ) , M N ( ϑ 1 , ϑ 2 ) ( ξ ) , and   η ( m ) ( ξ ) .
Step 4. Define R N ( ξ ) as in Equation (43).
Step 5. List R N ( ξ i ) = 0 , i = 0 , 1 , , N , defined in Equation (44).
Step 6. Use Mathematica’s built-in numerical solver to obtain the solution to the
             system of equations in [Output 5].
Step 7. Evaluate Q N ( ξ ) defined in Equation (41) (in the case of HRBCs).
Step 8. Evaluate Q N ( ξ ) defined in Equation (48) (in the case of nonhomogeneous RBCs).

7. Convergence and Error Analysis

In this section, the convergence and error estimates of RGSJCOMM are examined. Consider the space S N defined by
S N = S p a n { M 0 ( ϑ 1 , ϑ 2 ) ( ξ ) , M 1 ( ϑ 1 , ϑ 2 ) ( ξ ) , , M N ( ϑ 1 , ϑ 2 ) ( ξ ) } .
In addition, the error between ExaS and APPS is defined by
E N ( ξ ) = Q ( ξ ) Q N ( ξ ) .
The paper analyzes the RGSJCOMM error using the L 2 norm error estimate,
E N 2 = Q Q N 2 = a b | Q ( ξ ) Q N ( ξ ) | 2 d ξ 1 / 2 ,
and the L norm error estimate (MAE),
E N = Q Q N = m a x a ξ b | Q ( ξ ) Q N ( ξ ) | .
Theorem 3.
Assume that Q N ( ξ ) has (41) and represents the best possible approximation (BPA) for Q ( ξ ) out of S N . Then, we obtain the two estimates
E N M ( b a ) N + 1 ( N + 1 ) ! ,
and
E N 2 M ( b a ) N + 3 / 2 ( N + 1 ) ! ( N + 3 ) 1 / 2 ,
where M = m a x ξ [ a , b ] | Q ( N + 1 ) ( ξ ) | .
Proof. 
The function Q ( ξ ) can be expressed as
Q ( ξ ) = P N ( ξ ) + R N ( ξ ) , ξ [ a , b ] ,
where
P N ( ξ ) = j = 0 N Q ( j ) ( a ) j ! ( ξ a ) j a n d R N ( ξ ) = Q ( N + 1 ) ( η ξ ) ( N + 1 ) ! ( ξ a ) N + 1 , η ξ [ a , b ] .
One can see that
| Q ( ξ ) P N ( ξ ) | = | R N ( ξ ) | M ( ξ a ) N + 1 ( N + 1 ) ! , ξ [ a , b ] .
Then, we get the two inequalities
Q P N = R N M ( b a ) N + 1 ( N + 1 ) ! ,
and
Q P N 2 = a b | Q ( ξ ) P N ( ξ ) | 2 d ξ 1 / 2 M ( N + 1 ) ! ( b a ) N + 3 / 2 ( 2 N + 3 ) 1 / 2 .
Since Q N ( ξ ) S N represents the BPA to Q ( ξ ) , we have
E N = Q Q N Q f , f S N ,
and
E N 2 = Q Q N 2 Q f 2 , f S N .
In particular, taking f ( ξ ) = P N ( ξ ) in (58) and (59) gives
E N M ( b a ) N + 1 ( N + 1 ) ! ,
and
E N 2 M ( N + 1 ) ! ( b a ) N + 3 / 2 ( 2 N + 3 ) 1 / 2 ,
which completes the proof. □
The following corollary shows that the obtained error has a very rapid rate of convergence.
Corollary 3.
For all N 1 , the following two estimates hold:
E N = O ( ( e ( b a ) ) N / N N + 1 ) ,
and
E N 2 = O ( ( e ( b a ) ) N / N N + 1 / 2 ) .
Proof. 
Utilizing the asymptotic result in ([34], p. 233),
Γ ( c ξ + p ) 2 π e c ξ ( c ξ ) c ξ + p 1 / 2 , ξ 0 , c > 0 ,
and some algebraic manipulation, (52) and (53) take the forms of (62) and (63), respectively. □
The next theorem emphasizes the stability of error and focuses on estimating error propagation.
Theorem 4.
Assuming there are two iterative approaches to Q ( ξ ) , the result is
| Q N + 1 Q N | O ( ( e ( b a ) ) N / N N + 1 ) ,
where ≲ indicates that a generic constant L exists such that | Q N + 1 Q N | L ( ( e ( b a ) ) N / N N + 1 ) .
Proof. 
We have
| Q N + 1 Q N | | Q N + 1 Q | + | Q Q N | E N + 1 + E N .
Then, the application of (62) leads to (65). □

8. Numerical Simulations

In this section, we provide three problems to illustrate the applicability and high accuracy of the RGSJCOMM method developed in Section 6. To evaluate accuracy, we will express the ExaS as a polynomial using a suitable value of N. In other situations, the two estimates E N and E N 2 are calculated.
Problem 1.
Consider the DE [35]
0 L C D ξ α 2 Q ( ξ ) = 0 L C D ξ α 1 Q ( ξ ) + Q 2 ( ξ ) + 5 Γ ( 5 α 2 ) ξ 4 α 2 5 Γ ( 5 α 1 ) ξ 4 α 1 ξ 8 , ξ ( 0 , 1 ) , Q ( 0 ) + Q ( 0 ) = 0 , Q ( 1 ) + Q ( 1 ) = 5 ,
where the ExaS is Q ( ξ ) = ξ 4 . The application of RGSJCOMM using N = 2 , ϑ 1 = 1 / 2 , ϑ 2 = 1 / 2 , and α 1 = 7 / 10 , α 2 = 13 / 10 , gives the ExaS in the form
Q ( ξ ) = Q 2 ( ξ ) = 55645 38416 M 0 ( 1 / 2 , 1 / 2 ) ( ξ ) + 668 1029 M 1 ( 1 / 2 , 1 / 2 ) ( ξ ) 1 10 M 2 ( 1 / 2 , 1 / 2 ) ( ξ ) + 5 ξ 5 ,
where
M i ( 1 / 2 , 1 / 2 ) ( ξ ) = ξ 2 + 27 4 i ( i + 2 ) ( i ( i + 2 ) + 3 ) 4 i ( i + 2 ) ( i ( i + 2 ) + 3 ) 9 ξ 3 ( 2 i ( i + 2 ) + 9 ) 4 i ( i + 2 ) ( i ( i + 2 ) + 3 ) 9 G i ( 1 / 2 , 1 / 2 ) ( ξ ; 0 , 1 ) .
Remark 2.
It is worthwhile to note that Q ( ξ ) = Q 2 ( ξ ) , while the authors of ([35], Table 3) state that Q 320 ( ξ ) is obtained with the best value of M A E = 3.02 × 10 10 when α 1 = 0.7 , α 2 = 1.3 .
Problem 2.
Consider the BVP [35]
0 L C D ξ α 2 Q ( ξ ) = ξ 0 L C D ξ α 1 Q ( ξ ) + Q 2 ( ξ ) + K ( ξ ) , ξ ( 0 , 1 ) , Q ( 0 ) + Q ( 0 ) = 0 , Q ( 1 ) + Q ( 1 ) 0.2699 ,
where K ( ξ ) is chosen such that the ExaS is Q ( ξ ) = e ξ ( 1 + ξ + 1 2 ξ 2 + 1 6 ξ 3 ) . The application of RGSJCOMM gives Q N ( ξ ) in the form
Q N ( ξ ) = i = 0 N c i M i ( ϑ 1 , ϑ 2 ) ( ξ ) + 0.2699 ξ 0.2699 .
In this problem, the APPSs using RGSJCOMM are calculated for various N , ϑ 1 , and ϑ 2 . The resulting error achieves an accuracy of order 10 17 with N = 18 , as shown in Table 1. Comparisons between RGSJCOMM and another method from [35] are presented in Table 2, indicating that RGSJCOMM yields results more accurate than those reported in [35]. Furthermore, Figure 1 and Figure 2 illustrate excellent agreement between Q ( ξ ) and Q 18 ( ξ ) for various values of α 1 and α 2 when ϑ 1 = ϑ 2 = 1.5 . Additionally, Figure 3 displays the log-error, demonstrating convergence and the stability of the APPSs for Problem 2 when employing RGSJCOMM.
Problem 3.
Consider the BVP [35,36]
0 L C D ξ α 2 Q ( ξ ) = ( 2 ξ + 6 ) D Q ( ξ ) + K ( ξ ) , ξ ( 0 , 1 ) , Q ( 0 ) 1 α 2 1 Q ( 0 ) = C 1 , Q ( 1 ) + Q ( 1 ) = C 2 ,
where K ( ξ ) and the constants C 1 , C 2 are chosen such that the exact solution (ExaS) is Q ( ξ ) = 1 + 3 ξ 7 ξ 2 + 4 ξ 3 + ξ 4 + ξ α 2 + ξ 2 α 2 1 . The application of RGSJCOMM gives Q N ( ξ ) in the form
Q N ( ξ ) = i = 0 N c i M i ( ϑ 1 , ϑ 2 ) ( ξ ) + α 2 + 2 3 α 2 2 2 α 2 1 ξ + 5 α 2 2 α 2 1 .
Table 3 illustrates the high efficiency of the R G S J C O M M . Additionally, Table 4 compares the approaches from [35,36] with the R G S J C O M M , highlighting the latter’s superiority. Figure 4 and Figure 5 display the NUMSs, Q 16 ( ξ ) , and error E 16 ( ξ ) , respectively, for α 2 = 1.1 , 1.3 , 1.5 , 1.7 , 1.9 using ϑ 1 = 1 , ϑ 2 = 0.5 . By showcasing these APPSs and their associated errors, Figure 6 provides a thorough analysis of the performance of R G S J C O M M .

9. Conclusions

In this work, a system of RMGSJ polynomials that satisfies HRBCs has been developed. The use of these polynomials along with the established OMs in the SCM yields APPSs for BVPs (1) and (2). RGSJCOMM was evaluated using three problems, demonstrating the algorithm’s high accuracy and efficiency. We believe that the theoretical findings and the methodology developed herein provide a promising foundation for future research addressing higher-dimensional partial FDEs (such as time-fractional diffusion or wave equations) subject to RBCs.

Funding

No funding was received to assist with the preparation of this manuscript.

Data Availability Statement

No data are associated with this research.

Conflicts of Interest

The author declares no competing interests.

Appendix A

Figure A1. Mathematica code for solving systems (17) and (18).
Figure A1. Mathematica code for solving systems (17) and (18).
Fractalfract 09 00686 g0a1

References

  1. Baillie, R. Long memory processes and fractional integration in econometrics. J. Econom. 1996, 73, 5–59. [Google Scholar] [CrossRef]
  2. Mainardi, F. Fractional calculus: Some basic problems in continuum and statistical mechanics. In Fractals and Fractional Calculus in Continuum Mechanics; Springer: New York, NY, USA, 1997. [Google Scholar]
  3. Chen, W.; Sun, H.; Zhang, X.; Korošak, D. Anomalous diffusion modeling by fractal and fractional derivatives. Comput. Math. Appl. 2010, 59, 1754–1758. [Google Scholar] [CrossRef]
  4. Hong, D.P.; Kim, Y.M.; Wang, J.Z. A new approach for the analysis solution of dynamic systems containing fractional derivative. J. Mech. Sci. Technol. 2006, 20, 658–667. [Google Scholar] [CrossRef]
  5. Kaczorek, T. Positive linear systems with different fractional orders. Bull. Pol. Acad. Sci. Tech. Sci. 2010, 58, 453–458. [Google Scholar] [CrossRef]
  6. Cong, N.; Doan, T.; Tuan, H. Asymptotic stability of linear fractional systems with constant coefficients and small time-dependent perturbations. Vietnam J. Math. 2018, 46, 665–680. [Google Scholar] [CrossRef]
  7. Mahmudov, N. Approximate controllability of semilinear deterministic and stochastic evolution equations in abstract spaces. SIAM J. Control Optim. 2003, 42, 1604–1622. [Google Scholar] [CrossRef]
  8. Ahmadova, A.; Mahmudov, N. Existence and uniqueness results for a class of fractional stochastic neutral differential equations. Chaos Soliton Fract. 2020, 139, 110253. [Google Scholar] [CrossRef]
  9. Huseynov, I.; Mahmudov, N.I. Delayed analogue of three-parameter Mittag-Leffler functions and their applications to Caputo-type fractional time delay differential equations. Math. Method. Appl. Sci. 2024, 47, 11019–11043. [Google Scholar] [CrossRef]
  10. Bonfanti, A.; Fouchard, J.; Khalilgharibi, N.; Charras, G.; Kabla, A. A unified rheological model for cells and cellularised materials. R. Soc. Open Sci. 2020, 7, 190920. [Google Scholar] [CrossRef]
  11. Bagley, R.; Torvik, P. Fractional calculus-a different approach to the analysis of viscoelastically damped structures. AIAA J. 1983, 21, 741–748. [Google Scholar] [CrossRef]
  12. Torvik, P.J.; Bagley, R.L. On the Appearance of the Fractional Derivative in the Behavior of Real Materials. J. Appl. Mech. 1984, 51, 294–298. [Google Scholar] [CrossRef]
  13. Ahmed, H. Solutions of 2nd-order linear differential equations subject to Dirichlet boundary conditions in a Bernstein polynomial basis. J. Egypt. Math. Soc. 2014, 22, 227–237. [Google Scholar] [CrossRef]
  14. Izadi, M.; Afshar, M. Solving the Basset equation via Chebyshev collocation and LDG methods. J. Math. Model. 2021, 9, 61–79. [Google Scholar]
  15. Izadi, M.; Zeidan, D. A convergent hybrid numerical scheme for a class of nonlinear diffusion equations. Comput. Appl. Math. 2022, 41, 318. [Google Scholar] [CrossRef]
  16. Izadi, M. Numerical approximation of Hunter-Saxton equation by an efficient accurate approach on long time domains. UPB Sci. Bull. Ser. A 2021, 83, 291–300. [Google Scholar]
  17. Hafez, R.; Youssri, Y. Fully Jacobi–Galerkin algorithm for two-dimensional time-dependent PDEs arising in physics. Int. J. Mod. Phys. C 2024, 35, 2450034. [Google Scholar] [CrossRef]
  18. Abd-Elhameed, W.; Ahmed, H.; Zaky, M.; Hafez, R. A new shifted generalized Chebyshev approach for multi-dimensional sinh-Gordon equation. Phys. Scr. 2024, 99, 095269. [Google Scholar] [CrossRef]
  19. Bazhlekova, E. Properties of the fundamental and the impulse-response solutions of multi-term fractional differential equations. Complex Anal. Appl. 2013, 13, 55–64. [Google Scholar]
  20. Yüzbaşı, Ş.; Izadi, M. Bessel-quasilinearization technique to solve the fractional-order HIV-1 infection of CD4+ T-cells considering the impact of antiviral drug treatment. Appl. Math. Comput. 2022, 431, 127319. [Google Scholar] [CrossRef]
  21. Abd-Elhameed, W.; Abdelkawy, M.; Alqubori, O.; Atta, A. An accurate tau-based spectral algorithm for the time fractional bioheat transfer model. Bound. Value Probl. 2025, 2025, 124. [Google Scholar] [CrossRef]
  22. Napoli, A.; Abd-Elhameed, W.M. A new collocation algorithm for solving even-order boundary value problems via a novel matrix method. Mediterr. J. Math. 2017, 14, 170. [Google Scholar] [CrossRef]
  23. Ahmed, H. Highly Accurate Method for Boundary Value Problems with Robin Boundary Conditions. J. Nonlinear Math. Phys. 2023, 30, 1239–1263. [Google Scholar] [CrossRef]
  24. Ahmed, H. Highly Accurate Method for a Singularly Perturbed Coupled System of Convection–Diffusion Equations with Robin Boundary Conditions. J. Nonlinear Math. Phys. 2024, 31, 17. [Google Scholar] [CrossRef]
  25. Abd-Elhameed, W.; Youssri, Y. Spectral solutions for fractional differential equations via a novel Lucas operational matrix of fractional derivatives. Rom. J. Phys. 2016, 61, 795–813. [Google Scholar]
  26. Balaji, S.; Hariharan, G. An efficient operational matrix method for the numerical solutions of the fractional Bagley–Torvik equation using wavelets. J. Math. Chem. 2019, 57, 1885–1901. [Google Scholar] [CrossRef]
  27. Ahmed, H. Enhanced shifted Jacobi operational matrices of derivatives: Spectral algorithm for solving multiterm variable-order fractional differential equations. Bound. Value Probl. 2023, 2023, 108. [Google Scholar] [CrossRef]
  28. Ahmed, H. A New First Finite Class of Classical Orthogonal Polynomials Operational Matrices: An Application for Solving Fractional Differential Equations. Contemp. Math. 2023, 4, 974–994. [Google Scholar] [CrossRef]
  29. Abd-Elhameed, W.; Ahmed, H. Spectral solutions for the time-fractional heat differential equation through a novel unified sequence of Chebyshev polynomials. Aims Math. 2024, 9, 2137–2166. [Google Scholar] [CrossRef]
  30. Loh, J.R.; Phang, C. Numerical solution of Fredholm fractional integro-differential equation with Right-sided Caputo’s derivative using Bernoulli polynomials operational matrix of fractional derivative. Mediterr. J. Math. 2019, 16, 28. [Google Scholar] [CrossRef]
  31. Kilbas, A.; Srivastava, H.; Trujillo, J. Theory and Applications of Fractional Differential Equations; Elsevier: Amsterdam, The Netherlands, 2006; Volume 204. [Google Scholar]
  32. Szegö, G. Orthogonal Polynomials, 4th ed.; American Mathematical Society: Providence, RI, USA, 1975; Volume XXIII. [Google Scholar]
  33. Luke, Y. Mathematical Functions and Their Approximations; Academic Press: London, UK, 1975. [Google Scholar]
  34. Jeffrey, A.; Dai, H. Handbook of Mathematical Formulas and Integrals, 4th ed.; Elsevier: Amsterdam, The Netherlands, 2008. [Google Scholar]
  35. Kim, H.; Lee, J.; Jang, B. An efficient numerical approach for solving two-point fractional order nonlinear boundary value problems with Robin boundary conditions. Adv. Differ. Equ. 2021, 2021, 193. [Google Scholar] [CrossRef]
  36. Cen, Z.; Huang, J.; Xu, A. An efficient numerical method for a two-point boundary value problem with a Caputo fractional derivative. J. Comput. Appl. Math. 2018, 336, 1–7. [Google Scholar] [CrossRef]
Figure 1. APPSs and ExaSs, Q ( ξ ) , Q 18 ( ξ ) plots using α 1 = 0.3 , α 2 = 1.7 and ϑ 1 = ϑ 2 = 1.5 for Problem 2.
Figure 1. APPSs and ExaSs, Q ( ξ ) , Q 18 ( ξ ) plots using α 1 = 0.3 , α 2 = 1.7 and ϑ 1 = ϑ 2 = 1.5 for Problem 2.
Fractalfract 09 00686 g001
Figure 2. AEs E 18 ( ξ ) plots using ϑ 1 = ϑ 2 = 1.5 for Problem 2.
Figure 2. AEs E 18 ( ξ ) plots using ϑ 1 = ϑ 2 = 1.5 for Problem 2.
Fractalfract 09 00686 g002
Figure 3. Graph of L o g 10 ( E N ) against N using ϑ 1 = ϑ 2 = 1.5 and various values of α 1 and α 2 for Problem 2.
Figure 3. Graph of L o g 10 ( E N ) against N using ϑ 1 = ϑ 2 = 1.5 and various values of α 1 and α 2 for Problem 2.
Fractalfract 09 00686 g003
Figure 4. Q ( ξ ) and Q 16 ( ξ ) plots using α 2 = 1.1 , 1.3 , 1.5 , 1.7 , 1.9 and ϑ 1 = 1 , ϑ 2 = 0.5 for Problem 3.
Figure 4. Q ( ξ ) and Q 16 ( ξ ) plots using α 2 = 1.1 , 1.3 , 1.5 , 1.7 , 1.9 and ϑ 1 = 1 , ϑ 2 = 0.5 for Problem 3.
Fractalfract 09 00686 g004
Figure 5. E 16 ( ξ ) plots using α 2 = 1.1 , 1.3 , 1.5 , 1.7 , 1.9 and ϑ 1 = 1 , ϑ 2 = 0.5 for Problem 3.
Figure 5. E 16 ( ξ ) plots using α 2 = 1.1 , 1.3 , 1.5 , 1.7 , 1.9 and ϑ 1 = 1 , ϑ 2 = 0.5 for Problem 3.
Fractalfract 09 00686 g005
Figure 6. Graphs of L o g 10 ( E N ) against N using α 2 = 1.1 , 1.3 , 1.5 , 1.7 , 1.9 and ϑ 1 = 1 , ϑ 2 = 0.5 for Problem 3.
Figure 6. Graphs of L o g 10 ( E N ) against N using α 2 = 1.1 , 1.3 , 1.5 , 1.7 , 1.9 and ϑ 1 = 1 , ϑ 2 = 0.5 for Problem 3.
Fractalfract 09 00686 g006
Table 1. MAE and CPU time (in seconds) for Problem 2 using various N , ϑ 1 , ϑ 1 , α 1 , and α 2 .
Table 1. MAE and CPU time (in seconds) for Problem 2 using various N , ϑ 1 , ϑ 1 , α 1 , and α 2 .
( α 1 , α 2 ) ϑ 1 ϑ 2 Errors036912151819
(0.9,1.1)00 E N 1.19 × 10−012.72 × 10−043.15 × 10−073.15 × 10−102.17 × 10−132.27 × 10−155.16 × 10−172.23 × 10−17
E N 2 1.11 × 10−012.41 × 10−043.05 × 10−073.12 × 10−102.12 × 10−132.25 × 10−155.02 × 10−172.13 × 10−17
CPU Time0.1190.3750.5510.7150.9121.1071.3121.362
1/21/2 E N 2.29 × 10−011.79 × 10−042.55 × 10−074.25 × 10−103.77 × 10−133.57 × 10−154.66 × 10−171.23 × 10−17
E N 2 2.19 × 10−011.72 × 10−042.45 × 10−074.20 × 10−103.67 × 10−133.50 × 10−154.61 × 10−171.12 × 10−17
CPU Time0.1250.3850.5620.7270.9221.1101.3201.371
−1/2−1/2 E N 3.09 × 10−012.59 × 10−041.25 × 10−073.35 × 10−104.17 × 10−132.51 × 10−156.12 × 10−172.43 × 10−17
E N 2 3.00 × 10−012.42 × 10−041.12 × 10−073.25 × 10−104.10 × 10−132.42 × 10−156.03 × 10−172.33 × 10−17
CPU Time0.1170.3610.5630.7090.9091.1111.3221.353
(0.7,1.3)1.10.5 E N 2.19 × 10−013.42 × 10−043.75 × 10−074.65 × 10−103.32 × 10−133.41 × 10−153.32 × 10−161.63 × 10−16
E N 2 2.15 × 10−013.32 × 10−043.51 × 10−074.51 × 10−103.21 × 10−133.31 × 10−153.21 × 10−161.51 × 10−16
CPU Time0.1310.3950.5820.7360.9301.1211.3331.370
0.51.1 E N 3.59 × 10−013.51 × 10−044.25 × 10−073.45 × 10−102.61 × 10−132.51 × 10−154.12 × 10−162.73 × 10−16
E N 2 3.45 × 10−013.40 × 10−044.21 × 10−073.37 × 10−102.52 × 10−132.42 × 10−154.00 × 10−162.64 × 10−16
CPU Time0.1990.4010.5990.7810.9601.1411.3391.387
1.11.1 E N 4.19 × 10−013.32 × 10−041.45 × 10−075.05 × 10−103.66 × 10−131.61 × 10−153.74 × 10−171.62 × 10−17
E N 2 4.08 × 10−013.22 × 10−041.41 × 10−074.95 × 10−103.55 × 10−131.52 × 10−153.66 × 10−171.42 × 10−17
CPU Time0.1890.3820.5490.7340.9371.1351.3351.402
(0.5,1.5)0.70.7 E N 2.79 × 10−011.62 × 10−043.55 × 10−074.35 × 10−102.36 × 10−132.78 × 10−152.14 × 10−171.65 × 10−17
E N 2 2.70 × 10−011.45 × 10−043.49 × 10−074.29 × 10−102.31 × 10−132.72 × 10−152.01 × 10−171.61 × 10−17
CPU Time0.1490.4090.6010.7950.9611.1411.4191.412
0.30.3 E N 3.99 × 10−012.82 × 10−041.75 × 10−072.95 × 10−103.98 × 10−133.99 × 10−154.24 × 10−171.45 × 10−17
E N 2 3.81 × 10−012.67 × 10−041.62 × 10−072.85 × 10−103.91 × 10−133.90 × 10−154.15 × 10−171.40 × 10−17
CPU Time0.1210.3800.5590.7350.9361.1211.3331.392
11 E N 1.29 × 10−013.88 × 10−042.79 × 10−073.87 × 10−102.99 × 10−132.29 × 10−156.34 × 10−172.15 × 10−17
E N 2 1.19 × 10−013.80 × 10−042.71 × 10−073.82 × 10−102.89 × 10−132.20 × 10−156.23 × 10−172.05 × 10−17
CPU Time0.1250.4020.5920.7980.9841.1151.3211.382
(0.3,1.7)10 E N 4.19 × 10−012.38 × 10−043.65 × 10−072.77 × 10−104.54 × 10−133.99 × 10−154.21 × 10−161.22 × 10−16
E N 2 4.07 × 10−012.27 × 10−043.57 × 10−072.67 × 10−104.45 × 10−133.88 × 10−154.11 × 10−171.17 × 10−17
CPU Time0.1300.4150.6110.8011.1051.2171.4221.521
01 E N 1.88 × 10−013.58 × 10−042.72 × 10−073.66 × 10−102.41 × 10−132.84 × 10−155.31 × 10−163.42 × 10−16
E N 2 1.75 × 10−013.51 × 10−042.63 × 10−073.55 × 10−102.39 × 10−132.77 × 10−155.25 × 10−173.37 × 10−17
CPU Time0.1290.3880.5730.7810.9661.1301.3391.382
1.51.5 E N 3.24 × 10−012.72 × 10−044.12 × 10−072.55 × 10−103.87 × 10−131.48 × 10−153.22 × 10−171.22 × 10−17
E N 2 3.20 × 10−012.66 × 10−044.01 × 10−072.45 × 10−103.78 × 10−131.41 × 10−153.12 × 10−171.13 × 10−17
CPU Time0.1300.4030.6070.8880.9901.1211.3411.377
Table 2. Comparison between RGSJCOMM and the method in [35] for Problem 2 using ϑ 1 = ϑ 2 = 1.5 and various α 1 and α 2 .
Table 2. Comparison between RGSJCOMM and the method in [35] for Problem 2 using ϑ 1 = ϑ 2 = 1.5 and various α 1 and α 2 .
( α 1 , α 2 ) (0.9,1.1)(0.7,1.3)(0.5,1.5)(0.3,1.7)(0.1,1.9)
RGSJCOMM ( N = 18 )1.45 × 10−171.40 × 10−175.31 × 10−175.86 × 10−174.32 × 10−17
[35] ( N = 2048 )5.39 × 10−112.12 × 10−112.58 × 10−112.75 × 10−112.44 × 10−11
Table 3. MAE for Problem 3 using various N , ϑ 1 , ϑ 1 , and α 2 .
Table 3. MAE for Problem 3 using various N , ϑ 1 , ϑ 1 , and α 2 .
α 2 ϑ 1 ϑ 2 Errors024681012141617
1.100 E N 2.39 × 10−011.52 × 10−022.25 × 10−044.21 × 10−061.37 × 10−083.25 × 10−104.26 × 10−121.20 × 10−143.33 × 10−161.21 × 10−16
E N 2 2.31 × 10−011.48 × 10−022.15 × 10−044.14 × 10−061.11 × 10−083.12 × 10−104.17 × 10−121.02 × 10−143.23 × 10−161.15 × 10−16
1/21/2 E N 3.12 × 10−013.72 × 10−021.55 × 10−045.23 × 10−063.57 × 10−082.95 × 10−102.96 × 10−122.27 × 10−144.13 × 10−167.21 × 10−17
E N 2 3.04 × 10−013.53 × 10−021.44 × 10−045.13 × 10−063.42 × 10−082.64 × 10−102.82 × 10−122.13 × 10−144.02 × 10−167.07 × 10−17
−1/2−1/2 E N 4.31 × 10−011.81 × 10−024.95 × 10−046.53 × 10−062.28 × 10−083.62 × 10−103.82 × 10−123.77 × 10−142.33 × 10−161.11 × 10−16
E N 2 4.22 × 10−011.72 × 10−024.79 × 10−046.39 × 10−062.18 × 10−083.41 × 10−103.81 × 10−123.53 × 10−142.22 × 10−161.01 × 10−16
1.31.10.5 E N 2.51 × 10−013.91 × 10−022.82 × 10−043.43 × 10−063.88 × 10−081.51 × 10−104.92 × 10−124.52 × 10−143.44 × 10−162.23 × 10−16
E N 2 2.49 × 10−013.88 × 10−022.65 × 10−043.32 × 10−063.77 × 10−081.47 × 10−104.64 × 10−124.32 × 10−143.24 × 10−168.14 × 10−17
0.51.1 E N 4.41 × 10−011.19 × 10−023.28 × 10−044.44 × 10−062.59 × 10−082.98 × 10−103.88 × 10−122.41 × 10−143.14 × 10−162.03 × 10−16
E N 2 4.30 × 10−011.05 × 10−023.15 × 10−044.22 × 10−062.45 × 10−082.84 × 10−103.76 × 10−122.32 × 10−143.02 × 10−162.99 × 10−16
1.11.1 E N 1.31 × 10−013.23 × 10−022.18 × 10−041.35 × 10−061.45 × 10−083.87 × 10−102.45 × 10−124.25 × 10−144.35 × 10−162.44 × 10−16
E N 2 1.27 × 10−013.12 × 10−022.01 × 10−041.15 × 10−061.41 × 10−083.74 × 10−102.34 × 10−124.17 × 10−144.26 × 10−161.74 × 10−16
1.50.70.7 E N 4.01 × 10−012.88 × 10−021.68 × 10−045.74 × 10−063.15 × 10−082.78 × 10−101.65 × 10−123.55 × 10−145.33 × 10−163.14 × 10−16
E N 2 3.88 × 10−012.78 × 10−021.62 × 10−045.65 × 10−063.06 × 10−082.67 × 10−101.45 × 10−123.29 × 10−145.26 × 10−162.99 × 10−16
0.30.3 E N 5.11 × 10−013.24 × 10−023.99 × 10−046.64 × 10−064.31 × 10−081.68 × 10−102.27 × 10−124.61 × 10−144.73 × 10−162.24 × 10−16
E N 2 4.89 × 10−013.05 × 10−023.71 × 10−046.51 × 10−064.25 × 10−081.55 × 10−102.21 × 10−124.56 × 10−144.65 × 10−162.20 × 10−16
11 E N 2.36 × 10−012.44 × 10−026.56 × 10−042.46 × 10−062.12 × 10−083.82 × 10−103.72 × 10−122.56 × 10−143.64 × 10−162.33 × 10−16
E N 2 2.25 × 10−012.32 × 10−026.45 × 10−042.36 × 10−062.10 × 10−083.66 × 10−103.68 × 10−122.52 × 10−143.59 × 10−162.27 × 10−16
1.710 E N 3.27 × 10−014.52 × 10−024.26 × 10−043.66 × 10−061.72 × 10−082.92 × 10−105.61 × 10−121.59 × 10−144.24 × 10−163.23 × 10−16
E N 2 3.19 × 10−014.44 × 10−024.16 × 10−043.60 × 10−061.64 × 10−082.85 × 10−105.46 × 10−121.44 × 10−144.12 × 10−163.01 × 10−16
01 E N 4.01 × 10−013.12 × 10−021.06 × 10−042.36 × 10−064.52 × 10−081.82 × 10−102.16 × 10−122.95 × 10−143.50 × 10−161.12 × 10−16
E N 2 3.88 × 10−012.95 × 10−028.11 × 10−052.15 × 10−064.06 × 10−081.51 × 10−102.03 × 10−122.61 × 10−143.41 × 10−168.02 × 10−17
1.51.5 E N 1.61 × 10−014.41 × 10−024.16 × 10−043.25 × 10−061.99 × 10−084.28 × 10−101.66 × 10−123.81 × 10−141.49 × 10−161.49 × 10−16
E N 2 1.52 × 10−014.32 × 10−023.99 × 10−043.06 × 10−061.41 × 10−083.98 × 10−101.56 × 10−123.62 × 10−141.28 × 10−161.27 × 10−16
1.910 E N 5.01 × 10−012.61 × 10−023.61 × 10−041.55 × 10−062.91 × 10−082.88 × 10−102.26 × 10−124.51 × 10−144.29 × 10−162.54 × 10−16
E N 2 4.88 × 10−012.54 × 10−023.44 × 10−041.43 × 10−062.77 × 10−082.65 × 10−102.05 × 10−124.45 × 10−144.13 × 10−162.33 × 10−16
01 E N 2.81 × 10−011.72 × 10−024.16 × 10−042.95 × 10−063.85 × 10−085.59 × 10−101.15 × 10−123.61 × 10−145.22 × 10−163.44 × 10−16
E N 2 2.77 × 10−011.65 × 10−023.98 × 10−042.85 × 10−063.82 × 10−085.49 × 10−101.02 × 10−123.54 × 10−144.99 × 10−163.12 × 10−16
1.51.5 E N 3.11 × 10−014.87 × 10−022.65 × 10−043.56 × 10−062.58 × 10−082.95 × 10−103.25 × 10−121.66 × 10−142.13 × 10−162.13 × 10−16
E N 2 2.94 × 10−014.78 × 10−022.55 × 10−043.46 × 10−062.44 × 10−082.76 × 10−103.02 × 10−121.56 × 10−141.98 × 10−162.00 × 10−16
Table 4. Comparison between RGSJCOMM and the methods in [35,36] for Problem 3 using ϑ 1 = 1.5 , ϑ 2 = 0.5 , and various α 2 .
Table 4. Comparison between RGSJCOMM and the methods in [35,36] for Problem 3 using ϑ 1 = 1.5 , ϑ 2 = 0.5 , and various α 2 .
α 2 1.11.31.51.71.9
RGSJCOMM ( N = 16 )2.15 × 10−161.25 × 10−163.31 × 10−163.68 × 10−162.25 × 10−16
[35] ( N = 2048 )6.91 × 10−051.26 × 10−051.36 × 10−061.22 × 10−061.38 × 10−06
[36] ( N = 2048 )1.45 × 10−042.36 × 10−056.77 × 10−063.90 × 10−064.00 × 10−06
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

Ahmed, H.M. New Jacobi Galerkin Operational Matrices of Derivatives: A Highly Accurate Method for Solving Two-Point Fractional-Order Nonlinear Boundary Value Problems with Robin Boundary Conditions. Fractal Fract. 2025, 9, 686. https://doi.org/10.3390/fractalfract9110686

AMA Style

Ahmed HM. New Jacobi Galerkin Operational Matrices of Derivatives: A Highly Accurate Method for Solving Two-Point Fractional-Order Nonlinear Boundary Value Problems with Robin Boundary Conditions. Fractal and Fractional. 2025; 9(11):686. https://doi.org/10.3390/fractalfract9110686

Chicago/Turabian Style

Ahmed, Hany Mostafa. 2025. "New Jacobi Galerkin Operational Matrices of Derivatives: A Highly Accurate Method for Solving Two-Point Fractional-Order Nonlinear Boundary Value Problems with Robin Boundary Conditions" Fractal and Fractional 9, no. 11: 686. https://doi.org/10.3390/fractalfract9110686

APA Style

Ahmed, H. M. (2025). New Jacobi Galerkin Operational Matrices of Derivatives: A Highly Accurate Method for Solving Two-Point Fractional-Order Nonlinear Boundary Value Problems with Robin Boundary Conditions. Fractal and Fractional, 9(11), 686. https://doi.org/10.3390/fractalfract9110686

Article Metrics

Back to TopTop