Composition and Splitting Methods Book Sections II.4 and II.5 - - PowerPoint PPT Presentation

composition and splitting methods
SMART_READER_LITE
LIVE PREVIEW

Composition and Splitting Methods Book Sections II.4 and II.5 - - PowerPoint PPT Presentation

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary Composition and Splitting Methods Book Sections II.4 and II.5 Claude Gittelson Seminar on Geometric Numerical Integration 21.11.2005 Preliminaries The


slide-1
SLIDE 1

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Composition and Splitting Methods

Book Sections II.4 and II.5 Claude Gittelson

Seminar on Geometric Numerical Integration

21.11.2005

slide-2
SLIDE 2

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Outline

1

The Adjoint of a Method Definition Properties

2

Composition Methods Definition Order Increase

3

Splitting Methods Idea Examples Connection to Composition Methods

slide-3
SLIDE 3

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Preliminaries

Notation autonomous differential equation ˙ y = f(y) , y(t0) = y0 , its exact flow ϕt, and numerical method Φh, i.e. y1 = Φh(y0) .

slide-4
SLIDE 4

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Preliminaries

Notation autonomous differential equation ˙ y = f(y) , y(t0) = y0 , its exact flow ϕt, and numerical method Φh, i.e. y1 = Φh(y0) . Basic Facts ϕh(y) = y + O(h) p : order of Φh e := Φh(y) − ϕh(y) error e = C(y)hp+1 + O(hp+2)

slide-5
SLIDE 5

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Definition of the Adjoint Method

Definition The adjoint of Φh is Φ∗

h := Φ−1 −h .

It is defined implicitly by y1 = Φ∗

h(y0)

iff y0 = Φ−h(y1) . Φh is symmetric, if Φ∗

h = Φh.

slide-6
SLIDE 6

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Properties of the Adjoint Method

Remark Note that ϕ−1

−t = ϕt, but in

general Φ∗

h = Φ−1 −h = Φh .

The adjoint method satisfies (Φ∗

h)∗ = Φh and

(Φh ◦ Ψh)∗ = Ψ∗

h ◦ Φ∗ h.

slide-7
SLIDE 7

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Properties of the Adjoint Method

Remark Note that ϕ−1

−t = ϕt, but in

general Φ∗

h = Φ−1 −h = Φh .

The adjoint method satisfies (Φ∗

h)∗ = Φh and

(Φh ◦ Ψh)∗ = Ψ∗

h ◦ Φ∗ h.

Example (explicit Euler)∗ = implicit Euler (implicit midpoint)∗ = implicit midpoint

slide-8
SLIDE 8

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Order of the Adjoint Method

Theorem

1

If Φh has order p and satisfies Φh(y0) − ϕh(y0) = C(y0)hp+1 + O(hp+2) , then Φ∗

h also has order p and satisfies

Φ∗

h(y0) − ϕh(y0) = (−1)pC(y0)hp+1 + O(hp+2) .

2

In particular, if Φh is symmetric, its order is even.

slide-9
SLIDE 9

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Definition of Composition Methods

Definition Let Φ1

h, . . . , Φs h be one step

  • methods. Composition

Ψh := Φs

γsh ◦ . . . ◦ Φ1 γ1h ,

where γ1, . . . , γs ∈ R. Example

1

Φ1

h = . . . = Φs h =: Φh

2

Φ2k

h = Φh and Φ2k−1 h

= Φ∗

h

slide-10
SLIDE 10

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Order Increase

  • f General Composition Methods

Theorem Let Ψh := Φs

γsh ◦ . . . ◦ Φ1 γ1h with Φk h of order p and

Φk

h(y) − ϕh(y) = Ck(y)hp+1 + O(hp+2) .

If γ1 + . . . + γs = 1 , then Ψh has order p + 1 if and only if γp+1

1

C1(y) + . . . + γp+1

s

Cs(y) = 0 .

slide-11
SLIDE 11

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Order Increase

  • f Compositions of a Single Method

