29
An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016 Stellenbosch University 22nd March 2016 Nick Hale Stellenbosch University (Joint work with Sheehan Olver @ USYD)

An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

An ultraspherical spectral methodfor fractional integral anddifferential equations ofhalf-integer orderSANUM 2016Stellenbosch University22nd March 2016

Nick HaleStellenbosch University

(Joint work with Sheehan Olver @ USYD)

Page 2: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

An ultraspherical spectral methodfor fractional integral anddifferential equations ofhalf-integer orderSANUM 2016Stellenbosch University22nd March 2016

Nick HaleStellenbosch University

(Joint work with Sheehan Olver @ USYD)

Page 3: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

ULTRASPHERICAL SPECTRAL(US) METHOD

[email protected] Page 0/18

Page 4: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Ultraspherical spectral method(A very quick recap)

I Olver & Townsend, “A fast and well-conditioned spectral method” (2012)I Two key ingredients: (banded differentiation & conversion operators)

ddx

Tn(x) = nUn−1(x), Tn(x) =12

(Un(x) − Un−2(x))

I Natural factorization of the Chebyshev (coefficient) differentiation matrix:

Dtau = S−1DUS

I When solving ODEs:

u′ + u = f −→ (DUS + S)u = Sf

I Higher-order version uses similar relationships for Ultraspherical polynomials

I Advantages:I Fast (banded matrices)I Well-conditioned (ill-conditioning is in S−1)

[email protected] Page 1/18

Page 5: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Ultraspherical spectral method(A very quick recap)

Dtau = S−1DUS :

[ 0 1 3 5 ]

[ 4 8 ]

[ 6 10 ] =

[ 8 ]

[ 10 ]

[ ]

[ 1 -0.5 ]ˆ-1 [ 0 1 ]

[ 0.5 -0.5 ] [ 2 ]

[ 0.5 -0.5 ] x [ 3 ]

[ 0.5 -0.5] [ 4 ]

[ 0.5 ] [ 5 ]

[ 0.5] [ ]

[email protected] Page 2/18

Page 6: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Ultraspherical spectral method(A very quick recap)

To solve u′(x) = f(x), u(1) = 0:

[ 1 1 1 1 1 1 ] [ ]

[ 1 3 5 ] [ 1 ]

[ 4 8 ] u = [ 1 ] f

[ 6 10 ] [ 1 ]

[ 8 ] [ 1 ]

[ 10 ] [ 1 ]

[ 1 1 1 1 1 1 ] [ ]

[ 1 ] [ 1 -0.5 ]

[ 2 ] u = [ 0.5 -0.5 ] f

[ 3 ] [ 0.5 -0.5 ]

[ 4 ] [ 0.5 -0.5]

[ 5 ] [ 0.5 ]

[email protected] Page 3/18

Page 7: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Ultraspherical spectral method(A very quick recap)

To solve u′(x) + u(x) = f(x),∫ 1−1 u(x) dx = 0:

[ 2 -2/3 -2/15 ] [ ]

[ 2 3 5 ] [ 1 ]

[ 5 8 ] u = [ 1 ] f

[ 7 10 ] [ 1 ]

[ 8 ] [ 1 ]

[ 11 ] [ 1 ]

[ 2 -2/3 -2/15 ] [ ]

[ 1 1 -0.5 ] [ 1 -0.5 ]

[ 0.5 2 -0.5 ] u = [ 0.5 -0.5 ] f

[ 0.5 3 -0.5 ] [ 0.5 -0.5 ]

[ 0.5 4 -0.5] [ 0.5 -0.5]

[ 0.5 5 ] [ 0.5 ]

[email protected] Page 4/18

Page 8: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

FRACTIONAL CALCULUS:BACKGROUND / HISTORY

[email protected] Page 4/18

Page 9: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional calculus: Background / History(300 hundred years in 30 seconds)

I HistoryI L’Hopital, Leibniz, Euler, Lacroix, Laplace, Fourier, Abel, Liouville, Riemann, . . .1I “This [d1/2x/dx1/2] is an apparent paradox from which, one day, useful

consequences will be drawn.” – Leibniz, 1695

I Mathematical intuition

dn

dxn xm =m!

(m − n)!xm−n =

Γ(m + 1)

Γ(m − n + 1)xm−n, (Jnf)(x) =

1(n − 1)!

∫ x

−a(x − t)n−1f(t)dt

I Physical interpretationI Non-Gaussian random walks & heavy-tailed distributions. Memory processes.

I Application areasI EpidemiologyI FinanceI PhysicsI Porous media, ...

