dynamical numerics for numerical dynamics numeri… · modeling convergence and stability numerical...

104
Dynamical Numerics for Numerical Dynamics Robert H. C. Moir The University of Western Ontario Dept. of Applied Mathematics April 9, 2010

Upload: others

Post on 22-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Dynamical Numerics for Numerical Dynamics

Robert H. C. Moir

The University of Western Ontario

Dept. of Applied Mathematics

April 9, 2010

Page 2: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

1 Modeling With Dynamical Systems

2 Convergence and Stability

3 Numerical Methods as Dynamical Systems

4 Conclusion

Page 3: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Generating the Model

Suppose that we want to model the time evolution of somenatural or social system.

Page 4: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Generating the Model

Suppose that we want to model the time evolution of somenatural or social system.

Often this is done by devising a rule according to which thestate of the system at a time t depends on the state of thesystem at an earlier time.

Page 5: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Generating the Model

Suppose that we want to model the time evolution of somenatural or social system.

Often this is done by devising a rule according to which thestate of the system at a time t depends on the state of thesystem at an earlier time.

finite earlier time −→ difference equations

Page 6: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Generating the Model

Suppose that we want to model the time evolution of somenatural or social system.

Often this is done by devising a rule according to which thestate of the system at a time t depends on the state of thesystem at an earlier time.

finite earlier time −→ difference equations

discrete dynamical system:

Un+1 = f(Un), U0 = U, n ∈ N, Z, u ∈ Rn

Page 7: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Generating the Model

Suppose that we want to model the time evolution of somenatural or social system.

Often this is done by devising a rule according to which thestate of the system at a time t depends on the state of thesystem at an earlier time.

infinitesimal earlier time −→ differential equations

Page 8: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Generating the Model

Suppose that we want to model the time evolution of somenatural or social system.

Often this is done by devising a rule according to which thestate of the system at a time t depends on the state of thesystem at an earlier time.

infinitesimal earlier time −→ differential equations

continuous dynamical system:

u̇(t) = f(u(t)), u(0) = u0, n ∈ R+, R, u ∈ R

n (1)

Page 9: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Analyzing the Model

If f is a linear function of u, the system can be solved exactly.

Page 10: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Analyzing the Model

If f is a linear function of u, the system can be solved exactly.

In most modeling situations, however, f is nonlinear and ingeneral analytic solutions are not available.

Page 11: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Analyzing the Model

So what can we do?

Page 12: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Analyzing the Model

So what can we do?

1 Use qualitative analytic methods (e.g. centre manifold theory,normal form theory)

Page 13: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Analyzing the Model

So what can we do?

1 Use qualitative analytic methods (e.g. centre manifold theory,normal form theory)

2 Use computers and numerical methods

Page 14: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Analyzing the Model

So what can we do?

1 Use qualitative analytic methods (e.g. centre manifold theory,normal form theory)

2 Use computers and numerical methods

Both approaches have limitations. . .

Page 15: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Computation

Two important limitations of using computation:

Page 16: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Computation

Two important limitations of using computation:

1 computer representation of real numbers (floating pointnumbers) is finite and discrete

Page 17: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Computation

Two important limitations of using computation:

1 computer representation of real numbers (floating pointnumbers) is finite and discrete

this introduces roundoff and truncation error

Page 18: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Computation

Two important limitations of using computation:

1 computer representation of real numbers (floating pointnumbers) is finite and discrete

this introduces roundoff and truncation error

2 the continuous evolution of (1) is discretized

Page 19: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Computation

Two important limitations of using computation:

1 computer representation of real numbers (floating pointnumbers) is finite and discrete

this introduces roundoff and truncation error

2 the continuous evolution of (1) is discretized

u(t + ∆t) = u(t) +

t+∆t

t

f(u)dt

Page 20: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Computation

Two important limitations of using computation:

1 computer representation of real numbers (floating pointnumbers) is finite and discrete

this introduces roundoff and truncation error

2 the continuous evolution of (1) is discretized

u(t + ∆t) = u(t) +

t+∆t

t

f(u)dte.g.

−→ Un+1 = Un +s

i=1

aif(Yi)∆t

Page 21: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Computation

Two important limitations of using computation:

1 computer representation of real numbers (floating pointnumbers) is finite and discrete

