Caputo-Hadamard fractional derivatives of variable order

2 downloads 0 Views 344KB Size Report
Jul 26, 2016 - If x is differentiable, using integration by parts and then differentiating the integral, we obtain an equivalent definition for the Caputo fractional ...
arXiv:1607.07591v1 [math.NA] 26 Jul 2016

Caputo–Hadamard fractional derivatives of variable order Ricardo Almeida [email protected] Center for Research and Development in Mathematics and Applications (CIDMA), Department of Mathematics, University of Aveiro, 3810–193 Aveiro, Portugal Abstract In this paper we present three types of Caputo–Hadamard derivatives of variable fractional order, and study the relations between them. An approximation formula for each fractional operator, using integer-order derivatives only, is obtained, and an estimation for the error is given. At the end we compare the exact fractional derivative of a concrete example with some numerical approximations. Keywords: fractional calculus, variable fractional order, Caputo fractional derivative, Hadamard fractional derivative, expansion formulas. Mathematics Subject Classification 2010: 26A33, 33F05.

1

Introduction

At the same time ordinary calculus was developed for integer-order derivatives in the seventeenth century, L’Hˆ opital and Leibniz wondered about the notion of derivative of order n = 1/2. Two centuries later, with the works of Fourier, Riemann, Liouville, Hadamard, Gr¨ unwald, etc., numerous definitions trying to generalize the notion of ordinary derivative were developed. This was primarily a theoretical study for mathematicians, with several notions of fractional operators appearing and their properties well studied. In the past decades, with the discovery that processes like conservation mass, viscoelasticity, nanotechnology, signal processing, and several other applications in engineering are better described by fractional derivatives, these discoveries have gained a great importance. Fractional derivatives are nonlocal concepts, and for this reason may be more suitable to translate natural phenomena. In our days, one can find several books and journals dedicated exclusively to fractional calculus theory, not only on the subject of mathematics but also physics, engineering, economics, applied sciences, etc. Due the complexity of dealing with fractional operators, we find different numerical approaches to solve the desired problems. One of those available methods consists in approximating the fractional derivative by an expansion that depends on integer-order derivatives only [1, 12, 13]. With this technique in hand, given any problem involving fractional operators, we can simply replace them with the given expansion, obtaining a new problem that depends on integer-order derivatives only. After that, we can apply any known technique to solve it. The main advantage of this procedure is that we do not need higher-order derivatives in order to have a good approximation, in opposite to other methods e.g. the approximation for the Riemann–Liouville fractional derivative [15], ∞   X α (t − a)n−α (n) α D x(t) = x (t) a t n Γ(n + 1 − α) n=0

and for the Hadamard fractional derivative we have [2] H α 0 Dt x(t)

=

∞ X

S(α, n)tn x(n) (t),

n=0

1

where S(α, n) is the Stirling function.

2

Fractional calculus of variable order

In this section, we present three new types of fractional operators, which combine the Caputo with the Hadamard fractional derivatives. The order of the derivative is a function α(t), that depends on time, and when it is constant we prove that the three definitions coincide. To start, we review some concepts on fractional derivative operators with constant order [9, 10, 15]. Let α be a real in the interval (0, 1) and x be a real valued function with domain [a, b]. The Caputo fractional derivative of x of order α is given by C α a Dt x(t)

= a Dtα [x(t) − x(a)],

where a Dtα stands for the Riemann-Liouville fractional derivative: α a Dt x(t)

=

1 d Γ(1 − α) dt

Z

t

(t − τ )−α x(τ )dτ.

a

If x is differentiable, using integration by parts and then differentiating the integral, we obtain an equivalent definition for the Caputo fractional derivative: Z t 1 C α (t − τ )−α x′ (τ )dτ. a Dt x(t) = Γ(1 − α) a With respect to the Hadamard fractional derivative, we have the following definition: H α a Dt x(t)

−α Z t t x(τ ) ln dτ. τ τ a

d t = Γ(1 − α) dt

