fracdiff - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


fracdiff

Fractional order differentiation

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

fracdiff(f, x, ν, method = mth, methodoptions = mthopts)

Parameters

f

-

algebraic expression

x

-

name

ν

-

real number, or a name representing a real number, not an integer

mth

-

(optional) method of calculation, can be direct (default), laplace or series

mthopts

-

(optional) list of options for the specified method of calculation

Description

• 

Given an algebraic expression, f, fracdiff computes the νth derivative of f with respect to x, where ν is not an integer. For integer (_nu_) order differentiation use diff - see also symbolic integer order differentiation.

• 

By default, the direct method is used to calculate the fractional derivative using the Davison-Essex (D-E) definition, that is, first differentiate n times, then integrate n-ν times, where n = ceil(ν), using the standard formula for iterated integrals. The resulting D-E definition of fractional derivative is

diff(f(x),[x$nu]) = 1/GAMMA(n-nu)*Int((x-t)^(n-nu-1)*diff(f(t),[t$n]),t = 0 .. x);

ⅆνⅆxνfx=0xxtnν1ⅆnⅆtnftⅆtΓnν

(1)
  

where (see ceil) ν <= n. This definition handles differentiation orders ν > -1, and for integer values of ν it is valid only in a limiting sense.

• 

In the literature, the term fractional derivative is sometimes reserved for the Riemann-Liouville (R-L) fractional derivative, defined by

diff(f(x),[x$nu]) = 1/GAMMA(n-nu)*Diff(Int((x-t)^(n-nu-1)*f(t),t = 0..x),[x$n]);

&DifferentialD;ν&DifferentialD;xνfx=nxn0xxtnν1ft&DifferentialD;tΓnν

(2)
  

The Davison-Essex and the Riemann-Liouville definitions are different in the following aspect: in the D-E formula, differentiation is performed first, then integration; in the R-L formula it is the other way around. The D-E definition implemented, thus, maps constants to zero, imitating integer order differentiation, while the R-L definition does not. This property of the D-E definition makes it suitable to work with initial value problems for fractional differential equations.

• 

The laplace method calculates the Davison-Essex derivative via the Laplace transform. This method will not accept a symbol or name representing an unspecified real order of differentiation, unless assumptions are made about the symbol ν that allow the routines to deduce the numerical value of n = ceil(ν). The routines will attempt to calculate the derivative for any non-integer real-valued order.

• 

The series method will calculate the derivative by first expanding the expression into a power series. If any term in the returned series is not of the form constant*(name - a)^constant, an error message will be returned. The terms are then differentiated using a simplified case of the Davison-Essex formula (where the function being differentiated is a monomial). The optional parameters for this method, to be specified in mthopts, are about=a and order=o, where a specifies the point about which to expand the series and o specifies the accuracy or order of the series. a defaults to 0 and o defaults to Order, the default order for series.

• 

If ν is a negative number, integration is performed on the terms in the series. This method accepts symbolic values of ν, and returns a formula for the ν-th derivative. However, the values returned by this series approximation will become less accurate as ν increases, because terms that should normally be eliminated by differentiation will not be.

Examples

As is the case of the integer order derivative of a constant, the fractional order derivative of a constant is zero unless the differentiation order ν is zero.

For example, take f=1 in the Davison-Essex definition implemented in Maple, and compute the value at ν=0

difffx&comma;`$`x&comma;ν=1Γnνintxtnν1diffft&comma;`$`t&comma;n&comma;t=0..x

&DifferentialD;ν&DifferentialD;xνfx=0xxtnν1&DifferentialD;n&DifferentialD;tnft&DifferentialD;tΓnν

(3)

valeval&comma;f=1assumingνn

valpochhammer1ν&comma;ν=xnνpochhammer1n&comma;nΓnνn+ν

(4)

evalval&comma;ν=0

1=xnpochhammer1n&comma;nΓnn

(5)

Note that in the left-hand side the computation was performed assuming that ν is an integer (see diff,symbolicorder). Recalling that n = ceil(nu), at ν=0 (ν an integer) the D-E definition is valid in a limiting sense

limit&comma;n=0

1=1

(6)

For ν > -1 and not an integer, the D-E fractional derivative of a constant is equal to zero. For example, for ν = 1/2, the right-hand side of val above becomes

limitevalrhsval&comma;ν=12&comma;n=ceil12

0

(7)

The fractional derivative of order 1/2 of the cosine function

fracdiffcosx&comma;x&comma;12

cosxFresnelSx2πsinxFresnelCx2π2

(8)

For some cases, as the first in this block, the result can only be approximated (series method)

fracdiffsiny&comma;y&comma;65

Error, (in fracdiff) parameter -6/5 is <= -1

fracdiffsiny&comma;y&comma;65&comma;method=series

125y115Γ4566πcscπ53125y215Γ4522176πcscπ5+78125y315Γ4517873856πcscπ5+Oy415

(9)

fracdifflnx+1&comma;x&comma;23&comma;method=series&comma;methodoptions=about=2&comma;order=4

x2133Γ232πx2433Γ238π+x2733Γ2328π+Ox2103

(10)

fracdiffexpy&comma;y&comma;45&comma;method=series&comma;methodoptions=order=12

5y15Γ45πcscπ5+25y65Γ456πcscπ5+125y115Γ4566πcscπ5+625y165Γ451056πcscπ5+3125y215Γ4522176πcscπ5+15625y265Γ45576576πcscπ5+78125y315Γ4517873856πcscπ5+390625y365Γ45643458816πcscπ5+1953125y415Γ4526381811456πcscπ5+9765625y465Γ451213563326976πcscπ5+48828125y515Γ4561891729675776πcscπ5+Oy565

(11)

The routines have limited ability to deal with symbolic fractional order; mainly they need to know the ceiling (least integer upper bound) for the order.

assumeα1

additionally0<α

assume0<m

fracdiffxm&comma;x&comma;α&comma;method=laplace

Γm~+1x&alpha;~+m~Γ1&alpha;~+m~

(12)

fracdiffxm&comma;x&comma;α

Γm~+1x&alpha;~+m~Γ1&alpha;~+m~

(13)

This example also shows the simplified case of the Davison-Essex formula used to calculate the derivatives of the monomials in the series method.

References

  

Benghorbal, M. Power Series Solution of Fractional Differential Equations and Symbolic Derivatives. PhD Thesis, University of Western Ontario, Canada, 2004.

  

Davison, M., and Essex, G. C. "Fractional Differential Equations and Initial Value Problems." The Mathematical Scientist, (December 1998): 108-116.

  

Liouville, J. Collected Works.

See Also

diff

diff,symbolicorder

int

inttrans