this introduces roundoff and truncation error

2 the continuous evolution of (1) is discretized

this introduces discretization error

u(t + ∆t) = u(t) +

t+∆t

t

f(u)dte.g.

−→ Un+1 = Un +s

i=1

aif(Yi)∆t

Page 22: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

So, not only do we have the issue of floating point error, we alsohave the issue of whether interpolating the discretized systemproduces behaviour sufficiently close to the behaviour of the model

Page 23: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Consider a very simple numerical method (Euler method):

Page 24: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Consider a very simple numerical method (Euler method):

Suppose our model is the logistic equation

u̇ = f(u) = u − u2, u(0) = u0,

Page 25: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Consider a very simple numerical method (Euler method):

Suppose our model is the logistic equation

u̇ = f(u) = u − u2, u(0) = u0,

which has solution

u(t) = u0 +

t

0

f(u)dt = u0 +

t

0

(u − u2)dt.

Page 26: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Consider a very simple numerical method (Euler method):

Suppose our model is the logistic equation

u̇ = f(u) = u − u2, u(0) = u0,

which has solution

u(t) = u0 +

t

0

f(u)dt = u0 +

t

0

(u − u2)dt.

Then with the very simple estimation of the integral over atime step ∆t as f(u(t))∆t we obtain

Un+1 = Un + (Un − U2n)∆t,

Page 27: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Consider a very simple numerical method (Euler method):

Suppose our model is the logistic equation

u̇ = f(u) = u − u2, u(0) = u0,

which has solution

u(t) = u0 +

t

0

f(u)dt = u0 +

t

0

(u − u2)dt.

Then with the very simple estimation of the integral over atime step ∆t as f(u(t))∆t we obtain

Un+1 = Un + (Un − U2n)∆t,

which contains the logistic map.

Page 28: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

How does the Euler method do for ∆t = 0.1?

Page 29: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

How does the Euler method do for ∆t = 0.1?

Page 30: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

How does the Euler method do for ∆t = 1?

Page 31: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

How does the Euler method do for ∆t = 2?

Page 32: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

How does the Euler method do for ∆t = 3?

Page 33: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

How does the Euler method do for ∆t = 3.6?

Page 34: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Of course this example is artificial for two reasons:

Page 35: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Of course this example is artificial for two reasons:

1 In practice we use more sophisticated numerical methods;

Page 36: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Of course this example is artificial for two reasons:

1 In practice we use more sophisticated numerical methods; and

2 In practice we use very small time steps for accuracy.

Page 37: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Of course this example is artificial for two reasons:

1 In practice we use more sophisticated numerical methods; and

2 In practice we use very small time steps for accuracy.

But, it shows that even though the solution of the model may besmooth, the solution of the numerics need not be.

Page 38: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Discretization Error

Of course this example is artificial for two reasons:

1 In practice we use more sophisticated numerical methods; and

2 In practice we use very small time steps for accuracy.

But, it shows that even though the solution of the model may besmooth, the solution of the numerics need not be. The numericscan even be chaotic!

Page 39: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Keeping Watch on Error

Since we want the numerics to accurately reflect the dynamics, sothat we can use the numerics to understand the system beingmodeled, we must keep a careful watch on the various sources oferror.

Page 40: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Controlling the Error

In many modeling situations, ensuring that

‖u(t) − U(t)‖, t ∈ [0, T ]

is small is one’s main concern, since one requires accuratequantitative results in the near term (short time periods).

Page 41: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Controlling the Error

In many modeling situations, ensuring that

‖u(t) − U(t)‖, t ∈ [0, T ]

is small is one’s main concern, since one requires accuratequantitative results in the near term (short time periods).

The classical error theory for numerical methods formulatesthis as a convergence question.

Page 42: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

The error committed over one iteration of the numericalmethod starting at U0 = U is called the truncation error,which may be denoted

‖T (U ;∆t)‖.

Page 43: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

The error committed over one iteration of the numericalmethod starting at U0 = U is called the truncation error,which may be denoted

‖T (U ;∆t)‖.

For example, for Runge-Kutta methods

‖T (U ;∆t)‖ = u(∆t) − U1.

Page 44: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

The questions asked, then, are:

Page 45: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

The questions asked, then, are:

