Next Article in Journal
Second-Order Time Stepping Scheme Combined with a Mixed Element Method for a 2D Nonlinear Fourth-Order Fractional Integro-Differential Equations
Next Article in Special Issue
Existence and U-H Stability Results for Nonlinear Coupled Fractional Differential Equations with Boundary Conditions Involving Riemann–Liouville and Erdélyi–Kober Integrals
Previous Article in Journal
Applications for Unbounded Convergences in Banach Lattices
Previous Article in Special Issue
Local Fractional Integral Hölder-Type Inequalities and Some Related Results
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Numerical Approach to Solve the q-Fractional Boundary Value Problems

Department of Mathematics, Northeastern University, Shenyang 110819, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Fractal Fract. 2022, 6(4), 200; https://doi.org/10.3390/fractalfract6040200
Submission received: 23 February 2022 / Revised: 21 March 2022 / Accepted: 30 March 2022 / Published: 2 April 2022

Abstract

:
In this present paper, we study the difference method for solving a boundary value problem of the Caputo type q-fractional differential equation. This method is based on the numerical quadrature of the q-fractional derivative and the q-Taylor expansion of related function. We first derive the truncation error boundness of O ( x n 2 ) -order and prove the existence and uniqueness of the numerical solution. Then, we prove the stability of the numerical solution and give the error estimation. Numerical experiments finally verify the validity of the theoretical analysis.

1. Introduction

The history of fractional calculus can be dated back to 1695 and it can be applied to the investigation of arbitrary order integrals and derivatives. It has gained quite a lot of interest due to its widespread application in science and engineering fields such as physics, biology, chemistry and economics [1]. For example, Baleanu et al. [2] modeled some processes on real chemical reactions with partial differential equations of the fractional order. They studied a novel modeling of the fractional multiterm boundary value problems on each edge of the graph representation of the glucose molecule and derived some existence results. In addition, a fractional-order derivative can retain the effect of system memory. Therefore, it can describe the processes involving memory and hereditary properties such as electromagnetic waves and heat transfer. For example, Mohammadi et al. [3] used a box model to describe hearing loss in children caused by the mumps virus with the Caputo–Fabrizio fractional derivative. It can also model the transmittance of anthrax between animals [4]. For more works on the application of fractional calculus, we refer readers to [5,6,7] and the references therein.
A lot has been achieved in the study of fractional calculus, but mostly of a continuous case. It is obvious that the discrete analogues of fractional differential equations are also very useful in applications. Some results concerning the differential equations carry over easily to corresponding results for difference equations while other results seem to be different from their continuous counterparts [8,9]. Therefore, it is necessary to develop fractional differential equations on a discrete time scale [10]. The theory of time scales was first introduced by Stefan Hilger in his PhD thesis in order to unify continuous and discrete analysis [11]. The time scale calculus has a tremendous potential in applications. For example, it can be used to model populations of insects which are continuous while in season, die out in winter while their eggs are dormant or are incubating and then hatch in a new season and can give rise to a nonoverlapping population [10]. A typical time scale is q-geometric set T q , b = { 0 } { b q n , n = 0 , 1 , · · · } on which some physical processes occur and the corresponding equations are called q-fractional differential equations.
In the past few years, the q-fractional differential equations based on the q-calculus have been widely studied by engineers and mathematicians. The concept of the q-calculus (also known as quantum calculus) was first proposed by Jackson [12] in 1908. This kind of equation mainly describes some physical processes which occur on T q , b such as quantum dynamics, discrete dynamical systems and discrete stochastic processes [1,10,13,14,15,16,17]. The scale index q of set T q , b is used to describe the discrete path on which the corresponding physical process occurs. With the rapid development of the q-calculus theory, the q-difference operator theory, q-Laplace transform, q-Taylor expansion, q-Bernstein polynomial, q-Sturm–Liouville theory and other related results have been proposed successively. For more details of the q-calculus and the q-fractional calculus, we refer readers to [14,15,18,19,20,21,22,23]. Compared with the classical fractional calculus, the research of the q-fractional calculus is still immature. On the boundary problems of the q-fractional differential equations, Ferreira [24] proposed a sufficient condition for the existence of nontrivial solutions by using the fixed point theorem of cone compression and properties of Green function. Shahed et al. [25] studied the existence of positive solutions. Liang et al. [26] investigated the existence and uniqueness of solutions for a class of q-fractional differential equations with three point boundary value problems. In [27], by using the Guo–Krasnoselskii fixed point theorem, the authors gave a sufficient condition for the existence of a positive solution for a class of boundary value problems of nonlinear q-fractional difference equations.
On the discrete approximation methods for the initial value problems of q-fractional differential equations, Abdeljawad et al. [28,29] presented a successive iteration method to find the approximation solution. They derived the truncation error bounds, but did not give the stability analysis. Then, Salahshour and Ahmadian et al. [30] investigated the convergence condition of the successive approximation method proposed in [29]. Furthermore, Zhang and Tong [31] proposed a new difference formula by using the piecewise linear interpolation to discretize the Caputo type q-fractional derivative. They proved the unconditional stability of this difference formula and gave the estimate of convergence order. Wu et al. [32] constructed a discrete approximation scheme with the variational iterative method. However, until now, no numerical methods have been presented to solve the boundary value problem of q-fractional differential equations.
In this paper, we present a difference method to solve the boundary value problem of Caputo type q-fractional differential equations: c D q α u ( x ) + a ( x ) u ( x ) = f ( x ) . We discretize the q-fractional derivative c D q α u ( x ) by using the numerical quadrature and in order to enhance the stability, we further discretize the term a ( x ) u ( x ) by means of the q-Taylor expansion. Since the q-fractional differential equations are usually defined on time scale set T q , b , our difference scheme must also be established on set T q , b , that is, the mesh points are in set T q , b . This makes the stability analysis and error estimate much more difficult than that of the usual difference schemes which are established on the selected artificially meshes. We first derive the truncation error bound and prove the existence and uniqueness of the difference solution. Then, we prove the stability and obtain an error estimation of O ( x n 2 ) for the difference scheme. Finally, we use numerical examples to illustrate the effectiveness of the difference method.
This paper is organized as follows. We first introduce some notations and relevant operations about q-calculus and q-fractional calculus in Section 2. In Section 3, we establish the difference method for solving a boundary value problem of the Caputo type q-fractional differential equation and derive the boundness of the truncation error. Section 4 is devoted to the stability analysis and error estimation of the difference method. In Section 5, we provide some numerical examples to illustrate the theoretical analysis.

