Next Article in Journal
Risk Evaluation Method Based on Fault Propagation and Diffusion
Next Article in Special Issue
On Λ-Fractional Wave Propagation in Solids
Previous Article in Journal
Intelligent Fault Diagnosis of Robotic Strain Wave Gear Reducer Using Area-Metric-Based Sampling
Previous Article in Special Issue
Integro-Differential Boundary Conditions to the Sequential ψ1-Hilfer and ψ2-Caputo Fractional Differential Equations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Numerical Approach for Dealing with Fractional Boundary Value Problems

1
Department of Mathematics, Prince Sattam Bin Abdulaziz University, Alkharj 11942, Saudi Arabia
2
Department of Mathematics, Al Zaytoonah University of Jordan, Amman 11733, Jordan
3
Nonlinear Dynamics Research Center (NDRC), Ajman University, Ajman 346, United Arab Emirates
4
Department of Mathematics, Faculty of Science, The University of Jordan, Amman 11942, Jordan
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(19), 4082; https://doi.org/10.3390/math11194082
Submission received: 23 August 2023 / Revised: 19 September 2023 / Accepted: 20 September 2023 / Published: 26 September 2023

Abstract

:
This paper proposes a novel numerical approach for handling fractional boundary value problems. Such an approach is established on the basis of two numerical formulas; the fractional central formula for approximating the Caputo differentiator of order α and the fractional central formula for approximating the Caputo differentiator of order 2 α , where 0 < α 1 . The first formula is recalled here, whereas the second one is derived based on the generalized Taylor theorem. The stability of the proposed approach is investigated in view of some formulated results. In addition, several numerical examples are included to illustrate the efficiency and applicability of our approach.

1. Introduction

The significance of fractional differential equations (FDEs) has grown significantly in recent decades. This is, of course, due to their value in modeling various phenomena in many practical and industrial applications such as science, physics, dynamics, mechanics, engineering, etc. When dealing with ordinary/partial differential equations, one might be concerned about obtaining solutions to these equations so that they satisfy specific conditions [1,2]. In general, we will have initial conditions once certain conditions are provided at a single point of an independent variable, whereas we will have boundary conditions once the conditions are provided at more than a single point of that variable. Actually, obtaining a solution of a fractional-order problem in accordance with n-boundary conditions is called an FBVP. Such a problem in its linear and 2 α -order cases is regarded as a very important problem due to its various applications in technology and science. In this work, two boundary conditions are typically assumed at end points of an interval, as in most physical applications. In particular, we consider the following FBVP:
p D 2 α y ( x ) + q D α y ( x ) + r y ( x ) = f ( x ) ,
subject to the boundary conditions
y ( a ) = y a y ( b ) = y b , a < x < b ,
where p , q , r are constants and 0 < α 1 and y a , y b are given real numbers.
The boundary value problems consisting of FDEs have contributed to a deep understanding of many processes in different sciences, as different types of these equations can be solved using certain mathematical methods which meet specific boundary conditions. Given the impossibility of solving nonlinear types of the BVPs analytically, several numerical approaches are used, see [3,4,5,6,7]. It should be noted that the finite difference method can provide very good numerical solutions for different types of FDES, see, e.g., [8,9,10]. From this point of view, we here propose to use the fractional central formula for approximating the Caputo differentiator of order α established in [11], and another formula called the fractional central formula for approximating the Caputo differentiator of order 2 α , to find approximate solutions to a type of FBVPs given in (1), where 0 < α 1 . The stability of the proposed method is then examined, and several numerical examples are provided for completeness.
This paper is coordinated as follows. In Section 2, necessary preliminaries and some properties connected with fractional calculus are presented. Section 3 displays the methodology of the proposed method coupled with its stability. Section 4 provides a number of examples with some figures and tabulated results attached to illustrate the fulfilled findings. Section 5 finishes this work by declaring a conclusion.

2. Preliminaries

In this section, we mention some basic and necessary definitions in fractional calculus, such as the Riemann–Liouville integral and derivative, the Caputo derivative, and properties of the operators, which will be applied throughout the paper.
Definition 1
([12,13]). The Riemann–Liouville fractional integral of the function f of order γ is outlined as
J γ f ( t ) = 1 Γ ( γ ) 0 t ( t τ ) γ 1 f ( τ ) d τ ,
where t > 0 and 0 < γ 1 .
Remark 1
([12,13]). It is useful to mention some characteristics of the Riemann–Liouville integral operator, which are listed below for completeness:
  • The identity property, i.e.,
    J 0 f ( t ) = f ( t ) .
  • The power rule property, i.e.,
    J γ t m = Γ ( m + 1 ) Γ ( m + γ + 1 ) t m + γ , m Z + .
  • The commutation property, i.e.,
    J γ J B f ( t ) = J γ + B f ( t ) = J B J γ f ( t ) , γ , B 0 .