1 does ‖T (U ;∆t)‖ → 0 as ∆t → 0?

Page 46: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

The questions asked, then, are:

1 does ‖T (U ;∆t)‖ → 0 as ∆t → 0?

2 and if so, how fast?

Page 47: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

To phrase the sort of result that is proved, we need the notion ofthe order of a numerical method:

Page 48: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

To phrase the sort of result that is proved, we need the notion ofthe order of a numerical method:

Roughly speaking, a numerical method has order r if for allsufficiently smooth functions f(u) and all initial values U

‖T (U ;∆t)‖ = O(∆tr+1) as ∆t → 0.

Page 49: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

Defining the global error en at time t = n∆t to be

en = ‖u(n∆t) − Un‖

then an example of a convergence result is (for Runge-Kuttamethods of order r, with a Lipschitz assumption on f):

Page 50: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

Defining the global error en at time t = n∆t to be

en = ‖u(n∆t) − Un‖

then an example of a convergence result is (for Runge-Kuttamethods of order r, with a Lipschitz assumption on f):

there is a ∆tc > 0 such that for any ∆t ∈ (0,∆tc) andn∆t ∈ [0, T ] the global error satisfies

en ≤ K∆tr(eLT − 1).

Page 51: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Classical Finite-Time Convergence

Defining the global error en at time t = n∆t to be

en = ‖u(n∆t) − Un‖

then an example of a convergence result is (for Runge-Kuttamethods of order r, with a Lipschitz assumption on f):

there is a ∆tc > 0 such that for any ∆t ∈ (0,∆tc) andn∆t ∈ [0, T ] the global error satisfies

en ≤ K∆tr(eLT − 1).

But, we see that the bound grows exponentially in time andgoes to infinity as T → ∞. So what do we do if we areinterested in long-time behaviour?

Page 52: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Why Long Term Error?

What else besides near term error do we need to worry about?

Page 53: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Why Long Term Error?

What else besides near term error do we need to worry about?

Much of the time we are interested in understanding thestability properties of the invariant sets (equilibrium points,periodic solutions, chaotic attractors, etc.) of our modeldynamical system.

Page 54: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Why Long Term Error?

What else besides near term error do we need to worry about?

Much of the time we are interested in understanding thestability properties of the invariant sets (equilibrium points,periodic solutions, chaotic attractors, etc.) of our modeldynamical system.

Also, often our model contains parameters, which we mayassume are constant, but may actually vary over longer timeperiods, or may just be subject to measurement or modelingerror, so really we are dealing with a system

u̇(t) = f(u, µ), u(0) = u0, n ∈ R+, R, u ∈ R

n, µ ∈ Rm

(2)so we need to worry about bifurcations.

Page 55: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

This presents us with a whole host of other discretization concerns.

Page 56: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

This presents us with a whole host of other discretization concerns.

How do we know whether the invariant sets and bifurcationsof the discretized system reflect or correspond to the invariantsets of our original model?

Page 57: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

Consider a simple linear example:

u̇ = Au, u(0) = U,A =

(

−µ 00 −µ/2

)

, µ > 1.

The matrix A has eigenvalues λ = −µ,−µ/2 and so theorigin is globally asymptotically stable.

Page 58: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

Consider a simple linear example:

u̇ = Au, u(0) = U,A =

(

−µ 00 −µ/2

)

, µ > 1.

The matrix A has eigenvalues λ = −µ,−µ/2 and so theorigin is globally asymptotically stable.

Suppose we discretize using the Euler method, then

Un+1 = (I + ∆tA)Un

Page 59: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

Consider a simple linear example:

u̇ = Au, u(0) = U,A =

(

−µ 00 −µ/2

)

, µ > 1.

The matrix A has eigenvalues λ = −µ,−µ/2 and so theorigin is globally asymptotically stable.

Suppose we discretize using the Euler method, then

Un+1 = (I + ∆tA)Un

Clearly U = 0 is an equilibrium point, but it is only stableprovided that the modulus of the eigenvalues of I + ∆tA areless than 1, i.e. if |1 − µ∆t| < 1.

Page 60: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 0.1/µ?

Page 61: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 0.1/µ?

Page 62: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 0.5/µ?

Page 63: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 1/µ?