2. Preliminaries

We first introduce some definitions and operations about q-calculus and q-fractional calculus.
Let N = { 1 , 2 , } be the set of positive integers and 0 < q < 1 . The q-shifted operation is defined as
( x s ) q ( 0 ) = 1 , ( x s ) q ( m ) = k = 0 m 1 ( x q k s ) , m N .
If α R and α N , then
( x s ) q ( α ) = x α k = 0 x q k s x q α + k s , 0 s x .
Denote C as the set of complex numbers. The q-Gamma function Γ q ( x ) is defined as
Γ q ( x ) = ( 1 q ) q ( x 1 ) ( 1 q ) 1 x , x C { n , n { 0 } N } .
The following notations are defined by
[ x ] q = 1 q x 1 q , [ m ] q ! = [ m ] q [ m 1 ] q [ 1 ] q .
Then, we can see that
Γ q ( 1 ) = 1 , Γ q ( m + 1 ) = [ m ] q ! , Γ q ( x + 1 ) = [ x ] q Γ q ( x ) .
For a given q R , a set A q R is called q-geometric if q x A q whenever x A q . That is, x A q , A q includes geometric sequences { x q m } m = 0 of all. A special q-geometric set is A q = { q m : m Z } { 0 } , where 0 < q < 1 and Z is the set of integers.
Definition 1
([12]). Let f ( x ) be a real valued function on set A q and 0 < q < 1 . Define the q-derivative of f ( x ) as
D q f ( x ) = d q f ( x ) d q x = f ( x ) f ( q x ) ( 1 q ) x , x A q { 0 } ,
D q f ( 0 ) = d q f ( x ) d q x | x = 0 = lim n f ( x q n ) f ( 0 ) x q n , x 0 .
On the basis of Definition 1, the high order q-derivative D q n f ( x ) is defined as D q n f ( x ) = D q ( D q n 1 f ( x ) ) , n 2 .
For two real valued functions f ( x ) and g ( x ) , by a straightforward computation, we have
D q ( a f ( x ) ± b g ( x ) ) = a D q f ( x ) ± b D q g ( x ) , a , b R , D q ( f ( x ) g ( x ) ) = g ( x ) D q f ( x ) + f ( q x ) D q g ( x ) , D q ( f ( x ) g ( x ) ) = g ( x ) D q f ( x ) f ( x ) D q g ( x ) g ( x ) g ( q x ) , g ( x ) 0 , g ( q x ) 0 .
Definition 2
([33]). Let f ( x ) be a real valued function defined on set A q . The q-integral of f ( x ) is defined by
0 x f ( s ) d q s = ( 1 q ) n = 0 x q n f ( x q n ) , x A q ,
a b f ( s ) d q s = 0 b f ( s ) d q s 0 a f ( s ) d q s , a , b A q .
From Definition 2, it is easy to see that
| 0 b f ( s ) d q s | 0 b | f ( s ) | d q s , b > 0 ,
a b f ( s ) d q s = a c f ( s ) d q s + c b f ( s ) d q s , a < c < b .
The lemma below gives the operation of q-integration by parts.
Lemma 1
([31]). Suppose f ( x ) and g ( x ) are two real valued functions defined on set A q , 0 < q < 1 , 0 a < b , a , b A q , we have
a b g ( q x ) D q f ( x ) d q x = ( f g ) ( b ) ( f g ) ( a ) a b f ( x ) D q g ( x ) d q x .
Introduce the q-Beta function
B q ( x , y ) = 0 1 s x 1 ( 1 q s ) q ( y 1 ) d q s ,
where x , y C , R e ( x ) > 0 and R e ( y ) > 0 . The q-Gamma and q-Beta functions have the following relation: [14]
B q ( x , y ) = Γ q ( x ) Γ q ( y ) Γ q ( x + y ) .
In the following, the concept of q-fractional calculus will be introduced.
Definition 3
([34]). Suppose x A q , a 0 and α 1 , 2 , The α-order Riemann–Liouville q-fractional integral is defined formally by I q , a 0 f ( x ) = f ( x ) and
I q , a α f ( x ) = 1 Γ q ( α ) a x ( x q s ) q ( α 1 ) f ( s ) d q s .
Definition 4
([35]). Suppose a A q , a 0 and n = α . The α-order Caputo q-fractional derivative of function f ( x ) : ( a , ) R is defined as
c D q , a α f ( x ) = I q , a α f ( x ) , α 0 , I q , a n α D q n f ( x ) , α > 0 ,
where α represents the smallest integer which is equal to or greater than α.
For briefness, we use I q α f ( x ) instead of I q , 0 α f ( x ) and c D q α f ( x ) instead of c D q , 0 α f ( x ) , respectively.

3. The Difference Method and Truncation Error Estimation

