1.
Introduction
Mathematicians and physicists have become increasingly interested in fractional calculus and quantum calculus (q-calculus), which provide an effective way to describe a wide range of real-world dynamical phenomena encountered in scientific fields and engineering. In addition, they have paid attention to the study of partial differential equations because they are very useful in modelling practical phenomena; for example, for time-fractional stochastic models, see [1,2], for the time fractional chemotaxis model, see [3], and for the time fractional Rayleigh-Stokes equation, see [4]. Researchers find it difficult to obtain direct solutions to most fractional and q-fractional differential equations. As a result, the researchers are interested in studying the existence and uniqueness of solutions to various fractional integro-differential equations. Researchers have obtained numerous results concerning the existence and uniqueness of solutions to a number of fractional integro-differential equations [1,6]. Furthermore, many researchers are interested in the existence of solutions to q-fractional integro-differential equations [7,8]. Simultaneously, numerous numerical solutions to many types of integro-differential equations have been obtained [9,10,11]. The authors presented analytical and numerical solutions to some ordinary integro-differential equations, as well as fractional q integro-differential equations with nonlocal and initial conditions [12,13]. We now investigate the nonlocal fractional q integro-differential equations shown below analytically and numerically:
where CFIα0ϕ′(t) ,CFDβ0ϕ(t) are the Caputo-Fabrizio fractional integral and derivative of order α0 and β0 for the unkwon function respectively, Iγ0q is the Riemann Liouville type's fractional q-integral of order γ0⩾0, ϱ,ξ are constants, and q,α0,β0∈(0,1). We use the definitions of the integral and derivative fractional Caputo-Fabrizio to prove the existence, uniqueness, and continuous dependence of the solution. Then, we solve the proposed equation numerically by using two methods: The first is the merging of the cubic b-spline and Simpson's method, and the second is the merging of the finite difference and trapezoidal methods. Both the cubic b-spline and finite difference methods will be applied to the derivative parts of the equation, and both Simpson's method and the trapezoidal method will be applied to the integral part. These methods will transform the proposed equation into a system of algebraic equations. Therefore, we can obtain the solution to the problem by solving this system together.
This paper is structured as follows: In Section 2, we introduce some key definitions and lemmas that will be needed throughout our paper. We give the main results in Section 3. Section 4 contains an overview of the numerical techniques that will be employed in our paper. In Section 5, we discuss the existence of the solution to some examples, and then we will get the numerical solution to them using the cubic-Simpson's method and the finite-trapezoidal method. Finally, we introduce the conclusion section.
2.
Basic concepts
Some key definitions and lemmas related to q-calculus and Fractional calculus will be introduced.
Definition 2.1. [14] We can define the Caputo–Fabrizio fractional derivative of order 0<E<1 of any function U(t)∈C[a,b] as follows:
where ψ is a normalization function with the property that ψ(0)=ψ(1)=1.
Later, the above Caputo-Fabrizio fractional derivative is modified by Losada and Nieto [11] to become
They demonstrated that ψ(E)=22−E, for any E∈(0,1). Hence, we get
Also, they showed that
where CFIEU(t) is the fractional integral of order E for the function U(t).
Definition 2.2. [16] Assume that U(t) defined on [0,1], q∈(0,1), E⩾0. Then, we can define the fractional q-integral of the Riemann-Liouville type as
where
and satisfy Γq(E+1)=[E]qΓq(E), where [E]q=1−qE1−q,
Lemma 2.3. [16] Using q-integration by parts, we get the following:
For more details on the properties of q fractional calulus, see [18,19].
3.
Main results
Lemma 3.1. Assume that ν=(1−q)ρ∑mx=0qx. The solution of (1.1) and (1.2) is obtained as follows:
where,
Proof. Integrating (1.1) first time from 0→t, we obtain
Using (2.1) and (2.2), we get
Put ϕ′(t)=z(t) in (3.3), we get
where
using (1.2), then
Therefore,
Now, we obtain (3.1) and (3.2) from (3.4)–(3.6). The proof is completed. □
Theorem 3.2. Let the problem (1.1) and (1.2) satisfy the following conditions:
1) F:[0,1]×R5→R, μ:[0,1]×R→R are measurable and continuous for almost all t∈[0,1].
2) There exist functions A1(t),A2(t)∈L1[0,1] and a positive constants N1,N2>0, such that for any ϕ,z,ζ,u,υ∈R, we have
3)
4)
Then, (3.2) has at least a solution z(t)∈C[0,1].
Proof. Define the operator H associated with (3.2) by
Let ϑr={z(t)∈R:‖z‖C≤r}, where r=|ξ|+a1+N1ν−1|ϱ|+N1a21−(4N1+N1β0−(β0−1)(eβ0β0−1−1)β20 + N1N2(γ0+1)Γq(γ0+1)).
Thus, for z(t)∈ϑr, we get
This proves that H:ϑr→ϑr and {Hz(t)} is uniformly bounded in ϑr.
Now, Assume that 0<t1,t2≤1 and |t2−t1|<δ; therefore,
As a result, {Hz(t)} is equi-continuous in ϑr.
Assume that zk(t)∈ϑr, zk(t)→z(t)(k→∞). Therefore, the continuity of the two functions F and μ, implies that F(t,ϕk,zk,ζk,uk,υk)→F(t,ϕ,z,ζ,u,υ) and μ(t,zk)→μ(t,z) as k→∞. Also,
Using assumptions 1 and Lebesgue dominated convergence theorem [20], then
Then, Hzk(t)→Hz(t) as k→∞. As a result, the operator H is continuous in ϑr. Therefore, Schauder's fixed point Theorem implies that there exists at least a solution z(t)∈C[0,1] of (3.2). As a result, Lemma 3.1 implies that (1.1) and (1.2) possess a solution ϕ(t)∈C[0,1].
□
Theorem 3.3. Assume that F and μ are measurable and continuous for all t∈[0,1] and satisfy the following conditions:
(i)
(ii)
Therefore (3.2), has a unique solution.
Proof. Assume that (3.2) has two solutions z(t),z∗(t). Therefore, we have
Hence,
Since 4N1+N1β0−(β0−1)(eβ0β0−1−1)β20+N1N2(γ0+1)Γq(γ0+1)<1, this implies that z(t)=z∗(t). Therefore, the solution of (3.2) is unique. Thus, Lemma 3.1 implies that the proplem (1.1) and (1.2) possess a unique solution ϕ(t)∈C[0,1].
□
3.1. Continuous dependence on ϱ
Definition 3.4. The solution ϕ(t)∈C[0,1] of (1.1) and (1.2) depends continuously on ϱ, if
where ϕ∗(t) is the solution of
Theorem 3.5. Assume that conditions 1–4 of the Theorem 3.3 are satisfied. Therefore, the solution of (1.1) and (1.2) is continuously dependent on ϱ.
Proof. Assume that z(t), z∗(t) are two solutions of (1.1) and (1.2) and (3.7) and (3.8) respectively. Then,
Hence,
Therefore,
Hence,
As a result, the solution of (1.1) and (1.2) is continually dependent on ϱ.
□
4.
Methodology of numerical technique
The problem (1.1) and (1.2) can be expressed as follows:
Assume that μ(t,ϕ′(t))=A2(t)+N2κ3(ϕ′(t)), where κ1(ϕ′(t)),κ2(ϕ(t)),κ3(ϕ′(s)) are nonlinear terms for the unknown function. Then, by using (2.1)–(2.3), Equation (4.1) become:
Now, the interval of integration [0,t] of Eq (4.2) is subdivided into l equally spaced intervals of width h=(ti−0)/i,i⩾1 [21]. Taking ϕ″(ti)=ϕ″i,ϕ′(ti)=ϕ′i, κ1(ϕ′(ti))=κ1(ϕ′i), κ2(ϕ(ti))=κ2(ϕi), κ3(ϕ′(sj))=κ3(ϕ′j), A1(ti)=A1,i,A2(sj)=A2,j, let ki,j=1Γq(γ0)(ti−qsj)(γ0−1), Ki,j=11−β0e−β0(ti−sj)1−β0. Therefore, (4.2) can be expressed as follows:
where Bi=A1,i+N1∫ti0ki,jA2,jdqs.
4.1. A summary of the finite-trapezoidal method
1) We use the first and second order central finite difference method to approximate the derivative part of (4.3) as follows:
2) We use the trapezoidal rule to approximate the integral part of (4.3) as follows:
3) Therefore, (4.3) becomes:
4.2. A summary of the cubic-Simpson's method
We can obtain the numerical solution of (4.3) by using a merge of cubic b-spline with the Simpson's method as follows:
1) The unkown function ϕ(t) and its derivatives can be approximated by using cubic b-spline as follows [22]:
where Ωi are constants to be determined.
2) We use the Simpson's method [23] to approximate the integral part of (4.3).
3) As a result, we can write (4.3) as follows:
5.
Test problems
Now, two numerical examples will be introduced by using the following two methods:
1) Finite-trapezoidal method.
2) cubic-Simpson method.
Problem 1. In (4.2), taking A1(t)=t(−0.0468103t4/3−0.0333333t−0.377778)−0.0833333cos(t2)−0.185185e−1.5t−0.166667sin(t)cos(t)+2.18519,A2(t)=t, N1=112,N2=110,α0=0.4,β0=0.6, γ0=43,q=0.5, κ1(ϕ′(t))=sin(ϕ′(t)),κ2(ϕ(t))=cos(ϕ(t)), κ3(ϕ′(t))=ϕ′(t). Then,
Therefore, the conditions of the Theorem 3.2 are clearly satisfied. As a result, this problem has a unique solution. Now, to solve this problem, we take l=20,ρ=0.2,m=2,ϱ=0.0045625,ξ=0. Then, we apply two methods: the first is finite-trapezoidal method and the second is the cubic-Simpson's method. The exact solution of this problem is ϕ(t)=t2.
Table 1 and Figure 1 above demonstrate the comparison between the exact solutions and the numerical solutions of the problem using two numerical methods. We can see from the results that both numerical methods are effective. Furthermore, the continuous dependence on ϱ using the cubic-Simpson's method will be studied. Taking |ϱ−ϱ∗|=10−4⇒|ϕ(0.2)−ϕ∗(0.2)|=5.71426×10−4. Therfore, ϕ(t) is continuous dependence on ϱ.
Problem 2. In (4.2), taking A1(t)=−0.0541126t2+(0.0415584t2−1.19919)cos(t)+0.0840336e−0.25t+(0.0121212t+0.121008)sin(t)+0.0437229,A2(t)=sin(t),N1=114, N2=111,α0=0.6,β0=0.2,γ0=3, q=0.2,κ1(ϕ′(t))=ϕ′(t),κ2(ϕ(t))=ϕ(t), κ3(ϕ′(t))=ϕ′(t). Then,
Therefore, the conditions of the Theorem (3.2) are clearly satisfied. As a result, this problem has a unique solution. Now, to solve this problem, we take l=20,ρ=0.5,m=1,ϱ=0.430633,ξ=0. Then, we apply two methods: the first is finite-trapezoidal method and the second is the cubic-Simpson's method. The exact solution of this problem is ϕ(t)=cos(t).
Table 2 and Figure 2 above demonstrate the comparison between the exact solutions and the numerical solutions of the problem using two numerical methods. The results tabulated in the above table demonstrate that the finite difference-trapezoidal method is better than cubic-Simpson method.
6.
Conclusions
We have demonstrated the existence and uniqueness of a solution for a nonlocal fractional q-integro differential equation. We investigated whether or not the answer has a continuous reliance on ϱ. This section provides a synopsis of the finite difference, trapezoidal, and cubic Simpson's methods. The numerical solution is applied to two cases, and the results of those solutions are compared with the exact solution. The findings indicated that the approach is not only successful but also straightforward to put into practice.
Use of AI tools declaration
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
Acknowledgments
The authors are thankful to the Taif University (supporting project number TURSP-2020/160), Taif, Saudi Arabia.
Conflict of interest
The authors declare that they have no competing interests.