Page 64: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 1.5/µ?

Page 65: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 1.9/µ?

Page 66: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 2/µ?

Page 67: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 2.1/µ?

Page 68: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

More Discretization Concerns

So we will run into trouble when µ∆t = 2, i.e. when ∆t = 2/µ.

Suppose that µ = 10 and we let U = (1, 0)T . Then whathappens for ∆t = 2/µ?

Page 69: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Convergence and Stability

In terms of understanding the limits of numerics there are twomain kinds of question that arise:

Page 70: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Convergence and Stability

In terms of understanding the limits of numerics there are twomain kinds of question that arise:

1 Convergence: what can be said about the large n behaviour ofUn and the large t behaviour of u(t) in the limit ∆t → 0?

Page 71: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Convergence and Stability

In terms of understanding the limits of numerics there are twomain kinds of question that arise:

1 Convergence: what can be said about the large n behaviour ofUn and the large t behaviour of u(t) in the limit ∆t → 0?

2 Stability: for what sort of restrictions on the time step donumerical methods replicate the large-time dynamical featuresof the dynamical system?

Page 72: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Convergence and Stability

In terms of understanding the limits of numerics there are twomain kinds of question that arise:

1 Convergence: what can be said about the large n behaviour ofUn and the large t behaviour of u(t) in the limit ∆t → 0?

2 Stability: for what sort of restrictions on the time step donumerical methods replicate the large-time dynamical featuresof the dynamical system?

How do we address these?

Page 73: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerical Methods as Dynamical Systems

One approach is to treat the numerical methods as discretedynamical systems so that the theory of dynamical systems can bebrought to bear on the problem.

Page 74: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Some Definitions

To get a taste for what this involves we need a few moredefinitions. . .

Page 75: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Evolution Semigroups

A (finite-dimensional) dynamical system can be characterized as amap from vectors to vectors.

Page 76: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Evolution Semigroups

A (finite-dimensional) dynamical system can be characterized as amap from vectors to vectors.

For a discrete dynamical system the map is

Sn: Rn → R

n, U0 7→ Un = SnU0.

Page 77: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Evolution Semigroups

A (finite-dimensional) dynamical system can be characterized as amap from vectors to vectors.

For a discrete dynamical system the map is

Sn: Rn → R

n, U0 7→ Un = SnU0.

For a continuous dynamical system the map is

S(t): Rn → R

n, u0 7→ u(t) = S(t)u0.

Page 78: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Evolution Semigroups

A (finite-dimensional) dynamical system can be characterized as amap from vectors to vectors.

For a discrete dynamical system the map is

Sn: Rn → R

n, U0 7→ Un = SnU0.

For a continuous dynamical system the map is

S(t): Rn → R

n, u0 7→ u(t) = S(t)u0.

The maps (Sn and S(t)) are called evolution semigroups.

Page 79: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Invariant Sets

With the notion of a semigroup we may give a precise definition ofinvariant set:

Page 80: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Invariant Sets

With the notion of a semigroup we may give a precise definition ofinvariant set:

An invariant set of a dynamical system is a set E ⊆ Rn such

that SnE = E or S(t)E = E.

Page 81: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Invariant Sets

With the notion of a semigroup we may give a precise definition ofinvariant set:

An invariant set of a dynamical system is a set E ⊆ Rn such

that SnE = E or S(t)E = E.

We may see that equilibrium points and periodic solutions areinvariant sets since they map onto themselves at time evolves.

Page 82: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

ω-limit Sets

In particular, the invariant sets we are interested in are theones that solutions (or sets of solutions) converge to asn, t → ∞. These are ω-limit sets.

Page 83: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

ω-limit Sets

In particular, the invariant sets we are interested in are theones that solutions (or sets of solutions) converge to asn, t → ∞. These are ω-limit sets.

Thus, the kind of questions we want to ask is do the ω-limitsets of our numerical method correspond to the ω-limit sets ofthe dynamical system.

Page 84: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

A fruitful way to address this is to show that the semigroupS(t) for our dynamical system ((1) or (2)) when discretizedyields a semigroup Sn

∆tfor the numerics.

Page 85: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

A fruitful way to address this is to show that the semigroupS(t) for our dynamical system ((1) or (2)) when discretizedyields a semigroup Sn

∆tfor the numerics.

When it does, then it is possible to prove results concerningthe relationship between the invariant sets of S(t) and Sn

∆t.

Page 86: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

The kinds of things that can be proved for particular classes ofnumerical methods are:

Page 87: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

The kinds of things that can be proved for particular classes ofnumerical methods are:

conditions under which structural properties, e.g. dissipativityor conservativeness, of the vector field f are preserved.

Page 88: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

The kinds of things that can be proved for particular classes ofnumerical methods are:

conditions under which structural properties, e.g. dissipativityor conservativeness, of the vector field f are preserved.

conditions for convergence of the invariant sets of S(t) andSn

∆t, e.g. equilibriua, periodic solutions, invariant manifolds,

etc.

Page 89: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

Other interesting things that can be proved are results concerning:

Page 90: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

Other interesting things that can be proved are results concerning:

the preservation of arbitrary attracting sets underdiscretization. This includes the case of chaotic attractors.

Page 91: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Treating Numerics as Dynamics

Other interesting things that can be proved are results concerning:

the preservation of arbitrary attracting sets underdiscretization. This includes the case of chaotic attractors.

the preservation of dynamical invariants, e.g. a Hamilitonian,phase volume, etc., under discretization. This ensures stablenumerics for computing integrable systems.

Page 92: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Simple Examples of Results

One kind of stability problem for numerical methods is theintroduction of spurious fixed points, i.e. fixed points of Sn

∆tthat

are not fixed points of S(t).

Page 93: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Simple Examples of Results

One kind of stability problem for numerical methods is theintroduction of spurious fixed points, i.e. fixed points of Sn

∆tthat

are not fixed points of S(t). A couple of simple results that can beproved for Runge-Kutta methods are:

Page 94: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Simple Examples of Results

One kind of stability problem for numerical methods is theintroduction of spurious fixed points, i.e. fixed points of Sn

∆tthat

are not fixed points of S(t). A couple of simple results that can beproved for Runge-Kutta methods are:

any fixed point of S(t) is a fixed point of Sn

∆t;

Page 95: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Simple Examples of Results

One kind of stability problem for numerical methods is theintroduction of spurious fixed points, i.e. fixed points of Sn

∆tthat

are not fixed points of S(t). A couple of simple results that can beproved for Runge-Kutta methods are:

any fixed point of S(t) is a fixed point of Sn

∆t; but

specific conditions for critical values of ∆t where spuriousfixed points bifurcate from equilibria.

Page 96: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Numerics

Take home message:

Page 97: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Numerics

Take home message:

it is important to be aware of the kinds of distortion thatdiscretization can produce when using numerics to studydynamical systems;

Page 98: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Limitations of Numerics

Take home message:

it is important to be aware of the kinds of distortion thatdiscretization can produce when using numerics to studydynamical systems;

treating numerics as discrete dynamical systems enables oneto determine how to design numerical methods that stablycompute continuous dynamical systems of various kinds.

Page 99: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

So What About the Project?

For the project:

Page 100: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

So What About the Project?

For the project:

A brief survey of some of the kinds of distortion produced bydiscretization;

Page 101: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

So What About the Project?

For the project:

A brief survey of some of the kinds of distortion produced bydiscretization;

Simulations to illustrate the results of theorems;

Page 102: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

So What About the Project?

For the project:

A brief survey of some of the kinds of distortion produced bydiscretization;

Simulations to illustrate the results of theorems;

Discretization of a model of a physical system.

Page 103: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

Thanks!

Thank You!

Page 104: Dynamical Numerics for Numerical Dynamics Numeri… · Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion Generating the Model Suppose that we want

Modeling Convergence and Stability Numerical Methods as Dynamical Systems Conclusion

References

1 Hale, J. K. (1992) “Dynamics and Numerics.” Pp. 243-253 inD. S. Broomhead and A. Iserles (Ed.), The Dynamics of

Numerics and the Numerics of Dynamics, Clarendon Press.

2 Stuart, A. M. (1994) Numerical Analysis of Dynamical

Systems. Acta Numerica, 3, pp. 467-572.

3 Stuart, A. M. and Humphries, A. R. (1996) Dynamical

Systems and Numerical Analysis. Cambridge University Press.