In this section, we investigate a difference method to solve a boundary value problem of Caputo type q-fractional differential equations and give the truncation error boundness.
Consider the following problem:
c D q α u ( x ) + a ( x ) u ( x ) = f ( x ) , 0 < x b , x T q , b , 0 < q < 1 , D q u ( 0 ) = γ 1 , u ( b ) = γ 2 , 1 < α < 2 ,
where a ( x ) 0 . The difference method will be established on a discrete points set { x k } T q , b , where T q , b = { b q n : n = 0 , 1 , } { 0 } is a q-geometric set.
We first discretize the Caputo q-fractional derivative
c D q α u ( x ) = 1 Γ q ( 2 α ) 0 x ( x q s ) q ( 1 α ) D q 2 u ( s ) d q s .
Let 0 = x 0 < x 1 < < x N = b be a partition of [ 0 , b ] with the point x k = b q N k T q , b . Denote the mesh size x k = x k x k 1 , 1 k N , N 1 is a positive integer. At point x n , using D q 2 u ( x k ) to replace D q 2 u ( x ) on interval [ x k 1 , x k ] , we have from (14) that
c D q α u ( x n ) = 1 Γ q ( 2 α ) k = 1 n x k 1 x k ( x n q s ) q ( 1 α ) D q 2 u ( s ) d q s = 1 Γ q ( 2 α ) k = 1 n x k 1 x k ( x n q s ) q ( 1 α ) D q 2 u ( x k ) d q s + R 1 n ,
where
R 1 n = 1 Γ q ( 2 α ) k = 1 n x k 1 x k ( x n q s ) q ( 1 α ) ( D q 2 u ( s ) D q 2 u ( x k ) ) d q s .
Denoting v ( x ) = D q u ( x ) , we have
D q 2 u ( x ) D q 2 u ( x k ) = D q v ( x ) D q v ( x k ) = D q v ( x ) v ( x k ) v ( x k 1 ) Δ x k .
Let L 1 , k v ( s ) be the piecewise linear interpolation of v ( s )
L 1 , k v ( s ) = x k s x k v ( x k 1 ) + s x k 1 x k v ( x k ) , s [ x k 1 , x k ] , k = 1 , 2 , , N .
The corresponding interpolation error is
R k ( s ) = v ( s ) L 1 , k v ( s ) , R k ( x k 1 ) = R k ( x k ) = 0 , s [ x k 1 , x k ] .
Noting that D q L 1 , k v ( s ) = ( v ( x k ) v ( x k 1 ) ) / x k , we have from (16), (17) and (19) that
R 1 n = 1 Γ q ( 2 α ) k = 1 n x k 1 x k ( x n q s ) q ( 1 α ) D q R k ( s ) d q s .
Now, using the identity
k = 1 n d k ( x k x k 1 ) = d n x n + k = 1 n 1 ( d k d k + 1 ) x k d 1 x 0 ,
we obtain from (15) that (denote Γ q α = Γ q ( 2 α ) )
c D q α u ( x n ) = 1 Γ q α k = 1 n b k ( n ) ( v ( x k ) v ( x k 1 ) ) + R 1 n = 1 Γ q α [ b n ( n ) v ( x n ) k = 1 n 1 ( b k + 1 ( n ) b k ( n ) ) v ( x k ) b 1 ( n ) v ( x 0 ) ] + R 1 n = 1 Γ q α [ b n ( n ) v ( x n ) k = 1 n 1 b k + 1 ( n ) b k ( n ) x k ( u ( x k ) u ( x k 1 ) ) b 1 ( n ) γ 1 ] + R 1 n = 1 Γ q α [ b n ( n ) u ( x n ) u ( x n 1 ) x n k = 1 n 1 c k ( u ( x k ) u ( x k 1 ) ) b 1 ( n ) γ 1 ] + R 1 n ,
where the coefficient
b k ( n ) = 1 x k x k 1 x k ( x n q s ) q ( 1 α ) d q s , c k = ( b k + 1 ( n ) b k ( n ) ) / x k .
Next, to enhance the stability, we further discrete the term a ( x n ) u ( x n ) in Equation (13). From (4), we have
u ( x n ) = u ( x n 1 ) + x n D q u ( x n ) = u ( x n 1 ) + x n D q u ( x n 1 ) + x n 2 D q 2 u ( x n ) = u ( x n 1 ) + x n u ( x n 1 ) u ( x n 2 ) x n 1 + x n 2 D q 2 u ( x n ) .
Then, (notice that x n / x n 1 = 1 q )
a ( x n ) u ( x n ) = a ( x 1 ) u ( x 0 ) + a ( x 1 ) x 1 D q u ( x 0 ) + R 2 n , n = 1 , a ( x n ) u ( x n 1 ) + a ( x n ) [ u ( x n 1 ) u ( x n 2 ) ] / q + R 2 n , n 2 ,
where the error R 2 n = a ( x n ) x n 2 D q 2 u ( x n ) . Thus, with (21) and (23) we obtain the difference discrete scheme of Problem (13)
q α u ( x n ) = f ( x n ) R n , R n = R 1 n + R 2 n , n = 1 , 2 , · · · , N ,
with the boundary value conditions: D q u ( 0 ) = γ 1 , u ( x N ) = γ 2 , where the difference operator
q α u ( x 1 ) = 1 Γ q α ( b 1 ( n ) x 1 u ( x 0 ) b 1 ( n ) x 1 u ( x 1 ) + b 1 ( n ) γ 1 ) + a ( x 1 ) u ( x 0 ) + x 1 a ( x 1 ) γ 1 , n = 1 ,
q α u ( x n ) = 1 Γ q α { c 1 u ( x 0 ) k = 1 n 2 ( c k + 1 c k ) u ( x k ) + 1 q Γ q α a ( x n ) u ( x n 2 ) + + [ b n ( n ) x n + c n 1 ( 1 + 1 q ) Γ q α a ( x n ) ] u ( x n 1 ) b n ( n ) x n u ( x n ) + b 1 ( n ) γ 1 } , 2 n N 1 ,
q α u ( x N ) = 1 Γ q α { c 1 u ( x 0 ) k = 1 N 2 ( c k + 1 c k ) u ( x k ) + 1 q Γ q α a ( x N ) u ( x N 2 ) + + [ b N ( N ) x N + c N 1 ( 1 + 1 q ) Γ q α a ( x N ) ] u ( x N 1 ) b N ( N ) x N γ 2 + b 1 ( N ) γ 1 } , n = N .
Now, we define the difference approximation of Problem (13) by
q α u n = f n , n = 1 , 2 , · · · , N ,
where f n = f ( x n ) . The truncation error of Formula (28) is R n = R 1 n + R 2 n .
In the following, we estimate the truncation error R n .
Lemma 2
([31]). Suppose that v ( x ) is twice q-differentiable on [ x k 1 , x k ] . Then, the error function R k ( x ) of linear interpolation can be expressed as follows
R k ( x ) = 1 1 + q D q 2 v ( ξ k ) ( x x k ) ( x x k 1 ) , x [ x k 1 , x k ] , ξ k ( x k 1 , x k ) , 1 k N .
Lemma 3.
Suppose 0 < q < 1 , 1 < α < 2 and D q is the q-derivative operator of variable s. We have
D q ( x s ) q ( 1 α ) = [ 1 α ] q ( x q s ) q ( α ) ,
| ( x q s ) q ( α ) | x α 1 1 q α 1 1 1 q 2 α .
Proof. 
With (4) and (2), we obtain
D q ( x s ) q ( 1 α ) = ( x s ) q ( 1 α ) ( x q s ) q ( 1 α ) ( 1 q ) s = x 1 α ( q 1 ) s lim m S m ,
where
S m = i = 0 m x q i + 1 s x q i + 2 α s i = 0 m x q i s x q i + 1 α s .
Further,
S m = i = 1 m x q i s x q i + 1 α s [ x q m + 1 s x q m + 2 α s x s x q 1 α s ] = i = 1 m x q i s x q i + 1 α s [ s x ( 1 q 1 α ) ( 1 q m + 1 ) ( x q m + 2 α s ) ( x q 1 α s ) ] = i = 0 m x q i + 1 s x q i + 1 α s [ s x ( 1 q 1 α ) ( 1 q m + 1 ) ( x q m + 2 α s ) ( x q m + 1 s ) ] = i = 0 x q i + 1 s x q i + 1 α s [ s ( 1 q 1 α ) x ] , m .
Substituting this into (32), it yields
D q ( x s ) q ( 1 α ) = x α ( 1 q 1 α ) q 1 i = 0 x q i + 1 s x q i + 1 α s = [ 1 α ] q ( x q s ) q ( α ) .
Next, we estimate (31). Since
( x q s ) q ( α ) = x ( α ) lim m S m , S m = i = 0 m x q i + 1 s x q i + 1 α s ,
and
max 0 s x | x q s x q 1 α s | = max { 1 , | 1 q 1 q 1 α | } 1 q 1 q α 1 ,
max 0 s x x q i + 1 s x q i + 1 α s = 1 q i + 1 1 q i + 1 α , i 1 .
Then,
| S m | 1 q 1 q α 1 i = 1 m 1 q i + 1 1 q i + 1 α = ( 1 q α 1 ) 1 ( 1 q 2 α ) 1 1 q 1 q 3 α 1 q 2 1 q 4 α · · · 1 q m 1 1 q m + 1 α ( 1 q m ) ( 1 q m + 1 ) ( 1 q α 1 ) 1 ( 1 q 2 α ) 1 .
Substituting the above inequality into (33), we complete the proof. □
Below, we give the truncation error estimation.
Theorem 1.
Suppose u ( x ) and D q 3 u ( x ) are continuous functions on [ 0 , b ] . Then, the following estimate of the truncation error function of the difference Equation (28) holds:
| R n | [ 1 4 Γ q ( 2 α ) 1 q α 1 q 1 1 q 2 x n 1 α + a ( x n ) ] x n 2 max 0 x x n | D q 3 u ( x ) | .
Proof. 
Denote R ˜ ( s ) = R k ( s ) , s [ x k 1 , x k ] , 1 k N . We have from (20), (9) (19) and Lemma 3 that
R 1 n = 1 Γ q α k = 1 n x k 1 x k ( x n q s ) q ( 1 α ) D q R k ( s ) d q s = k = 1 n ( x n q s ) q ( 1 α ) Γ q α R k ( s ) | x k 1 x k 1 Γ q α k = 1 n x k 1 x k D q ( x n s ) q ( 1 α ) R k ( s ) d q s = [ 1 α ] q Γ q α 0 x n ( x n q s ) q ( α ) R ˜ ( s ) d q s .
With (7), (8), Lemma 2 and Inequality (31), we have
| R 1 n | | [ 1 α ] q | Γ q α 0 x n | ( x n q s ) q ( α ) R ˜ ( s ) | d q s = | [ 1 α ] q | Γ q α k = 1 n x k 1 x k | ( x n q s ) q ( α ) R k ( s ) | d q s | [ 1 α ] q | Γ q α 1 1 + q 1 4 max 1 k n | x k | 2 max 0 x x n | D q 2 v ( x ) | 0 x n | ( x n q s ) q ( α ) | d q s | [ 1 α ] q | Γ q α 1 1 + q 1 4 max 1 k n | x k | 2 max 0 x x n | D q 2 v ( x ) | x n 1 α 1 1 q α 1 1 1 q 2 α = 1 4 Γ q α 1 1 q 2 1 q α 1 q x n 1 α x n 2 max 0 x x n | D q 3 u ( x ) | .
From (23) and R n = R 1 n + R 2 n , the proof is completed. □