Corollary If Ψh = Φγsh ◦ . . . ◦ Φγ1h, then the conditions are γ1 + . . . + γs = 1 γp+1

1

+ . . . + γp+1

s

= 0 . Remark A solution only exists if p is even.

slide-12
SLIDE 12

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Order Increase

  • f Compositions of a Single Method

Corollary If Ψh = Φγsh ◦ . . . ◦ Φγ1h, then the conditions are γ1 + . . . + γs = 1 γp+1

1

+ . . . + γp+1

s

= 0 . Remark A solution only exists if p is even. Example s = 3, Φh symmetric, order p = 2, γ1 = γ3. Then Ψh = Φγ3h ◦ Φγ2h ◦ Φγ1h is also symmetric, order ≥ 3. Symmetric ⇒ order even ⇒

  • rder 4. So repeated

application is possible.

slide-13
SLIDE 13

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Order Increase

  • f Compositions with the Adjoint Method

Corollary If Ψh = Φαsh ◦ Φ∗

βsh ◦ . . . ◦ Φ∗ β2h ◦ Φα1h ◦ Φ∗ β1h ,

then the conditions are β1 + α1 + . . . + βs + αs = 1 (−1)pβp+1

1

+ αp+1

1

+ . . . + (−1)pβp+1

s

+ αp+1

s

= 0 . Example Ψh := Φ h

2 ◦ Φ∗ h 2 is symmetric, order p + 1.

Φh explicit Euler ⇒ Ψh implicit midpoint Φh implicit Euler ⇒ Ψh trapezoidal rule

slide-14
SLIDE 14

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Idea: Split the Vector Field

Idea Split the vector field f into ˙ y = f(y) = f [1](y) + f [2](y) + . . . + f [N](y) Calculate exact flow ϕ[i]

t of ˙

y = f [i] explicitly Use “composition” of ϕ[i]

h to solve ˙

y = f(y), e.g. Ψh = ϕ[1]

ash ◦ ϕ[2] bsh ◦ . . . ◦ ϕ[1] a1h ◦ ϕ[2] b1h

slide-15
SLIDE 15

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Motivation

Example ˙ y = (a + b)y, then ϕa

t (y0) = eaty0 and ϕb t (y0) = ebty0, so

(ϕa

t ◦ ϕb t )(y0) = eatebty0 = e(a+b)ty0 = ϕt(y0)

slide-16
SLIDE 16

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Motivation

Example ˙ y = (a + b)y, then ϕa

t (y0) = eaty0 and ϕb t (y0) = ebty0, so

(ϕa

t ◦ ϕb t )(y0) = eatebty0 = e(a+b)ty0 = ϕt(y0)

Lie-Trotter Formula ˙ y = (A + B)y for A, B ∈ CN×N. ϕA

t (y0) = eAty0

and ϕB

t (y0) = eBty0

Lie Trotter formula lim

n→∞

  • eA t

n eB t n

n = e(A+B)t so

  • ϕA

t n ◦ ϕB t n

n (y0) → ϕt(y0)

slide-17
SLIDE 17

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Examples of Splittings

Example (Lie-Trotter Splitting) Φh = ϕ[1]

h ◦ ϕ[2] h

Φ∗

h

= ϕ[2]

h ◦ ϕ[1] h

slide-18
SLIDE 18

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Examples of Splittings

Example (Lie-Trotter Splitting) Φh = ϕ[1]

h ◦ ϕ[2] h

Φ∗

h

= ϕ[2]

h ◦ ϕ[1] h

Example (Strang Splitting) Φh = ϕ[1]

h 2 ◦ ϕ[2]

h ◦ ϕ[1]

h 2 = Φ∗

h

slide-19
SLIDE 19

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Application to Separable Hamiltonian Systems

Example Separable Hamiltonian H(p, q) = T(p) + U(q) ˙ p ˙ q

  • =

−Hq Hp

  • =

Tp

  • +

−Uq