1See Bertram Ross, The Development of Fractional Calculus 1695–1900, (1997) for an excellent discussion of the history of fractional calculus.

[email protected] Page 5/18

Page 10: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

FRACTIONAL INTEGRALEQUATIONS

[email protected] Page 5/18

Page 11: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsDefinition and some examples

Fractional integral definition2:

aQµx f(x) :=

1Γ(µ)

∫ x

a

f(t)

(x − t)1−µ dt .

Fractional integral of monomials:

0Qµxxn =

n!

Γ(n + µ+ 1)xn+µ.

Fractional integral of exponentials and trigonometric functions:

−∞Qµ

xenx=n−µenx and−∞

Qµx sin(nx) = n−µ sin(nx − µπ/2).

Fractional integral of weighted Jacobi polynomials (“polyfractinomials”):

−1Qµx

[(1 + �)βP(α,β)

n

](x) =

B(β+ n + 1, µ)

Γ(µ)(1 + x)β+µP(α−µ,β+µ)

n (x).

2These are left-sided integrals. One can also define right-sided integrals.

[email protected] Page 6/18

Page 12: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsFractional integrals and conversion operators for Jacobi polynomials

Fractional integral of weighted Jacobi polynomials (“polyfractinomials”):

−1Qµx

[(1 + �)βP(α,β)

n

](x) =

B(β+ n + 1, µ)

Γ(µ)(1 + x)β+µP(α−µ,β+µ)

n (x).

The following conversions are also useful:

P(α,β)n (x) =

n + α+ β+ 12n + α+ β+ 1

P(α,β+1)n (x)+

n + α2n + α+ β+ 1

P(α,β+1)n−1 (x),

=n + α+ β+ 12n + α+ β+ 1

P(α+1,β)n (x)−

n + β

2n + α+ β+ 1P(α+1,β)

n−1 (x),

(1 + x)P(α,β+1)n (x) =

2n + 22n + α+ β+ 2

P(α,β)n+1 (x)+

2n + 2β2n + α+ β+ 2

P(α,β)n (x).

[email protected] Page 7/18

Page 13: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsSpecial cases: half-integrals of Legendre and weighted Chebyshev polynomials

I Combining these formulae leads to two important special case:

−1Q1/2x Pn(x) =

√1+x

√π(n+1/2)

(Un(x) − Un−1(x)

)−1Q1/2

x

[√1 + �Un

](x) =

√π2

(Pn+1(x) + Pn(x)

)I Therefore half-integration is a banded operator between these spaces.

[email protected] Page 8/18

Page 14: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsSecond-kind Abel equation

Abel integral equation:

λu(x) +

∫ x

−1

u(t)√

x − tdt = e(x) +

√1 + xf(x)

Ansatz

u(x) =

∞∑n=0

anPn(x) +√

1 + x∞∑

n=0

bnUn(x)

Leads to the (infinite dimensional) linear system λI Q1/2cheb2

Q1/2leg λI

( ab

)=

(ef

)where

e(x) =

∞∑n=0

enPn(x), f(x) =

∞∑n=0

fnUn(x)

[email protected] Page 9/18

Page 15: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsSecond-kind Abel equation (cont.)

λu(x) +

∫ x

−1

u(t)√

x − tdt = e(x) +

√1 + xf(x)

A(

ab

):=

λI Q1/2cheb2

Q1/2leg λI

( ab

)=

(ef

)I The operator/matrix A is block-banded.

I Interlacing the coefficients like[a0,b0,a1,b1, . . .]T gives a tridiagonalmatrix.

I Non-constant coefficients also work,but will increase bandwidth.

I If e and f are analytic, convergence is [email protected] Page 10/18

Page 16: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsSecond-kind Abel equation (cont.)

λu(x) +

∫ x

−1

u(t)√

x − tdt = e(x) +

√1 + xf(x)

A(

ab

):=

λI Q1/2cheb2

Q1/2leg λI

( ab

)=

(ef

)I The operator/matrix A is block-banded.

I Interlacing the coefficients like[a0,b0,a1,b1, . . .]T gives a tridiagonalmatrix.

I Non-constant coefficients also work,but will increase bandwidth.

I If e and f are analytic, convergence is [email protected] Page 10/18

Page 17: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsSecond-kind Abel equation (cont.)

λu(x) +

∫ x

−1

u(t)√

x − tdt = e(x) +

√1 + xf(x)

A(

ab

):=

λI Q1/2cheb2

Q1/2leg λI

( ab

)=

(ef

)I The operator/matrix A is block-banded.

I Interlacing the coefficients like[a0,b0,a1,b1, . . .]T gives a tridiagonalmatrix.