4. The Stability and the Error Analysis

In this section, we study the stability of the difference formula in (28) and give the error estimation of u ( x n ) u n .
Lemma 4.
Suppose 0 < q < 1 , 1 < α < 2 and 0 s x n , then the following property holds:
x n 1 α < ( x n q i + 1 s ) q ( 1 α ) ( x n q s ) q ( 1 α ) , i 0 .
Proof. 
For the left-hand inequality, we have
( x n q i + 1 s ) q ( 1 α ) = x n 1 α j = 0 x n q i + j + 1 s x n q i + j + 2 α s > x n 1 α , 0 s x n , i 0 .
For the right-hand inequality, when i 1 (it is obvious for i = 0 ) we have
( x n q i + 1 s ) q ( 1 α ) ( x n q s ) q ( 1 α ) = x n 1 α j = 0 x n q i + j + 1 s x n q i + j + 2 α s x n 1 α j = 0 x n q j + 1 s x n q j + 2 α s = x n 1 α j = i x n q j + 1 s x n q j + 2 α s ( 1 j = 0 i 1 x n q j + 1 s x n q j + 2 α s ) < 0 ,
which completes the proof. □
Lemma 5.
The coefficient series b k ( n ) defined by (22) have the following properties
x n ( 1 α ) < b 1 ( n ) < ( x n q x 1 ) q ( 1 α ) ,
b k ( n ) = ( x n q x k ) q ( 1 α ) , k = 2 , · · · , n , 2 n N .
Proof. 
From Lemma 4, we obtain
b 1 ( n ) = 1 x 1 x 0 x 1 ( x n q s ) q ( 1 α ) d q s = x 1 x 1 ( 1 q ) i = 0 q i ( x n q i + 1 x 1 ) q ( 1 α ) ,
x n 1 α = x n 1 α ( 1 q ) i = 0 q i < b 1 ( n ) < ( x n q x 1 ) q ( 1 α ) ( 1 q ) i = 0 q i = ( x n q x 1 ) q ( 1 α ) .
This gives (36). Since x k 1 = q x k , x k = x k x k 1 = x k ( 1 q ) , k 2 , by (22) we have
b k ( n ) = 1 x k x k 1 x k ( x n q s ) q ( 1 α ) d q s = 1 x k 0 x k ( x n q s ) q ( 1 α ) d q s 1 x k 0 x k 1 ( x n q s ) q ( 1 α ) d q s = 1 x k ( 1 q ) i = 0 x k q i ( x n q i + 1 x k ) q ( 1 α ) 1 x k ( 1 q ) i = 0 x k 1 q i ( x n q i + 1 x k 1 ) q ( 1 α ) = i = 0 q i ( x n q i + 1 x k ) q ( 1 α ) i = 0 q i + 1 ( x n q i + 2 x k ) q ( 1 α ) = ( x n q x k ) q ( 1 α ) .
This gives (37). □
Lemma 6.
The coefficient series c k = ( b k + 1 ( n ) b k ( n ) ) / x k satisfy the following inequality:
0 < c 1 < c 2 < · · · < c n 1 , 2 n N .
Proof. 
From (36) and (2), we have
c 1 = b 2 ( n ) b 1 ( n ) x 1 > 1 x 1 [ ( x n q x 2 ) q ( 1 α ) ( x n q x 1 ) q ( 1 α ) ] = 1 x 1 [ ( x n q x 2 ) q ( 1 α ) ( x n q 2 x 2 ) q ( 1 α ) ] = 1 x 1 [ x n 1 α i = 0 x n q i + 1 x 2 x n q i + 2 α x 2 x n 1 α i = 0 x n q i + 2 x 2 x n q i + 3 α x 2 ] = x n 1 α x 1 i = 1 x n q i + 1 x 2 x n q i + 2 α x 2 ( x n q x 2 x n q 2 α x 2 1 ) = x n 1 α x 1 q x 2 ( q 1 α 1 ) x n q 2 α x 2 i = 1 x n q i + 1 x 2 x n q i + 2 α x 2 > 0 .
Next, since
b k + 1 ( n ) b k ( n ) = ( x n q x k + 1 ) q ( 1 α ) ( x n q x k ) q ( 1 α ) = x n 1 α i = 0 x n q i + 1 x k + 1 x n q i + 2 α x k + 1 x n 1 α i = 0 x n q i + 2 x k + 1 x n q i + 3 α x k + 1 = x n 1 α i = 1 x n q i + 1 x k + 1 x n q i + 2 α x k + 1 [ x n q x k + 1 x n q 2 α x k + 1 1 ] ,
so
c k c k 1 = ( b k + 1 ( n ) b k ( n ) ) x k ( b k ( n ) b k 1 ( n ) ) x k 1 = x n 1 α x k i = 1 x n q i + 1 x k + 1 x n q i + 2 α x k + 1 [ x n q x k + 1 x n q 2 α x k + 1 1 ] x n 1 α q x k i = 1 x n q i + 2 x k + 1 x n q i + 3 α x k + 1 [ x n q 2 x k + 1 x n q 3 α x k + 1 1 ] = x n 1 α x k i = 2 x n q i + 1 x k + 1 x n q i + 2 α x k + 1 { x n q 2 x k + 1 x n q 3 α x k + 1 [ x n q x k + 1 x n q 2 α x k + 1 1 ] 1 q [ x n q 2 x k + 1 x n q 3 α x k + 1 1 ] } x n 1 α x k { [ x n q x k + 1 x n q 2 α x k + 1 1 ] 1 q [ x n q 2 x k + 1 x n q 3 α x k + 1 1 ] } = x n 1 α x k { [ 1 q s 1 q 2 α s 1 ] 1 q [ 1 q 2 s 1 q 3 α s 1 ] } ,
where s = x k + 1 x n , 0 < s 1 . Let f ( s ) = 1 q s 1 q 2 α s 1 1 q 1 q 2 s 1 q 3 α s + 1 q . Then,
f ( s ) = ( q 2 α q ) [ 1 ( 1 q 2 α s ) 2 1 ( 1 q 3 α s ) 2 ] > 0 .
Since f ( 0 ) = 0 , then f ( s ) > 0 , that is, c k c k 1 > 0 , k = 2 , 3 , · · · , N 1 .  □
According to (25)–(27), we write the difference equations of System (28) as follows:
[ b 1 ( n ) x 1 + Γ q α a ( x 1 ) ] u 0 b 1 ( n ) x 1 u 1 = Γ q α f 1 Γ q α x 1 a ( x 1 ) γ 1 b 1 ( n ) γ 1 , · · · · · · · · · · · · · · · · · · · · · · · · · · · · · c 1 u 0 ( c 2 c 1 ) u 1 [ c i c i 1 + 1 q Γ q α a ( x i + 1 ) ] u i 1 + [ b i + 1 ( n ) x i + 1 + c i + ( 1 + 1 q ) Γ q α a ( x i + 1 ) ] u i b i + 1 ( n ) x i + 1 u i + 1 = Γ q α f i + 1 b 1 ( n ) γ 1 , · · · · · · · · · · · · · · · · · · · · · · · · · · · · · c 1 u 0 ( c 2 c 1 ) u 1 ( c 3 c 2 ) u 2 [ c N 1 c N 2 + 1 q Γ q α a ( x N ) ] u N 2 + [ b N ( N ) x N + c N 1 + ( 1 + 1 q ) Γ q α a ( x N ) ] u N 1 = Γ q α f N b 1 ( N ) γ 1 + b N ( N ) x N γ 2 ,
where f i = f ( x i ) , 1 i N .
Theorem 2.
The solution of difference equation in (28) exists uniquely.
Proof. 
Let A be the coefficient matrix of equations of System (28) with elements a i j ( i , j = 0 , 1 , · · · , N 1 ) given in (39). Since b k ( n ) > 0 , c k + 1 > c k > 0 , a ( x ) 0 , we have
j = 0 N 1 | a 0 j | = b 1 ( n ) x 1 a 00 = b 1 ( n ) x 1 + Γ q α a ( x 1 ) ,
j = 0 , j i N 1 | a i j | = c i + 1 q Γ q α a ( x i + 1 ) + b i + 1 ( n ) x i + 1 a i i = c i + ( 1 + 1 q ) Γ q α a ( x i + 1 ) + b i + 1 ( n ) x i + 1 , i = 1 , 2 , · · · , N 2 ,
j = 0 N 2 | a N 1 , j | = c N 1 + 1 q Γ q α a ( x N ) < a N 1 , N 1 = c N 1 + ( 1 + 1 q ) Γ q α a ( x N ) + b N ( N ) x N .
Therefore, A is diagonally dominant and irreducible (noting that a i j 0 , j = i 1 , i , i + 1 ) which implies that A is a invertible matrix [36]. The proof is completed. □
In the following, we give the stability analysis of the difference formula.
Theorem 3.
Let a ( x ) a 0 > 0 . Then, the following stability estimation for the solution of the difference equation in (28) holds:
| u n | 1 a 0 max 1 k N | f ( x k ) | + ( 1 Γ q ( 2 α ) a 0 b 1 ( n ) + x 1 ) | γ 1 | + | γ 2 | , n 1 .
Proof. 
Suppose | u i | = max 0 j N 1 | u j | . From (39), we can see that when i = 0 ,
[ b 1 ( n ) x 1 + Γ q α a ( x 1 ) ] | u 0 | b 1 ( n ) x 1 | u 1 | + Γ q α | f 1 | + Γ q α x 1 a ( x 1 ) | γ 1 | + b 1 ( n ) | γ 1 | ,
so,
| u 0 | 1 a ( x 1 ) [ | f 1 | + x 1 a ( x 1 ) ] | γ 1 | + 1 Γ q α a ( x 1 ) b 1 ( n ) | γ 1 | 1 a 0 | f 1 | + ( 1 Γ q α a 0 b 1 ( n ) + x 1 ) | γ 1 | .
When i = N 1 , from (39) we have
[ b N ( N ) x N + Γ q α a ( x N ) ] | u N 1 | Γ q α | f N | + b N ( N ) x N | γ 2 | + b 1 ( N ) | γ 1 | ,
| u N 1 | 1 b N ( N ) x N + Γ q α a ( x N ) [ Γ q α | f N | + b N ( N ) x N | γ 2 | + b 1 ( N ) | γ 1 | ] 1 a 0 | f N | + 1 Γ q α a 0 b 1 ( N ) | γ 1 | + | γ 2 | .
When 1 i N 2 , we have
[ c i + b i + 1 ( n ) x i + 1 + ( 1 + 1 q ) Γ q α a ( x i + 1 ) ] | u i | [ c 1 + ( c 2 c 1 ) + · · · + ( c i c i 1 ) + 1 q Γ q α a ( x i + 1 ) + b i + 1 ( n ) x i + 1 ] max 1 j N 2 | u j | + Γ q α | f i | + b 1 ( n ) | γ 1 | .
Therefore,
| u i | 1 a ( x i + 1 ) | f i | + 1 Γ q α a ( x i + 1 ) b 1 ( n ) | γ 1 | 1 a 0 | f i | + 1 Γ q α a 0 b 1 ( n ) | γ 1 | .
Through the three cases of discussion above and noting x 1 = x 1 x 0 = x 1 , the proof is completed. □
Finally, the error estimation is given in the following theorem.
Theorem 4.
Let u ( x ) and u n be the solutions of Equations (13) and (28), respectively. Suppose that u ( x ) and D q 3 u ( x ) are both continuous functions on [ 0 , b ] . Then, the following error estimation holds:
| u ( x n ) u n | 1 a 0 [ 1 4 Γ q ( 2 α ) 1 q 2 1 1 q q α 1 x n 1 α + a ( x n ) ] x n 2 max 0 x x n | D q 3 u ( x ) | .
Proof. 
Let error function e n = u n u ( x n ) . From (24) and (28), we see that e n satisfies the difference equation: q α e n = R n with γ 1 = γ 2 = 0 . Thus, we completed the proof by using Theorems 1 and 3. □

