PENG9570 β Lecture 3 (February 26th)
Phase line plots
u β² = f ( u )
u β² = u ( 1 β u ) β h
Bifurcations
Bifurcation diagram:
Problem
Sketch the phase line plot of
p β² = p ( 1 β p ) β h p
for different values of the parameter h .
Identify stable and unstable equilibria (sinks and sources).
Example
Phase line plot of
p β² β = p ( 1 β p ) β h p β f ( p ) β , h > 0 = p ( 1 β p β h ) = p ( 1 β h β p ) β
Equilibria (p β² = 0 ): Β p β = 0 and p β = 1 β h .
I. h > 1 : Β p β² = p ( 1 β h β p )
II. h < 1 : Β p β² = p ( 1 β h β p )
(If h = 1 : Β p β² = β p 2 , Β p β = 0 .)
Bifurcation diagram:
Two-variable ODE systems
β x β² = P ( x , y ) , x = x ( t ) y β² = Q ( x , y ) , y = y ( t ) β
Solution curves:
Example
x β²β² = β x β x β²β² + x = 0
Characteristic polynomial:
Ξ» 2 + 0 β
Ξ» + 1 = 0 Ξ» 2 = β 1 Ξ» = Β± i β
General solution
x ( t ) = c 1 β cos t + c 2 β sin t
Alternatively:
Introduce y = x β² . Then
β x β² = y = y β² x β²β² β β = β x β
System of ODEs:
β x β² = y y β² = β x β
We know that
x ( t ) = C 1 β cos t + C 2 β sin t
β y β = x β² = β c 1 β sin t + c 2 β cos t β
Then,
x 2 + y 2 = c 1 2 β cos 2 t + + + β = ( c 1 β cos t + c 2 β sin t ) 2 + ( β c 1 β sin t + c 2 β cos t ) 2 + 2 c 1 β c 2 β cos t sin t c 2 2 β sin 2 t c 1 2 β sin 2 t β 2 c 1 β c 2 β sin t cos t + c 2 2 β cos 2 t β
β = c 1 2 β ( c 2 t + sin 2 t β = 1 β ) + c 2 2 β ( = 1 cos 2 t + sin 2 t β β ) = c 1 2 β + c 2 2 β = c 2 β x 2 + y 2 = c 2 β
Β 2.Β d x d y β β d x d y β β = d x / d t d y / d t β = x β² y β² β = β y x β = β y x β β
(Separable ODE)
β« y d y 2 1 β y 2 β = β β« x d x = β 2 1 β x 2 + C 1 β β
β x 2 + y 2 = C β ( 1 ) β
I.e. circles with radius c β .
3. d t d β ( x 2 + y 2 )
= d t d β x 2 + d t d β y 2
= 2 x y β 2 y x = 0
Derivative of x 2 + y 2 is zero means
β x 2 + y 2 = Β conotΒ x 2 + y 2 = c β
Solution curves are circles with radius c β .
Linear systems of ODEs
β x β² = a x + b y y β² = c x + d y β
(a , b , c , d are constants.) Coefficient matrix:
A = [ a c β b d β ] , det A = a d β b c ξ = 0
Assumption: A is non-singular. System in matrixβvector form:
x β² = A x , x = [ x y β ] , x β² = [ x β² y β² β ]
Solution
We look for solutions of the form
x = v e Ξ» t
Inserting this into x β² = A x we get:
β Β β v e Ξ» t Ξ» = A v e Ξ» t ( A β Ξ» I ) v = 0 β
Here Ξ» is an eigenvalue of A and v the corresponding eigenvector. Non-trivial solutions require
det ( A β Ξ» I ) = 0 (characteristicΒ equation)
For A = [ a c β b d β ] :
β a β Ξ» c β b d β Ξ» β β = 0
β Β β Β β ( a β Ξ» ) ( d β Ξ» ) β b c = 0 Ξ» 2 β tr A ( a + d ) β β Ξ» + det A a d β b c β β = 0 Ξ» 2 β tr A β
Ξ» + det A = 0 β
Three different types of solution pairs:
I. Two real and unequal Ξ» βs
II. One real Ξ» (skipped)
III. Two complex conjugate Ξ» βs: Ξ» = Ξ± Β± i Ξ²
Case I
Ξ» 1 β , Ξ» 2 β are both real and Ξ» 1 β ξ = Ξ» 2 β . Assume v 1 β and v 2 β are the corresponding eigenvectors. Then,
x ( t ) = generalΒ solutionΒ C 1 β v 1 β e Ξ» 1 β t + C 2 β v 2 β e Ξ» 2 β t β β
Case III
Ξ» 1 β = Ξ± + i Ξ² , Ξ» 2 β = Ξ± β i Ξ² , with Ξ± , Ξ² β R . The vectors w + i v and w β i v are the corresponding eigenvectors. Then, using Eulerβs formula e i ΞΈ = cos ΞΈ + i sin ΞΈ :
x β = C 1 β ( w + i v ) e ( Ξ± + i Ξ² ) t + C 2 β ( w β i v ) e ( Ξ± β i Ξ² ) t = generalΒ solutionΒ C 1 β e Ξ± t ( w cos Ξ²t β v sin Ξ²t ) + C 2 β e Ξ± t ( w sin Ξ²t + v cos Ξ²t ) β β β
Types of equilibria
Center:
Source: all orbits move away from ( 0 , 0 ) .
Sink: all orbits approach ( 0 , 0 ) as t β β (or as t β β β for a source).
Saddle (node): orbits approach ( 0 , 0 ) except for orbits on the unstable manifold.
Example
β x β² = 3 x β 2 y y β² = 2 x β 2 y β A = [ 3 2 β β 2 β 2 β ]
Characteristic equation:
det ( A β Ξ» I ) β = β 3 β Ξ» 2 β β 2 β 2 β Ξ» β β = ( 3 β Ξ» ) ( β 2 β Ξ» ) β ( β 2 ) β
2 = Ξ» 2 β Ξ» β 2 = 0 β
β Ξ» Ξ» 1 β β = 2 1 Β± 1 β 4 ( β 2 ) β β = 2 1 Β± 9 β β = { 2 β 1 β = 2 , Ξ» 2 β = β 1 β
Real eigenvalues: one positive, one negative β a saddle equilibrium.
Eigenvector corresponding to Ξ» 1 β = 2 :
β ( A β 2 I ) [ V 1 β V 2 β β ] = [ 0 0 β ] [ 3 β 2 2 β β 2 β 2 β 2 β ] [ V 1 β V 2 β β ] = [ 0 0 β ] β
v 1 β β 2 v 2 β = 0 β v 1 β = 2 v 2 β 2 v 1 β β 4 v 2 β = 0 [ v 1 β v 2 β β ] = [ 2 v 2 β v 2 β β ] = v 2 β [ 2 1 β ] β
We choose v 1 β = [ 2 1 β ]
Similarly we find
V 2 β = [ 1 2 β ]
The general solution:
x ( t ) x ( t ) y ( t ) β = c 1 β v 1 β e Ξ» 1 β t + c 2 β v 2 β e Ξ» 2 β t = c 1 β [ 2 1 β ] e 2 t + c 2 β [ 1 2 β ] e β t = 2 c 1 β e 2 t + c 2 β e β t = c 1 β e 2 t + 2 c 2 β e β t β
Nonlinear systems of ODEs
β x β² = P ( x , y ) y β² = Q ( x , y ) β
Assume that ( a , b ) is an equilibrium: x β² = y β² = 0 at ( x , y ) = ( a , b ) , that is
β P ( a , b ) = 0 Q ( a , b ) = 0 β
Reminder: linearisation
The linearisation of a function f at x = a is
y = f ( a ) + f β² ( a ) ( x β a )
The linearisation of a function F = F ( x , y ) at ( x , y ) = ( a , b ) is
z = F ( a , b ) + β x β F β ( a , b ) ( x β a ) + β y β F β ( a , b ) ( y β b )
This means that, near ( a , b ) ,
P ( x , y ) Q ( x , y ) β β P ( a , b ) + P x β ( a , b ) ( x β a ) + P y β ( a , b ) ( y β b ) β Q ( a , b ) + Q x β ( a , b ) ( x β a ) + Q y β ( a , b ) ( y β b ) β
To simplify we redefine variables:
x Λ β Β P ( x , y ) Q ( x , y ) β = x β a , y Λ β = y β b β P x β ( a , b ) x Λ + P y β ( a , b ) y Λ β β Q x β ( a , b ) x Λ + Q y β ( a , b ) y Λ β β
Using these approximations we get the linearised system
linearisedΒ ODEΒ systemΒ [ x β² y β² β ] = [ P x β ( a , b ) Q x β ( a , b ) β P y β ( a , b ) Q y β ( a , b ) β ] [ x y β ] β β
where the Jacobian of the ODE system is
J = [ P x β ( a , b ) Q x β ( a , b ) β P y β ( a , b ) Q y β ( a , b ) β ]
Does the linearised system behave in the same way as the nonlinear system near the equilibrium? Yes, but with one limitation. The HartmanβGrobman theorem states that if Ξ» 1 β , Ξ» 2 β are not pure imaginary numbers, then the orbits of the original system near the equilibrium behave the same way as orbits of the linearised system near the equilibrium.
Example
β x β² = β y β x 3 = P ( x , y ) y β² = x = Q ( x , y ) β
Equilibrium: ( 0 , 0 ) . Linearisation:
P x β ( 0 , 0 ) = [ β 3 x 2 ] x = 0 β = 0 , P y β ( 0 , 0 ) = β 1 P ( x , y ) β 0 β
x β 1 β
y = β y x β² = β y , y β² = x β
Jacobian:
J = [ 0 1 β β 1 0 β ]
Eigenvalues of J :
det ( J β Ξ» I ) = 0 β 0 β Ξ» 1 β β 1 0 β Ξ» β β = 0 Ξ» 2 + 1 = 0 Ξ» = Β± i β
Purely imaginary eigenvalues of the Jacobian, so the HartmanβGrobman theorem does not apply.
β x β² = β y β x 3 y β² = x β
Linear system: center at ( 0 , 0 ) .
Nonlinear system: stable spiral at ( 0 , 0 ) .
Nullclines
The nullclines of a system of ODEs are the curves obtained when x β² and y β² are set equal to zero:
β x β² = P ( x , y ) = 0 (nullclineΒ forΒ x ) y β² = Q ( x , y ) = 0 (nullclineΒ forΒ y ) β
Example
Nullclines of
β x β² = x β y y β² = β x + 2 y β β y = x y = 2 1 β x β
( 0 , 0 ) is an unstable equilibrium.