continuation methods in dynamical systemshinke/meetings/nzmri/... · 2016. 1. 11. · hinke osinga...

24
Continuation Methods in Dynamical Systems Basic Tutorial Hinke Osinga and Bernd Krauskopf Department of Mathematics, The University of Auckland

Upload: others

Post on 28-Mar-2021

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Continuation Methods inDynamical Systems

Basic TutorialHinke Osinga and Bernd Krauskopf

Department of Mathematics, The University of Auckland

Page 2: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

AcknowledgementThis lecture is heavily based on lecture noteswritten by Eusebius Doedel, Concordia University,Montreal.

For more information, see

http://cmvl.cs.concordia.ca/auto

[Krauskopf, Osinga & Galan-Vioque (Eds.) Springer, 2007]

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 2

Page 3: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Continuation Packages

Numerical methods in dynamical systems and bifurcation theoryare based on continuation

AUTO by Eusebius Doedel(Concordia University)CoCo by Harry Dankowicz (UIUC,Champaign) and Frank Schilder(DTU, Copenhagen)MatCont by Willy Govaerts (GhentUniversity) and Yuri Kuznetsov(Utrecht University)XPPAUT by Bard Ermentrout(University of Pittsburgh)

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 3

Page 4: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Continuation of equilibria

Consider a predator-prey model{u′1 = 3u1(1− u1)− 2u1u2,u′2 = −u2 + 3u1u2.

We can think of u1 as ‘fish’ and u2 as ‘sharks’

The equilibria are

3u1(1− u1)− 2u1u2 = 0−u2 + 3u1u2 = 0

}⇒ (u1,u2) = (0,0), (1,0), (1

3 ,1).

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 4

Page 5: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Continuation of equilibria

Consider a predator-prey model with fishing{u′1 = 3u1(1− u1)− 2u1u2−λ(1− e−5u1),u′2 = −u2 + 3u1u2.

We can think of u1 as ‘fish’ and u2 as ‘sharks’

The equilibria are

3u1(1− u1)− 2u1u2 = 0−u2 + 3u1u2 = 0

}⇒ (u1,u2) = (0,0), (1,0), (1

3 ,1).

What happens to the equilibria if we introduce a ‘fishing-quota’ λ > 0?

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 4

Page 6: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Persistence for λ > 0?

Theorem (Implicit Function Theorem (IFT))Consider f : Rn × R→ Rn with f(u0, λ0) = 0 for u0 ∈ Rn and λ0 ∈ R.Suppose the following holds:

The Jacobian matrix fu(u0, λ0) is nonsingular;f and fu are Lipschitz continuous (in both u and λ)

Then there exists δ > 0 and interval Λδ = (λ0 − δ, λ0 + δ), witha unique function u(λ) continuous on Λδ, such that

u(λ0) = u0

f(u(λ), λ) = 0, for all ||λ− λ0 ||< δ.

We call u0 an isolated solution of f(u, λ0) = 0

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 5

Page 7: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Equilibrium branches

The Jacobian matrix is

J(u1,u2;λ) =

(3− 6u1 − 2u2 − 5λe−5u1 −2u1

u2 −1 + 3u1

)

J(0,0; 0) =

(3 00 −1

), J(1,0; 0) =

(3 −20 2

),

J(13 ,1; 0) =

(−1 −2

36 0

),

All three Jacobians at λ = 0 are nonsingular.

Thus, by the IFT, all three equilibria persist for (small) λ 6= 0.

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 6

Page 8: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Phase portraits for λ ≥ 0λ = 0

0

u2

1.3

0 u1 1

λ = 0.5

0

u2

1.3

0 u1 1λ = 0.68

0

u2

1.3

0 u1 1

λ = 0.75

0

u2

1.3

0 u1 1

Note:moderatefishing quotasdo not seem tohave an effect onthe number offish, but greatlyreduce the sharkpopulation!

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 7

Page 9: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Parameter continuation

��

��

��

��

����������������������������������

������������

������������

"u"

u

u

λ λ

λ

u1

(0)

du

d λat λ0 )

u

10

1

0

∆λ