Definition 2
([12,13]). Let n 1 < γ n such that n is a positive integer and γ R + . The Riemann–Liouville derivative of fractional-order γ is outlined as
D γ f ( t ) = 1 Γ ( n γ ) d n d t n 0 t f ( n ) ( τ ) ( t τ ) γ + 1 n d τ .
Definition 3
([12,13]). The Caputo fractional differential operator of order γ is outlined as
D γ f ( x ) = 1 Γ ( n γ ) 0 t f ( n ) ( τ ) ( t τ ) γ + 1 n d τ ,
where t > 0 and n 1 < γ n such that n N .
Remark 2
([12,13]). The Caputo fractional derivative satisfies the following properties:
  • The power rule property, i.e.,
    D γ t ε = Γ ( ε + 1 ) Γ ( ε γ + 1 ) t ε γ , n 1 < α < n , ε > n 1 , ε R 0 , n 1 < α < n , ε n 1 , ε N .
  • The constant property, i.e.,
    D γ c = 0 ,
    where c is constant.
  • Interpolation property, i.e.,
    lim γ n D γ f ( t ) = D n f ( t ) .
  • Linearity property, i.e.,
    D γ ( λ 1 f ( t ) + λ 2 g ( t ) ) = λ 1 D γ f ( t ) + λ 2 D γ g ( t ) ,
    where λ 1 and λ 2 are two constants.
  • Non-commutation property, i.e.,
    D γ D μ f ( t ) D μ D γ f ( t ) ,
    where n 1 < γ , μ n such that n N .
Theorem 1
([14]). Suppose that D k α f ( x ) C n + 1 ( 0 , b ] for k = 0 , 1 , , n + 1 , where 0 < α 1 . Then, the function f can be expanded about x = x 0 as follows:
f ( x ) = i = 0 n ( x x 0 ) i α Γ ( i α + 1 ) D i α f ( x 0 ) + ( x x 0 ) ( n + 1 ) α Γ ( ( n + 1 ) α + 1 ) D ( n + 1 ) α f ( ξ ) ,
where 0 < ξ < b and x ( 0 , b ] .

3. Methodology and Stability

In this section, we attempt to develop a novel numerical approach to deal with FBVPs. This approach is accomplished based upon a recent formula established in [11] called the fractional central formula for approximating the Caputo differentiator of order α , and another formula called the fractional central formula for approximating the Caputo differentiator of order 2 α , which would be established here, where 0 < α 1 . But before all of this, we recall below the first formula by stating the following theorem.
Theorem 2
([11]). Let f C 3 ( 0 , b ] and x 0 , x 1 , x 3 be three distinct points in the interval ( 0 , b ] such that 0 = x 0 < x 1 = x 0 + h < x 2 = x 0 + 2 h = b , where h > 0 . Then, for any x ( 0 , b ] , the fractional central formula for approximating the Caputo differentiator of order α is determined by
D t α f ( x ) = x 2 α h 2 α Γ ( 3 α ) f ( x 0 ) 2 f ( x 1 ) + f ( x 2 ) x 1 α 2 h 2 α Γ ( 2 α ) f ( x 0 ) ( x 1 + x 2 ) 2 f ( x 1 ) ( x 0 + x 2 ) + f ( x 2 ) ( x 0 + x 1 ) + f ( 3 ) ( ξ ) 6 6 Γ ( 4 α ) x 3 α 2 ( x 0 + x 1 + x 2 ) Γ ( 3 α ) x 2 α + ( x 0 x 1 + x 0 x 2 + x 1 x 2 ) Γ ( 2 α ) x 1 α ,
where 0 < α 1 , for an unknown ξ ( 0 , b ) .

3.1. Approximating Caputo Differentiator of Order 2 α

