L ECTURE 4: D YNAMICAL S YSTEMS 3 I NSTRUCTOR : G IANNI A. D I C ARO - - PowerPoint PPT Presentation
L ECTURE 4: D YNAMICAL S YSTEMS 3 I NSTRUCTOR : G IANNI A. D I C ARO - - PowerPoint PPT Presentation
15-382 C OLLECTIVE I NTELLIGENCE S18 L ECTURE 4: D YNAMICAL S YSTEMS 3 I NSTRUCTOR : G IANNI A. D I C ARO EQUILIBRIUM A state " is said an equilibrium state of a dynamical system = () , if and only if "
2
EQUILIBRIUM
ยง A state ๐" is said an equilibrium state of a dynamical system ๐ฬ = ๐(๐), if and only if ๐" = ๐ ๐ข; ๐";๐ ๐ข = 0 , โ ๐ข โฅ 0 ยง If a trajectory reaches an equilibrium state (and if no input is applied) the trajectory will stay at the equilibrium state forever: internal systemโs dynamics doesnโt move the system away from the equilibrium point, velocity is null: ๐ ๐" = 0
3
IS THE EQUILIBRIUM STABLE?
Stable equilibrium Unstable equilibrium Neutral equilibrium When a displacement (a force) is applied to an equilibrium condition: Metastable equilibrium ยง Why are equilibrium properties so important? ยง For the same definition of an abstract model
- f a (complex) real-world scenario
4
SANDPILES, SNOW AVALANCHES AND META-STABILITY
Abelian sandpile model (starting with
- ne billion grains pile in the center)
5
LYAPUNOUV VS. STRUCTURAL EQUILIBRIUM
๐ ๐ ๐
ยง Lyapunouv equilibrium: stability of an equilibrium with respect to a small deviation from the equilibrium point
ยง Structural equilibrium: is the equilibrium persistent to (small) variations in the structure of the systems? ร Sensitivity to the value of the parameters of the vector field ๐
6
IS THE EQUILIBRIUM (LYAPUNOUV) STABLE?
ยง An equilibrium state ๐" is said to be Lyapunouv stable if and only if for any ฮต > 0, there exists a positive number ๐ ๐ such that the inequality ๐ 0 โ ๐" โค ๐ implies that ๐ ๐ข; ๐ 0 ,๐ ๐ข = 0 โ ๐" โค ฮต โ ๐ข โฅ 0 ยง An equilibrium state ๐" is stable (in the Lyapunouv sense) if the response following after starting at any initial state ๐ 0 that is sufficiently near ๐" will not move the state far away from ๐" ๐ข
7
IS THE EQUILIBRIUM (LYAPUNOUV) STABLE?
What is the difference between a stable and an asymptotically stable equilibrium?
8
IS THE EQUILIBRIUM ASYMPTOTICALLY STABLE?
ยง If an equilibrium state ๐" is Lyapunouv stable and every motion starting sufficiently near to ๐" converges (goes back) to ๐" as ๐ข โ โ , the equilibrium is said asymptotically stable ๐ข ๐,๐ ๐ โ0 as ๐ข โ โ
9
SOLUTION OF LINEAR ODES
ยง The general form for a linear ODE: ๐ฬ = ๐ต๐, ๐ โ โ<, ๐ต an ๐ร๐ coefficient matrix ยง A solution is a differentiable function ๐ ๐ข that satisfies the vector field ยง Theorem: Linear combination of solutions of a linear ODE If the vector functions ๐(@) and ๐(A) are solutions of the linear system ๐ฬ = ๐(๐), then the linear combination ๐@๐(@) + ๐A๐(A) is also a solution for any real constants ๐@ and ๐A ยง Corollary: Any linear combination of solutions is a solution By repeatedly applying the result of the theorem, it can be seen that every finite linear combination ๐ ๐ข = ๐@๐ @ (๐ข) + ๐A๐ A (๐ข) + โฆ๐E๐ E (๐ข)
- f solutions ๐ @ , ๐ A ,โฆ,๐ E is itself a solution to ๐ฬ = ๐(๐)
ยง The general form for an ODE: ๐ฬ = ๐(๐), where ๐ is a ๐ -dim vector field
10
FUNDAMENTAL AND GENERAL SOLUTION OF LINEAR ODES
ยง Theorem: Linearly independent solutions If the vector functions ๐ @ , ๐ A ,โฆ, ๐ < are linearly independent solutions of the ๐-dim linear system ๐ฬ = ๐(๐), then, each solution ๐(๐ข) can be expressed uniquely in the form: ๐ ๐ข = ๐@๐ @ (๐ข) + ๐A๐ A (๐ข) + โฆ๐<๐ < (๐ข) ยง Corollary: Fundamental and general solution of a linear system If solutions ๐ @ , ๐ A ,โฆ, ๐ < are linearly independent (for each point in the time domain), they are fundamental solutions on the domain, and the general solution to a linear ๐ฬ = ๐(๐), is given by: ๐ ๐ข = ๐@๐ @ (๐ข) + ๐A๐ A (๐ข) + โฆ๐<๐ < (๐ข)
11
GENERAL SOLUTIONS FOR LINEAR ODES
ยง Corollary: Non-null Wronskian as condition for linear independence The proof of the theorem uses the fact that if ๐ @ , ๐ A ,โฆ, ๐ < are linearly independent (on the domain), then det ๐ ๐ข โ 0 ๐(๐ข) = ๐ฆ@@(๐ข) โฏ ๐ฆ@<(๐ข) โฎ โฑ โฎ ๐ฆ<@(๐ข) โฏ ๐ฆ<<(๐ข) Therefore, ๐ @ , ๐ A ,โฆ, ๐ < are linearly independent if and only if W[๐ @ , ๐ A ,โฆ, ๐ < ](๐ข) โ 0
Wronskian
ยง Theorem: Use of the Wronskian to check fundamental solutions If ๐ @ , ๐ A ,โฆ, ๐ < are solutions, then the Wroskian is either identically to zero or else is never zero for all ๐ข ยง Corollary: To determine whether a given set of solutions are fundamental solutions it suffices to evaluate W[๐ @ , ๐ A ,โฆ,๐ < ](๐ข) at any point ๐ข
12
STABILITY OF LINEAR MODELS
ยง Letโs start by studying stability in linear dynamical systems โฆ ยง The general form for a linear ODE: ๐ฬ = ๐ต๐, ๐ โ โ<, ๐ต an ๐ร๐ coefficient matrix ยง Equilibrium points are the points of the Null space / Kernel of matrix ๐ต ๐ต๐ = ๐, ๐ร๐ homogeneous system ยง Invertible Matrix Theorem, equivalent facts: ยง ๐ต is invertible โท det ๐ต โ 0 ยง The only solution is the trivial solution, ๐ = ๐ ยง Matrix ๐ต has full rank ยง det ๐ต = โ ๐U
< UV@
, all eigenvalues are non null ยง โฆ ยง In a linear dynamical system, solutions and stability of the origin depends on the eigenvalues (and eigenvectors) of the matrix ๐ต
13
RECAP ON EIGENVECTORS AND EIGENVALUES
Geometry: ยง Eigenvectors: Directions ๐ that the linear transformation ๐ต doesnโt change. ยง The eigenvalue ๐ is the scaling factor of the transformation along ๐ (the direction that stretches the most)
Algebra: ยง Roots of the characteristic equation ยง ๐ ๐ = ๐๐ฑ โ ๐ต ๐ = 0 โ det ๐๐ฑ โ ๐ต = 0 ยง For 2ร2 matrices: det ๐๐ฑ โ ๐ต = ๐A โ ๐ tr ๐ต + det ๐ต ยง Algebraic multiplicity ๐: each eigenvalue can be repeated ๐ โฅ 1 times (e.g., (๐ โ 3)A, ๐ = 2) ยง Geometric multiplicity ๐: Each eigenvalue has at least one or ๐ โฅ 1 eigenvectors, and only 1 โค ๐ โค ๐ can be linearly independent ยง An eigenvalue can be 0, as well as can be a real or a complex number
14
RECAP ON EIGENVECTORS AND EIGENVALUES
15
LINEAR MULTI-DIMENSIONAL MODELS
ยง A two-dimensional example: ๐ฆฬ@ = โ4๐ฆ@ โ 3๐ฆA ๐ฆฬA = 2๐ฆ@ + 3๐ฆA ๐(0) = (1,1) ๐ = ๐ฆ@ ๐ฆA ๐ต = โ4 โ3 2 3 ยง Eigenvalues and Eigenvectors of ๐ต: ๐@ = 2, ๐@ = 1 โ2 ๐A = โ3, ๐A = 3 โ1 ยง For the case of linear (one dimensional) growth model, ๐ฆฬ = ๐๐ฆ, solutions were in the form: ๐ฆ ๐ข = ๐ฆc๐ef ยง The sign of a would affect stability and asymptotic behavior: x = 0 is an asymptotically stable solution if a < 0, while x = 0 is an unstable solution if a > 0, since other solutions depart from x = 0 in this case. ยง Does a multi-dimensional generalization of the form ๐ ๐ข = ๐c๐๐ฉf hold? What about operator ๐ฉ? (real, positive) (real, negative)
16
SOLUTION (EIGENVALUES, EIGENVECTORS)
ยง The eigenvector equation: ๐ต๐ = ๐๐ ยง Letโs set the solution to be ๐ ๐ข = ๐hf๐ and letsโ verify that it satisfies the relation ๐ฬ ๐ข = ๐ต๐ ยง Multiplying by ๐ต: ๐ต๐(๐ข) = ๐hf๐ต๐ , but since ๐ is an eigenvector: ๐ต๐ ๐ข = ๐hf๐ต๐ = ๐hf(๐๐) ยง ๐ is a fixed vector, that doesnโt depend on ๐ข โ if we take ๐ ๐ข = ๐hf๐ and differentiate it: ๐ฬ ๐ข = ๐๐hf๐, which is the same as ๐ต๐ ๐ข above Each eigenvalue-eigenvector pair (๐, ๐) of ๐ต leads to a solution of ๐ฬ ๐ข = ๐ต๐ , taking the form: ๐ ๐ข = ๐hf๐
๐ ๐ข = ๐@๐hif๐@ + ๐A๐hjf๐A
ยง The general solution to the linear ODE is obtained by the linear combination of the individual eigenvalue solutions (since ๐@ โ ๐A, ๐๐ and ๐๐ are linearly independent)
17
SOLUTION (EIGENVALUES, EIGENVECTORS)
๐ ๐ข = ๐@๐hif๐@ + ๐A๐hjf๐A
๐ 0 = (1,1) 1,1 = ๐@(1,โ2) + ๐A(3,โ1) ร ๐@ = โ4/5 ๐A = 3/5
๐ ๐ข = โ4/5๐Af๐@ + 3/5๐opf๐A
๐ฆ@ ๐ข = โ 4 5 ๐Af+ 9 5 ๐opf ๐ฆA ๐ข = 8 5 ๐Afโ 3 5 ๐opf
๐ฆA ๐ฆ@ ๐@ ๐๐
(1,1)
ยง Except for two solutions that approach the origin along the direction of the eigenvector ๐A =(3, -1), solutions diverge toward โ, although not in finite time ยง Solutions approach to the origin from different direction, to after diverge from it Saddle equilibrium (unstable)
18
TWO REAL EIGENVALUES, OPPOSITE SIGNS
๐ฆA ๐ฆ@ ๐@ ๐๐
(1,1)
ยง The straight lines corresponding to ๐@ and ๐๐ are the trajectories corresponding to all multiples of individual eigenvector solutions ๐ท๐hf๐: ๐@: ๐ฆ@ ๐ข ๐ฆA ๐ข = ๐@ ๐Af 1 โ2 ๐A: ๐ฆ@ ๐ข ๐ฆA ๐ข = ๐A ๐opf 3 โ1 ยง The eigenvectors corresponding to the same eigenvalue ๐, together with the origin (0,0) (which is part of the solution for each individual eigenvalue), form a linear subspace, called the eigenspace of ฮป ยง The two straight lines are the two eigenspaces, that, as ๐ข โ โ, play the role of โseparatorsโ for the different behaviors of the system ยง The slope of a trajectory corresponding to one eigenvalue is constant in (๐ฆ@,๐ฆA) ร Itโs a line in the phase space (e.g., for ๐@:
vj vi ๐ข = wij wii = โ2)