35
Verified Integration of IVPs Taylor Method for Model Problem Wrapping Effect The Blunting Method On the Blunting Method in Verified Integration of ODEs Markus Neher Universit¨ at Karlsruhe Institute for Applied and Numerical Mathematics (joint work with Ken Jackson and Ned Nedialkov) TMW 2008, May 20-23, 2008 TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

On the Blunting Method in Verified Integration of ODEs 2008 Markus Neher On the Blunting Method in Veri ed Integration of ODEs. Veri ed Integration of IVPs Taylor Method for Model

Embed Size (px)

Citation preview

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

On the Blunting Method in Verified Integration ofODEs

Markus Neher

Universitat KarlsruheInstitute for Applied and Numerical Mathematics

(joint work with Ken Jackson and Ned Nedialkov)

TMW 2008, May 20-23, 2008

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Outline

1 Verified Integration of IVPs

2 Taylor Method for Model Problem

3 Wrapping Effect

4 The Blunting Method

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

v

u

3

3

2

1

20

-1

1

-2

-3

0-1-2-3

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

0,4

00

-0,4

-0,4

-0,8

-0,8

u

0,8

v

0,4

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,4

v

u

0,4

0,4

0,2

00,2

-0,2

-0,4

0-0,2

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,4

v

u

0,4

0,4

0,2

00,2

-0,2

-0,4

0-0,2

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,4

v

u

0,4

0,4

0,2

00,2

-0,2

-0,4

0-0,2

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,2-0,4-0,60

-0,2

-0,4

0,40,20

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,2-0,4-0,60

-0,2

-0,4

0,40,20

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,2-0,4-0,60

-0,2

-0,4

0,40,20

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,2-0,4-0,60

-0,2

-0,4

0,40,20

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,2-0,4-0,60

-0,2

-0,4

0,40,20

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,2-0,4-0,60

-0,2

-0,4

0,40,20

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Verified Integration of IVPs

Interval IVP:

u′ = f (t, u), u(t0) ∈ u0, t ∈ t = [t0, tend]

f : R× Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0.

-0,2-0,4-0,60

-0,2

-0,4

0,40,20

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Enclosure Methods for ODEs

Convex sets used to enclose the flow:

Moore (1965): Intervals

Eijgenraam (1981), Lohner (1987): Parallelepipeds

Kuhn (1998): Zonotopes

Non-convex sets:

Berz & Makino (1996-): Taylor models

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Interval Methods: Enclosure Representation

u(tj ; u0) = {u(tj ; u0) | u0 ∈ u0}⊆ {uj + Sjw + Bj r | w ∈ u0 −m(u0), r ∈ rj},

where

uj ,w , r ∈ Rm, rj ∈ IRm,

Sj ,Bj ∈ Rm×m, Bj nonsingular,

{uj + Sjw | w ∈ u0 −m(u0)}: approximation to u(tj ; u0),

{Bj r | r ∈ rj}: bound on global error.

j = 0: u0 = m(u0), r0 = 0, S0 = B0 = I .

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Taylor Method for Model Problem

Model problem:

u′ = Au, (A ∈ Rm×m, m ≥ 2)

u(0) = u0 ∈ u0.

Taylor method (constant order n, stepsize h):

uj := Tuj−1 , j = 1, 2, . . . .(T = Tn−1(hA) =

n−1∑ν=0

(hA)ν

ν!

)

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Taylor Method for Model Problem

Model problem:

u′ = Au, (A ∈ Rm×m, m ≥ 2)

u(0) = u0 ∈ u0.

Interval Taylor method (constant order n, stepsize h):

uj := Tuj−1+zj , j = 1, 2, . . . .(T = Tn−1(hA) =

n−1∑ν=0

(hA)ν

ν!; zj : local error

)

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Propagation of the Global Error

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

).

Required: Bj for tight enclosure:

{TBj−1r + z | r ∈ rj−1, z ∈ zj −m(zj)} ⊆ {Bj r | r ∈ rj}.

+ =

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Propagation of the Global Error

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

).

Required: Bj for tight enclosure:

{TBj−1r + z | r ∈ rj−1, z ∈ zj −m(zj)} ⊆ {Bj r | r ∈ rj}.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Propagation of the Global Error

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

).

Required: Bj for tight enclosure:

{TBj−1r + z | r ∈ rj−1, z ∈ zj −m(zj)} ⊆ {Bj r | r ∈ rj}.

Direct method: Bj = I .

Parallelepiped (P) method: Bj = TBj−1.

QR method: Bj = Qj , QjRj = TBj−1.

Blunting (B) method: Bj = TBj−1 + εQj , ε > 0.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: Direct Method

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

), Bj = I :

rj = T rj−1 + zj −m(zj).

Optimal coordinates for local error.

Bad coordinates for global error (rotation).

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: Direct Method

Huge overestimations in general.TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: P Method

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

), Bj = TBj−1 :