Herein, on the basis of the generalized Taylor Theorem 1, we intend to derive a novel formula called the fractional central formula for approximating the Caputo differentiator of order 2 α , where 0 < α 1 .
Theorem 3.
Suppose that f C 4 ( 0 , b ] and x 0 , x 1 , x 2 are distinct points in the interval ( 0 , b ] such that 0 = x 0 < x 1 = x 0 + h < x 2 = x 0 + 2 h = b with h > 0 . Let 0 < α 1 , then the fractional central formula for approximating the Caputo differentiator of order 2 α is determined by
D 2 α f ( x ) = Γ ( 2 α + 1 ) 2 h 2 α f ( x 0 ) 2 f ( x 1 ) + f ( x 2 ) Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) h 2 α D 4 α f ( ξ ) ,
where x ( 0 , b ) for an unknown ξ ( 0 , b ) .
Proof. 
To prove this result, we first expand the function f about x 0 using Theorem 1 to obtain
f ( x ) = f ( x 0 ) + ( x x 0 ) α Γ ( α + 1 ) D α f ( x 0 ) + ( x x 0 ) 2 α Γ ( 2 α + 1 ) D 2 α f ( x 0 ) + ( x x 0 ) 3 α Γ ( 3 α + 1 ) D 3 α f ( x 0 ) + ( x x 0 ) 4 α Γ ( 4 α + 1 ) D 4 α f ( ξ 1 ) .
Consequently, we can approximate the function f at x 1 = x 0 + h . In other words, we can have
f ( x 0 + h ) = f ( x 0 ) + h α Γ ( α + 1 ) D α f ( x 0 ) + h 2 α Γ ( 2 α + 1 ) D 2 α f ( x 0 ) + h 3 α Γ ( 3 α + 1 ) D 3 α f ( x 0 ) + h 4 α Γ ( 4 α + 1 ) D 4 α f ( ξ 1 ) .
From this point of view, we can use the transform variables for both x 0 and x 1 = x 0 + h to be x and x + h , respectively. This would immediately give
f ( x + h ) = f ( x ) + h α Γ ( α + 1 ) D α f ( x ) + h 2 α Γ ( 2 α + 1 ) D 2 α f ( x ) + h 3 α Γ ( 3 α + 1 ) D 3 α f ( x ) + h 4 α Γ ( 4 α + 1 ) D 4 α f ( ξ 1 ) .
In a similar manner, we can get
f ( x h ) = f ( x ) h α Γ ( α + 1 ) D α f ( x ) + h 2 α Γ ( 2 α + 1 ) D 2 α f ( x ) h 3 α Γ ( 3 α + 1 ) D 3 α f ( x ) + h 4 α Γ ( 4 α + 1 ) D 4 α f ( ξ 1 ) ,
where x h < ξ 1 < x < ξ 1 < x + h . Adding (19) to (20) yields
f ( x + h ) + f ( x h ) = 2 f ( x ) + 2 h 2 α Γ ( 2 α + 1 ) D 2 α f ( x ) + h 4 α Γ ( 4 α + 1 ) D 4 α f ( ξ 1 ) + D 4 α f ( ξ 1 ) .
Now, due to 1 2 D 4 α f ( ξ 1 ) + D 4 α f ( ξ 1 ) lying between D 4 α f ( ξ 1 ) and D 4 α f ( ξ 1 ) , by the Intermediate Value Theorem we can infer that ξ exists between ξ 1 and ξ 1 , and so in ( x h , x + h ) . Thus, we have
D 4 α f ( ξ ) = 1 2 D 4 α f ( ξ 1 ) + D 4 α f ( ξ 1 ) .
This consequently implies
Γ ( 2 α + 1 ) 2 h 2 α ( f ( x h ) 2 f ( x ) + f ( x + h ) ) = D 2 α f ( x ) + Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) h 2 α D 4 α f ( ξ ) ,
which immediately gives the desired result. □
Remark 3.
It is obvious that, if we take α = 1 in formula (16), then the conventional second derivative midpoint formula will be immediately yielded.

3.2. Analysis of the Method

