Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 Mar 5;14:5396. doi: 10.1038/s41598-024-55943-4

Explicit scheme for solving variable-order time-fractional initial boundary value problems

Asia Kanwal 1, Salah Boulaaras 2,, Ramsha Shafqat 3, Bilal Taufeeq 4, Mati ur Rahman 5,6
PMCID: PMC10914797  PMID: 38443513

Abstract

The creation of an explicit finite difference scheme with the express purpose of resolving initial boundary value issues with linear and semi-linear variable-order temporal fractional properties is presented in this study. The rationale behind the utilization of the Caputo derivative in this scheme stems from its known importance in fractional calculus, an area of study that has attracted significant interest in the mathematical sciences and physics. Because of its special capacity to accurately represent physical memory and inheritance, the Caputo derivative is a relevant and appropriate option for representing the fractional features present in the issues this study attempts to address. Moreover, a detailed Fourier analysis of the explicit finite difference scheme’s stability is shown, demonstrating its conditional stability. Finally, certain numerical example solutions are reviewed and MATLAB-based graphic presentations are made.

Keywords: Fractional derivatives, Caputo derivative, Explicit scheme, Stability analysis, Initial boundary value problem, Fractional diffusion equations

Subject terms: Engineering, Mathematics and computing, Physics

Subject terms: Engineering, Mathematics and computing, Physics

Introduction

Fractional calculus (FC), an extension of classical calculus that involves the integration and differentiation of fractional order, has a rich history dating back to 1695, when the concept of the semi-derivative was first discussed in correspondence between G. W. Leibniz and Marquis de L’Hospital1. Since then, notable mathematicians, including Euler, Liouville, Laplace, Riemann, Grunwald, and Letnikov, have contributed to the development of fractional operators25. The theory of fractional calculus has undergone rapid growth in the 19th century, with applications in various fields, such as fractional geometry, fractional differential equations, and fractional dynamics68. Today, fractional calculus finds numerous uses in contemporary engineering and research. Methods and tools of fractional calculus are employed in a wide range of fields, including rheology, viscoelasticity, acoustics, optics, chemical and statistical physics, robotics, control theory, electrical and mechanical engineering, and bioengineereing912. The authors of13 considered a 4D memrister system and analyzed its bifurcation, chaos and implement its circuit along with dynamical investigations. The authors of14 discussed in their book with the goal of filling the knowledge gap and giving readers a thorough and organized explanation of the key concepts and uses of fractional calculus. A bibliographic review of fractional-order control laws for robotic manipulators, robot vehicles, man-robot systems, and biologically inspired robots was presented by the authors15. The authors of16 utilized a data-driven approach, the study computes inflation expectations, the monetary policy transparency index, and associated volatility spillover effects. The analysis focuses on the optimization processes of monetary policy transparency that impact inflation and inflation expectations volatility. The most recent advancements and patterns in the use of FC in biology and biomedicine are reviewed by the writers in a paper they published. Nature frequently demonstrates that it operates according to rather basic principles, which cause complex occurrences to arise as a result. Of these, the paper discusses the characteristics of respiratory lung tissue, whose inherent solutions non-integer parametric models and non-integer differ-integral solutions-occur in the middle of FC17.

The application of fractional calculus spans various fields and has gained significant attention in recent years. In physics, fractional calculus has been used to describe anomalous diffusion processes, fractional quantum mechanics, and viscoelasticity in materials18,19. In mathematical biology, fractional calculus has been employed to model the dynamics of populations, the spread of infectious diseases, and the behavior of biological networks20,21. In finance and economics, fractional calculus has been utilized to analyze stock market volatility, option pricing, and fractional order economic models22,23. Furthermore, fractional calculus has found applications in image processing, signal processing, control systems, and many other areas. Its ability to capture memory and long-range dependence provides a powerful tool for modeling complex phenomena in diverse disciplines. In the context of fractional calculus, Caputo derivatives are commonly used24.

Various numerical methods have been proposed by several authors to solve the fractional diffusion equation. Chen et al.25, Birajdar and Dhaigude26, Zhang and Liu27, Liu et al.28, and Lin and Xu29 developed explicit finite difference schemes for solving the fractional diffusion equation, while Birajdar30 obtained stability for a highly nonlinear time fractional diffusion equation. Furthermore, Dhaigue and Birajdar31 applied the discrete Adomian decomposition method to solve various types of fractional partial differential equations. Recently, Kumar et al.32 obtained analytical solutions for fractional differential equations. Despite these advances, fractional calculus is still relatively unknown and has only recently gained widespread applications33.

Luo et al.34 proposed a method for dealing with a specific type of nonlinear fractional difference system that has variable order and fixed initial values. In another study, Luo et al.35 investigated a stochastic fractional differential equation (SFDE) with time delays, specifically stochastic Hilfer-type SHFDEs with non-Lipschitz coefficients. Using the Laplace transform and mathematical inequalities, the authors derived an implicit solution for the SHFDEs and presented an averaging principle36. Additionally, Luo et al.37 proposed the finite-time stability of stochastic fractional-order delay differential equations. Zou et al.38 also derived an averaging principle for the system using mathematical inequalities and novel assumptions. Furthermore, Huang et al.39 studied another type of SFDEs called conformable fractional stochastic differential equations (CFSDEs) that are driven by fractional Brownian motion with infinite delay. The authors used mathematical methods and a fixed-point theorem to investigate the existence of solutions and the controllability of the system.