rj = rj−1 + T−j(zj −m(zj)

).

Optimal coordinates for global error.

Suitable coordinates for local error, if cond(T j) is small.

Bad coordinates for local error in presence of shear

(T j becomes singular for j →∞).

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: P Method

Bj = TBj−1

−4 −3 −2 −1 0 1 2 3 4

x 10−12

−3

−2

−1

0

1

2

3

x 10−12

{ Cjr +e r ∈ r

j−1, e ∈ e

j}

{ Cjr r ∈ r

j−1 }

{ Cjr r ∈ r

j }

−6 −4 −2 0 2 4 6

x 10−12

−6

−4

−2

0

2

4

6x 10

−12

{ Cjr +e r ∈ r

j−1, e ∈ e

j}

{ Cjr r ∈ r

j−1 }

{ Cjr r ∈ r

j }

Bj often ill-conditioned, large overestimations.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: QR Method

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

), Bj = Qj , QjRj = TBj−1 :

rj = Rj rj−1 + QTj

(zj −m(zj)

).

Suitable, but not optimal coordinates for global error.

Kuhn: Numerical example for exponential overestimation.

Good coordinates for local error.

Handles rotation, contraction, shear.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: QR Method

Bj = Qj , QjRj = TBj−1

−5 0 5

x 10−12

−4

−3

−2

−1

0

1

2

3

4

x 10−12

{ Cjr +e r ∈ r

j−1, e ∈ e

j }

{ Cjr r ∈ r

j−1 }

QR, Version 1QR, Version 2

−3 −2 −1 0 1 2 3

x 10−12

−2.5

−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

2.5

x 10−12

{ Cjr +e r ∈ r

j−1, e ∈ e

j }

{ Cjr r ∈ r

j−1 }

QR, Version 1QR, Version 2

Overestimation depends on column permutations of Bj−1.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: B Method

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

), Bj = TBj−1 + εQj .

Coordinates for global error sometimes better than QR.

Sometimes worse?

Suitable coordinates for local error.

Handles rotation, contraction, shear.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Wrapping Effect: B Method

Bj = TBj−1 + εQj , ε > 0.

−4 −3 −2 −1 0 1 2 3 4

x 10−12

−3

−2

−1

0

1

2

3

x 10−12

{ Cjr +e r ∈ r

j−1, e ∈ e

j}

{ Cjr r ∈ r

j−1 }

blunting factors 1e−3blunting factors 0.5

−6 −4 −2 0 2 4 6

x 10−12

−6

−4

−2

0

2

4

6x 10

−12

{ Cjr +e r ∈ r

j−1, e ∈ e

j}

{ Cjr r ∈ r

j−1 }

blunting factors 1e−3blunting factors 0.5

Overestimation depends on blunting factors.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Propagation of the Global Error

Global error:

rj = (B−1j TBj−1)rj−1 + B−1

j

(zj −m(zj)

),

w(rj) = |B−1j TBj−1|w(rj−1) + |B−1

j |w(zj).

QR method (Nedialkov & Jackson 2001): Error propagationdepends on spectral radius of

Hj = |Q−1j TQj−1| |Q−1

j−1TQj−2| · · · |Q−12 TQ1|.

B method: Error propagation depends on spectral radius of

Pj = |B−1j TBj−1| |B−1

j−1TBj−2| · · · |B−12 TB1|.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Propagation of the Global Error

Assume: T has eigenvalues λi of distinct magnitudes:

|λ1| > |λ2| > · · · |λn| > 0.

QR method: diag(Hj)→(|λ1|j , |λ2|j , . . . , |λn|j

). (j →∞)

B method: diag(Pj)→(|λ1|j , α2|λ2|j , . . . , αn|λn|j

),

whereε

1 + ε≤ αk ≤ 1 +

1

ε.

ε = 10−3: 10−3 ≈ 10−3

1 + 10−3≤ αk ≤ 1001.

ε = 1: 0.5 ≤ αk ≤ 2.

Similar error propagation if |αk | ≈ 1 for k = 2, . . . , n.TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Condition number of Bj

B method: Bj = QjVj , Qj orthogonal:∥∥∥V−1j

∥∥∥1,∞≤ (1 + 1/ε)n−1

ε.

ε = 10−3:∥∥∥V−1

j

∥∥∥1,∞≤ 103(103 + 1)n−1.

ε = 1:∥∥∥V−1

j

∥∥∥1,∞≤ 2n−1.

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Open Problems

Optimal choice of blunting factors(Dj = diag(ε1, . . . , εn)

).

Quality of upper bounds for cond( Bj ).

T with eigenvalues of same magnitude.

Column permutations of Bj .

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs

Verified Integration of IVPsTaylor Method for Model Problem

Wrapping EffectThe Blunting Method

Thank you.

Questions or Remarks?

TMW 2008 Markus Neher On the Blunting Method in Verified Integration of ODEs