(=

Set λ1 = λ0 + ∆λ

Use Newton’s method with initial guess

u(0)1 = u(λ0) + ∆λ

dudλ

∣∣∣∣u=u(λ0)

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 8

Page 10: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Regular solutions

Definition (Regular solutions)A solution (u0, λ0) ∈ Rn × R of f(u, λ) = 0 is called regular if

Rank(

f0u

∣∣∣ f0λ

)= n⇔

(i) f0u is nonsingular,

or

(ii)

dimN (f0

u) = 1,andf0λ 6∈ R(f0

u).

Here, N (f0u) denotes the null space of f0

u, and R(f0u) denotes the range

of f0u, i.e., the linear space spanned by the n columns of f0

u.

Regular solutions include fold points with respect to λ

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 9

Page 11: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Pseudo-arclength continuation

����u0

u0 ∆ s

����

λ0��

����������

����

"u"

λ λ

λ

u

10

1

u( ), λ00

f(u1, λ1) = 0

(u1 − u0)∗ u0 + (λ1 − λ0) λ0 −∆s = 0

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 10

Page 12: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Newton’s method in this context

Newton’s method for pseudo-arclength continuation becomes((f1

u)(ν) (f1λ)(ν)

(u0)∗ λ0

) (∆u(ν)

1

∆λ(ν)1

)=

(f(u(ν)

1 , λ(ν)1 )

(u(ν)1 − u0)∗ u0 + (λ

(ν)1 − λ0) λ0 −∆s

),

with the new direction vector defined as(f1u f1

λ

u∗0 λ0

) (u1

λ1

)=

(01

),

The orientation of the branch is preserved for ∆s small.Rescale direction vector: || u1 ||2 +λ2

1 = 1.

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 11

Page 13: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Effects of fishing on equilibria

u2

u1λ

u1

λ

Non-trivial equilibrium is stable until λ = λH ≈ 0.6716Fishing does not seem to affect fish population for small λAll other stable equilibria are non-physical or correspond toextinction of fish (and shark)

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 12

Page 14: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

The Hopf bifurcation

Theorem (Hopf bifurcation)Suppose that along an equilibrium branch (u(λ), λ), of

u′ = f(u, λ),

a complex conjugate pair α(λ)± i β(λ) of eigenvalues of fu(u(λ), λ)crosses the imaginary axis transversally, i.e., for some λ0,

α(λ0) = 0, β(λ0) 6= 0, and α(λ0) 6= 0.

Also assume that there are no other eigenvalues on the imaginary axis.

Then there is a Hopf bifurcation and a family of periodic solutionsbifurcates from the stationary solution at (u0, λ0).

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 13

Page 15: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Continuation of periodic orbits

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9−1

−0.5

0

0.5

1

u1

λ

?

Hopf at λ = λH

λ = 0.68

0

u2

1.3

0 u1 1

Bifurcation theory andcentre manifold theory areused to determine a firstapproximation of theperiodic orbit and its period{

u1 = a cos (β(λH)t),u2 = a sin (β(λH)t)

with 0 ≤ t < 2π, amplitudea =

√|λ− λH |, and period

T =2πβ(λ)

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 14

Page 16: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

A BVP approach

Consider the first-order system

u′(t) = f(u(t), λ), u(·), f(·) ∈ Rn, λ ∈ R.

Fix the interval of periodicity by the transformation t 7→ tT .

Then the equation becomes

u′(t) = T f(u(t), λ), u(·), f(·) ∈ Rn, T , λ ∈ R,

and we seek an orbit segment u subject to the boundary condition

u(0) = u(1)

Note that the intergation time T , the period, is one of the unknowns.

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 15

Page 17: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

(Families of) orbit segments

One-parameter family of solutions to BVP

u(t) = T f(u(t), λ),u(0) ∈ L(θ),

with L(θ) curve on linear approximation, and one additional boundarycondition, e.g.:

Fixed integration time: T = T0

Fixed arclength: ∫ 1

0T || f(u(s)) || ds − L = 0

Constrained end point: g(u(1), θ,T )− α = 0

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 16

Page 18: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Orthogonal Collocation

�� �� ��

0 1t t t t

t

0 1 2 N

z j,1 z j,2 z j,3

t

tt j-1

j-1 j

j

l lj,3 j,1(t) (t)

j-1/3tj-2/3t

Solutions u(t) arepiecewise polynomials

Pmh = {ph ∈ C[0,1] |

ph|[tj−1,tj ] ∈ Pm},

where Pm is the space of(vector-valued) polynomials ofdegree ≤ m.

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 17

Page 19: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Nonuniqueness of periodic orbit

Assume that we have computed

(uk−1(·),Tk−1, λk−1)

and we want to compute the next solution

(uk (·),Tk , λk )

Then uk (t) can be translated freely in time:

If uk (t) is a periodic solution, then so is uk (t + σ), for any σ.

We define (uk (·),Tk , λk ) uniquely using a phase condition

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 18

Page 20: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Pseudo-Arclength Continuation

For the continuation of periodic solutions, we solve the system

u′k (t) = T f(uk (t), λk ),

uk (0) = uk (1),∫ 1

0uk (t)∗ u′k−1(t) dt = 0,∫ 1

0(uk (t)− uk−1(t))∗ uk−1(t) dt + (Tk − Tk−1) Tk−1

+(λk − λk−1) λk−1 = ∆s,

whereu(·), f(·) ∈ Rn, λ, T ∈ R.

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 19

Page 21: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Oscillating fish

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9−1

−0.5

0

0.5

1

0.1 0.2 0.3 0.4 0.5 0.60

0.1

0.2

0.3

0.4

0.5

u1

λ

u1

u2

Attracting periodic orbitsexist as λ increasesThe period increases andbecomes infinite at λ ≈ 0.7This final orbit is called aheteroclinic cycle

λ = 0.7081

0

u2

1.3

0 u1 1

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 20

Page 22: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Oscillating fish in 3D

u1

u2

λu1

u2

λ

Attracting periodic orbits exist as λ increasesThe period increases and becomes infinite at λ ≈ 0.7This final orbit is called a heteroclinic cycle

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 21

Page 23: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

Global manifold computations

Famous test example: the Lorenz system

x = σ(y − x)y = %x − y − xzz = −βz + xy

Classical parameters:σ = 10% = 28β = 22

3

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 22

Page 24: Continuation Methods in Dynamical Systemshinke/meetings/NZMRI/... · 2016. 1. 11. · Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23 Title Continuation

The Lorenz manifold

Manifold is viewed asfamily of geodesic levelsets (GLS)

Points on a new GLSfound by continuationof 2PBVPCurve L(θ) isboundary of manifoldcomputed so far

Hinke Osinga and Bernd Krauskopf Basic Tutorial — NZMRI Summer School 23