The aim of this study is to address two significant challenges in the field of fractional differential equations. Firstly, we tackle the lack of stability analysis in many existing methods for solving such equations. To overcome this limitation, we have developed a scheme specifically tailored for variable-order time fractional initial boundary value problems. Additionally, we have conducted a comprehensive stability analysis of the explicit finite difference scheme. Secondly, our scheme is applicable to both linear and semi-linear equations. However, this paper focuses on presenting numerical results related to the application of our scheme to linear equations, an area that has received less attention compared to similar schemes applied to semi-linear equations. Linear time fractional equations offer several advantages, including easier solvability using standard numerical methods, a simpler mathematical structure, and the ability to model a broader range of physical and biological processes. In contrast, semi-linear time fractional equations are typically limited to more specific applications and present challenges in terms of well-posedness. By addressing these difficulties, our study contributes to the advancement of understanding and application of fractional differential equations. It is important to remember that among the definitions of the fractional derivative, the Caputo definition is the one that is most frequently applied. In terms of mathematics, the Caputo definition is more rigorous than the Riemann-Liouville definition for more details the readers can be found in40.

An explicit finite difference strategy for fractional-order equations may have the following possible benefits over alternative approaches to a thorough stability analysis:

Explicit stability criteria designed especially for finite difference schemes used to fractional-order equations are provided by the technique. This provides a precise guideline for assessing stability, making the evaluation process easier than with more generic stability evaluations that do not take into account the special qualities of fractional-order equations. It permits an in-depth numerical stability analysis of the considered finite difference scheme. The approach enables a tailored study with an emphasis on the finite difference scheme’s stability behavior in the setting of fractional-order equations. With this focused approach, the analysis is customized to meet the unique needs and difficulties presented by fractional-order dynamics, which could lead to more insightful and accurate findings. The method can verify if the finite difference scheme is stable by comparing it to theoretical stability bounds or established stability criteria through a thorough stability analysis. For the numerical solution derived from the scheme to be accurate and reliable, this validation phase is essential. It makes it easier to find stable areas in the finite difference scheme’s parameter space, which helps choose the right parameters to guarantee stable numerical solutions. This makes it possible to optimize and tune parameters effectively, which enhances the accuracy and performance of computations. The approach sheds light on possible drawbacks and restrictions in the use of the finite difference strategy for fractional-order equations, as well as its stability bounds. For the numerical solution approach to remain robust and to prevent numerical instabilities, it is imperative to comprehend these stability constraints. The approach makes it possible to optimize scheme parameters to improve stability while preserving computational efficiency, based on the findings of the stability study. To obtain stable and precise numerical solutions, this optimization procedure may include modifying time step sizes, spatial discretization techniques, or other numerical factors. These benefits mean that carrying out a thorough stability analysis of an explicit finite difference scheme for fractional-order equations offers important information and direction for numerical simulations, guaranteeing the accuracy, stability, and dependability of the numerical solution technique in real-world scenarios.

The paper is organized as follows: Section 2 outlines the development of an explicit finite difference scheme, which employs Caputo definition for the time fractional derivative, and the central difference approximation for the space derivative. Additionally, the stability of the scheme is discussed in this section. In Section 3, some examples texted for the validation of the considered scheme. Lastly, we concludes our work in Section 4.

Methodology

In this section, we discuss the explicit finite difference scheme for solving linear or semi-linear variable-order time fractional differential equations. In the end of this section, we discuss the stability of the proposed scheme.

Explicit finite difference scheme

Consider the variable-order time fractional semi-linear differential equation

γ(x,t)ψ(x,t)tγ(x,t)=a(x,t)ψxx+f(ψ), 1

where

0<x<Lx,0<tT,0<γ(x,t)1,ψ(x,0)=ψ(x),ψ(0,t)=0=ψ(Lx,t),

or

ψ(0,t)=0=ψ(Lx,t)x.

The function f(ψ) is nonlinear. Without f(ψ) function, the Eq. (1) becomes linear.

Discretization

Let [0,Lx] be the domain of interest, first, we discretize this domain. To do this, let us define xi=ih, where 0iM, Mh=Lx, tj=jk, 0jN, Nk=T, where h is the space step length and k is time step size. Suppose that ψij be the numerical approximation of ψ(xi,tj) and fij(ψij)=f(xi,tj,ψij). Further, suppose that the non-linear function fij(ψij) satisfies the Lipschitz condition. |fij(ψij)-fij(ψ¯ij)|Lp|ψij-ψ¯ij|,Lp is a non-negative Lipschitz constant.

Development of the scheme

Considering Eq. (1) in which γ(x,t) represents the fractional order. The fractional derivative of order γ(x,t) is defined by Coimbra in terms of Caputo and is defined as

γψ(x,t)tγ:=1Γ(1-γ(x,t))0tψξdξ(t-ξ)γ(x,t)if0<γ(x,t)<1,ψtifγ(x,t)=1. 2

Transforming (1) using (2)

γ(xi,tj)ψ(xi,tj)tγ(xi,tj)=1Γ(1-γ(xi,tj))0jψξdξ(tj-ξ)γ(xi,tj),=1Γ(1-γ(xi,tj))l=0j-1(l)k(l+1)kψ(xi,ξ)ξ×dξ(tj-ξ)γ(xi,tj).

Using forward difference formula for temporal derivative

=1Γ(1-γ(xi,tj))l=0j-1ψil+1-ψilk(l)k(l+1)kdξ(tj-ξ)γ(xi,tj),=1Γ(1-γ(xi,tj))l=0j-1ψil+1-ψilk(j-l-1)k(j-l)kdηηγ(xi,tj).