5. Numerical Experiment

This section provides two numerical examples to illustrate the effectiveness of the proposed difference formula. The experiments are carried out by using Matlab R2109a.
Example 1.
In this experiment, we solve the following q-fractional differential equation using the difference method (28)
c D q 11 / 10 u ( x ) + ( x + 2 ) u ( x ) = ( 1 q 2 ) x 2 α 1 q 2 α Γ q ( 2 α ) + ( x 2 1 ) ( x + 2 ) , D q u ( 0 ) = 0 , u ( 1 ) = 0 , 0 < x 1 , x T q , b .
The exact solution is u ( x ) = x 2 1 . The experiment results are shown in Table 1.
Example 2.
In this experiment, we solve the following q-fractional differential equation using the difference method (28)
c D q 13 / 10 u ( x ) + 4 cos x u ( x ) = ( 1 q 2 ) x 2 α 1 q 2 α Γ q ( 2 α ) + 4 cos x ( x 2 + x 1 ) , D q u ( 0 ) = 1 , u ( 1 ) = 1 , 0 < x 1 , x T q , b .
The exact solution is u ( x ) = x 2 + x 1 . The experiment results are shown in Table 2.

6. Conclusions

We consider how to solve a Caputo type q-fractional boundary value problem where the order of fractional derivative is 1 < α < 2 . Based on the numerical quadrature and q-Taylor expansion, we discretize the q-fractional equation and derive the truncation error boundness. The unique existence and the stability of the numerical solution are also proved. Finally, we obtain the error estimation and the validity of the theoretical analysis is verified by numerical experiments.