I Non-constant coefficients also work,but will increase bandwidth.

I If e and f are analytic, convergence is [email protected] Page 10/18

Page 18: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional integral equationsSecond-kind Abel equation (cont.)

λu(x) +

∫ x

−1

u(t)√

x − tdt = e(x) +

√1 + xf(x)

A(

ab

):=

λI Q1/2cheb2

Q1/2leg λI

( ab

)=

(ef

)I The operator/matrix A is block-banded.

I Interlacing the coefficients like[a0,b0,a1,b1, . . .]T gives a tridiagonalmatrix.

I Non-constant coefficients also work,but will increase bandwidth.

I If e and f are analytic, convergence is [email protected] Page 10/18

Page 19: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

FRACTIONAL DIFFERENTIALEQUATIONS (FDEs)

[email protected] Page 10/18

Page 20: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)Definitions (half derivative)

There are then two main definitions of the half-derivative:

Riemann–Liouville:

RLaD1/2

x f(x) := D aQ1/2x f(x) =

1√π

ddx

∫ x

a

f(t)√

x − tdt .

Caputo:

CaD1/2

x f(x) := aQ1/2x Df(x) =

1√π

∫ x

a

f ′(t)√

x − tdt .

[email protected] Page 11/18

Page 21: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)Half-derivatives (RL) of Chebyshev and Legendre polynomials

Chebyshev and Legendre polynomials satisfy:3

ddx

Tn(x) = nUn−1(x) andddx

Pn(x) = 2C(3/2)n−1 (x)

Combining with previous results gives (derivation omitted):

RL−1D1/2

x Pn(x) = 1√

1+x√π

(Un(x) + Un−1(x)

)RL−1D1/2

x

[Tn√

1 + �

](x) =

√3

2

(C (3/2)

n−1 (x) − C (3/2)

n−2 (x))

Here the output spaces aren’t quite the same as the input, but it’s OK because2Tn(x) = Un(x) − Un−2(x) and (2n + 1)Pn(x) = C(3/2)

n (x) − C(3/2)n−2 (x)!

3Here C(λ)n (x) are Ultraspherical or “Gegenbauer” polynomials.

[email protected] Page 12/18

Page 22: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)Fractional differential equation

Fractional differential equation:

λu(x) +−1D1/2

x u(x) = e(x) +1

√1 + x

f(x)

Ansatzu(x) =

∞∑n=0

anPn(x) +1

√1 + x

∞∑n=0

bnTn(x)

Leads to the (infinite dimensional) linear system λS1 D1/2cheb1

D1/2leg λS2

( ab

)=

(ef

)where

e(x) =

∞∑n=0

enC(3/2)n (x), f(x) =

∞∑n=0

fnUn(x)

[email protected] Page 13/18

Page 23: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)

BOUNDARY CONDITIONS?!

[email protected] Page 13/18

Page 24: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)Boundary conditions

λu(x) +−1D1/2

x u(x) = e(x) +1

√1 + x

f(x), x ∈ [−1,1]

I We can’t apply half a boundary condition - so do we apply 0 or 1?

I Notice that the half-derivative has the non-trivial kernel

RL−1D1/2

x1

√1 + x

= 0.

I Since the kernel is in our basis we need a boundary condition.

I But what conditions can we apply? Dirichlet at x = −1→ ill-posed

I To keep things simple, let’s consider u(1) = 0 & |u| < ∞

[email protected] Page 14/18

Page 25: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)Boundary conditions (cont.)

u(1) =

∞∑n=0

anPn(1) +1√

2

∞∑n=0

bnTn(1) = 0

[email protected] Page 15/18

Page 26: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)Boundary conditions (cont.)

|u(−1)| < ∞→∞∑

n=0

bnTn(1) = 0

[email protected] Page 16/18

Page 27: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)Things I didn’t talk about

I Things I didn’t talk about:I Higher-order derivativesI Computing Legendre coefficientsI Solving the infinite-dimensional banded linear systemsI Caputo definition of fractional derivativesI Existing methods?

I Extensions:I Non-constant coefficientsI Non-linear problemsI Fractional partial differential equationsI Non-half integer order equations?I Two-sided derivatives?

[email protected] Page 17/18

Page 28: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

Fractional differential equations (FDEs)TL;DL

Moral of the story:

banded differential operator+

banded conversion matrices=

fast algorithm

[email protected] Page 18/18

Page 29: An ultraspherical spectral method for fractional integral ... · An ultraspherical spectral method for fractional integral and differential equations of half-integer order SANUM 2016

THE END - .THANKS!

[email protected] Page 18/18