At the beginning of this section, we intend to depict the procedure of solving the FBVP given in (1) and (2). For this purpose, we apply Theorems 2 and 3 to approximate D α y ( x ) and D 2 α y ( x ) , respectively. In other words, we have
D α y ( x ) x 1 2 α h 2 α Γ ( 3 α ) y x 0 2 y x 1 + y x 2
and
D 2 α y ( x ) Γ ( 2 α + 1 ) 2 h 2 α y x 0 2 y x 1 + y x 2 ,
where h , x 0 , x 1 , x 2 are defined previously in Theorem 3, and 0 < α 1 . For the purpose of developing a novel approach to find the solution of the problem (1) and (2), we divide the interval [ a , b ] into n subintervals through x i = a + i h , for i = 0 , 1 , 2 , , N , such that a = x 0 and b = x n , where h = b a N . Now, at the point x = x i , we have
D α y x i x i 2 α h 2 α Γ ( 3 α ) y x i 1 2 y x i + y x i + 1 ,
and
D 2 α y x i Γ ( 2 α + 1 ) 2 h 2 α y x i 1 2 y x i + y x i + 1 ,
for i = 1 , 2 , , N . By substituting (25) and (26) in (1), we get
Γ ( 2 α + 1 ) 2 h 2 α ( y ( x i 1 ) 2 y ( x i ) + y ( x i + 1 ) ) + q x i 2 α h 2 α Γ ( 3 α ) ( y ( x i 1 ) 2 y ( x i ) + y ( x i + 1 ) ) + r y ( x i ) = f ( x i ) ,
for i = 1 , 2 , , N . Actually, formula (27) can be rewritten in the form
Γ ( 2 α + 1 ) 2 + q x i 2 α Γ ( 3 α ) y ( x i 1 ) Γ ( 2 α + 1 ) + 2 q x i 2 α Γ ( 3 α ) + r y ( x i ) + Γ ( 2 α + 1 ) 2 + q x i 2 α Γ ( 3 α ) y ( x i + 1 ) = h 2 α f ( x i ) ,
for i = 1 , 2 , , N . For simplicity, we set the following assumptions:
a i = Γ ( 2 α + 1 ) 2 + q x i 2 α Γ ( 3 α )
and
b i = Γ ( 2 α + 1 ) + 2 q x i 2 α Γ ( 3 α ) + r ,
for i = 1 , 2 , , N . This immediately converts (28) to
a i y x i 1 + y x i + 1 + b i y x i = h 2 f x i ,
for i = 1 , 2 , , N . In fact, the above formulas can be expressed in the matrix form as follows:
b 1 a 1 0 0 0 0 0 a 2 b 2 a 2 0 0 0 0 0 a 3 b 3 a 3 0 0 0 0 0 0 0 a N 1 b N 1 a N 1 0 0 0 0 0 a N b N y 1 y 2 y 3 y N 1 y N = h 2 α f x 1 f x 2 f x 3 f x N 1 f x N a 1 y a 0 0 0 a N y b .
The above linear system can be denoted by A X = M , where
A = b 1 a 1 0 0 0 0 0 a 2 b 2 a 2 0 0 0 0 0 a 3 b 3 a 3 0 0 0 0 0 0 0 a N 1 b N 1 a N 1 0 0 0 0 0 a N b N
X = y 1 , y 2 , y 3 , , y N 1 , y N T
and
M = h 2 α f x 1 a 1 y a , h 2 α f x 2 , h 2 α f x 3 , , h 2 α f x N 1 , h 2 α f ( x N ) a N y N T .
As a matter of fact, system (32) is called tridiagonal and could be solved algebraically using the Thomas algorithm [15]. In particular, if we take formula (31) again as follows:
a i y i 1 + y i + 1 + b i y i = d i ,
where d i = h 2 α f x i for i = 1 , 2 , , N . Now, formula (34) can be written in the form:
b 1 y 1 + a 1 y 2 = d 1 * b 2 y 2 + a 2 ( y 1 + y 3 ) = d 2 b 3 y 3 + a 3 ( y 2 + y 4 ) = d 3 b N 1 y N 1 + a N 1 ( y N 2 + y N ) = d N 1 a N y N 1 + b N y N = d N * ,
where d 1 * = h 2 α f x 1 a 1 y a and d N * = h 2 α f x N a N y b . By considering the Thomas algorithm, we assume b 1 0 and eliminate y 1 from the second equation of system (35). This gives
b 2 y 2 + a 2 y 3 = d 2 ,
where b 2 = b 2 a 1 a 2 b 1 and d 2 = d 2 d 1 a 2 b 1 . Next, assuming b 2 0 and eliminating y 2 from the third equation of system (35) yields
b 3 y 3 + a 3 y 4 = d 3 ,
where b 3 = b 3 a 2 a 3 b 2 and d 3 = d 3 d 2 a 3 b 2 . Similarly, if we assume that b k 0 and eliminating y k from the ( k + 1 ) th-equation of the system (35), we obtain
b k + 1 y k + 1 + a k + 1 y k + 2 = d k + 1 ,
where b k + 1 = b k + 1 a k a k + 1 b k and d k + 1 = d k + 1 d k a k + 1 b k , for k = 1 , 2 , , N 1 . Consequently, by back substituting N and assuming b N 0 in which y N = d N b N , we have
y k = d k a k y k + 1 b k ,
for k = N 1 , N 2 , , 1 . This finishes the Thomas algorithm and, hence, by proper MATLAB code, we can obtain the desired numerical solution of the aimed system (1) and (2).