slide-20
SLIDE 20

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Application to Separable Hamiltonian Systems

Example Separable Hamiltonian H(p, q) = T(p) + U(q) ˙ p ˙ q

  • =

−Hq Hp

  • =

Tp

  • +

−Uq

  • Exact flows

ϕT

t

p0 q0

  • =
  • p0

q0 + t Tp(p0)

  • ,

ϕU

t

p0 q0

  • =

p0 − t Uq(q0) q0

slide-21
SLIDE 21

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Application to Separable Hamiltonian Systems

Example Separable Hamiltonian H(p, q) = T(p) + U(q) ˙ p ˙ q

  • =

−Hq Hp

  • =

Tp

  • +

−Uq

  • Exact flows

ϕT

t

p0 q0

  • =
  • p0

q0 + t Tp(p0)

  • ,

ϕU

t

p0 q0

  • =

p0 − t Uq(q0) q0

  • Lie-Trotter splitting Φh = ϕT

h ◦ ϕU h

pn+1 = pn − h · Uq( qn) qn+1 = qn + h · Tp(pn+1 )

slide-22
SLIDE 22

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Application to Separable Hamiltonian Systems

Example Separable Hamiltonian H(p, q) = T(p) + U(q) ˙ p ˙ q

  • =

−Hq Hp

  • =

Tp

  • +

−Uq

  • Exact flows

ϕT

t

p0 q0

  • =
  • p0

q0 + t Tp(p0)

  • ,

ϕU

t

p0 q0

  • =

p0 − t Uq(q0) q0

  • Lie-Trotter splitting Φh = ϕT

h ◦ ϕU h symplectic Euler

pn+1 = pn − h · Uq(pn+1, qn) qn+1 = qn + h · Tp(pn+1, qn)

slide-23
SLIDE 23

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Construction as a Composition Method

Lemma Φ[i]

h consistent method for ˙

y = f [i](y). Φh := Φ[1]

h ◦ Φ[2] h ◦ . . . ◦ Φ[N] h ,

then Φh has order 1 for ˙ y = f(y) = f [1](y) + f [2](y) + . . . + f [N](y).

slide-24
SLIDE 24

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Construction as a Composition Method

Lemma Φ[i]

h consistent method for ˙

y = f [i](y). Φh := Φ[1]

h ◦ Φ[2] h ◦ . . . ◦ Φ[N] h ,

then Φh has order 1 for ˙ y = f(y) = f [1](y) + f [2](y) + . . . + f [N](y). Idea Compose Φh, Φ∗

h to construct method Ψh of higher order.

In the case N = 2: Φh = Φ[1]

h ◦ Φ[2] h , Φ∗ h = Φ[2]∗ h

  • Φ[1]∗

h

and Ψh = Φαsh ◦ Φ∗

βsh ◦ . . . ◦ Φ∗ β2h ◦ Φα1h ◦ Φ∗ β1h

= Φ[1]

αsh ◦ Φ[2] αsh ◦ Φ[2]∗ βsh ◦ Φ[1]∗ βsh ◦ . . . ◦ Φ[2] α1h ◦ Φ[2]∗ β1h ◦ Φ[1]∗ β1h

slide-25
SLIDE 25

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Calculate Exact Flows Explicitly

Remark If Φ[i]

h = ϕ[i] h ∀i, then Φ[i]∗ h

= ϕ[i]

h

and Ψh = ϕ[1]

αsh ◦ ϕ[2] (αs+βs)h ◦ . . . ◦ ϕ[1] β1h.

Remark For N = 2, Ψh can be thought of as a composition of Φh,Φ∗

h

a “composition” of ϕ[i]

h

slide-26
SLIDE 26

Preliminaries The Adjoint of a Method Composition Methods Splitting Methods Summary

Summary

1

Composition methods

construct methods of high order preserve properties (e.g. symmetry)

2

Splitting methods

construct methods for specific problems calculate exact flows of parts of the vector field explicitly