Equivalently, the above expression can also be written as

γ(xi,tj)ψ(xi,tj)tγ(xi,tj)=1Γ(1-γ(xi,tj))l=0j-1ψij-l-ψij-l-1k(l)k(l+1)kη-γ(xi,tj)dη.

Upon Integrating the above equation, we obtain

γ(xi,tj)ψ(xi,tj)tγ(xi,tj)=1Γ(1-γ(xi,tj))l=0j-1ψij-l-ψij-l-1k×((l+1)k)1-γ(xi,tj)-((l)k)1-γ(xi,tj)1-γ(xi,tj).

Using Γ(1+γ)=γΓ(γ) and expanding the summation for l=0, we reach at

γ(xi,tj)ψ(xi,tj)tγ(xi,tj)=1Γ(2-γ(xi,tj))ψij-ψij-1kk1-γ(xi,tj)+1Γ(2-γ(xi,tj))l=1j-1ψij-l-ψij-l-1k×(((l+1)k)1-γ(xi,tj)-((l)k)1-γ(xi,tj)),=k-γ(xi,tj)Γ(2-γ(xi,tj))[(ψij-ψij-1)+l=1j-1(ψlj-l-ψlj-l-1)×(((l+1)k)1-γ(xi,tj)-((l)k)1-γ(xi,tj))],

Replace j by j+1

,γ(xi,tj+1)ψ(xi,tj+1)tγ(xi,tj+1)=k-γ(xi,tj+1)Γ(2-γ(xi,tj+1))[(ψij+1-ψij)+l=1j(ψlj+1-l-ψlj-l)×(((l+1)k)1-γ(xi,tj+1)-((l)k)1-γ(xi,tj+1))],

or

γ(xi,tj+1)ψ(xi,tj+1)tγ(xi,tj+1)=k-γ(xi,tj+1)Γ(2-γ(xi,tj+1))[(ψij+1-ψij)+l=1j(ψlj+1-l-ψlj-l)bli,j+1], 3

where

bli,j+1=((l+1)k)1-γ(xi,tj+1)-((l)k)1-γ(xi,tj+1),i=0,1,,M,j=0,1,,N.

Discretization of non-linear function f(ψ) is given as

f(xi,tj,ψ(xi,tj))=fij(ψij)+O(k),ψxx=ψi-1j-2ψij+ψi+1jh2+O(h2). 4

Using Eqs. (3) and (4), Eq. (1) takes the form

k-γij+1Γ(2-γij+1)[(ψij+1-ψij)+l=1j(ψlj+1-l-ψlj-l)bli,j+1]=aijψi-1j-2ψij+ψi+1jh2+fij(ψij),

or

ψij+1-ψij+l=1j(ψlj+1-l-ψlj-l)bli,j+1=rij+1ψi-1j-2ψij+ψi+1j+kγij+1Γ(2-γij+1)fij(ψij),

where

rij+1=aijkγij+1Γ(2-γij+1)h2.

Re-arranging the terms, Eq. (1) can be written as

ψij+1=rij+1ψi-1j+(1-2rij+1)ψij+rij+1ψi+1j-l=1j[ψlj+1-l-ψlj-l]bli,j+1+fij(ψij)kγij+1Γ(2-γij+1), 5
ψi0=h(xi)i=0,1,,M, 6
ψ0j=0=ψMjj=0,1,,N. 7

The comparison of the proposed method with previous techniques is given in the Table 1 below.

Table 1.

Proposed method comparison with the previous methods.

Strategies Methodology Benefits and shortcomings
Alia et al.41 proposed a new group of iterative techniques to address the numerical solution of a two-dimensional sub-diffusion equation that involves fractional derivatives and specific boundary conditions These iterative schemes are designed to provide a robust and efficient means of solving two-dimensional sub-diffusion equations This method is computationally efficient, but no stability analysis has been performed
Oderinu et al.42 proposed a method that focuses on finding approximate solutions to linear time fractional differential equations under specific boundary conditions It investigates a numerical approach for the solution of linear time fractional differential equations of the Caputo type. The results of the research culminated in the establishment of a theorem that showcases the Kamal transform of the nth-order Caputo derivatives The proposed numerical scheme provides highly accurate solutions for linear time fractional differential equations. However, no stability analysis of the scheme has been performed. This method is limited in scope and can only be applied to linear time fractional differential equations
Proposed The proposed method uses the central finite difference method for approximating the second-order spatial derivative and forward difference for approximating the Caputo derivative of time. This combination of techniques allows for an efficient and accurate numerical approximation of the solutions to linear/semi-linear time fractional differential equations This numerical scheme is versatile and can be applied to both linear and semi-linear equations, providing a flexible solution for a range of problems. The stability of the method has been rigorously verified, ensuring reliable results for a wide range of parameters. Additionally, the method is not limited by specific boundary conditions, making it suitable for a wide range of applications

The following section evaluates the stability of the discrete equation scheme (5, 6, 7).

Stability analysis

The most common technique for stability analysis of the explicit finite difference scheme is the Von Neumann stability analysis, which involves linearizing the problem around a steady state and studying the eigenvalues of the resulting linear system43. It is also possible to use other stability analysis techniques such as Fourier analysis44, Lax-Richtmyer45, and Von Neumann Courant-Friedrichs-Lewy (CFL) conditions46.

To evaluate the stability of the scheme, we consider ρij=ψij-φij, where φij is the accurate solution at (xi,tj) and apply the Fourier method. The discrete function ρj(xi) is formulated as:

ρj(xi)=ρijifxi-h2<xixi+h2,0,if0xh2orLx-h2<xiLx. 8

In Fourier series, the function (8) can be expanded

ρj(xi)=m=-ξj(m)e2πιmLx,

where

ξj(m)=1Lx0xρj(xi)e2πιmLxdx,ρj(m)22=-|ξj(m)|2. 9

Properties of the coefficient rij and dli,j

  1. rij>0,0<bli,j<dl-1i,j<1,

    where dli,j+1=bli,j+1-bli,j+1,i=1,2,,M,l=1,2,,N.

  2. 0<dli,j<1,j=0k-1dl+1i,j+1=1-bli,j+1.

    It is easy to prove property (2).

Stability of the scheme

The stability of the scheme is analyzed in this section. By inserting ρij=uij-Uij into Eqs. (5, 6)

ρij+1=rij+1ρi-1j+(1-2rij+1)ρij+rij+1ρi+1j-l=1j[ρij+1-l-ρij-l]bli,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)].

Evaluating sum for l=j, we get

ρij+1=rij+1ρi-1j+(1-2rij+1)ρij+rij+1ρi+1j-l=1j-1[ρij+1-l-ρij-l]bli,j+1-(ρi1-ρi0)bji,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)].

Simplification yields us

ρij+1=rij+1ρi-1j+(1-2rij+1)ρij+rij+1ρi+1j-l=1j-1ρij+1-lbli,j+1-l=1j-1ρij-lbli,j+1-ρi1bji,j+1+ρi0bji,j+1+kγij+1Γ(2-γij+1)[f(xi,tj,ψ(xi,tj)-fij(ψij)]. 10

Since

-l=1j-1ρij+1-lbli,j+1-ρi1bji,j+1=-l=1jρij+1-lbli,j+1,=-l=0j-1ρij-lbl+1i,j+1,=-b1i,j+1ρij-l=1j-1ρij-lbl+1i,j+1. 11

Substituting (11) in Eq. (10), we get

ρij+1=rij+1ρi-1j+(1-2rij+1)ρij+rij+1ρi+1j-b1i,j+1ρij-l=1j-1ρij-lbl+1i,j+1+l=1j-1ρij-lbli,j+1+ρi0bji,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)]. 12

Further simplified to obtain

ρij+1=rij+1ρi-1j+(1-b1i,j+1-2rij+1)ρij+rij+1ρi+1j+l=1j-1ρij-ldl+1i,j+1+ρi0bji,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)],

where

dl+1i,j+1=bli,j+1-bl+1i,j+1.

Let solution at grid points be of the form

ρij=ξjeιλih. 13

Substituting (13) in Eq. (12)