Author Contributions

Conceptualization, Y.S. and T.Z.; Formal analysis, Y.S. and T.Z.; Methodology, Y.S. and T.Z.; Validation, T.Z.; Writing—original draft, Y.S. and T.Z.; Writing—review and editing, Y.S. and T.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the State Key Laboratory of Synthetical Automation for Process Industries Fundamental Research Funds, grant number 2013ZCX02.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the editor and the referees for their positive comments and useful suggestions which have improved this manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Baleanu, D. New applications of fractional variational principles. Rep. Math. Phys. 2008, 61, 199–206. [Google Scholar] [CrossRef]
  2. Baleanu, D.; Etemad, S.; Mohammadi, H.; Rezapour, S. A novel modeling of boundary value problems on the glucose graph. Commun. Nonlinear Sci. Numer. Simul. 2021, 100, 105844. [Google Scholar] [CrossRef]
  3. Mohammadi, H.; Kumar, S.; Rezapour, S.; Etemad, S. A theoretical study of the Caputo–Fabrizio fractional modeling for hearing loss due to Mumps virus with optimal control. Chaos Solitons Fractals 2021, 144, 110668. [Google Scholar] [CrossRef]
  4. Rezapour, S.; Etemad, S.; Mohammadi, H. A mathematical analysis of a system of Caputo–Fabrizio fractional differential equations for the anthrax disease model in animals. Adv. Differ. Equ. 2020, 2020, 481. [Google Scholar] [CrossRef]
  5. Mohammadi, H.; Rezapour, S.; Etemad, S. On a hybrid fractional Caputo–Hadamard boundary value problem with hybrid Hadamard integral boundary value conditions. Adv. Differ. Equ. 2020, 2020, 455. [Google Scholar] [CrossRef]
  6. Mohammadi, H.; Rezapour, S.; Etemad, S.; Baleanu, D. Two sequential fractional hybrid differential inclusions. Adv. Differ. Equ. 2020, 2020, 385. [Google Scholar] [CrossRef]
  7. Thaiprayoon, C.; Sudsutad, W.; Alzabut, J.; Etemad, S.; Rezapour, S. On the qualitative analysis of the fractional boundary value problem describing thermostat control model via ψ-Hilfer fractional operator. Adv. Differ. Equ. 2021, 2021, 201. [Google Scholar] [CrossRef]
  8. Baleanu, D.; Jarad, F. Difference discrete variational principles. In Mathematical Analysis and Applications; American Institute of Physics: Melville, NY, USA, 2006. [Google Scholar]
  9. Kelley, W.G.; Peterson, A. Difference Equations; Academic Press: Boston, MA, USA, 1991. [Google Scholar]
  10. Bohner, M.; Peterson, A.C. Dynamic Equations on Time Scales; Birkhäuser: Boston, MA, USA, 2001. [Google Scholar]
  11. Hilger, S. Ein Maβkettenkalkül mit Anwendung auf Zentrumsmannigfaltigkeiten. Ph.D. Thesis, Universität Würzburg, Würzburg, Germany, 1988. [Google Scholar]
  12. Jackson, F.H. On q-functions and a certain difference operator. Trans. R. Soc. Edinb. 1908, 46, 64–72. [Google Scholar] [CrossRef]
  13. Gul, S.; Noor, M.A.; Baleanu, D. Novel higher order iterative schemes based on the q-Calculus for solving nonlinear equations. AMIS. Math. 2022, 7, 3524–3553. [Google Scholar]
  14. Annaby, M.H.; Mansour, Z.S. q-Fractional Calculus and Equations; Springer: New York, NY, USA, 2012. [Google Scholar]
  15. Aral, A.; Gupta, V.; Agarwal, R.P. Applications of q-Calculus in Operator Theory; Springer: New York, NY, USA, 2013. [Google Scholar]
  16. Bohner, M.; Peterson, A. Advances in Dynamic Equations on Time Scales; Springer: New York, NY, USA, 2003. [Google Scholar]
  17. Georgiev, S.G. Fractional Dynamic Calculus and Fractional Dynamic Equations on Time Scales; Springer: New York, NY, USA, 2018. [Google Scholar]
  18. Kac, V.; Cheung, P. Quantum Calculus; Springer: New York, NY, USA, 2002. [Google Scholar]
  19. Butt, R.I.; Abdeljawad, T.; Alqudah, M.A.; Rehman, M. Ulam stability of caputo q-fractional delay difference equatioin: q-fractional Gronwall inequality approach. J. Inequal. Appl. 2019, 305. [Google Scholar] [CrossRef]
  20. Abdeljawad, T.; Alzabut, J.; Baleanu, D. A generalized q-fractional Gronwall inequality and its applications to nonlinear delay q-fractional difference systems. J. Inequal. Appl. 2016, 2016, 240. [Google Scholar] [CrossRef] [Green Version]
  21. Andrews, G.E.; Askey, R.; Roy, R. Special Functions; Cambridge University Press: Cambridge, UK, 1999. [Google Scholar]
  22. Jarad, F.; Abdeljawad, T.; Baleanu, D. Stability of q-fractional non-autonomous systems. Nonlinear Anal. Real World Appl. 2013, 14, 780–784. [Google Scholar] [CrossRef]
  23. Abdeljawad, T.; Benli, B.; Baleanu, D. A generalized q-Mittag-Leffler function by q-Caputo fractional linear equations. Abstr. Appl. Anal. 2012, 2012, 546062. [Google Scholar] [CrossRef]
  24. Ferreira, R. Nontrivial solutions for fractional q-difference boundary value problems. Electron. J. Qual. Theory Differ. Equ. 2010, 70, 1–10. [Google Scholar] [CrossRef]
  25. El-Shahed, M.; Al-Askar, F. Positive solutions for boundary value problem of nonlinear fractional q-difference equation. ISRN Math. Anal. 2011, 1–12. [Google Scholar] [CrossRef] [Green Version]
  26. Liang, S.; Zhang, S. Existence and uniqueness of positive solutions for three-point boundary value problem with fractional q-difference equation. Appl. Math. Comput. 2012, 40, 277–288. [Google Scholar]
  27. Liu, Y. Existence of positive solutions for boundary value problem of nonlinear fractional q-difference equation. Appl. Math. 2013, 4, 1450–1454. [Google Scholar]
  28. Abdeljawad, T.; Benli, B. A quantum generalized Mittag-Leffler function via Caputo q-fractional equations. arXiv 2011, arXiv:1102.1585. [Google Scholar]
  29. Abdeljawad, T.; Benli, D. Caputo q-fractional initial value problems and a q-analogue Mittag-Leffler function. Commun. Nonlinear Sci. 2011, 16, 4682–4688. [Google Scholar] [CrossRef] [Green Version]
  30. Salahshour, S.; Ahmadian, A.; Chan, C.S. Successive approximation method for Caputo q-fractional IVPs. Commun. Nonlinear Sci. 2015, 24, 153–158. [Google Scholar] [CrossRef]
  31. Zhang, T.; Tong, C. A difference method for solving the nonlinear q-fractional differential equations on time scales. Fractals 2020, 28, 2050121. [Google Scholar] [CrossRef]
  32. Wu, G.C.; Baleanu, D. New applications of the variational iteration method—From differential equations to q-fractional difference equations. Adv. Differ. Equ.-Ny. 2013, 1, 21–37. [Google Scholar] [CrossRef] [Green Version]
  33. Jackson, F.H. On q-definite integral. Quart. J. Pure Appl. Math. 1910, 41, 193–203. [Google Scholar]
  34. Atici, F.M.; Eloe, P.W. Fractional q-calculus on a time scales. J. Nonlinear Math. Phys. 2007, 14, 341–352. [Google Scholar] [CrossRef] [Green Version]
  35. Rajkovic, P.M.; Marinkovic, S.D.; Stankovic, M.S. On q-analogues of Caputo derivative and Mittag-Leffler function. Fract. Calc. Appl. Anal. 2007, 10, 359–373. [Google Scholar]
  36. Ortega, J.M.; Rheinboldt, W.C. Iterative Solution of Nonlinear Equations in Several Variables; Academic Press: Cambridge, MA, USA, 1970. [Google Scholar]