For example, for γ > 0, if we take the two functions x(t) = (t − a)γ and y(t) = ln at C α a Dt x(t)

Γ(γ + 1) = (t − a)γ−α Γ(γ + 1 − α)

and

H α a Dt y(t)

Γ(γ + 1) = Γ(γ + 1 − α)



, then

 γ−α t . ln a

One natural extension of these two concepts is to define the Caputo–Hadamard fractional derivative of order α [6, 7]: −α Z  t t d t x(τ ) − x(a) CH α ln dτ, a Dt x(t) = Γ(1 − α) dt a τ τ or in an equivalent way, CH α a Dt x(t)

1 = Γ(1 − α)

−α Z t t ln x′ (τ )dτ. τ a

We extend the previous notions by considering the order of the derivative a real valued function α : [a, b] → (0, 1). This is a very recent direction of research, and was studied for the first time in [16] with respect to the Riemann–Liouville fractional derivative. Since these fractional operators are nonlocal, and contain memory about the past dynamic, it is natural to consider the order of the derivative also variable, depending on the process. In fact, several applications were found and it is nowadays a growing subject that has attracted the attention of a vast community [3, 4, 5, 8, 11, 14, 17]. In this paper we deal with a combined Caputo–Hadamard fractional derivative with fractional variable order. Three different types of operators are given. Definition 1. Let a, b be two reals with 0 < a < b, and x : [a, b] → R be a function. The left Caputo–Hadamard fractional derivative of order α(t)

2

1. type 1 is defined by α(t) x(t) a Dt

−α(t) Z t t ln x′ (τ )dτ ; τ a

1 = Γ(1 − α(t))

2. type 2 is defined by α(t) x(t) a Dt

! −α(t) Z t t x(τ ) − x(a) ln dτ ; τ τ a

t d = Γ(1 − α(t)) dt

3. type 3 is defined by α(t) x(t) a Dt

d =t dt

1 Γ(1 − α(t))

! −α(t) Z t x(τ ) − x(a) t dτ . ln τ τ a

Analogous definitions for the right fractional operators are given: Definition 2. Let a, b be two reals with 0 < a < b, and x : [a, b] → R be a function. The right Caputo–Hadamard fractional derivative of order α(t) 1. type 1 is defined by α(t) x(t) t Db

=

−1 Γ(1 − α(t))

Z

b t

 τ −α(t) x′ (τ )dτ ; ln t

2. type 2 is defined by α(t) x(t) t Db

−t d = Γ(1 − α(t)) dt

Z

b

t

!



τ −α(t) x(τ ) − x(b) ln dτ t τ

b

 τ −α(t) x(τ ) − x(b) ln dτ t τ

;

3. type 3 is defined by α(t) x(t) t Db

d = −t dt

1 Γ(1 − α(t))

Z

t

!

.

We will see that these definitions do not coincide. To start, we prove the following Lemma. γ Lemma 1. Let γ > 0 and consider the function x(t) = ln at . Then  γ−α(t) t ln 1. . a  γ−α(t) Γ(γ + 1) t α(t) 2. a Dt x(t) = ln Γ(γ + 1 − α(t)) a       γ+1−α(t) t t tα′ (t)Γ(γ + 1) ln ln ln + ψ(1 − α(t)) − ψ(γ + 2 − α(t)) . − Γ(γ + 2 − α(t)) a a  γ−α(t) t Γ(γ + 1) α(t) ln 3. a Dt x(t) = Γ(γ + 1 − α(t)) a       γ+1−α(t) t t tα′ (t)Γ(γ + 1) ln ln ln − ψ(γ + 2 − α(t)) . − Γ(γ + 2 − α(t)) a a α(t) x(t) a Dt

Γ(γ + 1) = Γ(γ + 1 − α(t))

3

Proof. We only prove the first one; the others are proven in a similar way. First, observe that −α(t)  Z t τ γ−1 t γ 1 ln ln dτ = Γ(1 − α(t)) a τ τ a  −α(t) Z t   −α(t)  τ γ−1 dτ ln τ γ t = ln 1 − at . ln Γ(1 − α(t)) a a τ ln a a