3.3. Stability of the Method

In order to insure of the stability of the fractional central formula for approximating the Caputo differentiator of order 2 α , where 0 < α 1 , we consider the following FBVP:
D 2 α y ( x ) = f ( x ) ,
with the boundary conditions
y ( a ) = y a , y ( b ) = y b ,
where a < x < b . The important question to be asked here is how would Y ^ = [ y 1 , y 2 , y 3 , , y N 1 ] T be regarded a good approximation of solution of problem (36) and (37). To answer this question, we need to estimate the error in the discrete values y 1 , y 2 , , y N related to the true solution y ( x ) . In this regard, we assume the pointwise error is of the form y i y ( x i ) , for i = 0 , 1 , , N , and the true vector is of the form Y = [ y 1 , y 2 , y 3 , , y N 1 , y N ] T . This gives the error of the form
E = Y ^ Y ,
which contains all error at each grid point. To obtain a bound on the magnitude of the above vector error, we need to estimate O ( h 2 α ) as h 0 . To do this, we consider
E = max 1 i 0 | E i | = max 1 i 0 | y i y ( x i ) | ,
which represents the largest error order in the interval [ a , b ] . Therefore, if E = O ( h 2 α ) , then
| y i y ( x i ) | = O ( h 2 α ) ,
for i = 0 , 1 , , N .
Next, our aim is to estimate the error in our proposed difference approach. To do so, we should be concerned with the local truncation error, and then with the stability of this approach for the purpose of justifying the boundedness of the global error. So, let us start with the local truncation error, which would be as follows:
T i = Γ ( 2 α + 1 ) 2 h 2 α y ( x i 1 ) 2 y ( x i ) + y ( x i + 1 ) f ( x i ) ,
or
T i = D 2 α y ( x i ) h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) D 4 α y ( ξ i ) + O ( h 4 α ) f ( x i ) ,
for i = 1 , 2 , , N . Now, by using D 2 α y ( x ) = f ( x ) , we have
T i = h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) D 4 α y ( ξ i ) + O ( h 4 α ) .
Now, though D 4 α y ( ξ i ) is unknown fixed and is independent of h, we have T i O ( h 4 α ) as h 0 . If we define T as a vector containing T i , then
T = A Y M ,
which implies
A Y = M + T .
Now, to address the global error, we can have from (41) the following approximation:
A Y ^ = M .
So, the global error is defined as
E = Y ^ Y .
Now, subtracting (41) and (42) yields
A Y ^ Y = T ,
or
A E = T .
This implies
Γ ( 2 α + 1 ) 2 h 2 α E i 1 2 E i + E i + 1 = T x i ,
with boundary conditions
E 0 = 0 , E N + 1 = 0 ,
for i = 1 , 2 , , N . Note that problems (44) and (45) are the same as the difference equation reported previously for y i , except f ( x i ) = T ( x i ) , for i = 1 , 2 , , N . Actually, problems (44) and (45) can be expressed as
D 2 α e ( x ) = τ ( x ) ,
with boundary conditions
e ( a ) = 0 , e ( b ) = 0 ,
where a x b and
τ ( x ) = Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) D 4 α y ( x ) .
Now, if we operate J α in Equation (46), we get
D α e ( x ) = h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) ( D 3 α y ( x ) { D 2 α } y ( 0 ) ) ,
or
D α e ( x ) = h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) D 2 α y ( 0 ) h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) D 3 α y ( x ) .
By operating J α twice again in Equation (48), we obtain
e ( x ) = h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) x α Γ ( α + 1 ) D 2 α y ( 0 ) h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) D 2 α y ( x ) D α y ( 0 ) ,
or
e ( x ) = h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) D 2 α y ( x ) + h 2 α Γ ( 2 α + 1 ) Γ ( 4 α + 1 ) x α Γ ( α + 1 ) D 2 α y ( 0 ) D α y ( 0 ) .
This implies E O ( h 2 α ) , which represents the desired estimation for the global error.
Now, with aim of dealing with the stability of the proposed difference scheme, we consider again system (43) in which A is the corresponding tridiagonal matrix, E is the global error matrix, and T is the local truncation error matrix. In fact, system (43) can be rewritten as
A h E h = T h ,
for a given h = 1 n + 1 . It is important to mention that A m × m h , and as a result the dimension of A h will grow as h 0 . Now, let ( A h ) 1 exist. Then, we have
E h = ( A h ) 1 T h .
Consequently, we obtain
E h = ( A h ) 1 T h ( A h ) 1 T h .
But we have T h O ( h 2 α ) . So, we expect the same for E h . Thus, for E h O ( h 2 α ) , then ( A h ) 1 is independent of h as h 0 , say ( A h ) 1 c , for sufficiently small h, where c is constant. Therefore, we have
E h c T h ,
and hence the stability is ensured.

