Bachelorproject Fractional Calculus
Bachelorproject Fractional Calculus
Fractional Calculus
Contents
1 Introduction 4
2 Preliminaries 5
2.1 The Gamma Function . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 The Beta Function . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Change the Order of Integration . . . . . . . . . . . . . . . . . . 6
2.4 The Mittag-Leffler Function . . . . . . . . . . . . . . . . . . . . . 6
5 Examples 15
5.1 The Power Function . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.2 The Exponential Function . . . . . . . . . . . . . . . . . . . . . . 16
5.3 The Trigonometric Functions . . . . . . . . . . . . . . . . . . . . 17
7 Applications 26
7.1 Economic example . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.1.1 Concrete example . . . . . . . . . . . . . . . . . . . . . . 27
8 Conclusions 29
9 References 31
1 Introduction
Fractional calculus explores integrals and derivatives of functions. However, in
this branch of Mathematics we are not looking at the usual integer order but
at the non-integer order integrals and derivatives. These are called fractional
derivatives and fractional integrals, which can be of real or complex orders and
therefore also include integer orders. In this thesis we refer to differintegrals if
we are talking about the combination of these fractional derivatives and inte-
grals.
First in chapter 2 we shall give some basic formulas and techniques which
are necessary to better understand the rest of the thesis. Then in chapter 3
two definitions for a differintegral will be given. The Grünwald-Letnikov and
the Riemann-Liouville approach will be explored. These are the two most fre-
quently used differintegrals. Afterwards in chapter 4 some basic properties of
these differintegrals will be given and proved. Then in chapter 5 we shall ex-
plore a few examples. In chapter 6 we will take a look at fractional differential
equations (FDE’s). Therefore we also need to explore the Laplace transforms of
fractional derivatives. Chapter 6 ends with some examples of FDE’s. Thereafter
chapter 7 deals with a few applications of differintegrals which is followed by a
conclusion in chapter 8.
2 Preliminaries
In this section we shall give some basic formulas and techniques which are
necessary to better understand the rest of the thesis. We start off with the
Gamma function.
This integral converges for Re(z) > 0 (the right half of the complex plane).
To prove this we integrate the formula for the Gamma function given in Defini-
tion 2.1 by parts
Z ∞ Z ∞
−t z −t z t=∞
Γ(z + 1) = e t = [−e t ]t=0 + z e−t tz−1 dt,
0 0
where the first term drops out and the second term is equal to zΓ(z), so identity
(1) follows. We also have Γ(1) = 1 and if we use identity (1) we get
Γ(2) = 1 · Γ(1) = 1 = 1!
Γ(3) = 2 · Γ(2) = 2 · 1! = 2!
Γ(4) = 3 · Γ(3) = 3 · 2! = 3!
.. .. .. ..
. . . .
Γ(n + 1) = n · Γ(n) = n · (n − 1)! = n!
So by induction it follows that Γ(n + 1) = n! for all n ∈ N.
for Re(z) > 0 and Re(w) > 0. After we use the Laplace transform for con-
volutions the Beta function can be expressed in terms of the Gamma function
by
Γ(z)Γ(w)
B(z, w) = (2)
Γ(z + w)
and it follows from (2) that
B(z, w) = B(w, z). (3)
With the Beta function it is possible to obtain two useful results for the Gamma
function
π
Γ(z)Γ(1 − z) = , (4)
sin(πz)
1 √
Γ(z)Γ(z + ) = π22z−1 Γ(2z). (5)
2
Since the series for the Mittag-Leffler function (7) is uniformly convergent on all
compact subsets of C we can differentiate it term by term to get the following
expression which is also necessary later on.
Corollary 2.1. Let z ∈ C, α, β ∈ C, Re(α) > 0 and m ∈ N, then the m-times
differentiated Mittag-Leffler function is given by
∞
(m)
X (k + m)! zk
Eα,β (z) = .
k! Γ(αk + αm + β)
k=0
For a fractional integral the same notation is used, but with α < 0. Thus an
integral of order β can be denoted by:
−β
a Dt f (t).
In this thesis we refer to this with the term differintegral. The subscripts a and t
are called the terminals of the differintegral and they are the limits of integration.
There have been different approaches to define this differintegral and this sec-
tion deals with the definitions of the differintegrals from Grünwald-Letnikov and
Riemann-Liouville.
Since we replaced the integer n by the real number p we also have to generalize
the definition of the binomial coefficient. This can be done using the multiplica-
tive formula which gives
p p(p − 1)(p − 2) · · · (p − r + 1)
= , (8)
r r(r − 1)(r − 2) · · · 1
When p = n this can be seen as the nth -order derivative and if p = −n it rep-
resents the n-fold integral.
If we replace the integer n in the Cauchy formula (11) by the real number p we
obtain an integral of arbitrary order.
Definition 3.2. The Riemann-Liouville fractional integral of order p ∈ R>0 is
given by Z t
−p 1
a Dt f (t) = (t − τ )p−1 f (τ ) dτ.
Γ(p) a
In the last equality of Definition 3.3 we used the definition of the Riemann-
Liouville fractional integral given in Definition 3.2. If α = 1 we have p = k − 1
and we deal with the derivative of integer order with order k − 1
dk
k−1 −(k−(k−1))
D
a t f (t) = D
a t f (t)
dtk
dk
= k a Dt−1 f (t) = f (k−1) (t).
dt
Obviously, if we set p = k ≥ 1 and t > a and use the zero rule given in (14),
which will be proved in the next section, we obtain the usual derivative of integer
order k
dk dk f (t)
p 0
D
a t f (t) = k
D
a t f (t) = = f (k) (t).
dt dtk
4.1 Linearity
Linearity follows from just filling in the definitions of the fractional derivatives
and integrals. If we use the expression of the Grünwald-Letnikov fractional
derivative (9) we have
m
r p
p
X
−p
a Dt λf (t) + µg(t) = lim h (−1) λf (t − rh) + µg(t − rh)
h→0
r=0
r
mh=t−a
m
r p
X
−p
= λ lim h (−1) f (t − rh)
h→0
r=0
r
mh=t−a
m
X p
+ µ lim h−p (−1)r g(t − rh)
h→0
r=0
r
mh=t−a
p
=λ a Dt f (t) + µ a Dtp g(t).
In this proof f (t) and g(t) are functions for which the given operator is defined
and λ, µ ∈ R are real constants. A similar proof can be given for the fractional
integral.
Again, a similar proof can be given for the Rieman-Liouville derivative. For
example using the linearity of Riemann-Liouville integral which we have just
proved and Definition 3.3.
which is also known as the Leibniz rule. In the last expression f and g are
n-times differentiable functions. If f (τ ) and g(τ ) and their derivatives are con-
tinuous in [a, t] it can be proved that the Leibniz rule for fractional derivatives
is given by the following expression
X m
p p (k)
a Dt f (t)g(t) = f (t) a Dtp−k g(t), (15)
k
k=0
4.4 Composition
4.4.1 Fractional integration of a fractional integral
The Riemann-Liouville fractional integral given in Definition 3.2 has the follow-
ing important property
−p −q −q −p
D
a t D
a t f (t) = D
a t D
a t f (t) = a Dt−p−q f (t), (16)
which is called the composition rule for the Riemann-Liouville fractional inte-
grals. Using the definition the proof is quite straightforward
Z t
−p −q 1 p−1 −q
a Dt a Dt f (t) = (t − τ ) a Dτ f (τ ) dτ
Γ(p) a
Z t Z τ
1 1
= (t − τ )p−1 (τ − ξ)q−1 f (ξ) dξ dτ
Γ(p) a Γ(q) a
Z tZ τ
1
= (t − τ )p−1 (τ − ξ)q−1 f (ξ) dξ dτ.
Γ(p)Γ(q) a a
−ξ
We make the substitution τt−ξ = ζ from which it follows that dτ = (t − ξ)dζ
and the new interval of integration is [0, 1]. Now we are able to rewrite the last
expression as
Z t Z 1
−p −q 1 p+q−1 p−1 q−1
a Dt a Dt f (t) = f (ξ) (t − ξ) (1 − ζ) ζ dζ dξ
Γ(p)Γ(q) a 0
Z t
1
= f (ξ) (t − ξ)p+q−1 B(p, q) dξ,
Γ(p)Γ(q) a
where in the last formula we used the Beta function given in Definition 2.2. If
we now use identity (2) to express the Beta function in terms of the Gamma
function we obtain
Γ(p)Γ(q) t
Z
−p −q 1
a Dt a Dt f (t) = f (ξ)(t − ξ)p+q−1 dξ
Γ(p)Γ(q) Γ(p + q) a
Z t
1
= (t − ξ)p+q−1 f (ξ) dξ
Γ(p + q) a
−p−q
= a Dt f (t).
where p > 0 and t > a. This implies that the Riemann-Liouville fractional
differentiation operator is the left inverse of the Riemann-Liouville fractional
integration of the same order p. We prove this in the following way. First we
consider the case p = n ∈ N≥1 , then we have
Z t
dn 1
n −n
D
a t D
a t f (t) = (t − τ )n−1 f (τ ) dτ
dtn Γ(n) a
d t
Z
= f (τ ) dτ = f (t).
dt a
For the non-integer case we take k − 1 ≤ p < k and use (16) to write
−k −(k−p) −p
a Dt f (t) = a Dt a Dt f (t) .
This completes theproof. One note has to be made. The converse of (18) is
not true, so a Dt−p a Dtp f (t) 6= f (t). The proof for this can be found in [2,
p. 70-71]. We won’t give it here since it does not contribute to the proof of (17).
So now we are able to prove (17). We consider two cases. First we’ll deal
with q ≥ p ≥ 0. Then we have
p −q p −p −(q−p)
D
a t D
a t f (t)) = D
a t a tD D
a t f (t) = a Dtp−q f (t).
This follows directly from (16) and (18). Now we will consider the second case
in which we have p > q ≥ 0. Using Definition 3.3 and again (16) we see that
dk
p −q −(k−p) −q
D
a t D
a t f (t) = D
a t D
a t f (t)
dtk
dk dk
−(k−(p−q))
= k a Dtp−q−k f (t) = k a Dt f (t)
dt dt
p−q
= a Dt f (t).
5 Examples
This section deals with some examples of fractional derivatives and integrals.
First we will take a look at the Power function and thereafter explore the Ex-
ponential function and Trigonometric functions.
where in the last equation we made use of (2) to write the Beta function in
terms of the Gamma function. It follows that β > −1.
Next we will compute the derivative of order r ∈ R>0 of the same power function
(t−a)β using the Riemann-Liouville fractional derivative given in Definition 3.3.
Again filling in f (t) = (t − a)β gives
dk
r β −(k−r) β
a Dt (t − a) = a Dt (t − a) .
dtk
Now we are able to use the integral of the power function we have just computed
in (19). If we replace the order p by k − r > 0 we can rewrite the last expression
as
r Γ(β + 1) dk
a Dt (t − a)β = (t − a)β+k−r
Γ(β + k − r + 1) dtk
(20)
Γ(β + 1)
= (t − a)β−r ,
Γ(β − r + 1)
The following two examples can clarify this using concrete numbers. First we
would like to derive the half-derivative of the function f (x) = x, so in the last
1 Γ(1 + 1) 1
a Dt
2
(x − 0)1 = (x − 0)1− 2
Γ(1 − 12 + 1)
r
1 Γ(2) 1 x
a Dt x = 3 x =2 .
2 2
Γ( 2 ) π
In our next example we would like to know the derivative of order 43 of the
function f (x) = x2 , so again in formula (20) we set t = x, a = 0, but now β = 2
and r = 43 . This gives us
3 Γ(2 + 1) 3
a Dt
4
(x − 0)2 = 3 (x − 0)2− 4
Γ(2 − 4 + 1)
3
4 2
Γ(3) 1 1 1
4 ≈ 1.76522x1 4
a Dt x = 1 x
Γ(2 4 )
−p λt eλt
−∞ Dt e = λ−p Γ(p) = λ−p eλt .
Γ(p)
The fractional derivative of order p ∈ R>0 can be obtained in the same way but
now using Definition 3.3 and is given by
p λt
−∞ Dt e = λp eλt .
So actually we have
p λt
−∞ Dt e = λp eλt (21)
for all p ∈ R.
If we now use the linearity of the Weyl differintegral, which follows directly from
the linearity of the Rieman-Liouville differintegral given in Section 4.1 since they
are formally equal, the last expression can be rewritten as
p 1 p it p −it
−∞ Dt sin(t) = −∞ Dt e − −∞ Dt e .
2i
If we now use the expression for the differintegral of the exponential function
(21) given in the last example we obtain
p 1 p it p −it 1 i π p it −i π
D sin(t) = i e − (−i) e = e 2 e − e 2 p e−it
−∞ t
2i 2i
1 i(t+ π p) π π
= e 2 − e−i(t+ 2 p) = sin(t + p).
2i 2
The differintegral for the cosine function can be obtained in the same way and
is given by
p π
−∞ Dt cos(t) = cos(t + p).
2
Definition 6.1. We define the Laplace transform of a function f (t) for t ∈ R≥0
and s ∈ C as the function F (s) such that
Z ∞
F (s) = L{f (t); s} = e−st f (t) dt.
0
where M and T are positive constants. The original function f (t) can be recov-
ered from the Laplace transform.
Definition 6.2. The inverse Laplace transform f (t) where t ∈ R>0 , s ∈ C and
F (s) is the Laplace transform is given by
Z c+∞
f (t) = L−1 {F (s); t} = est F (s) ds.
c−∞
In Definition 6.2 c = Re(s) > c0 and c0 lies in the right half plane of the
absolute convergence of the Laplace integral given in Definition 6.1.
For another useful property of the Laplace transform we first have to define
the convolution of two functions.
Definition 6.3. The convolution of two functions f (t) and g(t) is defined as
Z t Z t
(f ∗ g)(t) = f (t − τ )g(τ ) dτ = f (τ )g(t − τ ) dτ.
0 0
If f (t) and g(t) are equal to zero for t < 0 and F (s) and G(s) exist, the Laplace
transform of this convolution is equal to the product of the Laplace transform
of those functions. This property is given in the following theorem.
Theorem 6.4. The Laplace transform of the convolution of two functions f (t)
and g(t) is given by
L{f (t) ∗ g(t); s} = F (s)G(s).
If we integrate the Laplace integral (Definition 6.1) by parts we obtain another
necessary property.
Corollary 6.1. The Laplace transform of the derivative of integer order n is
given by
n−1
X n−1
X
L{f n (t); s} = sn F (s) − sn−k−1 f (k) (0) = sn F (s) − sk f (n−k−1) (0).
k=0 k=0
where in the last equality we used the definition of the Gamma function given
in Definition 2.1. Now it’s possible to define the Laplace transform of the
Riemann-Liouville fractional integral. First using (23) we get
−p 1
L{0 Dt f (t); s} = L (g ∗ f )(t); s .
Γ(p)
Using the Laplace transform of a convolution given in Theorem 6.4 and the
linearity of of the Laplace transform (22), the last expression can be rewritten
as
1
L{0 Dt−p f (t); s} = G(s)F (s).
Γ(p)
If we now use (24) we obtain for the Laplace transform of the Riemann-Liouville
integral of order p > 0
1
L{0 Dt−p f (t); s} = Γ(p)s−p F (s) = s−p F (s). (25)
Γ(p)
To rewrite this last expression we will evaluate G(s) and g (n−k−1) (t). First we
make use of the Laplace transform of the Riemann-Liouville fractional integral
given in (25) to write
−(n−p)
G(s) = L{g(t); s} = L{ 0 Dt f (t); s} = s−(n−p) F (s). (28)
Now we will explore g (n−k−1) (t) by taking the (n − k − 1)th -derivative of g(t)
given in (26). Also using the Riemann-Liouville fractional derivative formula
given in Definition 3.3 enables us to write
for n − 1 ≤ p < n.
where 0 ≤ p < 1. For n = 2 we have 1 ≤ p < 2 and it follows from (30) that
We shall see that these special cases are helpful in solving some simple fractional
differential equations which will be treated in the examples at the end of this
chapter.
where f (t) is bounded near t = 0. Using the Laplace transform of the function
given in (24), the laplace transform for convolutions given in Theorem 6.4 and
the Laplace transform of the integer-order derivative given in Corollary 6.1 we
obtain
f (0) 1
L{0 Dtp f (t); s} = 1−p + 1−p sF (s) − f (0) = sp F (s). (33)
s s
In the case of p > 1 the functions in the sum of Corollary 3.1 can not be
integrated in the classical sense. However, it can be proved that under the
assumption that m ≤ p < m + 1 the Laplace transform of the Grünwald-
Letnikov fractional derivative given in (33) still holds in the sense of generalized
functions.
If we look more closely we can see this function is a combination of the power
function and the differentiated Mittag-Leffler function given in Corollary 2.1.
Evaluating this Mittag-Leffler function in atα yields
∞ ∞
(m)
X (k + m)! (atα )k X (k + m)! ak tαk
Eα,β (atα ) = = .
k! Γ(αk + αm + β) k! Γ(αk + αm + β)
k=0 k=0
Using the linearity of the Laplace transform (22) we can rewrite the last expres-
sion as
∞
n
(m)
o X (k + m)!ak
L tαm+β−1 Eα,β (atα ); s = L{tαk+αm+β−1 ; s} (35)
k! Γ(αk + αm + β)
k=0
Now we want to inspect L{tαk+αm+β−1 ; s} from the last equation. We’ve al-
ready determined the Laplace transform of the power function in (24) which
gave us the following equality
L{tp−1 ; s} = Γ(p)s−p .
Since the first m terms disappear after differentiation we can rewrite the last
expression as
∞ k ∞ k
X (k + m)! a dm X a dm 1 m!
= = m = .
k! sα dt m sα dt 1 − saα (1 − saα )m+1
k=0 k=0
The following table shows some special cases of expression (37) and also the
Laplace transform of the Power function given in (24).
6.2.1 Examples
In this section we shall explore some examples of simple linear fractional differ-
ential equations.
Example 1 Let’s say we would like to solve the fractional differential equation
given by
1
−2
In this example we assumed 0 Dt 3 f (0) exists and it’s value is equal to c2 . To
prove this assumption was correct we will first take the Laplace transform of
− 23
0 Dt f (t) using the Laplace transform of the Riemann-Liouville integral given
in (25). This gives
−2 2
L{ 0 Dt 3 f (t)} = s− 3 F (s).
c2
Since we just found F (s) = 1 we can substitute this in the last equation to
s 3 −c1
get
2
−2 c2 s− 3
L{ 0 Dt 3 f (t)} = 1 .
s − c1
3
− 23 1 1
0 Dt f (t) = c2 t1−1 E 13 ,1 (c1 t 3 ) = c2 E 31 ,1 (c1 t 3 ).
as desired.
0 Dt f (t) = 0.
12
19
Since 1 ≤ p = 12 < 2 we will use the Laplace transform of the Riemann-Liouville
fractional derivative for n = 2 given in (32) to take the Laplace transform of
both sides. This gives
19
L{ 0 Dt12 } = 0
19 19
19 −1 −2
s 12 F (s) − 0 Dt12 f (0) − s 0 Dt12 f (0) = 0
7 5
19 − 12
s F (s) − 0 Dt f (0) − s 0 Dt
12 12
f (0) = 0.
7 5
−
Just as in example 1 we assume 0 Dt12 f (0) and 0 Dt 12 f (0) exist and we set them
equal to c3 and c4 respectively. Then the last equation becomes
19
s 12 F (s) − c3 − c4 s = 0.
with 0 ≤ p < 1 and c1 a constant. Again we will use the Laplace transform of
the Riemann-Liouville fractional derivative for n = 1 given in (31) to take the
Laplace tansform at both sides of the last equation. If we also use the linearity
of the Laplace transform (22) this gives
Again assuming that 0 Dtp−1 f (0) exists and setting it equal to c3 gives
sp F (s) − c3 = c1 F (s).
To find the value of c3 we will use the initial value f (0) = c2 . Since we have
it follows that
f (0) = c3 · 1 = c3 .
So the intitial value f (0) = c2 is equal to c3 and we can rewrite the solution of
the fractional linear differential equation as
7 Applications
Fractional Calculus is used in many problems, for example in engineering,
physics, economics, biological processes, etc. Many models can be represented
by fractional differential equations and therefore it is increasingly used in these
branches. It brings new possibilities, namely fractional derivatives can describe
memory effects, so it is possible to evaluate the influence of the past on the
behavior of the system at present time.
One of the first to use Fractional Calculus for a problem was the Norwegian
mathematician Niels Henrik Abel. In 1823 he applied it in the formulation of
his solution for the Tautochrone Problem. The idea of this problem is to find
the curve of a frictionless wire which lies in the (x, y)-plane such that the time
required for a particle to slide down to the lowest point of the curve is indepen-
dent of where the particle is placed.
Since then Fractional Calculus has been applied to many other problems such
as the fractional conservation of mass, the groundwater flow problem, the frac-
tional advection dispersion equation, time-space fractional diffusion equation
models, structural damping models, acoustical wave equations for complex me-
dia, the fractional Schrödinger equation in quantum theory and many more.
As we have shown in section 6.2.1 we can solve this fractional differential equa-
tion by taking the Laplace transform on both sides. So using the Laplace trans-
form of the Riemann-Liouville fractional derivative for n = 1 (31) and the
linearity of the Laplace transform (22) we obtain
As before, in section 6.2.1, we assume 0 Dtp−1 f (0) exists and call it c. Now we
are able to solve for F (s) and obtain
c m
F (s) = − .
sp − r s(sp − r)
Using Table 1 we take the inverse Laplace transform on both sides and get
fp (0) = c.
Since fp (τ ) denotes the remaining debt at the end of month τ , the last expression
can be seen as the debt at the beginning, which is equal to the price of the
product eb. So we have b = fp (0) = c and we can rewrite (44) as
Note that for p = 1 we have the integer order first derivative which implies we
are dealing with a normal differential equation. Evaluating the last expression
in p = 1 gives
τ τ
0.14 465.37 0.14
f1 (τ ) = 20, 000 1 + − 0.14 1+ −1 .
12 12
12
8 Conclusions
This thesis introduced the concept of Fractional Calculus; the branch of Math-
ematics which explores fractional integrals and derivatives. We first gave some
basic techniques and functions, such as the Gamma function, the Beta function
and the Mittag-Leffler function, which were necessary to understand the rest of
this paper.
This thesis did not cover everything related to Fractional Calculus. There have
been many more approaches to define a differintegral. For example the Caputo,
Hadamard and Miller-Ross differintegrals are also frequently used. However
the Grünwald-Letnikov and the Riemann-Liouville differintegral are the most
common so we decided to leave it there since the other differintegrals would not
have been a very useful addition to this thesis.
In addition there are many more methods for solving fractional linear differ-
ential equations. Besides the Laplace transform we could also have used the
Fourier transform, the method of reduction to a Volterra integral equation, the
power series method or the transformation to an ordinary differential equation.
Since the purpose was to give some brief introduction to fractional differential
equations and their solutions we decided to explore only one method.
integrals of arbitrary order, and therefore also integer order derivatives and in-
tegrals. Although I agree to some extent with this, I don’t think Fractional
Calculus is necessary for ordinary Mathematics, since these extra possibilities
are not really commonly used additions. Besides, many definitions for a dif-
ferintegral exist so which one should we use in general? I also think that the
formulas are pretty awkward, definitely for first year students. It would be a lot
harder to compute just a simple integer order derivative or integral. Though it
is a very interesting subject and definitely worth researching, I believe it should
be left as an ’exotic’ branch of Mathematics.
9 References
[1] Keith B. Oldham and Jerome Spanier. The Fractional Calculus; Theory and
Applications of Differentiation and Integration to Arbitrary Order. Academic
Press, San Diego, California, USA, 1974.