Stability examples
Stability examples
1
Vf (x; y) = 4xy 4xy 4y 2 (1 x2 ) = 4y 2 (1 x2 ) that is not positive
for jxj 1. Therefore the origin is a stable stationary point. Checking the
behavior of the system on the set of zeroes to Vf (x; y) inside the stripe jxj < 1
1
we consider (Vf ) (0) = f(x; y) : y = 0; jxj < 1g. On this set y 0 = x and the
1
only invariant set in (Vf ) (0) is the origin. The LaSalles invariance principle
implies that the origin is asymptotically stable and the domain of attraction is
the largest set bounded by a level set of V (x; y) = x2 + 2y 2 inside the stripe
jxj 1. The largest such set will be the interior of the ellipse x2 + 2y 2 = C
such that is touches the lines x = 1. Taking points ( 1; 0) we conclude that
1 = C. and the boundary of the domain of attraction is the ellipse x2 + 2y 2 = 1
p
with halfs of axes 1 and 0:5 :
y
0.625
0.5
0.375
0.25
0.125
0
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
-0.125
x
-0.25
-0.375
-0.5
-0.625
2
How to …nd a Lyapunov function?
If the right hand side of the equation is a higher degree polynomial, then
it is often convenient to …nd to …nd Lyapunov’s function in a systematical way
in the form of polynomial with unknown coe¢ cients and unknown even degrees
like 2m.
Consider the system
x0 = 3x3 y
y0 = x5 2y 3
Vf (x; y) = rV f (x; y) =
= a2m(x)2m 1
3x3 y + b2n(y)2n 1
x5 2y 3
= 6amx2m+2 2ma(x)2m 1
y + 2nby 2n 1 5
x 4nby 2n+1
| {z } | {z } | {z } | {z }
good<0 bad indef inite bad indef inite good<0
We choose …rst powers m and n so that inde…nit terms would have same
powers of x and y.
2m 1 = 5; =) m = 3
2n 1 = 1; =) n = 1
V (x; y) = x6 + 3y 2
Vf (x; y) = 18x8 12y 4 < 0; (x; y) 6= (0; 0)
Therefore V is a strong Lyapunov’s function in the whole plane and the equi-
librium is a globally asymptotically stable equilibrium point, because V (x; y) =
x6 + 3y 2 ! 1 as k(x; y)k ! 1.
Example 4. Investigate stability of the equilibrium point in the origin.
3
x0 = y x3
y0 = x5
It does not work because the expression Vf (x; y) includes two inde…nite terms:
2xy and 2yx5 that change sign around the origin. We try a more ‡exible expres-
sion by looking on particular expressions in the right hand side of the equation:
V (x; y) = x6 + y 2 where @V =@x = 6x5 with the same power of x as in the
equation, and the parameter that can be adjusted later. V is a positive def-
inite function: V (0) = 0 and V (z) > 0 for z 6= 0.The level sets to V look as
‡attened in y - direction ellipses. The curve x6 + 3y 2 = 0:5 is depicted:
y 0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
-0.8 -0.6 -0.4 -0.2 -0.05 0 0.2 0.4 0.6 0.8
-0.1
-0.15 x
-0.2
-0.25
-0.3
-0.35
-0.4
We get again two inde…nite terms, but they are proportional and the choice
4
= 3 cancels them:
Vf (x; y) = 6x8 0
Example 4.
It is theoretically possible to …nd a strong Lyapunov function for the same
system as in the Example 3.
Looking on the previous week Lyapunovs function x6 + 3y 2 we see that it’s
"weekness" followed from the fact that both level sets of V and velocities of the
system were orthogonal to the y - axis. It implied that Vf (z) = 0 on the y -
axis. To go around this problem a strong Lyapunov function must have level
sets that deviate slightly from the normal to the y - axis. Adding a relatively
small inde…nite term xy 3 to the function x6 + 3y 2 we get this e¤ect. A level set
corresponding x6 + xy 3 + 3y 2 = 0:7 of this new Lyapunovs function looks as a
slightly rotated version of level sets for the previous (weak) Lyapunovs function.
Why like that ? Take a simpler example with an ellipse curve x2 + 2y 2 = 1
and another that is x2 + xy + 2y 2 = 1 " #
1 0:5
This quadratic form is positive de…nite: the matrix is :A quadratic
0:5 2
form xT Ax = Q(x) is positive de…nite if and only if det A > 0 and all subma-
trices Ai from the upper left corner have positive determinants: det Ai > 0:
Level sets of the positive de…nite quadratic form with mixed tems like x2 +
xy + 2y 2 are ellipses with symmetry axes (that are orthogonal eigenvectors to
A) and are rotated with respect to coordinate axes:
5
y 0.75
0.625
0.5
0.375
0.25
0.125
0
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
-0.125
x
-0.25
-0.375
-0.5
-0.625
-0.75
y 0.5
0.4
0.3
0.2
0.1
0
-0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8
-0.1
x
-0.2
-0.3
-0.4
-0.5
6
V (x; y) = x6 + xy 3 + 3y 2 is positive de…nite (it is not trivial) and to show that
Vf (z) < 0; z 6= 0 for all z 2 R2 (it requires some non-trivial analysis).
A very useful inequality in analysis is Young’s inequality
Lemma. If a; b 0, then
ap bq
ab +
p q
for every pair of numbers p; q 2 (1; 1) satisfying the conjugacy relation.
1 1
+ =1
p q
1 2
ab a + y2
2
We show that the test function V (x; y) = x6 + xy 3 + 3y 2 is positive de…nite
in a domain around the origin.
x0 = y x3
y0 = x5
7
Example 5.
x0 = y
y0 = g(x) y
8
A Lyapunov function is naturally to choose as a total energy of the system:
2 Z x
(y)
V (x; y) = + g(s)ds
2 0
x0 = y
0
y = (x + x2 ) y
Observe that the system has two equilibrium points: ( 1; 0) and (0; 0)
" #
0 1
Linearization gives Jacoby matrix A(x; y) = ; A( 1; 0) =
1 2x 1
" # " #
0 1 0 1
Observe that det = 0 1 = 1 < 0 it implies by Grob-
1 1 1 1
man - Hartman " that ( 1; #0) is a "saddle point.
# " #
0 1 0 1 0 1
A(0; 0) = , det = 1 > 0, trace =
1 1 1 1 1 1
1 < 0;
9
2
(traceA(0; 0)) =4 = 1=4 < 1 = det A(0; 0). It imples that the origin is stable
spirals.
y 6
0
-1.25 0 1.25
g(x) = x + x2
2 3 2
(x) (x) (y)
V (x; y) = + +
2 3 2
n o
2 2 2 3
This function is positive de…nite on the set = (y) > (x) 3 (x)
The level set 12 y 2 + 12 x2 + 13 x3 = 16 is depicted by the red line.The level set
1 2 1 2 1 3
2 y + 2 x + 3 x = 0 is depicted by the blue line. We will investigate them
analytically a bit later.
10
2 2 2 2
Vf (x; y) = rV (x; y) f = xy + (x) y (y) xy (x) y = (y) 0 valif
2
in the whole plane R :
We check which invariant sets are contained in Vf 1 (0) on that is a part
of x - axis f(x; 0) : x > 3=2g that is a thick black line on the picture above.
Notice that Vf 1 (0) on contains two equilibrium points ( 1; 0) and (0; 0)
and they both are invariant sets. We like to …nd a largest domain 1
bounded by a part of a level set of V such that 1 does not include the point
( 1; 0). Then 1 contains only one invariant set that is the origin (0; 0). This
set 1 is the domain of attraction for the asymptotically stable equilibrium in
(0; 0).
Such largest level set of V must go through the second equilibrium point
( 1; 0) and it’s value there is V (x; y) = V ( 1; 0) = 1=6. The domain of at-
2
traction is the egg - shaped domain bounded by the closed curve (y) =
2 3
1=3 (x) + 32 (x) or as a union of explicit two branches:
s
2 2 3
y= 1=3 (x) + (x)
3
11
It is a part of the red level set on the picture. To see that this curve is closed e
consider derivative of the function
d 2 3
dx 1=3 (x) + 23 (x) = 2x 2x2 = ( 2) x (x + 1). It implies that
the functions has a maximum in x = 0, and minimum at x = 1. V (x) has zero
in x = 1 and another zero in x = 1=2:
2 3 2 3
1=3 (x) + 32 (x) = 1=3 (1=2) + 23 (1=2) = 1=3 (1=4) + 13 (1=4) =
x=1=2
1=3 1=3 = 0;
One can try to …nd an even larger region of attraction for the equilibrium
point in the origin. It cannot include the equilibrium in ( 1; 0) because it is
p
unstable (a saddle point). We can extend 1 to a rectangle [1; 0] 0; 3=3 in
the second quadrant by checking signs of x0 and y 0 on it’s left and upper sides.
Actual region of attraction is even a bit larger as one can see on the phase
portrait
12
Example 7. Exercise 5.13 from L.R.
Investigate stability of the equilibrium point in the origin and …nd a possible
domain of attraction for the following system.
x01 = x2 (1 + x1 x2 )
x02 = 2x1
We could try …rst a function V (x1 ; x2 ) = ax21 + x22 , check Vf and then decide
which value a suites best.
13
Vf (x1 ; x2 ) = 2ax1 x2 (1 + x1 x2 ) + 2x2 2x1
= 4x1 x2 2ax1 x2 2ax21 x22 = 2ax21 x22 0
f or a = 2
Example 8.
(
x0 = x 2y + xy 2
Consider the following system of ODE: .
y 0 = 3x 3y + y 3
1. Show asymptotic stability of the equilibrium point in the origin and …nd
the region of attraction for that.
Hint: applying Lyapunovs theorem, use the elementary Young’s inequal-
ity 2xy x2 + y 2 to estimate inde…nite terms with xy: (4p)
1
Solution. Choose a test function V (x; y) = 2 x2 + y 2
Vf = x( x 2y + xy 2 ) + y 3x 3y + y 3 = xy x2 3y 2 + y 4 + x2 y 2
= x2 1 y2 y2 3 y 2 + xy 0 ?????
14
We apply the inequality 2xy x2 + y 2 to the last term and collecting
terms with x2 and y 2 arrive to the estimate
Vf x2 0:5 y2 y 2 2:5 y2
p
It implies that Vf < 0 for (x; y) 6= (0; 0) and jyj < 1= 2.Therefore the
origin is asymptotically stable.
The attracting region is bounded by the largest levle set of V - a circle
p
having the center in the origin that …ts to the domain jyj < 1= 2, namely
x2 + y 2 < 1=2.
Another more clever choice of a test function is V (x; y) = 3x2 + 2y 2 :
Vf = 6x( x 2y+xy 2 )+4y(3x 3y+y 3 ) = 4y 4 12y 2 6x2 +6x2 y 2 = 4y 2
3 y2 6x2 1 y 2 < 0
for jyj < 1, therefore the ellipse 3x2 + 2y 2 < 2 is a domain of attraction
for the asymptotically stable equilibrium in the origin.
One can also observe the asymptotic stability of the origin by linearization
with variational matrix
" #
1 2
A= , with characteristic polynomial: 2 + 4 + 9 = 0, and
3 3
p p
calculating eigenvalues: i 5 2; i 5 2 with Re < 0. But linearization
gives no information about the set of attraction.
Example 9 on instability
Consider the following system of ODEs. Prove the instability of the equilib-
rium( point in the origin, of the following system
x0 = x5 + y 3
(4p)
y 0 = x3 y 5
using the test function V (x; y) = x4 y 4 and Lyapunov’s instability theorem.
Solution. " #
x5 + y 3
Denoting f (x; y) = , consider how V (x; y) = x4 y 4 changes
x3 y 5
" # " #
x5 + y 3 4x3
along trajectories of the system. f (x; y) rV (x; y) = =
x3 y 5 4y 3
x5 4x3 + y 3 4x3 x3 4y 3 + y 5 4y 3 = x5 4x3 + y 5 4y 3 = 4(x8 + y 8 ) > 0:
Point out that the function V (x; y) = x4 y 4 is positive along the line
y = x=2, x > 0 arbitrarily close to the origin. It implies according to the
instability theorem, that the origin is an unstable equilibrium.
15