4. Numerical Experiments

In this section, we validate our proposed numerical approach discussed in the previous section by illustrating three numerical examples including FBVPs of the forms (1) and (2). We use MATLAB-2020 software to simulate the results in a few fractional-order values.
Example 1.
Consider the following FBVP:
D 2 α y + 2 y = 0 ,
with boundary conditions
y ( 0 ) = 1 , y ( π ) = 0 .
The exact solution for problems (51) and (52) is of the form
y ( x ) = cos ( 2 x ) cot ( 2 π ) sin ( 2 x ) .
In order to validate such an approach in handling the FBVPs, we track the proposed numerical approach discussed in Section 3. This would provide us with several approximate solutions for problem (51) and (52) with different fractional-order values, i.e., α = 1 , 0.8 , 0.6 , 0.4 . Some of these approximate solutions are plot and compared with the exact solution (53) as can be seen in Figure 1 and Table 1.
In light of the previous numerical results, one can clearly observe that the approximate solutions generated by our approach converge to the exact solution as α gets closer to 1, confirming the validity of the proposed method.
Example 2.
Consider the following FBVP:
D 2 α y = y + x ,
with boundary conditions
y ( 0 ) = 0 , y ( 1 ) = 0 .
The exact solution for problems (54) and (55) is of the form
y ( x ) = sinh x sinh 1 x .
With the aim of verifying the correctness of our proposed technique in handling the FBVPs, we follow the same manner used in Example 1 coupled with using the numerical approach discussed in the previous section. This would provide us with several approximate solutions for problems (54) and (55) with different fractional-order values, i.e., α = 1 , 0.8 , 0.6 , 0.4 . Some of these approximate solutions are plotted and compared with the exact solution (56) as can be seen in Figure 2 and Table 2.
Herein, we can also notice that the approximate solutions generated by our numerical scheme converge to the exact solution as α gets closer to 1.
Example 3.
Consider the following FBVP:
D 2 α y + 5 D α y + 4 y = 1 ,
with boundary conditions
y ( 0 ) = 0 , y ( 1 ) = 0 .
The exact solution for problems (57) and (58) is of the form
y ( x ) = e 3 e 4 ( 1 e 3 ) e x + 1 4 e 3 e 4 ( 1 e 3 ) e 4 x + 1 4 .
In a similar manner to the previous two examples, we generate here several approximate solutions for problems (57) and (58) with different fractional-order values, i.e., α = 1 , 0.8 , 0.6 , 0.4 . Some of these approximate solutions are plotted and compared with the exact solution (59) as can be seen in Figure 3 and Table 3.
Note that the approximate solutions obtained by the proposed scheme also converge to the exact solution as α gets closer to 1.

5. Conclusions

In this paper, a novel numerical approach has been successfully proposed to deal with fractional boundary value problems. This has been carried out by utilizing two numerical formulas—the fractional central formula for approximating the Caputo differentiator of order α and the fractional central formula for approximating the Caputo differentiator of order 2 α , where 0 < α 1 . The stability analysis of the proposed approach has been discussed, and several numerical examples have been illustrated to show the applicability of the proposed method. Thus, in light of this study, we believe that we can address many other kinds of fractional-order problems in a similar manner, such as the fractional-order system of differential equations, fractional partial differential equations, and fractional integrodifferential equations. This is left to the future for further consideration.

Author Contributions

