Professional Documents
Culture Documents
TNLCS Lab3 Ainur Kurmasheva
TNLCS Lab3 Ainur Kurmasheva
Problem 1
Find and classify all the equilibrium solutions to the following differential equations.
a. y ′ = y 2 − y − 6
y′ = y2 − y − 6 = 0
D = 25 then y1 = 3 and y2 = −2. They are equilibrium points. Saddle points.
b. y ′ = (y 2 − 4)(y + 1)2
y′= (y 2 − 4)(y + 1)2 = 0
Then y1 = 2 and y2 = −2 and y3 = −1. They are equilibrium points. Semi-stable points.
Problem 2
Find all equilibrium points and determine the type of each equilibrium:
(
x˙1 = x2
1. x31 Then
x˙2 = −x1 + 6 − x2
(
x˙1 = x2 = 0
x3
x˙2 = −x1 + 61 − x2 = 0
√ √
From this "we have equilibrium
# points at (0; 0), ( 6; 0), (− 6; 0)
0 1
Here A = x2
−1 + 21 −1
1
√
∆(A2 − λI) = λ2 + λ − 2 = 0 Then λ1 = −2, λ2 = 1 ( 6; 0) is saddle.
√ √
For (0; 6): A3 = A2 (0; 6) is saddle.
(
x˙1 = −x1 + x2
2. Then
x˙2 = 0.1x1 − 2x2 − x21 − 0.1x31
(
x˙1 = −x1 + x2 = 0
x˙2 = 0.1x1 − 2x2 − x21 − 0.1x31 = 0
From this "we have equilibrium points at# (0; 0), (1; 0)
2x2 2x1
1 − 2x1 − (1+x 1)
2 − 1+x 1
Here A = 2
x2 2x2
(1+x1 )2
2 − 1+x1
2
∆(A2 − λI) = −(1 + λ)(2 − λ) = 0 Then λ1 = −1, λ2 = 2 (1; 0) is saddle.
(
x˙1 = (x1 − x2 )(x21 + x22 − 1)
4. Then
x˙2 = (x1 + x2 )(x21 + x22 − 1)
(
x˙1 = (x1 − x2 )(x21 + x22 − 1) = 0
x˙2 = (x1 + x2 )(x21 + x22 − 1) = 0
From this we have equilibrium points at (0; 0) and points from x21 + x22 = 1
x2 + x22 − 1 −x21 − x22 + 1
Here A = 12
x1 + x22 − 1 x21 + x22 − 1
3
−1 1
For (1;1): A1 =
1 −1
Problem 3
For all positive values of a, b and c, determine the equilibrium points of the system
x˙1 = ax1 − x1 x2
x˙2 = bx21 − cx2
and(determine the type of equilibrium.
x˙1 = ax1 − x1 x2
Then
x˙2 = bx21 − cx2
(
x˙1 = ax1 − x1 x2 = 0
x˙2 = bx21 − cx2 = 0
p ca p ca a − x2 −x1
Here we have three equilibrium points (0; 0), ( b ; a), ( − b ; a). A =
2bx1 −c
We will find A for each equilibrium points.
For (0;0):
a 0
A1 =
0 −c
∆(A1 − λI) = (a − λ)(c + λ) Then λ1 = a > 0, λ2 = −c < 0 Then it is saddle.
For ( ca
p
b ; a)
p ca
0 −
A2 = √ b
2 abc −c
√
2
∆(A2 − λI) = (a − λ)(c + λ) Then λ2 + λc + 2ac = 0, λ1,2 = −c± c −8ac2
In this case, if c > 8a then the point is a stable node. If c < 8a then the point is the stable
focus because
p it will be complex.
For (− ca b ; a)
p ca
√0 b
A3 =
−2 abc −c
And here eigenvalues are the same as at point ( ca
p
b ; a).
Problem 4
(a) For all values of the gain K, determine the equilibrium points of the closed loop
4
system.
(b) Determine the equilibrium character of the origin for all values of the parameter K.
Determine in particular for what values the closed loop system is (locally) asymptotically
stable.
x˙1 = (u − x1 )(1 + x22 )
x˙ = (x − 2x )(1 + x2 )
2 1 2 1
Then
y = x2
u = −Ky
(
x˙1 = (−Kx2 − x1 )(1 + x22 ) = 0
x˙2 = (x1 − 2x2 )(1 + x21 ) = 0
From this we have equilibrium points at x1 = 2x2 and x1 = −Kx2 , we take K=-2. So we
will take (0;0)
−1 − x22 K − 3x22 K − 2x1 x2
Here A =
1 + 3x21 − 4x1 x2 −2 − 2x21
We will find A for equilibrium point.
−1 K
For (0;0): A1 =
1 −2
√ √
−3+ 1−4K −3− 1−4K
∆(A1 − λI) = λ2 + 3λ + 2 + K = 0 Then λ1 = 2 , λ2 = 2
So when K¿-2 it is stable.
1 − 4K < 0 Then when K > 14 it is stable focus.
When −2 < K < 41 it is stable node.
When K < −2 it is saddle.
Problem 5
Find the phase portraits of the following two systems. Discuss the qualitative behavior of
each system.
5
1. So here origin is the equilibrium point and it is a stable focus
Problem 6
Receive phase trajectories of all equilibrium points for a second order system using Matlab:
6
1. Stable node
2. Unstable node
7
3. Stable focus
4. Unstable focus
8
5. Saddle point
6. Center points