Table 1. Experiment results of problem (42), q = 3 / 5 , N = 10 .
Table 1. Experiment results of problem (42), q = 3 / 5 , N = 10 .
x n = q N n u ( x n ) u n | u ( x n ) u n |
0.0000−1.0000−1.02010.0201
( 3 / 5 ) 9 −0.9999−1.02040.0205
( 3 / 5 ) 8 −0.9997−1.02060.0209
( 3 / 5 ) 7 −0.9992−1.02070.0214
( 3 / 5 ) 6 −0.9978−1.02010.0222
( 3 / 5 ) 5 −0.9940−1.01720.0232
( 3 / 5 ) 4 −0.9832−1.00710.0239
( 3 / 5 ) 3 −0.9533−0.97570.0224
( 3 / 5 ) 2 −0.8704−0.88440.0140
( 3 / 5 ) 1 −0.6400−0.63170.0083
Table 2. Experiment results of problem (43), q = 1 / 2 , N = 10 .
Table 2. Experiment results of problem (43), q = 1 / 2 , N = 10 .
x n = q N n u ( x n ) u n | u ( x n ) u n |
0.0000−1.0000−1.00970.0097
( 1 / 2 ) 9 −0.9980−1.00780.0097
( 1 / 2 ) 8 −0.9961−1.00580.0097
( 1 / 2 ) 7 −0.9921−1.00190.0098
( 1 / 2 ) 6 −0.9841−0.99400.0098
( 1 / 2 ) 5 −0.9678−0.97770.0099
( 1 / 2 ) 4 −0.9336−0.94330.0097
( 1 / 2 ) 3 −0.8594−0.86770.0083
( 1 / 2 ) 2 −0.6875−0.68960.0021
( 1 / 2 ) 1 −0.2500−0.23790.0121
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sheng, Y.; Zhang, T. A Numerical Approach to Solve the q-Fractional Boundary Value Problems. Fractal Fract. 2022, 6, 200. https://doi.org/10.3390/fractalfract6040200

AMA Style

Sheng Y, Zhang T. A Numerical Approach to Solve the q-Fractional Boundary Value Problems. Fractal and Fractional. 2022; 6(4):200. https://doi.org/10.3390/fractalfract6040200

Chicago/Turabian Style

Sheng, Ying, and Tie Zhang. 2022. "A Numerical Approach to Solve the q-Fractional Boundary Value Problems" Fractal and Fractional 6, no. 4: 200. https://doi.org/10.3390/fractalfract6040200

Article Metrics

Back to TopTop