L ECTURE 10: D ISCRETE -T IME D YNAMICAL S YSTEMS 1 I NSTRUCTOR : G - - PowerPoint PPT Presentation
L ECTURE 10: D ISCRETE -T IME D YNAMICAL S YSTEMS 1 I NSTRUCTOR : G - - PowerPoint PPT Presentation
15-382 C OLLECTIVE I NTELLIGENCE S18 L ECTURE 10: D ISCRETE -T IME D YNAMICAL S YSTEMS 1 I NSTRUCTOR : G IANNI A. D I C ARO (M ORE ) G ENERAL DEFINITION OF DYNAMICAL SYSTEMS A dynamical system is a 3-tuple ,, : is a set of all
2
(MORE) GENERAL DEFINITION OF DYNAMICAL SYSTEMS
A dynamical system is a 3-tuple π,π, Ξ¦ : Β§ π is a set of all possible states of the dynamical system (the state space) Β§ π is the set of values the time (evolution) parameter can take Β§ Ξ¦ is the evolution function of the dynamical system, that associates to each π β π a unique image in π depending on the time parameter π’, (not all pairs (π’, π) are feasible, that requires the subset πΈ) Ξ¦:πΈ β πΓπ β π Γ Ξ¦ 0, π = π (the initial condition) Γ Ξ¦ π’2,Ξ¦ π’3,π = Ξ¦(π’2 + π’3,π), (property of states) for π’3,π’3 + π’2 β π½(π¦), π’2 β π½(Ξ¦(π’3π¦)), π½ π¦ = {π’ β π βΆ (π’, π) β πΈ} Γ The evolution function Ξ¦ provides the system state (the value) at time π’ for any initial state π Γ πΏ; = {Ξ¦ π’,π βΆ π’ β π½ π } orbit of the system through π, starting in π , the set of visited states as a function of time
3
TYPES OF DYNAMICAL SYSTEMS
Β§ Informally: A dynamical system defines a deterministic rule that allows to know the current state as a function of past states Β§ Given an initial condition π< = π(0) β π, a deterministic trajectory π π’ , π’ β π½(π<) is produced by π, π,Ξ¦ Β§ States can be βanythingβ mathematically well-behaved that represent situations of interest Β§ Continuous time dynamical systems (Flows): π open interval of β, Ξ¦ continous and differentiable function Γ Differential equations Β§ Discrete-time dynamical systems (Maps): π interval of β€, Ξ¦ a function
Β§ π¦Μ = π(π¦ π’ β π ) Delay models Β§ π¦Μ = π π¦ π’ + β« π π¦ π ππ
E EF
Integro-Differential Equations, accounting for history Β§
3 GH IH IEH π π¦, π’ = IH I;H π π¦,π’
Partial Differential Equations, accounting for space and time Ordinary Differential Equations
π¦K = π(π¦KL3,π¦KL2,β¦, π¦KLN), iterated updating
4
FROM LOCAL RULES TO GLOBAL BEHAVIORS?
Flows Maps βπ’ = 1, when βπ’ β 0 Γ ππ’ Γ Differential eq. ππ ππ’ = π(π,π’) π¦K = π(π¦KL3,π¦KL2,β¦, π¦KLN) Β§ For an infinitesimal time, only the instantaneous variation, the velocity, makes sense Γ The next state is expressed implicitly, and all the instantaneous variations, local in time, must be integrated in order to
- btain the global behavior π(π’)
Β§ Also in maps, the time-local iteration rule is a local description that can give rise to extremely complex global behaviors Β§ Γ How do we integrate the local description into global behaviors? Β§ Γ How do we predict global behaviors from the local descriptions?
5
MAPS
Β§ Where maps can arise from? Β§ Inherently discrete-time processes: looking at populations in terms of generations, epidemics in terms of weeks, economy in terms of quarters
- r years, traffic models per hour, growth per days, β¦
Β§ Discretization of differential equations: Β§ Euler method: πΜ = π(π) Γ πKR3 = πK + βπ(πK), β¦Runge-Kutta,β¦ Β§ Discretization of algebraic equations: Β§ Newtonβs method for solving π π¦ = 0 Γ Expand in Taylor series near π¦K:π π¦ = π π¦K + π¦ β π¦K πT π¦K + β― taking the usual linear approximation:π π¦ β π π¦K + π¦ β π¦K πT π¦K , equating to 0: π¦KR3 = π¦K β π π¦K /πT π¦K Β§ Letβs focus on one-dimensional maps Β§ Even in one dimension, iterated maps can produce incredibly complex behaviors, including deterministic chaos! Β§ Later on, we will consider multi-dimensional maps defined over a lattice (spatial grid) Γ Cellular Automata Γ even more complex behaviors
6
MAPS: SAME TERMINOLOGY AS IN FLOWS
Β§ π π¦ = 2π¦, π is a map Β§ The orbit of π¦ under the map π is the set of points: {π¦,π π¦ ,π π π¦ , π π π π¦ ,β¦ } = {π¦, π π¦ , π2 π¦ ,πY π¦ ,β¦ } corresponding to the iterated application of the map Β§ The initial point provides the initial conditions Β§ A point π¦β, such that π π¦β = π¦β is a fixed point, the orbits remain in π¦β for all future iterations Cobweb plots for individual
- rbits
7
FIXED POINTS
Β§ Starts at 1.6, converges to 1 Β§ Starts at 1.8, converges to -1 Stability of a fixed point π¦β? Β§ Fixed points correspond to intersection between graph π(π¦) and π¦ Β§ General map: π¦KR3 = π(π¦K), π(π¦β) = π¦β Β§ Letβs consider a near orbit, π¦K = π¦β + πK: is the orbit attracted or repelled from π¦β? If itβs attracted we can say that π¦β is stable Β§ Does the perturbation πK grow or decay with π? Β§ By the definition, π¦β + πKR3 = π¦KR3 = π(π¦β + πK), and using the Taylor series expansion about π¦β: π¦β + πKR3 = π¦KR3 = π π¦β + πK = π π¦β + πT π¦β πK + π(πK2) Β§ Given that π(π¦β) = π¦β Γ πKR3 = πT π¦β πK + π(πK2) Β§ If we take the linear approximation Γ Β§ Linearized map: πKR3 = πT π¦β πK Β§ Eigenvalue / multiplier: π = πT π¦β
8
FIXED POINTS
Β§ Linearized map: πKR3 = πT π¦β πK Β§ Solution of linearized map: π3 = ππ<, π2 = ππ3 = π2π< β¦.. πK = πKπ< Β§ If π = |πT π¦β | < 1 Γ πK β 0, for π β β, and π¦β is linearly stable Β§ If π = |πT π¦β | > 1 Γ πK β β, for π β β, and π¦β is unstable Β§ The linear stability holds also for the general map Β§ The marginal case π = |πT π¦β | = 1 doesnβt allow to draw conclusions. In this case the quadratic term π(πK2) determines the stability Β§ If π =0, then the fixed point is said superstable Β§ π¦KR3 = sinπ¦K Β§ π¦β = 0 is a fixed point Β§ π = πT π¦β = 1, marginal case Β§ Cobweb Γ Itβs stable! Β§ Is it global? For all orbits π¦K β 0? Β§ For any π¦<, π¦3β [β1,1] since |sinπ¦3| < 1 Β§ Γ From cobweb we can say itβs global
1
9
ANOTHER EXAMPLE, LIMITING BEHAVIOR
Β§ π¦KR3 = cos π¦K Β§ lim
Kβlπ¦K? β¦ by iterating the map (e.g., use calculator!), π¦K β 0.739..
Β§ Solution of trascendental equation π¦ = cosπ¦ Β§ The fixed point 0.739β¦ has π < 0 Γ Damped oscillations Β§ For 0 < π < 1 convergence to a stable fixed point is monotonic
10
LOGISTIC MAP
Β§ π¦KR3 = π π¦K(1 β π¦K) Β§ π¦K is a dimensionless measure of the population in the πth generation and π is the intrinsic growth rate (with capacity being limited to 1)
1 2
π¦K Β§ Letβs restrict 0 β€ π β€ 4 Γ The map maps 0,1 β 0,1 Β§ Letβs fix π and study the evolution Β§ Trivially, for small growth rates, π < 1, the population always goes extinct, as π¦K β 0 Β§ For 1 < π < 3, population grows and eventually reaches a non-zero steady state Watch out: this a time series!
11
A PATH TO THE CHAOS β¦
12
βREGULARβ BEHAVIOR, PERIODIC ATTRACTORS
13
βREGULARβ BEHAVIOR, PERIODIC ATTRACTORS
14
TRANSITION TO CHAOTIC BEHAVIOR
15
CHAOS: SENSITIVITY TO INITIAL CONDITIONS
16
PERIODS IN THE LOGISTIC MAP
Β§ Oscillating about the previous steady state, alternating between small and large populations Β§ Period-2 cycle: Oscillation repeats every two iterations, periodic orbit Β§ Period-4 cycle Β§ Period-doubling to cycles appears by increasing π Β§ They correspond to bifurcations in phase diagram Β§ Successive bifurcations come faster and faster! Β§ Limiting value π
K β π l = 3.569946 β¦
Β§ Geometric convergence, in the limit the distance between successive values shrink to a constant:
17
CHAOS β¦
Β§ π > π
l ?
Β§ For many values of π , the sequence never settles down to a fixed point
- r a periodic orbit
Β§ Aperiodic, bounded behavior!
18
ORBIT DIAGRAM
Β§ What happens for larger π ? Sure, more chaosβ¦. Even more interesting things! Β§ Orbit diagram: systemβs attractors as a function of π
Β§ Construction: Β§ Choose a value of π Β§ Select a random initial condition π¦< and generate the orbit: lets iterate for ~300 cycles to let the system settle down, then plot the next ~300 points from the map iterations Β§ Move to an adjacent value of π and repeat, sweeping the π interval
Β§ At π β π
l = 3.57 the map
becomes chaotic and the attractor changes from a finite to an infinite set of points Β§ For π > 3.57, mixture of order and chaos, with periodic windows interspersed between clouds of (chaotic) dots
19
ORBIT DIAGRAM
20
CHAOS AND ORDER
21
CHAOS AND ORDER, SELF-SIMILARITY
Β§ The large window at π β 3.83 contains a stable period-3 orbit Β§ Looking at the period-3 window even closer: a copy of the orbit diagram reappears in miniature! Γ Self-similarity
22
LOGISTIC MAP, ANALYSIS
Β§ π¦KR3 = π π¦K(1 β π¦K), 0 β€ π β€ 4, 0 β€ π¦ β€ 1, Fixed points and stability? Β§ Fixed points, are roots of: π¦β = π(π¦β) = π π¦β(1 β π¦β) Γ π¦β = 0, π¦β = 1 β
3 y
Β§ Since π¦ β₯ 0, π¦β is in the range of allowable values only if π β₯ 1 Β§ Stability depends on multiplier π = πT π¦β = π β 2π π¦β Β§ π¦β = 0: πT π¦β = 0 = π Γ Origin is stable for π < 1, unstable for π > 1 Β§ π¦β = 1 β
3 y : πT 1 β 3 y
= 2 β π Γ 1 β
3 y is stable for 1 < π < 3,
unstable for π > 3
Β§ For π = 1, a second fixed point appears, while the origin loses its stability Β§
- Γ Transcritical bifurcation at π = 1
Β§ When the slope of the parabola at π¦β = 0 becomes too steep, the origin loses its stability (it happens at π = 3) Β§ Γ Flip bifurcation at π = 3, that are (usually) associated with period doubling and in this case a 2-period cycle is spawn
23
ANALYSIS: SPAWNING OF TWO-CYCLE
Β§ The logistic map has a two-cycle for all π > 3 Β§ Period-2 cycle: there are two states π and π, such that : Β§ π π = π, π π = π, or equivalently, Β§ π π π = π Β§ Γ π (and π) fixed points of second-iterate map, π2(π¦) β‘ π π π¦ Β§ π2(π¦) is a quartic polynomial, that for π > 3 looks like: Β§ π, π corresponds to where the graph of π2(π¦) intersects the diagonal: π2 π¦ = π¦ Β§ β¦ π,π =
yR3 (yLY)(yR3) 2y
, real for π > 3 Β§ Γ A two-cycle exists for all π > 3 Β§ At π = 3, the two-cycle bifurcates continuously from π¦β
24
FLIP BIFURCATIONS AND PERIOD DOUBLING
Β§ If tangent slope, πT π¦β β β1 and the graph of the function is concave near π¦β, the cobweb tends to produce a small, stable 2-cycle around the fixed point Β§ The critical slope β β1 corresponds to a flip bifurcation that gives rise two a 2-cycle Β§ How can we determine that the 2-cycle is stable or not? Β§ π, π are the solutions of π2 π¦ = π¦ Γ The 2-cycle determined by π, π is stable iff π,π stable both stable fixed points of the π2 map Β§ Doing the usual analysis β¦ for both π,π β π = 4 β 2π β π 2 Β§ Γ The 2-cycle is stable iff 4 β 2π β π 2 < 1 Γ π < 1 + 6
25
A FIRST BIFURCATION DIAGRAM β¦
Β§ The dashed lines indicate fixed points that are instable Β§ The first bifurcation is a flip one, that creates a new equilibrium, losing the stability of the original one Β§ Each further pitchfork bifurcation is a supercritical one, with two new stable equilibrium points appearing and the original equilibrium losing its stability.