α(t) x(t) a Dt

If we proceed with the change of variables ln

τ t = s ln , a a

we get α(t)

a Dt

x(t)

 −α(t) Z 1 γ−1    t t t γ ln ln ds (1 − s)−α(t) sγ−1 ln Γ(1 − α(t)) a a a 0  γ−α(t) Z 1 t γ ln (1 − s)−α(t) sγ−1 ds = Γ(1 − α(t)) a 0  γ−α(t) γ t = ln B(1 − α(t), γ), Γ(1 − α(t)) a

=

where B(·, ·) is the beta function. Using the relation Γ(1 − α(t))Γ(γ) , Γ(γ + 1 − α(t))

B(1 − α(t), γ) = we prove the desired formula. In a similar way we have the following:

Lemma 2. Let γ > 0 and consider the function x(t) = ln bt



. Then

 γ−α(t) b 1. ln . t  γ−α(t) Γ(γ + 1) b α(t) 2. t Db x(t) = ln Γ(γ + 1 − α(t)) t     γ+1−α(t)   b b tα′ (t)Γ(γ + 1) ln ln ln + ψ(1 − α(t)) − ψ(γ + 2 − α(t)) . + Γ(γ + 2 − α(t)) t t  γ−α(t) b Γ(γ + 1) α(t) ln 3. t Db x(t) = Γ(γ + 1 − α(t)) t     γ+1−α(t)   tα′ (t)Γ(γ + 1) b b + ln ln ln − ψ(γ + 2 − α(t)) . Γ(γ + 2 − α(t)) t t α(t) x(t) t Db

Γ(γ + 1) = Γ(γ + 1 − α(t))

Theorem 1. The following relations hold: α(t)

a Dt

α(t)

x(t) = a Dt

x(t) +

tα′ (t) Γ(2 − α(t))

Z t

ln

a

t τ

1−α(t)

x′ (τ )



  t 1 dτ − ln ln 1 − α(t) τ

and α(t) x(t) a Dt

=

α(t) x(t) a Dt

tα′ (t)ψ(1 − α(t)) + Γ(1 − α(t))

4

−α(t) Z t t x(τ ) − x(a) ln dτ. τ τ a

Proof. Starting with the formula α(t) x(t) a Dt

! −α(t) Z t t x(τ ) − x(a) ln dτ , τ τ a

d t = Γ(1 − α(t)) dt

and integrating by parts choosing −α(t)  1 t u (τ ) = ln τ τ ′

and v(τ ) = x(τ ) − x(a),

we obtain α(t) x(t) a Dt

t d = Γ(1 − α(t)) dt

1 1 − α(t)

! 1−α(t) Z t t ′ ln x (τ )dτ . τ a

Differentiating the product, we prove the formula. The second one follows immediately from the definition. From this result, for an arbitrary function x, we see that these three definitions coincide α(t) x(t) a Dt

α(t)

≡ a Dt

α(t)

x(t) ≡ a Dt

x(t),

only when the order α(t) or the function x are constant. For what concerns the right fractional operators, we have the two following relations.  Z b  τ  τ 1−α(t) ′ 1 tα′ (t) α(t) α(t) dτ ln x (τ ) − ln ln D x(t) = D x(t) + t b t b Γ(2 − α(t)) t t 1 − α(t) t and α(t)

t Db

α(t)

x(t) = t Db

x(t) −

tα′ (t)ψ(1 − α(t)) Γ(1 − α(t))

Z

b

t

1

 τ −α(t) x(τ ) − x(b) ln dτ. t τ

Theorem 2. Let x be of class C . Then α(t) x(t) a Dt

α(t)

= a Dt

α(t)

x(t) = a Dt

x(t) = 0,

at t = a. α(t)

Proof. For what concerns a Dt

x(t), we have

α(t) a Dt x(t) ≤

kx′ k Γ(1 − α(t))

−α(t) Z t t 1 ln · τ dτ. τ τ a