ξj+1eιλ(ih)=rij+1ξjeιλ(i-1)h+(1-b1i,j+1-2rij+1)ξjeιλih+rij+1ξjeιλ(i+1)h+l=1j-1ξj-leιλ(ih)dl+1i,j+1+ξ0eιλ(ih)bji,j+1+kγij+1Γ(2-γij+1)[f(xi,tj,ψ(xi,tj)-fij(ψij)].

Simplifying and re-arranging the terms

ξj+1=rij+1ξj[e-ιλ(h)+eιλh]+(1-b1i,j+1-2rij+1)ξj+l=1j-1ξj-ldl+1i,j+1+ξ0bji,j+1+kγij+1Γ(2-γij+1)[f(xi,tj,ψ(xi,tj)-fij(ψij)]e-ιλh.

Using identity eix=cosx+isinx, and re-arranging the terms

ξj+1=2rij+1ξjcos(λh)+(1-b1i,j+1-2rij+1)ξj+l=1j-1ξj-ldl+1i,j+1+ξ0bji,j+1+kγij+1Γ(2-γij+1)[f(xi,tj,ψ(xi,tj)-fij(ψij)]e-ιλh.

or

ξj+1=(1-b1i,j+1-4rij+1sin2(λh2))ξj+l=1j-1ξj-ldl+1i,j+1+ξ0bji,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)]e-ιλh. 14

The following lemma provides a framework for evaluating the stability of the scheme.

Lemma

Suppose that ξj be the solution of (14) and (i,j),rij12sin2(λh2) then |ξj|C|ξ0|,holds for j=1,2,.....,N-1.

Proof

Using mathematical induction.

Let j=0, (14) becomes

ξ1=(1-b1i,1-4ri1sin2(λh2))ξ0+ξ0b0i,1+kγi1Γ(2-γi1)×[f(xi,t0,ψ(xi,t0)-fi0(ψi0)]e-ιλ(h),

or

ξ1=(1-b1i,1+b0i,1-4ri1sin2(λh2))ξ0+kγi1Γ(2-γi1)×[f(xi,t0,ψ(xi,t0)-fi0(ψi0)]e-ιλ(h),

where we have used the result dli,j+1=bl-1i,j+1-bli,j+1.

Taking modulus on both sides

|ξ1|=|(1+d1i,1-4ri1sin2(λh2))ξ0+kγi1Γ(2-γi1)×[f(xi,t0,ψ(xi,t0)-fi0(ψi0)]e-ιλ(h)|,|ξ1||(1-4ri1sin2(λh2))|ξ0+kγi1Γ(2-γi1)×|[f(xi,t0,ψ(xi,t0)-fi0(ψi0)]e-ιλh|,|ξ1|[2+Lpkγi1Γ(2-γi1)]|ξ0|,|ξ1|C0|ξ0|.

where

C0=[2+Lpkγi1Γ(2-γi1)].

For j>0, the Eq. (14) can be written as

ξj+1=(1-b1i,j+1-4rij+1sin2(λh2))ξj+l=1j-1ξj-ldl+1i,j+1+ξ0bji,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)]e-ιλh. 15

Let us now assume that the given result holds for j and prove it for j+1, i.e., it holds |ξj|C|ξ0| and we are to show that |ξj+1|C|ξ0|. Taking modulus on both sides of (15), i.e.,

|ξj+1|=|(1-b1i,j+1-4rij+1sin2(λh2))ξj+l=1j-1ξj-ldl+1i,j+1+ξ0bji,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)]e-ιλ(h)|,|ξj+1||(1-b1i,j+1-4rij+1sin2(λh2))ξj|+|l=1j-1ξj-ldl+1i,j+1+ξ0bji,j+1+kγij+1Γ(2-γij+1)×[f(xi,tj,ψ(xi,tj)-fij(ψij)]e-ιλ(h)|.

We know that, |ξj|C|ξ0| for all k>1.

|ξj+1||(d1i,j+1-4rij+1sin2(λh2))Cξ0|+l=1j-1dl+1i,j+1C¯|ξ0|+bli,j+1|ξ0|+kγij+1Γ(2-γij+1)LP|ξ0|.

Since l=1j-1dl+1i,j+1=1-bli,j+1<1, because 0<bli,j+1<1.

|ξj+1||(2-4rij+1sin2(λh2))|C1|ξ0|+kγij+1Γ(2-γij+1)LP|ξ0|,|ξj+1|(C¯1+kγij+1Γ(2-γij+1)LP)|ξ0|=C|ξo|,

where

C=C¯1+kγij+1Γ(2-γij+1)LP.

The proof follows by induction.

Theorem

Explicit finite difference schemes (56) to (7) is stable under these circumstances, rij12sin2(λh/2),(i,j) i=1,2,,M; j=0,1,,N.

Proof

To prove that the explicit finite difference schemes given in Eqs. (5, 6) to (7) are stable under the condition rij12sin2λh2 for all (ij), where i=1,2,,M and j=0,1,,N, we can proceed as follows:

Using Eq. (10) and the given lemma, we have:

|ρj|2C|ρ0|2forj=1,2,,N,

To establish stability, we need to show that |ρj|2 remains bounded for all j=1,2,,N, given the stability condition on the coefficients rij.

First, let’s define Ej=|ρj|2 for convenience. Our goal is to show that Ej is bounded for all j.

Using Eq. (7) and the definition of |·|2 norm, we can rewrite Ej as:

Ej=i=1M(rij)21/2.

Now, we can analyze the behavior of Ej in terms of Ej-1. By substituting the expression for Ej and Ej-1 into equation (56), we have:

Ej=i=1Mρij-ρij-1k21/2=1ki=1M(ρij-ρij-1)21/2=1k|ρj-ρj-1|2.

Since |·|2 norm is a valid norm, we have the triangle inequality:

|ρj-ρj-1|2|ρj|2+|ρj-1|2.

Therefore, we can bound Ej as follows:

Ej1k|ρj|2+|ρj-1|21k(C|ρ0|2+C|ρ0|2)=2Ck|ρ0|2.

Thus, we have shown that Ej is bounded for all j=1,2,,N.

Therefore, the explicit finite difference schemes (56) to (7) are stable under the given condition. This proves the stability of the scheme.

Numerical experiments

In this section, we present a numerical solution for variable-order time fractional linear initial boundary value problems using an explicit finite difference scheme. We investigate the influence of the fractional order γ by solving problems for different values of γ ranging from 0 to 1. To perform the numerical calculation, we discretize the spatial domain into N=10 equal intervals, each with a step size of h. The final solution is obtained at a specified final time T and stored in a matrix for each γ value. Finally, to visualize the results, we plot the solution against the spatial variable x, with each line representing the solution for a different fractional order value.

All the tests are performed on a Windows 10 Pro operating system using Matlab version R2016b on a computer equipped with an Intel(R) Core(TM) i5-7200U CPU running at 2.5 GHz and with 8GB of RAM.

Example I

γ(x,t)ψtγ(x,t)=(1+x)2ψx2+ψ,0<γ(x,t)<1, 16

Subject to the conditions:

ψ(x,0)=ψ(x)=x(1-x),0<x<1,ψ(0,t)=0,ψ(1,t)=0t0.

Solution:

To obtain the discrete form of Eq. (16), the time fractional approximation (3) must be used for the time derivative and the central difference approximation for the space derivative.

k-γ(xi,tj+1)Γ(2-γ(xi,tj+1))[(ψij+1-ψij)+l=1j(ψlj+1-l-ψlj-l)bli,j+1]=(1+xi)ψi-1j-2ψij+ψi+1jh2+ψij,

Re-arranging the terms,

ψij+1=rij+1(1+xi)ψi-1j+(1-2rij+1(1+xi)+rij+1h2)ψij+rij+1(1+xi)ψi+1j-l=1j(ψlj+1-l-ψlj-l)bli,j+1,

with

ψi0=xi(1-xi)i=0,1,2,,M.ψ0j=0=ψMjj=0,1,2,,N.

where rij+1=kγij+1Γ(2-γij+1)h2.

The numerical solution for different values of γ at the final time T is depicted in 3D Fig. 1 and also for 2D Fig. 2.

Figure 1.

Figure 1

3D Solution curves for Example I.

Figure 2.

Figure 2

2D Solution curves for Example I.

Example II

γ(x,t)ψtγ(x,t)=2ψx2-1xψx,0<γ(x,t)<1, 17

Subject to the conditions:

ψ(x,0)=ψ(x)=1-x2,0x1.ψx(0,t)=0,ψ(1,t)=0,t>0.

Solution:

Using time fractional approximation (3) the (17) can be written as

k-γ(xi,tj+1)Γ(2-γ(xi,tj+1))[(ψij+1-ψij)+l=1j(ψlj+1-l-ψlj-l)bli,j+1]=ψi-1j-2ψij+ψi+1jh2-1xψi+1j-ui-1j2h,

Re-arranging the terms

ψij+1=(rij+1+rij+1h2xi)ψi-1j+(1-2rij+1)ψij+(rij+1-rij+1h2xi)ψi+1j-l=1j(ψlj+1-l-ψlj-l)bli,j+1.

with

ψi0=1-xi2i=0,1,2,,M,(ψ0j)x=0,ψMj=0j=0,1,,N,

where rij+1=kγij+1Γ(2-γij+1)h2. The numerical solution for different values of γ at the final time T is shown in 3D Fig. 3 and 2D Fig. 4.

Figure 3.

Figure 3

3D Solution curves for Example II.

Figure 4.

Figure 4

2D Solution curves for Example II.

Example III

γ(x,t)ψtγ(x,t)=x((1+x2)ψx),0<γ(x,t)<1, 18

Subject to the conditions:

ψ(x,0)=1000-|1000x|,0x1.ψx(0,t)=0=ψx(1,t)0t0.2.

Solution:

After simplification, (18) becomes

γψtγ=(1+x2)2ψ2x+2xψx,

Applying the time fractional approximation (3) to the (18)

k-γ(xi,tj+1)Γ(2-γ(xi,tj+1))[(ψij+1-ψij)+l=1j(ψlj+1-l-ψlj-l)bli,j+1]=(1+x2)ψi-1j-2ψij+ψi+1jh2+(2x)ψi+1j-ψi-1j2h,

Re-arranging the terms,

ψij+1=((1+xi2)-hxi)rij+1ψi-1j+(1-2rij+1(1+xi2))ψij+((1+xi2)+hxi)rij+1ψi+1j-l=1j(ψlj+1-l-ψlj-l)bli,j+1

with

ψi0=1000-|1000xi|i=0,1,2,,M,ψ0j=0=ψMjj=0,1,2,,N,

where

rij+1=kγij+1Γ(2-γij+1)h2.

In this research paper, we explore three examples of initial boundary value problems involving fractional partial differential equations. In Example I, we consider a problem governed by a time-fractional partial differential equation with a variable-order fractional derivative. The equation exhibits a linear and semi-linear variable-order time fractional characteristic. The Caputo derivative is employed to model physical memory and inheritance, and the problem is solved subject to specified initial and boundary conditions. Example II presents a different equation, also with a variable-order fractional derivative, but involving a different spatial derivative term. The equation includes a term that accounts for the singular behavior near the origin (at x=0) and requires additional boundary conditions at the right boundary (at x=1). Finally, in Example III, we explore a problem described by a time-fractional partial differential equation with a variable-order fractional derivative and a spatial derivative term. This example includes a non-homogeneous initial condition and satisfies zero-flux boundary conditions. By considering these three examples, we demonstrate the versatility and applicability of the explicit finite difference scheme in solving initial boundary value problems with various fractional characteristics, showcasing the effectiveness of the proposed approach.

Conclusion and future work

This paper presents a novel explicit finite difference scheme specifically designed for solving initial boundary value problems with linear and semi-linear variable-order time fractional characteristics. The choice of employing the Caputo derivative in this scheme is motivated by its well-established significance in fractional calculus, enabling effective modeling of physical memory and inheritance. The thorough stability analysis using the Fourier method confirms the conditional stability of the proposed scheme. Numerical examples demonstrate the efficacy of the method, with graphical representations using MATLAB showcasing solution curves for different fractional orders. Moving forward, future research directions could include extending the scheme to more complex nonlinear problems, investigating adaptive mesh refinement techniques, exploring the application of the method to other scientific and engineering domains, and considering parallel computing techniques to enhance computational efficiency. This work contributes to the advancement of fractional partial differential equations solving methods and provides a foundation for further exploration and refinement of this approach.

Acknowledgements

The authors would like to thanks the referee for relevant remarks and comments which improved the final version of the paper.

Author contributions

A.K.: writing original draft, methodology; S.B.: resources, formal analysis, corresponding author, conceptualization; RS: resources, review and editing, BT: writing review and editing; and MR: formal analysis, review and editing. All authors read and approved the final manuscript.

Data availability

The datasets used and/or analyzed during the current study available from the corresponding author on reasonable request.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Podlubny I. Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications. Elsevier; 1998. [Google Scholar]
  • 2.Gorenflo R, Mainardi F. Fractional Calculus. Fractals and Fractional Calculus in Continuum Mechanics. Springer; 1997. [Google Scholar]
  • 3.Nonnenmacher TF, Metzler R. On the Riemann-Liouville fractional calculus and some recent applications. Fractals. 1995;3(03):557–566. doi: 10.1142/S0218348X95000497. [DOI] [Google Scholar]
  • 4.Agrawal OP. Formulation of Euler-Lagrange equations for fractional variational problems. J. Math. Anal. Appl. 2002;272(1):368–379. doi: 10.1016/S0022-247X(02)00180-4. [DOI] [Google Scholar]
  • 5.Haidong, Q., ur Rahman, M., Arfan, M., Salimi, M., Salahshour, S., & Ahmadian, A. Fractal-fractional dynamical system of typhoid disease including protection from infection. Eng. Comput. 1–10 (2021).
  • 6.Baleanu D, Diethelm K, Scalas E, Trujillo JJ. Fractional Calculus: Models and Numerical Methods. World Scientific; 2012. [Google Scholar]
  • 7.Zhang L, ur Rahman M, Haidong Q, Arfan M. Fractal-fractional Anthroponotic Cutaneous Leishmania model study in sense of Caputo derivative. Alex. Eng. J. 2022;61(6):4423–4433. doi: 10.1016/j.aej.2021.10.001. [DOI] [Google Scholar]
  • 8.Klafter, J., Lim, S. C., & Metzler, R. Fractional Dynamics: Recent Advances (2012).
  • 9.Majumdar S, Hazra S, Choudhury MD, Sinha SD, Das S, Middya TR, Tarafdar S, Dutta T. A study of the rheological properties of visco-elastic materials using fractional calculus. Colloids Surf., A. 2017;516:181–189. doi: 10.1016/j.colsurfa.2016.12.019. [DOI] [Google Scholar]
  • 10.Sun HG, Zhang Y, Baleanu D, Chen W, Chen YQ. A new collection of real world applications of fractional calculus in science and engineering. Commun. Nonlinear Sci. Numer. Simul. 2018;64:213–231. doi: 10.1016/j.cnsns.2018.04.019. [DOI] [Google Scholar]
  • 11.Rahman M, Althobaiti A, Riaz MB, Al-Duais FS. A theoretical and numerical study on fractional order biological models with Caputo Fabrizio derivative. Fractal Fract. 2022;6(8):446. doi: 10.3390/fractalfract6080446. [DOI] [Google Scholar]
  • 12.Mahmood T, Rahman M, Arfan M, Kayani S-I, Sun M. Mathematical study of Algae as a bio-fertilizer using fractal-fractional dynamic model. Math. Comput. Simul. 2023;203:207–222. doi: 10.1016/j.matcom.2022.06.028. [DOI] [Google Scholar]
  • 13.Jiang, X., Li, J., Li, B., Yin, W., Sun, L., & Chen, X. Bifurcation, chaos, and circuit realisation of a new four-dimensional memristor system. Int. J. Nonlinear Sci. Numer. Simul. 0 (2022).
  • 14.Kochubei, Anatoly, L., Yuri, T., Vasily, E. & Petráš, I. (eds.) Handbook of Fractional Calculus with Applications. vol. 1. (de Gruyter, 2019).
  • 15.Chávez-Vázquez S, Gómez-Aguilar JF, Lavín-Delgado JE, Escobar-Jiménez RF, Olivares-Peregrino VH. Applications of fractional operators in robotics: A review. J. Intell. Robot. Syst. 2022;104(4):63. doi: 10.1007/s10846-022-01597-1. [DOI] [Google Scholar]
  • 16.He Q, Rahman M, Xie C. Information overflow between monetary policy transparency and inflation expectations using multivariate stochastic volatility models. Appl. Math. Sci. Eng. 2023;31(1):2253968. doi: 10.1080/27690911.2023.2253968. [DOI] [Google Scholar]
  • 17.Ionescu C, Lopes A, Copot D, Tenreiro Machado JA, Bates JHT. The role of fractional calculus in modeling biological phenomena: A review. Commun. Nonlinear Sci. Numer. Simul. 2017;51:141–159. doi: 10.1016/j.cnsns.2017.04.001. [DOI] [Google Scholar]
  • 18.Chen Z, Qiu P, Yang X-J, Feng Y, Liu J. A new fractional derivative model for the anomalous diffusion problem. Therm. Sci. 2019;23(Suppl. 3):1005–1011. doi: 10.2298/TSCI180912253C. [DOI] [Google Scholar]
  • 19.Laskin N. Fractional quantum mechanics. Phys. Rev. E. 2000;62(3):3135. doi: 10.1103/PhysRevE.62.3135. [DOI] [PubMed] [Google Scholar]
  • 20.Jafari H, Ganji RM, Nkomo NS, Lv YP. A numerical study of fractional order population dynamics model. Results Phys. 2021;27:104456. doi: 10.1016/j.rinp.2021.104456. [DOI] [Google Scholar]
  • 21.Srivastava HM, Saad KM, Gómez-Aguilar JF, Almadiy AA. Some new mathematical models of the fractional-order system of human immune against IAV infection. Math. Biosci. Eng. 2020;17(5):4942–4969. doi: 10.3934/mbe.2020268. [DOI] [PubMed] [Google Scholar]
  • 22.Li B, Zhang T, Zhang C. Investigation of financial bubble mathematical model under fractal-fractional Caputo derivative. FRACTALS (fractals) 2023;31(05):1–13. [Google Scholar]
  • 23.Zhang X, Ding Z, Hang J, He Q. How do stock price indices absorb the COVID-19 pandemic shocks? N. Am. J. Econ. Financ. 2022;60:101672. doi: 10.1016/j.najef.2022.101672. [DOI] [Google Scholar]
  • 24.Almeida R. A Caputo fractional derivative of a function with respect to another function. Commun. Nonlinear Sci. Numer. Simul. 2017;44:460–481. doi: 10.1016/j.cnsns.2016.09.006. [DOI] [Google Scholar]
  • 25.Chen C, Liu F, Burrage K. Finite difference methods and a Fourier analysis for the fractional reaction-subdiffusion equation. Appl. Math. Comput. 2008;198(2):754–769. doi: 10.1016/j.amc.2007.09.020. [DOI] [Google Scholar]
  • 26.Birajdar, G. A., & Dhaigude, D. B. An implicit numerical method for semilinear fractional diffusion equation. In Proceedings of the International Conference on Mathematical Sciences. Chennai, India, 674–678. (2014).
  • 27.Zhang H-M, Liu F. Numerical simulation of the Riesz fractional diffusion equation with a nonlinear source term. J. Appl. Math. Comput. 2008;26(1–2):1–14. [Google Scholar]
  • 28.Liu F, Shen S, Anh V, Turner I. Analysis of a discrete non-Markovian random walk approximation for the time fractional diffusion equation. Anziam J. 2004;46:C488–C504. doi: 10.21914/anziamj.v46i0.973. [DOI] [Google Scholar]
  • 29.Lin Y, Chuanju X. Finite difference/spectral approximations for the time-fractional diffusion equation. J. Comput. Phys. 2007;225(2):1533–1552. doi: 10.1016/j.jcp.2007.02.001. [DOI] [Google Scholar]
  • 30.Birajdar GA. Stability of nonlinear fractional diffusion equation. Lib. Math. 2016;36:1–12. [Google Scholar]
  • 31.Dhaigude DB, Birajdar GA, Nikam VR. Adomain decomposition method for fractional Benjamin-Bona-Mahony-Burger’s equations. Int. J. Appl. Math. Mech. 2012;8(12):42–51. [Google Scholar]
  • 32.Kumar P, Agrawal OP. An approximate method for numerical solution of fractional differential equations. Signal Process. 2006;86(10):2602–2610. doi: 10.1016/j.sigpro.2006.02.007. [DOI] [Google Scholar]
  • 33.Zhang Y, Sun HG, Stowell HH, Zayernouri M, Hansen SE. A review of applications of fractional calculus in earth system dynamics. Chaos Solitons Fract. 2017;102:29–46. doi: 10.1016/j.chaos.2017.03.051. [DOI] [Google Scholar]
  • 34.Luo D, Abdeljawad T, Luo Z. Ulam-Hyers stability results for a novel nonlinear Nabla Caputo fractional variable-order difference system. Turk. J. Math. 2021;45(1):456–470. doi: 10.3906/mat-2008-53. [DOI] [Google Scholar]
  • 35.Luo D, Zhu Q, Luo Z. An averaging principle for stochastic fractional differential equations with time-delays. Appl. Math. Lett. 2020;105:106290. doi: 10.1016/j.aml.2020.106290. [DOI] [Google Scholar]
  • 36.Luo D, Zhu Q, Luo Z. A novel result on averaging principle of stochastic Hilfer-type fractional system involving non-Lipschitz coefficients. Appl. Math. Lett. 2021;122:107549. doi: 10.1016/j.aml.2021.107549. [DOI] [Google Scholar]
  • 37.Luo D, Tian M, Zhu Q. Some results on finite-time stability of stochastic fractional-order delay differential equations. Chaos Solitons Fract. 2022;158:111996. doi: 10.1016/j.chaos.2022.111996. [DOI] [Google Scholar]
  • 38.Zou J, Luo D, Li M. The existence and averaging principle for stochastic fractional differential equations with impulses. Math. Methods Appl. Sci. 2023;46(6):6857–6874. doi: 10.1002/mma.8945. [DOI] [Google Scholar]
  • 39.Huang, J. & Luo, D. Existence and controllability for conformable fractional stochastic differential equations with infinite delay via measures of noncompactness. Chaos Interdiscip. J. Nonlinear Sci.33(1) (2023). [DOI] [PubMed]
  • 40.Abd-Elhameed WM, Youssri YH. Generalized Lucas polynomial sequence approach for fractional differential equations. Nonlinear Dyn. 2017;89:1341–1355. doi: 10.1007/s11071-017-3519-9. [DOI] [Google Scholar]
  • 41.Alia A, Abbasb M, Akramc T. New group iterative schemes for solving the two-dimensional anomalous fractional sub-diffusion equation. J. Math. Comp. Sci. 2021;22:119–127. doi: 10.22436/jmcs.022.02.03. [DOI] [Google Scholar]
  • 42.Oderinu, R. A., Owolabi, J. A. & Taiwo, M. Approximate solutions of linear time-fractional differential equations. (2023).
  • 43.Balsara DS. Von Neumann stability analysis of smoothed particle hydrodynamics—suggestions for optimal algorithms. J. Comput. Phys. 1995;121(2):357–372. doi: 10.1016/S0021-9991(95)90221-X. [DOI] [Google Scholar]
  • 44.Fornasini E, Marchesini G. Stability analysis of 2-D systems. IEEE Trans. Circuits Syst. 1980;27(12):1210–1217. doi: 10.1109/TCS.1980.1084769. [DOI] [Google Scholar]
  • 45.Palencia C, Sanz-Serna JM. An extension of the Lax-Richtmyer theory. Numer. Math. 1984;44:279–283. doi: 10.1007/BF01410111. [DOI] [Google Scholar]
  • 46.González García, S. Contribuciones al método de las diferencias finitas para la resolución de las ecuaciones de Maxwell en el dominio del tiempo. (1994).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The datasets used and/or analyzed during the current study available from the corresponding author on reasonable request.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES