Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

59
Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002

Transcript of Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Page 1: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Basins of

Attraction

Dr. David Chan

NCSSM

TCM Conference

February 1, 2002

Page 2: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 3: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Outline

• Definitions and a Simple Example

• Newton’s Method in the Real Plane

• Newton’s Method in the Complex Plane

• The Biology of a Species

Page 4: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Dynamical Systems

A Dynamical System is a set of equations which model some changing phenomena. They often take the form of

• Difference Equation(s)

• Ordinary Differential Equation(s)

• Partial Differential Equation(s)

Page 5: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Examples:•Precalculus

1n nP rP

1 1n n nD D kD q

1 1n n nL L iL p - Loans

- Drug Dosage

- Population growth

Page 6: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

More Examples:•Calculus

-Newton’s Method

-Fixed points-Bifurcations-Periodic Orbits

-Function Iteration

Page 7: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Attractors

-Fixed Points-Periodic Orbits-Strange Attractors

An attractor is a point or a collection of points on which the system can limit. These often take the form of

Page 8: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Basins of Attraction

The Basin of Attraction for an attractor is the set of points which limit on the attractor.

Page 9: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Example: Function iteration 2( )F x x

Two fixed pointsx=0

Has a basin of attraction of (-1,1). x=1Has a basin of attraction of {-1,1}.

Everything else goes to infinity!

Page 10: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Calculus—Newton’s Method

• Used to find roots of a function by using tangent lines.

• Formula:

11

1

( )

( )n

n nn

f xx x

f x

Page 11: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 12: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

24 4 4(3)( 8)

2(3)

4 1122.4305,1.0971

6

x

x

Location of a horizontal tangent line.

Page 13: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Questions:

In what way(s) can Newton’s Method fail?

Are there other attractors other than the roots?

What is the basin of attraction for 0?

Consider: ( ) sin( )F x x

Page 14: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Question:What is the basin of attraction for 0?

Answer:There is a part of each ‘hump’ of sine which will give 0 as a root.

Page 15: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 16: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 17: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 18: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 19: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 20: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Question:Are there other attractors other than the roots?

Answer:There are periodic points.

sin( )2

cos( )

xx x

x

Page 21: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Question:

In what way(s) can Newton’s Method fail?Answer:Move to the next hump at the same location.

sin( )2

cos( )

xx x

x

Page 22: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Newton’s Method in the Complex Plane

•Same method but involves usingcomplex arithmetic.

•This is 2-dimensional.• has n different solutions.1nx • And…

Page 23: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2 - 1

Page 24: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z3 - 1

Page 25: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z4 - 1

Page 26: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z5 - 1

Page 27: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2 - 1

Page 28: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.001 - 1

Page 29: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.005 - 1

Page 30: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.01 - 1

Page 31: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.02 - 1

Page 32: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.03 - 1

Page 33: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.04 - 1

Page 34: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.06 - 1

Page 35: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.1 - 1

Page 36: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.2 - 1

Page 37: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.3 - 1

Page 38: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.4 - 1

Page 39: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.5 - 1

Page 40: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.6 - 1

Page 41: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.7 - 1

Page 42: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.8 - 1

Page 43: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.9 - 1

Page 44: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z2.95 - 1

Page 45: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Z3 - 1

Page 46: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

1 x 1

Page 47: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

0.1 x 0.1

Page 48: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

0.01 x 0.01

Page 49: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

0.000001 x 0.000001

Page 50: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Newton’s Method:3

1 2

1

3n n

zz z

z

•Method fails at z=0.

•Method fails at lots of points whichmap to zero (eventually).•All these points have points of allthree colors near them.

Page 51: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Precalculus: Biology

One species-Adult & Children

1 1( )1

1

n nr aC bAn n

n n

C A e

A kC

Page 52: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

1 1( )1

1

n nr aC An n

n n

C A e

A C

Simplified Equations

Page 53: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Questions:1. What happens if r>0 and a>0.

This models competition.

1 1( )1

1

n nr aC An n

n n

C A e

A C

Page 54: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 55: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 56: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Questions:

2. What happens if r<0?

1 1( )1

1

n nr aC An n

n n

C A e

A C

Everything dies out!

Page 57: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.

Questions:

3. What happens if r>0 and a<0?

This models cannibalism.

1 1( )1

1

n nr aC An n

n n

C A e

A C

Page 58: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.
Page 59: Basins of Attraction Dr. David Chan NCSSM TCM Conference February 1, 2002.