Professional Documents
Culture Documents
A Legendre Spectral Method For Hadamard Fractional Partial Differential Equations
A Legendre Spectral Method For Hadamard Fractional Partial Differential Equations
https://doi.org/10.1007/s40096-022-00497-7
ORIGINAL RESEARCH
Abstract
In this paper, we present a spectral method to obtain numerical solutions of Caputo–Hadamard fractional partial differential
equations. For better approximations, a modification of classical Legendre polynomials which is suitable for the Hadamard
fractional operators is preferred. We utilized two-dimensional Hadamard fractional Legendre functions which are variants
of two-dimensional shifted Legendre polynomials. Three different schemes for three classes of Caputo–Hadamard fractional
partial differential equations are proposed and every scheme is accompanied by a numerical example to verify the applicabil-
ity and efficiency of the suggested methods. Moreover, the estimates of upper bounds of error for the approximations have
been derived.
Keywords Fractional partial differential equations · Two-dimensional Legendre functions · Hadamard fractional Legendre
functions
13
Vol.:(0123456789)
Mathematical Sciences
variable coefficients, besides shifted Legendre polynomials different schemes are developed for three different classes
the proposed scheme is based on some algorithms. In [11, of Caputo–HFPDs. These schemes are developed for initial
12] authors have used the operational matrices of orthogo- value problems with constant coefficients, variable coeffi-
nal polynomials to develop the schemes for the solutions of cients and boundary value problems with constant coefficients.
FDEs. Wang et al. in [13] proposed a Galerkin-Legendre All of these schemes convert the differential equations to a sys-
spectral method for two-dimensional fractional nonlinear tem of algebraic equations, which are solved by using MAT-
wave equations. LAB programs. Furthermore, we have worked for the upper
Various researchers have modeled several processes and bounds of errors in the suggested approximations.
patterns by means of some newly defined fractional opera- This paper is structured as follows: Section "Preliminar-
tors to attain the desired practical goals, for example, see ies" includes some important definitions and formulas from
[14, 15]. Introduced in 1892, Hadamard fractional opera- fractional calculus to be used in the proceeding sections. In
tors are seen representing phenomena in some fields includ- Section "Two-dimensional Hadamard fractional Legendre
ing mathematical physics and probability [16]. Hadamard functions", two-dimensional Legendre functions are intro-
fractional operators have the logarithmic kernels and these duced. Approximations of functions and double fractional
operators are the generalization of the differential operator integrals by two-dimensional HFLFs are discussed in Sec-
d
x dx . In literature, there are just a few numerical schemes that tion "Approximations by two-dimensional HFLFs". Upper
deal with the Hadamard-type fractional order differential bounds for errors in function and double fractional integral
equations (HFDEs). A scheme based on Haar wavelets for approximations are derived in Section" Error analysis".
numerical solutions of the HFDEs was introduced in [17]. In Section "Method for the solution of Caputo–Hadamard
Fan et al. in [18] have constructed formulas for numeri- fractional partial differential equations", we have devel-
cal approximations of the Caputo–Hadamard fractional oped some methodologies for solution of initial and bound-
derivatives. Gohar et al. in [19] presented finite difference ary value problems. Section "Method for the solution of
methods for Caputo–Hadamard fractional differential equa- Caputo–Hadamard fractional partial differential equations"
tions (Caputo–HFDEs). Green et al. in [20] have used some is further divided into three subsections. In each subsec-
numerical methods such as the predictor corrector, trapezoi- tion, a scheme is developed for the solution of a specific
dal and rectangular methods for solving Caputo–HFDEs. In class of Caputo–HFPDs. In Section "Caputo–HFPDs with
[21], authors have given the local discontinuous Galerkin constant coefficients" we have developed a method to solve
method for Caputo–Hadamard fractional partial differential Caputo–HFPDEs with constant coefficients and initial con-
equations (Caputo–HFPDs). In [22] Wang et al. proposed ditions. Method for solving Caputo–HFPDs with variable
the scheme for the solution of Caputo-Hadamard fractional coefficients and initial conditions is constructed in Sec-
sub-diffusion equations. The authors in [23] provided the tion "Caputo–HFPDs with variable coefficients". In Sec-
numerical methods for Caputo–Hadamard fractional diffu- tion "Caputo–HFPDs with boundary conditions" we have
sion–wave equation. To the best of our knowledge, most of developed a numerical scheme to solve Caputo–HFPDs
the already existing schemes for Caputo–HFPDEs deal only with constant coefficients and boundary conditions. These
with the types of equations that involve fractional derivative three different methodologies are accompanied by suitable
term with respect to one variable while the derivatives with numerical examples, along with graphs and tables, to show
respect to the other variables are taken to be of integer order. the effectiveness of the suggested schemes.
Motivated by the work cited above we propose a scheme
for the numerical solutions of Caputo–HFPDEs. This scheme
Preliminaries
is applicable to the Caputo–HFPDEs with all the derivative
terms either to be of fractional order or integer order or a
We have devoted this section to some precise definitions and
combination of both. In [24], Almeida et al. introduced 𝜓
results of fractional calculus that are essential. For more details
-shifted Legendre functions using normalized shifted Leg-
we refer the reader to [26].
endre polynomials. Using these 𝜓 -shifted Legendre func-
Important function spaces to be used here are defined as
tions authors in [25] have defined Hadamard fractional
{ }
Legendre functions and used them to develop a numerical ( b )1∕P
�a
method for Caputo–HFDEs. The numerical method that we L𝜓P [a, b] = u ∶ [a, b] → ℝ| P �
|u(t)| 𝜓 (t)dt < +∞ ,
have developed for the solutions of Caputo-HFPDEs is based
on two-dimensional Hadamard fractional Legendre func- 1 ≤ P < +∞
tions (HFLFs), which is a modification of two-dimensional and
shifted Legendre polynomials. In this paper three slightly
13
Mathematical Sciences
Definition 1 [26] If u ∈ L𝜓P [a, b] , 1 ≤ P < +∞ and 𝜇 > 0 , and H D𝜇t u(t) = 0 for 𝛾 ∈ {0, 1, 2, ...} , 𝜇 > 𝛽 . Furthermore,
then the Riemann–Liouville fractional integral with respect H Dt c = 0 , where c = constant.
𝜇
to function 𝜓 is given as
t
𝛤 (𝜇) ∫a
1
I𝜇,𝜓
t
u(t) = (𝜓(t) − 𝜓(s))𝜇−1 𝜓 � (s)u(s)ds. (1)
k−𝜇,𝜓 k,𝜓 1 i
∑
D𝜇,𝜓
t u(t) = It 𝔻t u(t) =
𝛤 (k − 𝜇) L𝛼i (x) = aji xj𝛼 ,
t ( )k (3) j=0
∫a
1 d
(𝜓(t) − 𝜓(s))k−𝜇−1 𝜓 � (s) u(s)ds. (−1)i+j (j+i)!
𝜓 � (s) ds where aji ∶= (i−j)(j!)2
. A recurrence relation which is used
( )k to determine the Li ’s is
𝛼
Here 𝔻tk,𝜓 = 𝜓 �1(t) dtd . For 𝜓(t) = log t (3) reduces to the
(2i + 1)(2x𝛼 − 1) 𝛼 i
Caputo–Hadamard fractional derivative which is given in L𝛼i+1 (x) = Li − L𝛼 (x), i = 1, 2, … ,
i+1 i + 1 i−1
[26] as
where L𝛼0 (x) = 1 and L𝛼1 = 2x𝛼 − 1 . These fractional Leg-
1
endre functions are orthogonal on [0, 1], with respect to
𝜇 k−𝜇 k
H Dt u(t) = H It =
H 𝔻t u(t)
𝛤 (k − 𝜇)
t( ) ( ) (4) the weight function w(x) = 𝛼x𝛼−1 , namely the orthogonality
t k−𝜇−1 d k
∫a
ds condition is given as
log s u(s) .
s ds s
1
∫0
1
The relation between Caputo–Hadamard inte- L𝛼i (x)L𝛼k (x)w(x)dx = 𝛿 ,
2k + 1 ik
grals and derivatives is given in Theorem 1. This rela-
tion will be used while approximating the solutions of here 𝛿 is the Kronecker delta that results 1 when the indices
Caputo–HFPDEs. are equal and 0 when indices are different.
In [25] authors have introduced HFLFs, denoted by
Theorem 1 [26] Let u ∈ A𝜓k [a, b] and k − 1 < 𝜈 ≤ k , k ∈ ℕ , Hj 1 (t) , by replacing 𝜙 with (log x)𝛼 in generalized Legendre
𝛼
then functions as
k−1
∑ l ( )
H 𝔻t u(a)
j
𝜇 𝜇 t l ∑ (−1)(j+i) (j + i)!
H It H Dt u(t) = u(t) − log . 𝛼
𝛤 (l + 1) a Hj 1 (t) = (log x)𝛼i (5)
l=0 i=0
(j − i)!(i!)2
In Lemma 1 we directly state the Caputo–Hadamard
( )𝛾 These functions are orthogonal on the interval [1, e] with
integral and derivative of the function of type log st . respect to the weight function w(x) = 𝛼x (log x)𝛼−1 and the
( )𝛾 orthogonality condition is given as:
Lemma 1 [26] For 𝛾 > −1 , let u(t) = log st , then
13
Mathematical Sciences
∫1
1
H𝛼i (x)H𝛼k (x)w(x)dx = 𝛿 . (6) i, j = 0, 1, 2, … , on the region 𝛺 = J × J .
2k + 1 ik
Some other useful properties of HFLFs are given in [25]. Theorem 2 On the region 𝛺 the two-dimensional HFLFs
are orthogonal with respect to the weight function
Two‑dimensional fractional order Hadamard w(t, x) = t1 (log t)𝛼1 −1 x2 (log x)𝛼2 −1.
𝛼 𝛼
Legendre functions
Proof For i = 1, 2 and 𝛼1 , 𝛼2 ∈ [0, 1] let wi (t) = (log t)𝛼i −1 ,
𝛼i
Multi-variable functions often need to be approximated by w(t, x) = 1tx 2 (log t)(𝛼1 −1) (log x)(𝛼2 −1) then
𝛼 𝛼 t
∫1
𝛼 𝛼
tions, an extension of one-dimensional approximations is
= Hi 1 (t)Hk 1 (t)w1 (t)dt (7)
used. Generally, the main idea behind these approximations e
∫1
𝛼 𝛼
is to carry out one-dimensional approximation in one vari- × Hj 2 (x)Hl 2 (x)w2 (x)dx.
able, first and then again in the second variable. Even though
every step is one-dimensional. Two-dimensional polynomi- From (6) we have
als are extensively used for the numerical approximations e e
∫1 ∫1
of solutions to partial differential equations and integro-dif- 𝛼 𝛼 𝛼 𝛼
Hi 1 (t)Hj 2 (x)Hk 1 (t)Hl 2 (x)w(t, x)dtdx
ferential equations. Davari A and Ahmadi A implemented (8)
two-dimensional Legendre polynomials for approximation =
1
𝛿 𝛿 .
of solutions of partial differential equations in [28]. In [29], (2k + 1)(2l + 1) ik jl
Rivaz et al. used two-dimensional Chebyshev polynomials
Hence, the orthogonality of two-dimensional HFLFs has
to approximate the solutions of two-dimensional integro-
been proved. ◻
differential equations. In [30] and [31], authors have used
two-dimensional shifted Legendre polynomials and mixed
Some other properties and relations defined for HFLFs
Lucas and Fibonacci polynomials to provide the solutions
are used for the two-dimensional HFLFs as well. For exam-
of fractional order two-dimensional integral equations and
ple, the analytic forms and recursive formulas to determine
Sobolev equations, respectively. Yin et al. in [32] have
the expressions of H𝛼i ’s in single variable are simply used to
implemented the two-dimensional fractional Legendre func-
determine the two-dimensional HFLFs as well.
tions to obtain numerical approximations for solutions of
the fractional order partial differential equations. Use of the
two-dimensional Chebyshev polynomials in the fusion of
Approximations by two‑dimensional HFLFs
images, proposed in [33], is an example of manipulation of
two-dimensional orthogonal polynomials in applied sciences
The numerical scheme proposed in this paper extensively
and engineering problems as well.
involves the approximations of Hadamard fractional inte-
It has been observed that numerical methods based on
grals and computation of these integrals may involve han-
modified orthogonal polynomials depending on nature of
dling some complex expressions such as sum, product of two
differential operators appearing in the differential equations
or more than two expressions, or some special functions. So
provides better approximations to the solutions. Therefore,
it is required to have appropriate approximations of integrals
it is appealing to introduce a modification of orthogonal
while dealing with the numerical solutions of differential
polynomials which is better suited for Hadamard calculus.
equations.
In this paper, we introduce the two-dimensional Hadamard
A function y ∈ C(𝜔) can be expanded in terms of two-
fractional Legendre functions (HFLFs) which are based on
dimensional HFLFs as
the one-dimensional Hadamard fractional Legendre func-
tions. We shall in fact develop a numerical method based m−1
∑ 𝛼 𝛼
on two-dimensional HFLFs for solution of Caputo–HFPDs. y(t, x) ≊ Cjk Hj 1 (t)Hk 2 (x), (9)
j,k=0
Definition 3 Let H𝛼i (x) denotes the Hadmard fractional Leg- where coefficients are given by Cjk = (2j + 1)(2k + 1)
endre functions on the interval J = [1, e] , then we define the ∫1 ∫1 y(t, x)Hj 1 (t)Hk 2 (x)w(t, x)dtdx
e e
for
𝛼 𝛼
j, k = 0, 1, 2,
… , m − 1 . It is to be noticed that these approximations depend
13
Mathematical Sciences
on two different orders that is 𝛼1 and 𝛼2 for H(t) and H(x) , In vector notation H I𝜈t y(t, x) ≊ H𝛼T (t)PT𝛼 ,𝜈 CH𝛼2 (x) , where
respectively. In vector notation Equation (9) can be written as;
1 1
PT𝛼 ,𝜈 is the operational matrix of Hadamard fractional inte-
1
y(t, x) ≊ H𝛼T (t)CH𝛼2 (x). gration with respect to the variable t. It is to be noted that
(10)
1
this operational matrix depends on the order of Hadamard
The method introduced in the work for solutions of Legendre function in the variable t, which in this case is 𝛼1 .
Caputo–HFPDs involves fractional integration of two- Similarly, Hadamard fractional integral of (9) with respect
dimensional HFLFs. Therefore in this section, we present to the second variable is calculated as
method of fractional integration of HFLFs. Numerical m−1
∑ ( 𝛼 )
scheme developed in this paper includes partial Hadamard 𝜈
H Ix y(t, x) ≊
𝛼
Cjk Hj 1 (t)H I𝜈x Hk 2 (x) . (16)
fractional integrals, so we approximate these integrals as j,k=0
follows. Applying H I𝜈t on (9) we get
( m−1 ) Following the same steps we obtain:
𝜈 𝜈
∑ 𝛼1 𝛼2 m−1
(m−1 )
H It y(t, x) ≊ H It Cjk Hj (t)Hk (x) 𝜈
∑ 𝛼1
∑ 𝛼 ,𝜈 𝛼
H Ix y(t, x) ≊ Cjk Hj (t) Pks,H Hs 2 (t)
2
j,k=0
(11) j,k=0 s=0
m−1
∑ (
𝛼
)
𝛼 m−1
(17)
= CjkH I𝜈t Hj 1 (t) Hk 2 (x). ∑ 𝛼 𝛼2 ,𝜈 𝛼2
j,k=0 = Cjk Hj 1 (t)Pks,H Hs (x).
j,k,s=0
Hadamard fractional integral of Hj 1 (t) can be approximated
𝛼
Vector form of (17) is H I𝜈x y(t, x) ≊ H𝛼T (t)CP𝛼2 ,𝜈 H𝛼2 (x).
as 1
j
𝛼
∑ (−1)j+i 𝛤 (j + i + 1)
𝜈
H It Hj (t) ≊
1 𝜈 𝛼1 i
H It (log t) . (12)
𝛤 (j − i + 1)(𝛤 (i + 1))2
i=0 Error analysis
Using Lemma 1, Equation (12) reduces to
Now we state some important results from literature
𝜈 𝛼1
j
∑ 𝛼 ,𝜈 that are used for the estimation of errors in the function
H It Hj (t) ≊ bji1 (log t)i𝛼1 +𝜈 , (13) approximations. Using these results we give some other
i=0
results for interpolating polynomials. In [34], authors have
(−1)j+i 𝛤 (j+i+1)𝛤 (i𝛼1 +1)
here bji1 ∶=
𝛼 ,𝜈
. Now we approximate generalized the mean value theorem for Riemann–Liou-
𝛤 (j−i+1)(𝛤 (i+1))2 𝛤 (i𝛼1 +𝜈+1)
ville fractional calculus. We give generalized mean value
the term (log t)i𝛼1 +𝜈 i n ( 1 3 ) b y H F L F s a s theorem for integral and differential operators with respect
∑m−1 𝛼 ,𝜈 ∑s to the function 𝜓 , which is the direct extension of the
= s=0 cis1 H𝛼s 1 (t) here cis1 = (2s + 1) n=0
𝛼 ,𝜈
(log t)i𝛼1 +𝜈
(−1)i+s 𝛤 (s+n+1) result given in [34].
.
Then (13) changes to:
𝛤 (s−n+1)(𝛤 (n+1))2 (𝜈+𝛼1 (n+i+1))
( ) Theorem 3 Suppose that u ∈ C[a, b] and D𝜈,𝜓
t u ∈ C(a, b) for
0 < 𝜈 ≤ 1 , then we have;
j m−1
𝜈 𝛼
∑ 𝛼 ,𝜈
∑ 𝛼 ,𝜈
H It Hj (t) ≊
1
bji1 cis1 H𝛼s 1 (t)
i=0 s=0
(14) 1
m−1
∑∑ j m−1
∑ u(t) = u(a) + D𝜈,𝜓 u(𝜉)(𝜓(t) − 𝜓(a))𝜈 ,
=
𝛼 ,𝜈 𝛼 ,𝜈
bji1 cis1 H𝛼s 1 (t) =
𝛼1 ,𝜈 𝛼1
Pjs,H Hs (t). 𝛤 (𝜈 + 1) t
13
Mathematical Sciences
∏m
𝜓 � (𝜂i )
𝔻n+1,𝜓 u(𝜉) Htm ∶= max �𝔻m+1,𝜓 u(t, x)� i=0
a n d
̃ = u(t) − P̃ n (t) = t
E(t) 𝜙(t). (18) t
(t,x)∈𝛺 4
(n + 1)! ∏m
𝜓 � (𝜂
∏n � �
i) j=0 𝜓 (𝜂j )
∏ � �
m,n
Ht,x ∶= max �𝔻m+1,𝜓
t 𝔻n+1,𝜓
x u(t, x)� i=0
, which
where 𝜙(t) ∶= ni=0 𝜓(t) − 𝜓(ti ) , where P̃ n (t) is the inter- (t,x)∈𝛺 16
will be used in the next result.
polating polynomial.
Theorem 6 Under the assumptions of Theorem 5 the error
Proof Let t′ be a fixed point which is different from the
bound for function approximation is given by:
nodes t0 , t1 , … , tn . We define a function
13
Mathematical Sciences
13
Mathematical Sciences
equations j,k=0
(43)
m−1
∑ 𝛼 𝛼2 ,𝜈2 𝛼2
In this section, we develop a method based on HFLFs to = Cjk Hj 1 (t)Pks,H Hs (x).
j,k,s=0
approximate the numerical solutions of Caputo–HFPDs.
Method to be introduced here depends on approximations Now converting Caputo–HFPD in (40) to an integral equa-
based on two-dimensional HFLFs. Considering a class of tion by applying H I𝜈x2 as;
Caputo–HFPDs:
𝜈2 𝜈1
H Ix H Dt u + 𝜙1H I𝜈x2 H D𝜈x2 u + 𝜙2H I𝜈x2 u = H I𝜈x2 f (t, x).
𝜈1
H Dt u + 𝜙1 (t, x)H D𝜈x2 u + 𝜙2 (t, x)u = f (t, x), (40)
Using Theorem 1 and (43) we have
subject to the initial and boundary conditions, respectively.
Here n − 1 < 𝜈1 ≤ n and p − 1 < 𝜈2 ≤ p.
m−1
∑ 𝛼 𝛼 ,𝜈
Cjk Hj 1 (t)Pks,H
2 2
H𝛼s 2 (x) + 𝜙1 (u(t, x) − u(t, a))
In order to demonstrate the procedure of presented
j,k,s=0
numerical schemes we have fixed n and p in each subsec-
tion and worked accordingly. The same strategy must be + 𝜙2H I𝜈x2 u = H I𝜈x2 f (t, x).
followed while dealing with the values of n and p other
Now by using the initial conditions and (42) we obtain
than these.
m−1
∑ 𝛼 𝛼 ,𝜈
Caputo–HFPDs with constant coefficients Cjk Hj 1 (t)Pks,H
2 2
H𝛼s 2 (x)
j,k,s=0
(
Considering (40) with 𝜙1 and 𝜙2 to be constants and the initial m−1
∑ 𝛼 ,𝜈 𝛼
conditions given as: H 𝔻it u(a, x) = Ai (x) and H 𝔻t u(t, a) = Bj (t)
j + 𝜙1 Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x)
j,k,s=0
for i = 0, 1 … n − 1 , j = 0, 1 … p − 1 . To construct the ( ) )
t
method for solution of this class of Caputo–HFPDs we fix +A1 (x) + A2 (x) log − B1 (t)
a
n = 2 and p = 1 , then we have a set of initial conditions: ( m−1
∑ 𝛼1 ,𝜈1 𝛼1
u(a, x) = A1 (x), H 𝔻t u(a, x) = A2 (x) and u(t, a) = B1 (t) for
𝛼
+ 𝜙2H I𝜈x2
a ≤ (t, x) ≤ b, We proceed towards the solution by approxi-
Cjk Pjs,H Hs (t)Hk 2 (x)
j,k,s=0
( )) (44)
mating the highest order partial derivative term in (40), which +A1 (x) + A2 (x) log
t
= H I𝜈x2 f (t, x)
in this case is; a
m−1
∑ 𝛼 𝛼 ,𝜈
𝜈1
m−1
∑ 𝛼 𝛼
Cjk Hj 1 (t)Pks,H
2 2
H𝛼s 2 (x)
H Dt u(t, x) = Cjk Hj 1 (t)Hk 2 (x). (41) j,k,s=0
j,k=0 m−1
∑ 𝛼 ,𝜈 𝛼
Now applying H It 1 on
𝜈
(41) and then using Theorem 1 to get: + 𝜙1 Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x)
j,k,s=0
( m−1 )
∑ m−1 m−1
𝜈 𝛼 𝛼 ∑ ∑ 𝛼 ,𝜈 𝛼 𝛼 ,𝜈 𝛼
u(t, x) = H It 1 Cjk Hj 1 (t)Hk 2 (x) + 𝜙2 Cjk Pjs,H
1 1
Hj 1 (t)Pkl,H
2
Hl 2 (x) = q,
j,k=0 j,k,s=0 l=0
) (
here q: = H x 2 f (t, x) + 𝜙1 B1 (t) − A1 (x) − A2 (x) log at
t ( ( ))
+ u(a, x) + H 𝔻t u(a, x) log . 𝜈
a
− 𝜙2H x 2 A1 (x) + A2 (x) log at . Matrix form of (44) is
( ( ))
Making use of (15) and the given initial conditions we get 𝜈
m−1
∑ 𝛼 ,𝜈 𝛼 H𝛼T CP𝛼2 ,𝜈2 H𝛼2 + 𝜙1 H𝛼T PT𝛼 ,𝜈 CH𝛼2
u(t, x) = Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x) 1 1 1 1
(45)
j,k,s=0 (42) + 𝜙2 H𝛼T PT𝛼 ,𝜈 CP𝛼2 ,𝜈2 H𝛼2 = Q,
( ) 1 1 1
t
+ A1 (x) + A2 (x) log . Further simplifications yield
a
Now we apply H I𝜈x2 on (41) to obtain A−1 𝜙1 H𝛼T PT𝛼 ,𝜈 C + CP𝛼2 ,𝜈2 = G. (46)
1 1 1
( )−1 ( )
Here G ∶= A−1 Q H𝛼2 and A ∶= H𝛼T + 𝜙2 H𝛼T PT𝛼 ,𝜈 .
1 1 1 1
13
Mathematical Sciences
this work, for better illustration of results the function u is Solving the Sylvester equation for unknown coefficient
evaluated at the points matrix C and using it in Equation (49) gives the solution
(
1 1 i 1 to this problem. The solution is evaluated at the points in
(t, x) = (a + b) + (b − a) cos( 𝜋), (a + b) (47) for N = 40 and the numerical results for fixed orders
2 2 ) N − 1 2
1 j (47) i-e 𝜈1 = 0.5 and 𝜈2 = 1.5 are shown in Fig. 1. Figure 1(a)
+ (b − a) cos(
2 N−1
𝜋) fori, j = 0, 1, … , N − 1. shows numerical solution that is approximated by choosing
𝛼1 = 𝛼2 = 0.5 while the absolute errors in the approxima-
Now we solve a special case of the problem of type consid- tion of this solution with different combinations of 𝛼1 and 𝛼2
ered in (40). are shown in the remaining figures. Particularly, in Fig. 1(b)
the absolute error in approximation of solution shown in
Example 1 Considering the Caputo–HFPDs in (40) with Fig. 1(a) is given, which is so far observed as the best
𝜙1 = 1 , 𝜙2 = 0 , n = 1 and p = 2 . The initial conditions are approximation among all the other possible combinations of
u(t, 1) = H 𝔻x u(t, 1) = 0 and u(1, x) = 0. 𝛼1 and 𝛼2 for m = 9 , that have been checked. In Fig. 1(c), the
absolute error in approximations corresponding to 𝛼1 = 0.5
Here and 𝛼2 = 0.75 is shown, while in Fig. 1(d), the errors in solu-
( )( ) tion approximation by choosing the integer order Legendre
f (t, x) ∶= 𝛤 (𝜈1 + 1) − 𝛤 (𝜈1 + 2) log t (log x)𝜈2 +1 − (log x)𝜈2 functions are illustrated. A comparison of absolute errors in
( )( )
+ (log t)𝜈1 − (log t)𝜈1 +1 𝛤 (𝜈2 + 2) log x − 𝛤 (𝜈2 + 1) . approximation of solutions is shown in Table 1. A general
trend observed by numerical data shows that the approxima-
It can be easily verified that the exact solution of this HFPD tions made with HFLFs are more accurate, which is evident
is from Fig. 1(c).
( )( )
u(t, x) = (log t)𝜈1 − (log t)𝜈1 +1 (log x)𝜈2 +1 − (log x)𝜈2 .
Caputo–HFPDs with variable coefficients
We start by approximating the partial derivative term by the
two-dimensional HFLFs as: This method is applicable to Caputo–HFPDs of type given in
(40) with variable coefficients, subject to the initial conditions
H 𝔻t u(a, x) = Ai (x) and H 𝔻t u(t, a) = Bj (t) for i = 0, 1, … , n − 1
m−1 j
𝜈
∑ 𝛼 𝛼
i
H Dt u =
1
Cjk Hj 1 (t)Hk 2 (x). (48)
j,k=0 and j = 0, 1, … , p − 1 . Furthermore, the coefficients 𝜙1 and
The next step is to convert the Caputo–HFPD in to an inte- Using the initial condition
gral equation, so we apply H I𝜈x2 on (40) and use the initial 𝜈
u(t, x) = H It 1 V(t, x) + A1 (x). (54)
condition which results in
𝜈1 By substituting (53) and (54) in Caputo–HFPD of this prob-
(51)
𝜈2
H Ix H Dt u + H I𝜈x2 H D𝜈x2 u = H I𝜈x2 f (t, x) lem we have
Plugging in the expressions form (49) and (50) we have
13
Mathematical Sciences
10 -12
0.08 6
5
0.06
4
0.04
Error
u(t,x)
3
0.02
2
0 1
-0.02 0
1 1
1 1
1.5 1.5
1.5 1.5
2 2 2
2
2.5 2.5 2.5 2.5
x 3 3 t x 3 3 t
(a) Exact and numerical solutions approximated with (b) Absolute error in solution approximation with α1 =
α1 = α2 = 0.5 and m = 9. α2 = 0.5 and m = 9.
-6
10 0.014
5
0.012
4
0.01
3 0.008
Error
Error
2 0.006
0.004
1
0.002
0
1 0
1.5 3
1
2 1.5 1
2
2 1.5
2.5 2
2.5 2.5
x 3 3 t 1 3
t x
(c) Absolute error in solution approximation with (d) Absolute error in solution approximation with α1 =
α1 = 0.5, α2 = 0.75 and m = 9. α2 = 1 and m = 9.
Fig. 1 Graphical representation of solution of HFPDEs and absolute errors in solution approximation with different choices of 𝛼1 and 𝛼2
( 𝜈 )
V(t, x) + 𝜙1H D𝜈x2 H It 1 V(t, x) + A1 (x) m−1
∑ 𝛼 𝛼
(56)
( 𝜈 ) 𝜈2
H Dx V(t, x) = Cjk Hj 1 (t)Hk 2 (x),
+ 𝜙2 H It 1 V(t, x) + A1 (x) = f (t, x),
𝜈 ( ) (55) j,k=0
V(t, x) + 𝜙1H It 1 H D𝜈x2 V(t, x)
( 𝜈 ) then
+ 𝜙2 H It 1 V(t, x) = H(t, x),
( )
where H(t, x) ∶= f (t, x) − 𝜙1H D𝜈x2 A1 (x) − 𝜙2 A1 (x) .
Approximating H D𝜈x2 V(t, x) by two-dimensional HFLFs as:
13
Mathematical Sciences
m−1
∑ ( 𝛼 ) Example 2 Considering Caputo–HFPDs given in
𝛼
V(t, x) = Cjk Hj 1 (t)H I𝜈x2 Hk 2 (x) (40) with 𝜙2 = 0 and 𝜙1 (t, x) = t2 , subject to ini-
j,k=0 tial conditions u(1, x) = 0 and u(t, 1) = H 𝔻x u(t, 1) = 0
for 1 ≤ t, x ≤ e. Exact solution of this problem is
( )
x
+ V(t, a) + H 𝔻x V(t, a) log .
a u(t, x) = (log t)𝜈1 +2 (log x)𝜈2 +1 , which can easily be verified
F r o m ( 5 3 ) w e h a v e V(t, a) = H Dt 1 B1 (t)
𝜈
and and f (t, x) ∶= 𝛤 (𝜈2+3) (log t)2 (log x)𝜈 +1 + t2 𝛤 (𝜈2 + 2)(log t)𝜈 +1 log x . We
1 2 1
substitution
m−1
∑ 𝛼 𝛼 ,𝜈 𝜈 𝜈
V(t, x) = Cjk Hj 1 (t)Pks,H
2 2
H𝛼s 2 (x) + H Dt 1 B1 (t) V(t, x) = H Dt 1 u(t, x). (62)
j,k,s=0 (57)
( ) We find u(t, x) in-terms of V(t, x) by applying H It 1 on (62),
𝜈
𝜈 x
+ H Dt 1 B2 (t) log . then simplifying the expressions and using the initial condi-
a
tions as:
By using (57) in (54) we get
𝜈
m−1 m−1
u(t, x) = H It 1 V(t, x). (63)
∑ ∑ 𝛼1 ,𝜈1 𝛼1 𝛼2 ,𝜈2 𝛼2
u(t, x) = Cjk Pjl,H Hl (t)Pks,H Hs (x) Using (62) and (63) in (40) with 𝜙1 (t, x) = t2 and 𝜙2 (t, x) = 0
j,k,s=0 l=0
( ) (58) we have:
x
+ B1 (t) + B2 (t) log + A1 (x). 𝜈
a V(t, x) + t2 H It 1 H D𝜈x2 V(t, x) = f (t, x). (64)
By substituting (56) and (57) in (55) we have Approximating the derivative term in (64) by two-dimen-
m−1
∑ sional HFLFs as:
𝛼 𝛼 ,𝜈
Cjk Hj 1 (t)Pks,H
2 2
H𝛼s 2 (x) m−1
j,k,s=0 ∑ 𝛼 𝛼
(65)
𝜈2
m−1 H Dx V(t, x) = Cjk Hj 1 (t)Hk 2 (x),
∑ 𝛼1 ,𝜈1 𝛼1 𝛼 j,k=0
+ 𝜙1 Cjk Pjs,H Hs (t)Hk 2 (x)
j,k,s=0 then
m−1 m−1
∑ ∑ 𝛼 ,𝜈 𝛼 𝛼 ,𝜈 m−1
+ 𝜙2 Cjk Pjl,H
1 1
Hj 1 (t)Pks,H
2 2
H𝛼s 2 (x) = Q(t, x). ∑ 𝛼 ( 𝛼 )
j,k,s=0 l=0
V(t, x) = Cjk Hj 1 (t)H I𝜈x2 Hk 2 (x) , (66)
(59) j,k=0
Here 𝜈1 and
Q(t, x) = H(t, x) − 𝜙2 B1 (t) − H Dt B1 (t)
− (𝜙2 B2 (t)
( )
+H Dt B2 (t)) log a . Matrix notation of (59) is
𝜈1 x 𝜈1 𝜈2
H It H Dx V(t, x)
(67)
m−1
H𝛼T CP𝛼2 ,𝜈2 H𝛼2 + D1 H𝛼T PT𝛼 ,𝜈 CH𝛼2 ∑ 𝛼 ,𝜈 𝛼
= Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x).
(60)
1 1 1 1
for X = H𝛼T PT𝛼 ,𝜈 and Y = P𝛼2 ,𝜈2 H𝛼2 . This Sylvester equation Matrix form of this equation is H𝛼T CP𝛼2 ,𝜈2 H𝛼2 + D1
1 1 1 1
is solved for the unknown coefficient matrix C, which is used H𝛼T PT𝛼 ,𝜈 CH𝛼2 = F , here D1 ∶= diag[t02 , t12 , … , tm−1
2
] . The
in (58) to obtain the solution of the initial value problem 1 1 1
with variable coefficients. We solve a specific problem of a results illustrated by tables and figures are obtained by evalu-
class given in Section 6.2 to show the efficacy of the sug- ating the solution u at points given in (47) with N = 40 .
gested method. Figure 2 and Table 2 show the numerical results for this
problem. Numerical solution of Caputo–HFPDs considered
in this problem for 𝜈1 = 0.5 and 𝜈2 = 1.5 which is
13
Mathematical Sciences
approximated by fixing 𝛼1 = 𝛼2 = 0.5 and m = 7 , is given in this case are chosen as u(a, x) = A1 (x), u(b, x) = A2 (x) and
Fig. 2(a) and the corresponding absolute error is shown in u(t, a) = B1 (t) for a ≤ t, x ≤ b.
Fig. 2(b). In Table 2 maximum absolute errors in the approx- We approach the solution by approximating the highest
imation of solutions of the considered Caputo–HFPDs of order derivative term which is H Dt 1 u in this case, by two-
𝜈
several orders are given which are approximated by frac- dimensional HFLFs as:
tional order and integer order Hadamard Legendre functions, m−1
respectively. Numerical data shows that the approximation 𝜈1
∑ 𝛼 𝛼
H Dt u(t, x) = Cjk Hj 1 (t)Hk 2 (x). (69)
with HFLFs is far more accurate than using integer order j,k=0
Hadamard Legendre function.
It is worth mentioning that in Sections "Caputo–HFPDs We apply Hadamard fractional integral on (69) and then use
with constant coefficients" and "Caputo–HFPDs with variable Theorem 1 to have
coefficients" we have approximated the highest order partial ( m−1 )
derivative appearing in the Caputo–HFPDs and the differen- 𝜈1
∑ 𝛼1 𝛼2
u(t, x) = H It Cjk Hj (t)Hk (x)
tial equation is converted to an integral equation by applying j,k=0
the fractional integral of the smaller order, we may solve this t
problem the other way around but generally the approxima- + u(a, x) + H 𝔻t u(a, x) log .
a
tions achieved are relatively better when following the former
strategy. Making use of (15) and an initial condition from problem
(40) we get
Caputo–HFPDs with boundary conditions m−1
∑ 𝛼 ,𝜈 𝛼
u(t, x) = Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x)
In this section, we consider Caputo–HFPDs given in (40) j,k,s=0 (70)
with boundary conditions. To construct methodology for t
+ A1 (x) + H 𝔻t u(a, x) log .
the solution we fix n = 2 and p = 1 . Boundary conditions in a
-13
10
1.2
1.2
1
1
0.8
0.8
Error
0.6
0.6
u(t,x)
0.4
0.4
0.2
0.2
0
3
0
3
2.5 3
-0.2 2 2.5
2 2
3
2.5 1.5
2 1.5
1.5 1 x 1
1 t 1 t
x
(a) The numerical and exact solutions approximated with (b) Absolute error in approximation of numerical solution.
α1 = α2 = 0.5 and m = 7.
13
Mathematical Sciences
Now we need to find H 𝔻t u(a, x) . Using (70) for t = b and the here H𝛼T (b) is a row vector whose elements are H𝛼s 1 (t) evalu-
boundary condition given in the problem we have:
1
ated at t=b for s = 0, 1, … , m − 1 a n d
( )−1
m−1
[log a , log a , … , log am ]T . By cleaning up
∑ b t0 t1 t
𝛼 ,𝜈 𝛼 T = log a
u(b, x) = Cjk Pjs,H
1 1
H𝛼s 1 (b)Hk 2 (x)
j,k,s=0 (71) equation (76) we obtain a Sylvester equation for unknown
b coefficient matrix, which is given as:
+ A1 (x) + H 𝔻t u(a, x) log
a
A−1 BC + CP𝛼2 ,𝜈2 = A−1 QH𝛼−1 , (77)
2
( )
b −1 ( w h e re A ∶= H𝛼T + 𝜙2 H𝛼T PT𝛼 ,𝜈 − 𝜙2 TH𝛼T (b)PT𝛼 ,𝜈 , a n d
𝔻
H t u(a, x) = log A2 (x) − A1 (x) 1 1 1 1 1 1 1
a
m−1
)
(72) B ∶= 𝜙1 H𝛼T PT𝛼 ,𝜈
− 𝜙1 TH𝛼T (b)PT𝛼 ,𝜈 . This Sylvester equation
∑ 1 1 1 1 1 1
is solved for C and using this coefficient matrix in equation
𝛼1 ,𝜈1 𝛼1 𝛼2
− Cjk Pjs,H Hs (b)Hk (x) .
j,k,s=0 (73) we obtain approximation of the solution of
Caputo–HFPDs. To show applicability of the suggested
Using (72) in (70) we have
scheme we solve a boundary value problem by following the
∑ (
m−1 strategy suggested in Section "Caputo–HFPDs with bound-
𝛼 ,𝜈 𝛼
u(t, x) = Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x) ary conditions".
j,k,s=0
)
(
b
)−1 (
t
)
𝛼1 ,𝜈1 𝛼1 𝛼2
(73) Example 3 Considering Caputo–HFPDs in (40) with
− log log C P H (b)Hk (x)
a a jk js,H s 𝜙1 (t, x) = 1 , 𝜙2 (t, x) = 0 , n = 2 , p = 1 , u(1, x) = (log x)𝜈2 +1 ,
+ h(t, x), u(e, x) = 1 + (log x)𝜈2 +1 u(t, 1) = (log t)𝜈1 +1 and
( )−1 ( )( ) f (t, x) = 𝛤 (𝜈1 + 2) log t + 𝛤 (𝜈2 + 2) log x . The exact solu-
here h ∶= A1 (x) + log ba log at A2 (x) − A1 (x) . Apply- tion to this problem is u(t, x) = (log t)𝜈1 +1 + (log x)𝜈2 +1 . We
ing H I𝜈x2 on Caputo–HFPDs in (40) we get approximate the numerical solution of this problem by the
𝜈2 𝜈1 method introduced in the preceding section. Approximating
H Ix H Dt u + 𝜙1 u(t, x)
the highest order derivative term by two-dimensional HFLFs
(74)
+ 𝜙2H I𝜈x2 u = H I𝜈x2 f (t, x) + 𝜙1 B1 (t). as introduced in (69), then by integrating this expression and
using the given conditions we have:
Using (69) and (73) we have
m−1
m−1
∑ 𝛼 ,𝜈 𝛼
∑ 𝛼 𝛼2 ,𝜈2 𝛼2 u(t, x) = Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x)
Cjk Hj 1 (t)Pkl,H Hl (x)
j,k,s=0 (78)
j,k,l=0
𝜈2 +1
m−1
∑ + (log x) + H 𝔻t u(1, x) log t.
𝛼 ,𝜈 𝛼
+ 𝜙1 Cjk Pjs,H
1 1
H𝛼s 1 (t)Hk 2 (x)
j,k,s=0 Using boundary condition in (78) we find an expression for
(
H 𝔻t u(1, x) , hence (78) is reduced to:
m−1 m−1
∑ ∑ 𝛼 ,𝜈 𝛼 ,𝜈 𝛼
+ 𝜙2 Cjk Pjs,H
1 1
H𝛼s 1 (t)Pkl,H
2 2
Hl 2 (x)
m−1
j,k,s=0 l=0 ∑ 𝛼 ,𝜈
[ u(t, x) = Cjk Pjs,H
1 1 𝛼
H𝛼s 1 (t)Hk 2 (x)
𝛼1 ,𝜈1 𝛼1 𝛼
− 𝜙1 Cjk Pjs,H Hs (b)Hk 2 (x)+
j,k,s=0
m−1
∑ ]( ) ( )
)
m−1
(79)
𝛼1 ,𝜈1 𝛼1 𝛼2 ,𝜈2 𝛼2 b −1 t ∑
𝜙2 Cjk Pjs,H Hs (b)Pkl,H Hl (x) log log = Q(t, x), − log t
𝛼1 ,𝜈1 𝛼1
Cjk Pjs,H
𝛼
Hs (e)Hk 2 (x) + h(t, x),
l=0
a a
j,k,s=0
(75)
( )
here Q ∶= + 𝜙1 B1 (t) − h(t, x) − 𝜙2H Ix h(t, x) .
𝜈2
H Ix f (t, x)
𝜈2 h e r e h ∶= (log x)𝜈2 +1 + log t . Now we conver t
Matrix form of equation (75) is Caputo–HFPDs to an integral equation by applying H I𝜈x2 as
in (74), substitute (69) and (79) in it. Further simplifications
H𝛼T CP𝛼2 ,𝜈2 H𝛼2 + 𝜙1 H𝛼T PT𝛼 ,𝜈 CH𝛼2 − 𝜙1 TH𝛼T (b)PT𝛼 ,𝜈 CH𝛼2 lead to a Sylvester equation, which is given as:
1 1 1 1 1 1 1
13
Mathematical Sciences
approximations of solution at different points. For better Table 3 A comparison of absolute errors in solution approximation
demonstration of results, the function u is further evaluated of different FPDEs with different choices of 𝛼 ’s and N = 40
at the points given in (47) for N = 40 . Figure 3(a) shows the 𝛼1 𝛼2 = 0.50 𝛼2 = 0.75 𝛼2 = 1.00
numerical solution to the considered problem with 𝜈1 = 1.5
0.50 2.4855×10−11
𝜈1 = 1.50, 𝜈2 = 0.50 7.1973×10−01 4.0238×10−01
and 𝜈2 = 0.5 , this approximation is made by fixing
𝛼1 = 𝛼2 = 0.5 and m = 8 . The numerical data given in 0.75 1.3379×10−04 7.1212×10−01 4.0275×10−01
Table 3 shows the maximum absolute errors in the approxi- 1.00 2.8629×10−04 7.1350×10−01 4.0285×10−01
mation of numerical solutions of Caputo–HFPDs of fixed 𝛼1 𝛼2 = 0.25 𝛼2 = 0.50 𝛼2 = 0.75
orders 𝜈1 = 1.5 , 𝜈2 = 0.5 and 𝜈1 = 1.5 , 𝜈2 = 0.75 , respec- 0.25 17.2374×10−01 9.5460×10−01
𝜈1 = 1.50, 𝜈2 = 0.75 2.4002×10−01
tively. We have listed down the maximum absolute errors in 0.5 5.4623×10−08 2.7579×10−01 1.0590×10−10
the approximation of solutions to these Caputo–HFPDs with 0.75 4.2017×10−04 3.0269×10 −01
9.0771×10−04
several possible combinations of orders of HFLFs i-e 𝛼1 and
𝛼2 , aiming to figure out the best suited combination for most
( )
accurate approximation of solution. The best possible com- f (t, x) = sin(log x) 𝛤 (1 + 𝜈1 ) + (log t)𝜈1 and 𝛥 is the Lapla-
bination of orders of HFLFs for this problem by fixing cian. It can be verified that the exact solution
( )to this problem
𝜈1 = 1.5 and 𝜈2 = 0.5 is found to be 𝛼1 = 𝛼2 = 0.5 and for 2
is u(t, x) = sin(log x)(log t)𝜈1 . As H 𝔻2x = x 𝜕x
𝜕 𝜕
= x 𝜕x + x2 𝛥 ,
𝜈1 = 1.5 and 𝜈2 = 0.75 the best choice is 𝛼1 = 0.5 and
𝛼2 = 0.25 . Hence, it is deduced that the choice of the orders so we rewrite (81) as
of HFLFs for the approximation of solutions depends on the 𝜈1
H Dt u − H 𝔻2x u = f (t, x). (82)
orders of Caputo–HFPDs.
Now we carry out another numerical experiment to Now in this case we approach the solution by approximating
check efficiency of the proposed scheme. We apply the the term H 𝔻2x u in terms of two-dimensional HFLFs as
proposed scheme to approximate the solutions of a bound-
m−1
ary value problem that is different from the form given in ∑ 𝛼 𝛼
(83)
2
H 𝔻x u(t, x) = Cjk Hj 1 (t)Hk 2 (x).
(40).
j,k=0
Example 4 Considering the partial differential equation of Application of H I2x on (83) yields
type
m−1
∑
1 < 𝜈1 ≤ 2,
𝛼 𝛼 ,2
𝜈1 𝜕u u(t, x) = Cjk Hj 1 (t)Pks,H
2
H𝛼s 2 (x)
H Dt u − x − x2 𝛥u = f (t, x), (81) j,k,s=0 (84)
𝜕x
+ ux (t, 1) log x.
subject to the boundary conditions; u(1, x) = 0 , ut (1, x) = 0 ,
u(t, 1) = 0 , u(t, e) = sin(1)(log t)𝜈1
. In this case
-11
10
2.5 2.5
2 2
1.5 1.5
Error
1
u(t,x)
0.5
0.5
0
0
1
-0.5 1.5
3
2
2.5 3 1
2 2.5 2.5 1.5
1.5 2 2
1.5 2.5
1 1 x 3
x t 3
t
(a) Numerical and exact solutions for ν1 = ν2 = 1.50 ap- (b) Absolute error in numerical approximation of solution.
proximated by choosing α1 = α2 = 0.5 and m = 8.
13
Mathematical Sciences
The term ux (t, 1) is unknown in (84), evaluating (84) at x = e Matrix form of (87) will be further rearranged in to a Syl-
will give the expression for ux (t, 1) which when used in (84) vester equation, which will be solved for the coefficient
results in matrix C. C will then be used in (85) to obtain approximate
m−1
solutions of the problem. We add a few results here which
∑ 𝛼 𝛼 ,2 are obtained by implementing some MATLAB programs.
u(t, x) = Cjk Hj 1 (t)Pks,H
2
H𝛼s 2 (x)
j,k,s=0
In Fig. 4(a) exact and approximate solutions of the chosen
problem are shown while in Fig. 4(b) the absolute errors
+ log x(sin(1)(log t)𝜈1 (85)
) in the approximation given in Figure 4(a) are shown. In
Table 4, the absolute errors in approximation of the solutions
m−1
∑ 𝛼 𝛼 ,2
− Cjk Hj 1 (t)Pks,H
2
H𝛼s 2 (e) .
with different choices of parameters 𝛼1 , 𝛼2 , m, and 𝜈1 are
j,k,s=0
given. According to the data given in Table 4 the approxi-
Next, we apply H It 1 on (82) to get
𝜈
mations made by fixing 𝛼1 to be non integer and 𝛼2 = 1 are
𝜈 𝜈
relatively better for some cases. As in this case according to
u(t, x) − H It 1 H 𝔻2x u(t, x) = H It 1 f (t, x). (86) the data given in Table 4 the approximations made by fixing
both the 𝛼1 and 𝛼2 to be non integers are not that accurate as
By using (83) and (85) in (86) we get the approximations that were made by fixing 𝛼1 to be non
m−1 m−1 m−1
∑ 𝛼 𝛼 ,2
∑ 𝛼 𝛼 ,2
∑ 𝛼 ,𝜈 𝛼 ,2 𝛼
Cjk Hj 1 (t)Pks,H
2
H𝛼s 2 (x) − log x Cjk Hj 1 (t)Pks,H
2
H𝛼s 2 (e) − Cjk Pjs,H
1 1
H𝛼s 1 (t)Pks,H
2
Hk 2 (x)
j,k,s=0 j,k,s=0 j,k,s=0 . (87)
𝜈1
= H It f (t, x) − sin(1)(log t)𝜈1 log x
integer while 𝛼2 to be 1.
-11
10
0.8 7
6
0.6
5
u(t,x)
0.4 4
Error
3
0.2
2
1 3
0
3 0 2
2 1 1.5
2.5 3 2 1
1.5 2 2.5 x
x 1 1
t t
(a) Numerical and exact solutions for ν1 = 1.50 approxi- (b) Absolute error in numerical approximation of solution.
mated by fixing α1 = 0.5, α2 = 1 and m = 9.
13
Mathematical Sciences
13
Mathematical Sciences
27. Kazem, S., Abbasbandy, S., Kumar, S.: Fractional-order Legendre 34. Odibat, Z.M., Shawagfeh, N.T.: Generalized Taylor’s formula.
functions for solving fractional-order differential equations. Appl. Appl. Math. Computat. 186(1), 286–93 (2007)
Math. Modell. 37(7), 5498–510 (2013) 35. Gasca, M., Sauer, T.: On the history of multivariate polynomial
28. Davari, A., Ahmadi, A.: New implementation of Legendre polyno- interpolation. J. Comput. Appl. Math. 122, 23–35 (2000). https://
mials for solving partial differential equations. Appl. Math. 4(12), doi.org/10.1016/S0377-0427(00)00353-8
1647 (2013) 36. Nemati, S., Ordokhani, Y.: Legendre expansion methods for the
29. Rivaz, A., Ara, S.J., Yousefi, F.: Two-dimensional Chebyshev numerical solution of nonlinear 2D Fredholm integral equations of
polynomials for solving two-dimensional integro-differential the second kind. Journal of Applied Mathematics and Informatics.
equations. Cankaya University Journal of Science and Engineer- 31(5_6), 609-21 (2013)
ing. 12(2) (2015) 37. Butcher, J.C., Heard, A.D.: Stability of numerical methods for
30. Hesameddini, E., Shahbazi, M.: Two-dimensional shifted Leg- ordinary differential equations. Num. Algorithms. 31(1), 59–73
endre polynomials operational matrix method for solving the two- (2001)
dimensional integral equations of fractional order. Appl. Math. 38. El-Hady, E.S., Ogrekci, S.: On Hyers-Ulam-Rassias stability of
Comput. 1(322), 40–54 (2018) fractional differential equations with Caputo derivative. J. Math.
31. Haq, S., Ali, I.: Approximate solution of two-dimensional Sobolev Comput. Sci. 22, 325–32 (2021)
equation using a mixed Lucas and Fibonacci polynomials. Eng.
Comput. 12, 1 (2021) Springer Nature or its licensor (e.g. a society or other partner) holds
32. Yin, F., Song, J., Wu, Y., Zhang, L.: Numerical solution of the exclusive rights to this article under a publishing agreement with the
fractional partial differential equations by the two-dimensional author(s) or other rightsholder(s); author self-archiving of the accepted
fractional-order Legendre functions. InAbstract and Applied manuscript version of this article is solely governed by the terms of
Analysis (Vol. 2013). Hindawi (Jan 1 2013) such publishing agreement and applicable law.
33. Omar, Z., Mitianoudis, N., Stathaki, T.: Two-dimensional Cheby-
shev polynomials for image fusion. In 28th Picture Coding Sym-
posium (pp. 426-429). IEEE (2010 Dec 8)
13