Integrating by parts, we get

α(t) a Dt x(t) ≤

"  1−α(t) Z t  1−α(t) # t t kx′ k ln a ln + dτ , Γ(2 − α(t)) a τ a α(t)

which vanishes at t = a. To prove that a Dt x(t) = 0 at t = a, using Theorem 1, is enough to prove that 1−α(t) 1−α(t)   Z t Z t t t t ln ln dτ = 0, dτ = ln ln τ τ τ a a for t = a. With respect to the first integral, is obvious. For the second one, let f (τ ) =



ln

t τ

1−α(t)

  t , ln ln τ 5

τ ∈ [a, t[.

Since f (τ ) → 0 as τ → t, we can extend continuously f to the closed interval [a, t] by letting f (t) = 0. Finding the extremals for f , we prove that for all τ ∈ [a, t], ) ( 1−α(t)   t 1 t ln ln , . |f (τ )| ≤ max ln a a e(1 − α(t))

With this we prove the second part. The last one is clear, using the second relation in Theorem 1 and integration by parts.

3

Expansion formulas for the Caputo–Hadamard fractional derivatives

Define the sequence (xk )k∈N recursively by the formula x1 (t) = tx′ (t) and xk+1 (t) = tx′k (t), k ∈ N. Also, for k ∈ N, define the quantities Ak Bk

 1 1 + = Γ(k + 1 − α(t))

N X

p=n−k+1

Γ(α(t) − n + k) , = Γ(1 − α(t))Γ(α(t))(k − n)!

and the function Vk (t) =

Z t

ln

a

 Γ(α(t) − n + p) , Γ(α(t) − k)(p − n + k)!

τ k ′ x (τ )dτ. a

Theorem 3. Let x : [a, b] → R be a function of class C n+1 , for n ∈ N, and fix N ∈ N with N ≥ n. Then, α(t) x(t) a Dt

=

n X

k=1

k−α(t) n−k−α(t)   N X t t Ak ln xk (t) + Bk ln Vk−n (t) + E(t), a a k=n

with E(t) ≤

(t − a) exp((n − α(t))2 + n − α(t)) Γ(n + 1 − α(t))N n−α(t) (n − α(t))



ln

t a

n−α(t)

max |x′N (τ )| .

τ ∈[a,t]

Proof. Integrating by parts the integral α(t) x(t) a Dt

with

1 = Γ(1 − α(t))

−α(t) Z t 1 t x1 (τ )dτ, ln τ τ a

 −α(t) t 1 u (τ ) = ln τ τ ′

we get α(t) x(t) a Dt

1 = Γ(2 − α(t))

and v(τ ) = x1 (τ ),

 1−α(t) 1−α(t) Z t t t 1 1 ln ln x1 (a) + x2 (τ )dτ. a Γ(2 − α(t)) a τ τ

If we proceed integrating by parts n − 1 more times, the following formula is obtained: α(t) x(t) a Dt

=

n X

k=1

1 Γ(k + 1 − α(t))

 k−α(t) n−α(t) Z t t 1 1 t ln xk (a)+ xn+1 (τ )dτ. ln a Γ(n + 1 − α(t)) a τ τ 6

By the Taylor’s Theorem, we obtain the sum n−α(t)  t ln τ

n−α(t)    ln τa n−α(t) t 1− = ln a ln at   n−α(t) X  N  τ p n − α(t) t p ln a p + E1 (t), (−1) = ln p a ln at p=0

where E1 (t) = and

p n−α(t) X    ∞ ln τa t n − α(t)  ln (−1)p p a p ln at p=N +1   Γ(α(t) − n + p) n − α(t) (−1)p = . Γ(α(t) − n)p! p

Using this relation, we get the new formula α(t) x(t) a Dt

where

n X

 k−α(t) t 1 ln xk (a) = Γ(k + 1 − α(t)) a k=1  n−α(t) X N Γ(α(t) − n + p) t 1 p ln + Γ(n + 1 − α(t)) a Γ(α(t) − n)p! ln at p=0 Z t τ p 1 xn+1 (τ )dτ + E(t), × ln a τ a 1 E(t) = Γ(n + 1 − α(t))

Z

a

t

1 E1 (t) xn+1 (τ )dτ. τ

If we split the sum into the first term p = 0 and the remaining ones p = 1 . . . N , and use integration by parts taking  τ p 1 u(τ ) = ln and v ′ (τ ) = xn+1 (τ ) = x′n (τ ), a τ we get α(t)

a Dt

x(t)

=

n−1 X

  k−α(t) n−α(t) t t 1 ln xk (a) + An ln xn (t) Γ(k + 1 − α(t)) a a k=1  n−1−α(t) X N Γ(α(t) − n + p) t 1 ln +  t p−1 Γ(n − α(t)) a p=1 Γ(α(t) + 1 − n)(p − 1)! ln a Z t τ p−1 1 ln × xn (τ )dτ + E(t). a τ a

Observe that

1 xn (τ ) = x′n−1 (τ ). τ Repeating this procedure, i.e., splinting the second sum (first term p = k plus the remaining ones p = k + 1 . . . N ) and integrating by parts the integral that appears in the sum p = k + 1 . . . N , we obtain the desired the formula. For the error, observe that for τ ∈ [a, t], we have p ln τa  0≤ p ≤ 1. ln at

7

Thus, n−α(t) X  ∞ exp((n − α(t))2 + n − α(t)) t ln a pn+1−α(t) p=N +1 n−α(t) Z ∞  t exp((n − α(t))2 + n − α(t)) dp ≤ ln a pn+1−α(t) n−α(t) N  t exp((n − α(t))2 + n − α(t)) = ln . a N n−α(t) (n − α(t))

|E1 (t)| ≤

The rest of the proof follows immediately. Observe that, for N sufficiently large, we have the approximation α(t)

a Dt

x(t) ≈

n X

k=1

 k−α(t) n−k−α(t)  N X t t xk (t) + Bk ln Vk−n (t). Ak ln a a

(1)

k=n

Theorem 4. Let x : [a, b] → R be a function of class C n+1 , for n ∈ N, and fix N ∈ N with N ≥ n. Then, α(t) x(t) a Dt

=

 k−α(t) n−k−α(t)  1−α(t)  N X t t tα′ (t) t ln xk (t) + Bk ln Vk−n (t) + Ak ln a a Γ(2 − α(t)) a k=n k=1 "   X  N  p 1 − α(t) (−1) 1 t p Vp (t) × − ln ln p 1 − α(t) a ln at p=0 #  N N  X X 1 1 − α(t) p (−1) Vp+r (t) + E(t), +  t p+r p r=1 r ln p=0 n X

a

with

n−α(t)  t (t − a) exp((n − α(t))2 + n − α(t)) max |x′N (τ )| ln E(t) ≤ a τ ∈[a,t] Γ(n + 1 − α(t))N n−α(t) (n − α(t))  1−α(t) (t − a)t |α′ (t)| exp((1 − α(t))2 + 1 − α(t)) t + ln max |x′ (τ )| 1−α(t) (1 − α(t)) a τ ∈[a,t] Γ(2 − α(t))N   (2t − a) ln at 1 t + × − ln ln . 1 − α(t) a N

Proof. Recalling Theorem 1, we have α(t)

a Dt

α(t)

x(t) = a Dt

x(t) +

tα′ (t) Γ(2 − α(t))

  1−α(t)  Z t 1 t t x′ (τ ) − ln ln ln dτ, τ 1 − α(t) τ a

and so we only need to expand the second term in the right side: tα′ (t) Γ(2 − α(t))

1−α(t)    Z t t t 1 dτ. ln x′ (τ ) − ln ln τ 1 − α(t) τ a

On one hand, as was seen in the proof of Theorem 3, we have #    1−α(t)  1−α(t) "X N  τ p t 1 − α(t) t p ln a p + E1 (t) , ln (−1) = ln p τ a ln at p=0

where

   ∞ τ p X 1 − α(t) p ln a p . E1 (t) = (−1) p ln at p=N +1 8

(2)

On the other hand,       ln τa t t = ln ln + ln 1 − ln ln τ a ln at r  X  N ln τa t r − E2 (t), − = ln ln a r ln at r=1

where

E2 (t) =

∞ X

r=N +1

ln τa

r

r ln at

Substituting these two relations in Eq. (2), we obtain tα′ (t) Γ(2 − α(t))

r .

 1−α(t) t ln a

"

#    X  N N  N  X X 1 1 − α(t) 1 1 − α(t) (−1)p t p p Vp (t) + (−1) × Vp+r (t) − ln ln  t p+r p p 1 − α(t) a ln at r=1 r ln a p=0 p=0  1−α(t)   Z t   Z t t t 1 tα′ (t) ln × − ln ln E1 (t)x′ (τ ) dτ + E1 (t)E2 (t)x′ (τ ) dτ . + Γ(2 − α(t)) a 1 − α(t) a a a

We now determine the upper bound for the error. As was seen in proof of Theorem 3, we have |E1 (t)| ≤

exp((1 − α(t))2 + 1 − α(t)) . N 1−α(t) (1 − α(t))

On the other hand, Z

t

E2 (t) dτ = a

Integrating by parts, Z

a

t

E2 (t) dτ

∞ X

1 r r ln at r=N +1

Z

a

t

 τ r dτ τ · ln . a τ

" r+1 # Z t ln τa t 1 r dτ t ln − = r(r + 1) a ln at a r=N +1   Z t ∞ X t t 1 t ln + ln dτ ≤ r(r + 1) a a a r=N +1 Z ∞ (2t − a) ln at 1 t dr = . ≤ (2t − a) ln a N r2 N ∞ X

Combining these relations, we prove the result. Finally, we have the expansion formula for the Caputo–Hadamard fractional derivative of order α(t) type 3. Theorem 5. Let x : [a, b] → R be a function of class C n+1 , for n ∈ N, and fix N ∈ N with N ≥ n. Then, α(t) x(t) a Dt

 k−α(t) n−k−α(t)  1−α(t)  N X t t tα′ (t) t ln xk (t) + Bk ln Vk−n (t) + = Ak ln a a Γ(2 − α(t)) a k=n k=1 "    X N  t 1 − α(t) (−1)p p Vp (t) × ψ(2 − α(t)) − ln ln p a ln at p=0 #  N N  X X 1 1 − α(t) p (−1) Vp+r (t) + E(t), +  t p+r p r=1 r ln a p=0 n X

9

with n−α(t)  (t − a) exp((n − α(t))2 + n − α(t)) t max |x′N (τ )| E(t) ≤ ln a τ ∈[a,t] Γ(n + 1 − α(t))N n−α(t) (n − α(t)) 1−α(t)  (t − a)t |α′ (t)| exp((1 − α(t))2 + 1 − α(t)) t max |x′ (τ )| + ln 1−α(t) (1 − α(t)) a τ ∈[a,t] Γ(2 − α(t))N   (2t − a) ln at t + × ψ(2 − α(t)) − ln ln . a N

Proof. By Theorem 1, we only need to expand the term −α(t) Z  tα′ (t)ψ(1 − α(t)) t x(τ ) − x(a) t dτ. ln Γ(1 − α(t)) τ τ a Integrating by parts, we get tα′ (t)ψ(1 − α(t)) Γ(2 − α(t)) Using Taylor’s Theorem on the term ln τt

1−α(t) Z t t x′ (τ )dτ. ln τ a

1−α(t)

, combining with Theorem 4 and using the formula

1 = ψ(2 − α(t)), 1 − α(t)

ψ(1 − α(t)) + we prove the result.

Similar formulas are obtained for the right Caputo–Hadamard fractional derivatives. Letting, for k ∈ N,   N k X (−1) Γ(α(t) − n + p) 1 + , Ak = Γ(k + 1 − α(t)) Γ(α(t) − k)(p − n + k)! p=n−k+1

Bk

−Γ(α(t) − n + k) , = Γ(1 − α(t))Γ(α(t))(k − n)!

and V k (t) =

Z

t

b

 k b ln x′ (τ )dτ, τ

we have the next three approximation formulas: α(t) x(t) t Db



n X

k=1

  k−α(t) n−k−α(t) N X b b Ak ln B k ln V k−n (t), xk (t) + t t k=n

  k−α(t) n−k−α(t)  1−α(t) n N X X b b tα′ (t) b α(t) Ak ln B k ln V k−n (t)+ x(t) ≈ ln xk (t)+ t Db t t Γ(2 − α(t)) t k=1 k=n # "    X  N  N N  X X 1 − α(t) 1 1 − α(t) (−1)p 1 b p V p+r (t) , (−1) × − ln ln p V p (t) +  b p+r p 1 − α(t) t p ln bt p=0 r=1 r ln p=0 t

and

α(t) x(t) t Db



n X

k=1

k−α(t) n−k−α(t)  1−α(t)   N X b b b tα′ (t) ln xk (t)+ Ak ln B k ln V k−n (t)+ t t Γ(2 − α(t)) t k=n

" #   X   N N  N  X X 1 1 − α(t) (−1)p b 1 − α(t) p (−1) × ψ(2 − α(t)) − ln ln V p+r (t) . p V p (t) +  b p+r p t p ln bt r=1 r ln t p=0 p=0 10

4

Examples

In this section we test the efficiency of the purposed method, by comparing the exact fractional derivative of the function x(t) = ln t, for t ∈ [1, 5], with some numerical approximations. We fix the order α(t) = t/20, and for the approximations using Theorems 3, 4 and 5, we take n = 1 and vary N ∈ {10, 20, 30}. The error of approximation at the point t0 is given by the absolute value of the difference between the exact and the approximation at t = t0 . Below we give the exact fractional derivatives of x, obtained by Lemma 1 α(t) x(t) 1 Dt α(t) x(t) 1 Dt

α(t) x(t) 1 Dt

1 (ln t)1−α(t) Γ (2 − α(t)) tα′ (t) 1 (ln t)1−α(t) − (ln t)2−α(t) = Γ (2 − α(t)) Γ (3 − α(t)) × [ln(ln t) + ψ (1 − α(t)) − ψ (3 − α(t))] , 1 tα′ (t) = (ln t)1−α(t) − (ln t)2−α(t) [ln(ln t) − ψ (3 − α(t))] . Γ (2 − α(t)) Γ (3 − α(t))

=

α(t)

(a) 1 Dt

(b) Error

x(t)

Figure 1: Analytic versus numerical approximations by Theorem 3.

α(t)

(a) 1 Dt

(b) Error

x(t)

Figure 2: Analytic versus numerical approximations by Theorem 4.

11

α(t)

(a) 1 Dt

(b) Error

x(t)

Figure 3: Analytic versus numerical approximations by Theorem 5. For the right Caputo–Hadamard fractional derivatives, we take 5 y(t) = ln , t

for t ∈ [1, 5],

n = 1 and N ∈ {2, 4, 6}. The fractional derivatives are in this case given by the expressions  1−α(t) 5 1 ln Γ (2 − α(t)) t  1−α(t)  2−α(t) 1 5 5 tα′ (t) α(t) y(t) = ln ln + t D5 Γ (2 −α(t)) t Γ (3 − α(t))  t 5 + ψ (1 − α(t)) − ψ (3 − α(t)) , × ln ln t  1−α(t)  2−α(t)     1 5 5 5 tα′ (t) α(t) y(t) = ln ln ln ln − ψ (3 − α(t)) . + t D5 Γ (2 − α(t)) t Γ (3 − α(t)) t t α(t)

t D5

y(t)

=

The results are shown in Figure 4 below.

Acknowledgments This work was supported by Portuguese funds through the CIDMA - Center for Research and Development in Mathematics and Applications, and the Portuguese Foundation for Science and Technology (FCT-Funda¸ca˜o para a Ciˆencia e a Tecnologia), within project UID/MAT/04106/2013.

References [1] T. M. Atanackovic, M. Janev, S. Pilipovic and D. Zorica, An expansion formula for fractional derivatives of variable order, Cent. Eur. J. Phys. 11 (2013), no. 10, 1350–1360. [2] P.L. Butzer, A.A. Kilbas and J.J. Trujillo, Stirling functions of the second kind in the setting of difference and fractional calculus, Numer. Funct. Anal. Optim. 24 (2003), no. 7-8, 673-711. [3] C. F. M. Coimbra, Mechanics with variable-order differential operators, Ann. Phys. (8) 12 (2003), no. 11-12, 692–703. [4] C. F. M. Coimbra, C. M. Soon and M. H. Kobayashi, The variable viscoelasticity operator, Annalen der Physik 14 (2005), 378–389. 12

α(t)

(a) t D5

α(t)

(c) t D5

y(t)

(b) Error

y(t)

(d) Error

α(t)

(e) t D5

(f) Error

y(t)

Figure 4: Analytic versus numerical approximations for the right Caputo–Hadamard fractional derivatives. [5] M. M. Dzherbashyan and A. B. Nersesian, Fractional derivatives and the Cauchy problem for differential equations of fractional order. Izv. Akad. Nauk Arm. SSR, Mat. 3 (1968), 3-29. [6] Y. Y Gambo, F. Jarad, D. Baleanu and T. Abdeljawad, On Caputo modification of the Hadamard fractional derivatives, Adv. Difference Equ. (2014), 2014:10 doi:10.1186/1687– 1847–2014–10. [7] F. Jarad, T. Abdeljawad and D. Baleanu, Caputo-type modification of the Hadamard fractional derivatives, Adv. Difference Equ. (2012), 2012:142 doi:10.1186/1687–1847–2012–142.

13

[8] Y. Lin and C. Xu, Finite difference/spectral approximations for the time-fractional diffusion equation, J. Comput. Phys. 225 (2007), no. 2, 1533-1552. [9] J. A. T. Machado, M. F. Silva, R. S. Barbosa, I. S. Jesus, C. M. Reis, M. G. Marcos and A. F. Galhano, Some applications of fractional calculus in engineering, Math. Probl. Eng. 2010 (2010), Art. ID 639801, 34 pp. [10] K. S. Miller and B. Ross, An introduction to the fractional calculus and fractional differential equations, A Wiley-Interscience Publication, Wiley, New York, 1993. [11] T. Odzijewicz, A. B. Malinowska and D. F. M. Torres, Noether’s theorem for fractional variational problems of variable order, Cent. Eur. J. Phys. 11 (2013), no. 6, 691–701. [12] S. Pooseh, R. Almeida and D. F. M. Torres, Expansion formulas in terms of integer-order derivatives for the Hadamard fractional integral and derivative, Numer. Funct. Anal. Optim. 33 (2012), no. 3, 301–319. [13] S. Pooseh, R. Almeida and D. F. M. Torres, Numerical approximations of fractional derivatives with applications, Asian J. of Control 15 (2013), no. 3, 698–712. [14] L. E. S. Ramirez and C. F. M. Coimbra, On the variable order dynamics of the nonlinear wake caused by a sedimenting particle, Phys. D 240 (2011), no. 13, 1111–1118. [15] S. G. Samko, A. A. Kilbas and O. I. Marichev, Fractional integrals and derivatives, Translated from the 1987 Russian original, Gordon and Breach, Yverdon, 1993. [16] S. G. Samko and B. Ross, Integration and differentiation to a variable fractional order, Integral Transform. Spec. Funct. 1 (1993), no. 4, 277–300. [17] H.G. Sun, W. Chen and Y.Q. Chen, Variable order fractional differential operators in anomalous diffusion modeling, Physica A. 388 (2009) 4586-4592

14