Conceptualization, A.A.A.-N.; Methodology, I.M.B.; Validation, A.A.A.-N.; Formal analysis, I.M.B.; Resources, S.M.; Writing—original draft, A.A.A.-N.; Writing—review & editing, I.M.B.; Visualization, S.M.; Supervision, S.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Deputyship for research & Innovation, Ministry of Education in Saudi Arabia for funding this research through the project number (IF2/PSAU/2022/01/22174).

Data Availability Statement

Not applicable.

Acknowledgments

The authors extend their appreciation to the Deputyship for research & Innovation, Ministry of Education in Saudi Arabia for funding this research through the project number (IF2/PSAU/2022/01/22174).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Aydemir, K.; Olǧar, H.; Mukhtarov, O.S.; Muhtarov, F.S. Differential Operator Equations with Interface Conditions in Modified Direct Sum Spaces. Filomat 2018, 32, 921–931. [Google Scholar] [CrossRef]
  2. Bezziou, M.; Dahmani, Z.; Jebril, I.; Belhamiti, M.M. Solvability for a Differential System of Duffing Type Via Caputo-Hadamard Approach. Appl. Math. Inf. Sci. 2022, 16, 341–352. [Google Scholar]
  3. Abu-Zaid, I.T.; El-Gebeily, M.A. A finite-difference method for the spectral approximation of a class of singular two-point boundary value problems. IMA J. Numer. Anal. 1994, 14, 545–562. [Google Scholar] [CrossRef]
  4. Fulton, C.T. Two-point boundary value problems with eigenvalue parameter contained in the boundary conditions. Proc. Roy. Soc. Edinb. 1977, 77A, 293–308. [Google Scholar] [CrossRef]
  5. Mukhtarov, O.; Olǧar, H.; Aydemir, K. Resolvent Operator and Spectrum of New Type Boundary Value Problems. Filomat 2015, 29, 1671–1680. [Google Scholar] [CrossRef]
  6. Keller, H.B. Numerical Methods for Two-Point Boundary-Value Problems; Courier Dover Publications: Mineola, NY, USA, 2018. [Google Scholar]
  7. Endeshaw, B. Finite Difference Method for Boundary Value Problems in Ordinary Differential Equations. Math. Theory Model. 2019, 9, 17–27. [Google Scholar]
  8. Zhang, T.; Li, Y. Exponential Euler scheme of multi-delay Caputo–Fabrizio fractional-order differential equations. Appl. Math. Lett. 2022, 124, 107709. [Google Scholar] [CrossRef]
  9. Albadarneh, R.B.; Batiha, I.M.; Zurigat, M. Numerical solutions for linear fractional differential equations of order 1 < α < 2 using finite difference method (FFDM). Int. J. Math. Comput. Sci. 2016, 16, 103–111. [Google Scholar]
  10. Albadarneh, R.B.; Zerqat, M.; Batiha, I.M. Numerical solutions for linear and non-linear fractional differential equations. Int. J. Pure Appl. Math. 2016, 106, 859–871. [Google Scholar] [CrossRef]
  11. Batiha, I.M.; Alshorm, S.; Ouannas, A.; Momani, S.; Ababneh, O.Y.; Albdareen, M. Modified Three-Point Fractional Formulas with Richardson Extrapolation. Mathematics 2022, 10, 3489. [Google Scholar] [CrossRef]
  12. Kilbas, A.A. Theory and Application of Fractional Differential Equations; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
  13. Mainardi, F. Fractional Calculus. In Fractals and Fractional Calculus in Continuum Mechanics; Springer: Berlin, Germany, 1997; pp. 291–348. [Google Scholar]
  14. Odibat, Z.M.; Momani, S. An algorithm for the numerical solution of differential equations of fractional order. J. Appl. Math. Inform. 2008, 26, 15–27. [Google Scholar]
  15. Bittelli; Marco; Campbell, G.S.; Tomei, F. Soil Physics with Python: Transport in the Soil–Plant–Atmosphere System; Oxford Academic: Oxford, UK, 2015. [Google Scholar] [CrossRef]
Figure 1. Exact solution vs. numerical solutions of problems (51) and (52) for α = 1 , 0.8 , 0.6 , 0.4 .
Figure 1. Exact solution vs. numerical solutions of problems (51) and (52) for α = 1 , 0.8 , 0.6 , 0.4 .
Mathematics 11 04082 g001
Figure 2. Exact solution vs. numerical solutions of problems (54) and (55) for α = 1 , 0.8 , 0.6 , 0.4 .
Figure 2. Exact solution vs. numerical solutions of problems (54) and (55) for α = 1 , 0.8 , 0.6 , 0.4 .
Mathematics 11 04082 g002
Figure 3. Exact solution vs. numerical solutions of problems (57) and (58) for α = 1 , 0.8 , 0.6 , 0.4 .
Figure 3. Exact solution vs. numerical solutions of problems (57) and (58) for α = 1 , 0.8 , 0.6 , 0.4 .
Mathematics 11 04082 g003
Table 1. Exact solution vs. numerical solutions of problems (51) and (52) for α = 1 , 0.8 , 0.6 , 0.4 .
Table 1. Exact solution vs. numerical solutions of problems (51) and (52) for α = 1 , 0.8 , 0.6 , 0.4 .
x α = 0.4 α = 0.6 α = 0.8 α = 1 Exact Solution
01.00001.00001.00001.00001.0000
0.10.32800.22890.45510.79890.7842
0.2−0.6303−0.6484−0.21650.44010.4161
0.3−1.3491−1.3529−0.8424−0.0056−0.0328
0.4−1.7529−1.7965−1.3172−0.4501−0.4753
0.5−1.8669−1.9651−1.5815−0.8058−0.8255
0.6−1.7447−1.8819−1.6146−1.0025−1.0154
0.7−1.4452−1.5903−1.4282−1.0013−1.0082
0.8−1.0235−1.1431−1.0593−0.8024−0.8052
0.9−0.5283−0.5954−0.5622−0.4451−0.4459
1.00.00000.00000.00000.00000.0000
Table 2. Exact solution vs. numerical solutions of problems (54) and (55) for α = 1 , 0.8 , 0.6 , 0.4 .
Table 2. Exact solution vs. numerical solutions of problems (54) and (55) for α = 1 , 0.8 , 0.6 , 0.4 .
x α = 0.4 α = 0.6 α = 0.8 α = 1 Exact Solution
00.00000.00000.00000.00000.0000
0.1−0.1120−0.0429−0.0244−0.0150−0.0148
0.2−0.1870−0.0775−0.0460−0.0299−0.0287
0.3−0.2326−0.1026−0.0635−0.0412−0.0409
0.4−0.2533−0.1180−0.0758−0.0508−0.0505
0.5−0.2524−0.1233−0.0819−0.0568−0.0566
0.6−0.2324−0.1185−0.0813−0.0589−0.0583
0.7−0.1955−0.1036−0.0732−0.566−0.0545
0.8−0.1435−0.0788−0.0572−0.0476−0.0443
0.9−0.0778−0.0442−0.0329−0.0269−0.0265
1.00.00000.00000.00000.00000.0000
Table 3. Exact solution vs. numerical solutions of problems (57) and (58) for α = 1 , 0.8 , 0.6 , 0.4 .
Table 3. Exact solution vs. numerical solutions of problems (57) and (58) for α = 1 , 0.8 , 0.6 , 0.4 .
x α = 0.4 α = 0.6 α = 0.8 α = 1 Exact Solution
00.00000.00000.00000.00000.0000
0.1−0.1365−0.0409−0.0591−0.0862−0.0822
0.2−0.1479−0.0633−0.0855−0.1257−0.1217
0.3−0.1323−0.0732−0.0934−0.1379−0.1339
0.4−0.1120−0.0743−0.0905−0.1333−0.1293
0.5−0.0919−0.0695−0.0811−0.1188−0.1146
0.6−0.0727−0.0603−0.0680−0.0981−0.0943
0.7−0.0542−0.0481−0.0527−0.0752−0.0712
0.8−0.0360−0.0336−0.0359−0.0510−0.0470
0.9−0.0180−0.0175−0.0183−0.0271−0.0231
1.00.00000.00000.00000.00000.0000
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

Al-Nana, A.A.; Batiha, I.M.; Momani, S. A Numerical Approach for Dealing with Fractional Boundary Value Problems. Mathematics 2023, 11, 4082. https://doi.org/10.3390/math11194082

AMA Style

Al-Nana AA, Batiha IM, Momani S. A Numerical Approach for Dealing with Fractional Boundary Value Problems. Mathematics. 2023; 11(19):4082. https://doi.org/10.3390/math11194082

Chicago/Turabian Style

Al-Nana, Abeer A., Iqbal M. Batiha, and Shaher Momani. 2023. "A Numerical Approach for Dealing with Fractional Boundary Value Problems" Mathematics 11, no. 19: 4082. https://doi.org/10.3390/math11194082

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