Differential EquationsStability, Limit Cycles and Bifurcations1 of 3
Stability, Limit Cycles and Bifurcations · 1

Lyapunov Functions

We want to know whether an equilibrium point is stable when we cannot solve the differential equations and the Jacobian matrix does not tell us.

1

The Energy Bowl Idea

A Lyapunov function V(x,y)\bowl{V(x, y)} is an artificial energy bowl placed over the (x,y)(\xvar{x}, \yvar{y}) plane with its bottom sitting at the equilibrium (0,0)(0, 0). For the system

x˙=−x−y2,y˙=−y+xy\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\xvar{x} - \yvar{y}^2, \\ \yvar{\dot{y}} &= -\yvar{y} + \xvar{x}\yvar{y} \end{aligned}

linearizing right at (0,0)(0, 0) gives the Jacobian matrix J=[−100−1]J = \begin{bmatrix} -1 & 0 \\ 0 & -1 \end{bmatrix} with eigenvalues −1-1 and −1-1, which only tells us that trajectories very close to (0,0)(0, 0) move inward and says nothing about how large the safe zone really is. Instead of trying to solve for x(t)\xvar{x(t)} and y(t)\yvar{y(t)}, we can check whether the system's velocity arrows always point downhill on a bowl V(x,y)\bowl{V(x, y)}.

The Energy Bowl Idea
x˙=−x−y2y˙=−y+xy\begin{aligned} \xvar{\dot{x}} &= -\xvar{x} - \yvar{y}^2 \\ \yvar{\dot{y}} &= -\yvar{y} + \xvar{x}\yvar{y} \end{aligned}
(0,0): stable?(0, 0)\text{: stable?}
x\xvar{x}
y\yvar{y}

For the graph of V(x,y)\bowl{V(x, y)} to form a bowl touching zero only at the origin, it must be zero at (0,0)(0, 0) and positive everywhere else:

V(0,0)=0,V(x,y)>0 for (x,y)≠(0,0)⏟positive definite\displaystyle \underbrace{\begin{aligned} \bowl{V(0, 0)} &= 0, \\ \bowl{V(x, y)} &> 0 \text{ for } (\xvar{x}, \yvar{y}) \neq (0, 0) \end{aligned}}_{\bowl{\text{positive definite}}}

Squaring each variable clears any minus signs, making V(x,y)=x2+y2\bowl{V(x, y)} = \xvar{x}^2 + \yvar{y}^2 the simplest bowl around (0,0)(0, 0).

2

Proving Global Stability with V˙\rate{\dot{V}}

We want to prove that every trajectory on the entire (x,y)(\xvar{x}, \yvar{y}) plane goes to (0,0)(0, 0) for

x˙=−x−y2,y˙=−y+xy\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\xvar{x} - \yvar{y}^2, \\ \yvar{\dot{y}} &= -\yvar{y} + \xvar{x}\yvar{y} \end{aligned}

and also decide stability for a borderline system where the Jacobian tells us nothing:

x˙=−y−x3,y˙=x−y3\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\yvar{y} - \xvar{x}^3, \\ \yvar{\dot{y}} &= \xvar{x} - \yvar{y}^3 \end{aligned}

To see whether a trajectory goes uphill or downhill on V(x,y)\bowl{V(x, y)}, we find the rate of change of the height V\bowl{V} over time using the chain rule:

V˙⏟time derivative dVdt\displaystyle \underbrace{\rate{\dot{V}}}_{\rate{\text{time derivative } \tfrac{dV}{dt}}} =∂V∂xx˙+∂V∂yy˙\displaystyle = \bowl{\frac{\partial V}{\partial x}}\xvar{\dot{x}} + \bowl{\frac{\partial V}{\partial y}}\yvar{\dot{y}}

We usually put a 12\frac{1}{2} in front of each square, V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2, so the 22s cancel when we differentiate.

Proving Global Stability with V̇
x˙=−x−y2y˙=−y+xyV˙=  ?\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\xvar{x} - \yvar{y}^2 \\ \yvar{\dot{y}} &= -\yvar{y} + \xvar{x}\yvar{y} \end{aligned} \qquad \rate{\dot{V}} = \;?
Text solution
Differentiate the circular bowl with the chain ruleTaking the time derivative of V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 turns the derivatives of x\xvar{x} and y\yvar{y} into x˙\xvar{\dot{x}} and y˙\yvar{\dot{y}}, which the differential equations already give us without integrating.
V˙\displaystyle \rate{\dot{V}} =xx˙+yy˙\displaystyle = \xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}}
Substitute x˙\xvar{\dot{x}} and y˙\yvar{\dot{y}} from x˙=−x−y2\xvar{\dot{x}} = -\xvar{x} - \yvar{y}^2 and y˙=−y+xy\yvar{\dot{y}} = -\yvar{y} + \xvar{x}\yvar{y} to cancel the mixed termsMultiplying out the right-hand sides makes the opposite −xy2-\xvar{x}\yvar{y}^2 and +xy2+\xvar{x}\yvar{y}^2 terms cancel out, leaving only negative even powers.
V˙=x(−x−y2)+y(−y+xy)=−x2−xy2−y2+xy2=−(x2+y2)<0for (x,y)≠(0,0)\displaystyle \begin{aligned} \rate{\dot{V}} &= \xvar{x}(-\xvar{x} - \yvar{y}^2) + \yvar{y}(-\yvar{y} + \xvar{x}\yvar{y}) \\ &= -\xvar{x}^2 - \xvar{x}\yvar{y}^2 - \yvar{y}^2 + \xvar{x}\yvar{y}^2 \\ &= -(\xvar{x}^2 + \yvar{y}^2) < 0 \quad \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0) \end{aligned}
So V(x,y)\bowl{V(x, y)} is a Lyapunov function and (0,0)(0, 0) is globally asymptotically stable: starting from any point on the plane, the trajectory slides all the way down to (0,0)(0, 0).
Now for the borderline system x˙=−y−x3\xvar{\dot{x}} = -\yvar{y} - \xvar{x}^3 and y˙=x−y3\yvar{\dot{y}} = \xvar{x} - \yvar{y}^3, where the Jacobian at (0,0)(0, 0) is J=[0−110]J = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} with purely imaginary eigenvalues λ=±i\lambda = \pm i.
Substitute the borderline system into V˙=xx˙+yy˙\rate{\dot{V}} = \xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} to cancel the rotation termsThe linear rotation terms −xy-\xvar{x}\yvar{y} and +xy+\xvar{x}\yvar{y} cancel out, showing how the cubic terms change the height on the bowl.
V˙=x(−y−x3)+y(x−y3)=−xy−x4+xy−y4=−(x4+y4)<0for (x,y)≠(0,0)\displaystyle \begin{aligned} \rate{\dot{V}} &= \xvar{x}(-\yvar{y} - \xvar{x}^3) + \yvar{y}(\xvar{x} - \yvar{y}^3) \\ &= -\xvar{x}\yvar{y} - \xvar{x}^4 + \xvar{x}\yvar{y} - \yvar{y}^4 \\ &= -(\xvar{x}^4 + \yvar{y}^4) < 0 \quad \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0) \end{aligned}

So the cubic terms make the height decrease everywhere away from the origin, proving (0,0)(0, 0) is globally asymptotically stable even though linearization saw only a center.

For x˙=−x−y2\xvar{\dot{x}} = -\xvar{x} - \yvar{y}^2 and y˙=−y+xy\yvar{\dot{y}} = -\yvar{y} + \xvar{x}\yvar{y}, every trajectory winds inward across the circular contour lines of V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 while the linked marble on the bowl above slides downhill toward (0,0)(0, 0) from any starting point on the plane.

Every path winds differently across the plane, but on the bowl above it goes strictly downhill across every circle all the way to the bottom.
3

Reshaping the Bowl with Weights

Now let's put a 22 in front of the y2\yvar{y}^2 term and prove that (0,0)(0, 0) is still globally asymptotically stable for

x˙=−x−2y2,y˙=−y+xy\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\xvar{x} - 2\yvar{y}^2, \\ \yvar{\dot{y}} &= -\yvar{y} + \xvar{x}\yvar{y} \end{aligned}

On the circular bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2, the mixed terms no longer cancel, leaving V˙=−x2−y2−xy2\rate{\dot{V}} = -\xvar{x}^2 - \yvar{y}^2 - \xvar{x}\yvar{y}^2, which turns positive at points like (−2,10)(-2, 10). To fix this, we can stretch the bowl into an ellipse V(x,y)=12ax2+12by2\bowl{V(x, y)} = \frac{1}{2}\weight{a}\xvar{x}^2 + \frac{1}{2}\weight{b}\yvar{y}^2 with positive weights a,b>0\weight{a}, \weight{b} > 0 chosen to cancel the mixed term.

Reshaping the Bowl with Weights
x˙=−x−2y2y˙=−y+xyV(x,y)=12x2+12y2\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\xvar{x} - 2\yvar{y}^2 \\ \yvar{\dot{y}} &= -\yvar{y} + \xvar{x}\yvar{y} \\[6pt] \bowl{V(x, y)} &= \tfrac12\xvar{x}^2 + \tfrac12\yvar{y}^2 \end{aligned}
V˙<0 always?\displaystyle \rate{\dot{V}} < 0\ \text{always?}
Text solution
Differentiate the weighted elliptical bowl with a,b>0\weight{a}, \weight{b} > 0 left as unknownsKeeping the positive weights a\weight{a} and b\weight{b} as unknowns in V(x,y)=12ax2+12by2\bowl{V(x, y)} = \frac{1}{2}\weight{a}\xvar{x}^2 + \frac{1}{2}\weight{b}\yvar{y}^2 lets the algebra tell us which ellipse shape cancels the leftover term.
V˙\displaystyle \rate{\dot{V}} =axx˙+byy˙\displaystyle = \weight{a}\xvar{x}\xvar{\dot{x}} + \weight{b}\yvar{y}\yvar{\dot{y}}
Substitute x˙\xvar{\dot{x}} and y˙\yvar{\dot{y}} and group the xy2\xvar{x}\yvar{y}^2 terms togetherGrouping the mixed terms together shows how a\weight{a} and b\weight{b} control the coefficient on xy2\xvar{x}\yvar{y}^2.
V˙=ax(−x−2y2)+by(−y+xy)=−ax2−by2+(−2a+b)xy2\displaystyle \begin{aligned} \rate{\dot{V}} &= \weight{a}\xvar{x}(-\xvar{x} - 2\yvar{y}^2) + \weight{b}\yvar{y}(-\yvar{y} + \xvar{x}\yvar{y}) \\ &= -\weight{a}\xvar{x}^2 - \weight{b}\yvar{y}^2 + (-2\weight{a} + \weight{b})\xvar{x}\yvar{y}^2 \end{aligned}
Choose positive weights a=1\weight{a} = 1 and b=2\weight{b} = 2 to make the mixed coefficient zeroSetting −2a+b=0-2\weight{a} + \weight{b} = 0 gives the positive bowl V(x,y)=12x2+y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \yvar{y}^2 and cancels the xy2\xvar{x}\yvar{y}^2 term completely.
V˙\displaystyle \rate{\dot{V}} =−x2−2y2<0for (x,y)≠(0,0)\displaystyle = -\xvar{x}^2 - 2\yvar{y}^2 < 0 \quad \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0)

So every trajectory slides downhill on the elliptical bowl V(x,y)=12x2+y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \yvar{y}^2, proving (0,0)(0, 0) is globally asymptotically stable.

For x˙=−x−2y2\xvar{\dot{x}} = -\xvar{x} - 2\yvar{y}^2 and y˙=−y+xy\yvar{\dot{y}} = -\yvar{y} + \xvar{x}\yvar{y}, a trajectory curving into (0,0)(0, 0) stays fixed on the plane as the elliptical bowl V(x,y)=12ax2+12by2\bowl{V(x, y)} = \frac{1}{2}\weight{a}\xvar{x}^2 + \frac{1}{2}\weight{b}\yvar{y}^2 stretches and squashes, and at a=1,b=2\weight{a} = 1, \weight{b} = 2 the bowl gives V˙<0\rate{\dot{V}} < 0 at every point except (0,0)(0, 0), so the trajectory, and every other one, points downhill across every contour.

Reshaping the bowl changes where the fixed path climbs or slides down its walls, even though the path to the origin never moves.
4

Finding a Local Safe Zone

When V˙\rate{\dot{V}} has a higher-power term like +x3+\xvar{x}^3 that no choice of weights can cancel,

V˙\displaystyle \rate{\dot{V}} =−x2−y2+x3\displaystyle = -\xvar{x}^2 - \yvar{y}^2 + \xvar{x}^3

on the bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2, we want to prove (0,0)(0, 0) is locally asymptotically stable and find the largest contour circle around (0,0)(0, 0) that is guaranteed to trap trajectories and send them to the origin.

Finding a Local Safe Zone
V(x,y)=12x2+12y2V˙=−x2−y2+x3\begin{aligned} \bowl{V(x, y)} &= \tfrac12\xvar{x}^2 + \tfrac12\yvar{y}^2 \\ \rate{\dot{V}} &= -\xvar{x}^2 - \yvar{y}^2 + \xvar{x}^3 \end{aligned}
V˙<0 where?\rate{\dot{V}} < 0\text{ where?}
x\xvar{x}
y\yvar{y}
Text solution
Factor +x3+\xvar{x}^3 together with −x2-\xvar{x}^2Factoring out −x2-\xvar{x}^2 lets us compare the −x2-\xvar{x}^2 term and the +x3+\xvar{x}^3 term near (0,0)(0, 0).
V˙\displaystyle \rate{\dot{V}} =−x2(1−x)−y2\displaystyle = -\xvar{x}^2(1 - \xvar{x}) - \yvar{y}^2
Find the boundary line where the factored term changes signBecause 1−x>01 - \xvar{x} > 0 whenever x<1\xvar{x} < 1, we have V˙<0\rate{\dot{V}} < 0 at every point (except (0,0)(0, 0)) to the left of the vertical line x=1\xvar{x} = 1.
1−x>0for x<1\displaystyle 1 - \xvar{x} > 0 \quad \text{for } \xvar{x} < 1
Fit the largest contour circle of V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 completely inside x<1\xvar{x} < 1The contour circle centered at (0,0)(0, 0) that just touches the boundary line x=1\xvar{x} = 1 without crossing it has radius 11, where the height of the bowl is V=12\bowl{V} = \frac{1}{2}.
x2+y2<1(V<12)\displaystyle \xvar{x}^2 + \yvar{y}^2 < 1 \quad \left(\bowl{V} < \tfrac{1}{2}\right)

So any trajectory starting inside the disk x2+y2<1\xvar{x}^2 + \yvar{y}^2 < 1 starts below height V=12\bowl{V} = \frac{1}{2} in a region where height can only decrease, trapping it inside the circle and sending it all the way to (0,0)(0, 0).

Every contour circle of V=12x2+12y2\bowl{V} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 inside x2+y2<1\xvar{x}^2 + \yvar{y}^2 < 1 lies completely to the left of the vertical line x=1\xvar{x} = 1 where V˙<0\rate{\dot{V}} < 0, trapping its trajectories forever, while any larger contour circle goes past x=1\xvar{x} = 1 into the V˙>0\rate{\dot{V}} > 0 region and loses that guarantee.

A contour circle traps its trajectory only when the whole circle stays inside the downhill region on the left.
5

Proving Instability with Bowls and Saddles

To prove that (0,0)(0, 0) is unstable when the Jacobian tells us nothing, we want to show that trajectories starting arbitrarily close to (0,0)(0, 0) are pushed away from the origin, first for a system that pushes outward in every direction,

x˙=−y+x3,y˙=x+y3\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\yvar{y} + \xvar{x}^3, \\ \yvar{\dot{y}} &= \xvar{x} + \yvar{y}^3 \end{aligned}

and then for a nonlinear saddle that pulls inward along the y\yvar{y}-axis while pushing outward along the x\xvar{x}-axis:

x˙=x3,y˙=−y3\displaystyle \begin{aligned} \xvar{\dot{x}} &= \xvar{x}^3, \\ \yvar{\dot{y}} &= -\yvar{y}^3 \end{aligned}
Proving Instability with Bowls and Saddles
x˙=−y+x3y˙=x+y3λ=±i(0,0): stable?\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\yvar{y} + \xvar{x}^3 \\ \yvar{\dot{y}} &= \xvar{x} + \yvar{y}^3 \end{aligned} \qquad \begin{gathered} \lambda = \pm i \\ (0, 0)\text{: stable?} \end{gathered}
Text solution
Substitute x˙=−y+x3\xvar{\dot{x}} = -\yvar{y} + \xvar{x}^3 and y˙=x+y3\yvar{\dot{y}} = \xvar{x} + \yvar{y}^3 into the circular bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2The rotation terms cancel out and leave positive even powers everywhere away from (0,0)(0, 0).
V˙=x(−y+x3)+y(x+y3)=x4+y4>0for (x,y)≠(0,0)\displaystyle \begin{aligned} \rate{\dot{V}} &= \xvar{x}(-\yvar{y} + \xvar{x}^3) + \yvar{y}(\xvar{x} + \yvar{y}^3) \\ &= \xvar{x}^4 + \yvar{y}^4 > 0 \quad \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0) \end{aligned}
So any particle starting even a tiny distance from (0,0)(0, 0) starts at a positive height V>0\bowl{V} > 0 and goes uphill forever, proving (0,0)(0, 0) is unstable.
Now for the nonlinear saddle x˙=x3\xvar{\dot{x}} = \xvar{x}^3 and y˙=−y3\yvar{\dot{y}} = -\yvar{y}^3, where the Jacobian at (0,0)(0, 0) is J=[0000]J = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} and a circular bowl gives mixed signs V˙=x4−y4\rate{\dot{V}} = \xvar{x}^4 - \yvar{y}^4.
Use the saddle function V(x,y)=12x2−12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 - \frac{1}{2}\yvar{y}^2 to pick out the outward wedge ∣x∣>∣y∣|\xvar{x}| > |\yvar{y}|This function equals 00 along the diagonal lines y=±x\yvar{y} = \pm \xvar{x} and is positive inside the shaded wedge around the x\xvar{x}-axis where ∣x∣>∣y∣|\xvar{x}| > |\yvar{y}|.
V(x,y)=0on y=±xV(x,y)>0for ∣x∣>∣y∣\displaystyle \begin{aligned} \bowl{V(x, y)} &= 0 \quad \text{on } \yvar{y} = \pm \xvar{x} \\ \bowl{V(x, y)} &> 0 \quad \text{for } |\xvar{x}| > |\yvar{y}| \end{aligned}
Differentiate the saddle function along x˙=x3\xvar{\dot{x}} = \xvar{x}^3 and y˙=−y3\yvar{\dot{y}} = -\yvar{y}^3The minus sign in −12y2-\frac{1}{2}\yvar{y}^2 multiplies the minus sign in y˙=−y3\yvar{\dot{y}} = -\yvar{y}^3, turning the y\yvar{y} term positive.
V˙=xx˙−yy˙=x(x3)−y(−y3)=x4+y4>0for (x,y)≠(0,0)\displaystyle \begin{aligned} \rate{\dot{V}} &= \xvar{x}\xvar{\dot{x}} - \yvar{y}\yvar{\dot{y}} \\ &= \xvar{x}(\xvar{x}^3) - \yvar{y}(-\yvar{y}^3) \\ &= \xvar{x}^4 + \yvar{y}^4 > 0 \quad \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0) \end{aligned}

So a particle placed anywhere inside the wedge ∣x∣>∣y∣|\xvar{x}| > |\yvar{y}|, no matter how close to (0,0)(0, 0), starts with V>0\bowl{V} > 0 and has V˙>0\rate{\dot{V}} > 0; it can never cross the V=0\bowl{V} = 0 diagonals y=±x\yvar{y} = \pm \xvar{x} and is pushed outward away from (0,0)(0, 0), proving (0,0)(0, 0) is unstable.

Inside the shaded wedge ∣x∣>∣y∣|\xvar{x}| > |\yvar{y}| bounded by the V=0\bowl{V} = 0 diagonals y=±x\yvar{y} = \pm \xvar{x}, any particle placed near (0,0)(0, 0) starts with V>0\bowl{V} > 0 on the saddle V(x,y)=12x2−12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 - \frac{1}{2}\yvar{y}^2 and has V˙=x4+y4>0\rate{\dot{V}} = \xvar{x}^4 + \yvar{y}^4 > 0, keeping it between the diagonals and pushing it outward to higher contour curves of V\bowl{V}.

Inside the shaded wedge, every starting point, no matter how close to the origin, climbs to higher level curves and is pushed away from the origin without ever crossing the diagonal boundaries.
6

When V˙\rate{\dot{V}} Is Zero and LaSalle's Principle

Finally, we want to determine stability when V˙\rate{\dot{V}} is never positive (V˙≤0\rate{\dot{V}} \le 0), first when V˙=0\rate{\dot{V}} = 0 everywhere for pure rotation

x˙=−y,y˙=x\displaystyle \begin{aligned} \xvar{\dot{x}} &= -\yvar{y}, \\ \yvar{\dot{y}} &= \xvar{x} \end{aligned}

and then when V˙=0\rate{\dot{V}} = 0 along an entire line for the damped pendulum with angle x\xvar{x} and angular velocity y=x˙\yvar{y} = \xvar{\dot{x}}:

x˙=y,y˙=−sin⁡(x)−y\displaystyle \begin{aligned} \xvar{\dot{x}} &= \yvar{y}, \\ \yvar{\dot{y}} &= -\sin(\xvar{x}) - \yvar{y} \end{aligned}

For pure rotation x˙=−y\xvar{\dot{x}} = -\yvar{y} and y˙=x\yvar{\dot{y}} = \xvar{x}, the circular bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 gives V˙=x(−y)+y(x)=0\rate{\dot{V}} = \xvar{x}(-\yvar{y}) + \yvar{y}(\xvar{x}) = 0 everywhere. Because the height V\bowl{V} never changes, every trajectory travels forever around its starting contour circle without drifting away or approaching (0,0)(0, 0), which we call Lyapunov stable (or neutrally stable).

For the damped pendulum, energy stops decreasing (V˙=0\rate{\dot{V}} = 0) whenever the pendulum pauses at the peak of a swing. LaSalle's Invariance Principle says that if V˙≤0\rate{\dot{V}} \le 0 on a bowl and no trajectory (except (0,0)(0, 0)) can stay in the V˙=0\rate{\dot{V}} = 0 set for more than an instant, then (0,0)(0, 0) is still asymptotically stable.

When V̇ Is Zero and LaSalle's Principle
x˙=−yy˙=x\begin{aligned} \xvar{\dot{x}} &= -\yvar{y} \\ \yvar{\dot{y}} &= \xvar{x} \end{aligned}
V(x,y)=12x2+12y2(0,0): stable?\begin{gathered} \bowl{V(x, y)} = \tfrac12\xvar{x}^2 + \tfrac12\yvar{y}^2 \\ (0, 0)\text{: stable?} \end{gathered}
x\xvar{x}
y\yvar{y}
Text solution
Use total mechanical energy as a bowl on −π<x<π-\pi < \xvar{x} < \piAt (0,0)(0, 0), both the kinetic and potential energy terms are zero, and at every other point with −π<x<π-\pi < \xvar{x} < \pi, at least one term is positive.
V(x,y)=12y2⏟kinetic+(1−cos⁡x)⏟potential>0for (x,y)≠(0,0) on (−π,π)\displaystyle \begin{gathered} \bowl{V(x, y)} = \underbrace{\tfrac{1}{2}\yvar{y}^2}_{\bowl{\text{kinetic}}} + \underbrace{(1 - \cos \xvar{x})}_{\bowl{\text{potential}}} > 0 \\ \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0) \text{ on } (-\pi, \pi) \end{gathered}
Differentiate V(x,y)\bowl{V(x, y)} with the chain rule and substitute the damped pendulum equationsTaking ∂V∂x=sin⁡(x)\bowl{\frac{\partial V}{\partial x}} = \sin(\xvar{x}) and ∂V∂y=y\bowl{\frac{\partial V}{\partial y}} = \yvar{y} makes the ±ysin⁡(x)\pm \yvar{y}\sin(\xvar{x}) terms cancel out, leaving only the damping term.
V˙=sin⁡(x)x˙+yy˙=sin⁡(x)y+y(−sin⁡(x)−y)=−y2≤0\displaystyle \begin{aligned} \rate{\dot{V}} &= \sin(\xvar{x})\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} \\ &= \sin(\xvar{x})\yvar{y} + \yvar{y}(-\sin(\xvar{x}) - \yvar{y}) \\ &= -\yvar{y}^2 \le 0 \end{aligned}
Substitute the V˙=0\rate{\dot{V}} = 0 line y=0\yvar{y} = 0 into the y˙\yvar{\dot{y}} equation to see if any trajectory can stay thereHere V˙=−y2=0\rate{\dot{V}} = -\yvar{y}^2 = 0 along the entire horizontal axis y=0\yvar{y} = 0 (the peak of a swing), and staying on the horizontal line y=0\yvar{y} = 0 requires vertical velocity y˙=0\yvar{\dot{y}} = 0.
y˙=−sin⁡(x)−0=−sin⁡(x)=0  ⟹  x=0for −π<x<π\displaystyle \begin{aligned} \yvar{\dot{y}} &= -\sin(\xvar{x}) - 0 = -\sin(\xvar{x}) = 0 \\ &\implies \xvar{x} = 0 \quad \text{for } -\pi < \xvar{x} < \pi \end{aligned}

So at every point on the x\xvar{x}-axis between −π-\pi and π\pi except (0,0)(0, 0), the vertical velocity y˙=−sin⁡(x)\yvar{\dot{y}} = -\sin(\xvar{x}) is nonzero and immediately pushes the trajectory off the line y=0\yvar{y} = 0 back into y≠0\yvar{y} \neq 0 where V˙<0\rate{\dot{V}} < 0; by LaSalle's Invariance Principle, (0,0)(0, 0) is asymptotically stable.

Along the horizontal axis y=0\yvar{y} = 0 between −π-\pi and π\pi where V˙=−y2=0\rate{\dot{V}} = -\yvar{y}^2 = 0, the vertical velocity arrow (0,−sin⁡x)(0, -\sin \xvar{x}) points straight off the axis at every point except (0,0)(0, 0), pushing the pendulum back into y≠0\yvar{y} \neq 0 so its energy height V(x,y)=12y2+(1−cos⁡x)\bowl{V(x, y)} = \frac{1}{2}\yvar{y}^2 + (1 - \cos \xvar{x}) keeps dropping after each brief pause at the peak of a swing.

Everywhere along the horizontal axis except the origin, vertical velocity pushes the trajectory straight off the line so energy keeps draining to zero.

Key concepts

When you only need local stability right at (0,0)(0, 0) and the Jacobian matrix has eigenvalues with nonzero real parts, such as λ=−1,−1\lambda = -1, -1 for x˙=−x−y2,y˙=−y+xy\xvar{\dot{x}} = -\xvar{x} - \yvar{y}^2, \yvar{\dot{y}} = -\yvar{y} + \xvar{x}\yvar{y}, linearization already answers the question without needing a bowl. Use a Lyapunov function V(x,y)\bowl{V(x, y)} when you want to prove global stability across the plane, find the size of a local safe zone, or settle a borderline Jacobian where λ=±i\lambda = \pm i or 00.

To test stability with a positive definite bowl (V(0,0)=0\bowl{V(0, 0)} = 0 and V(x,y)>0\bowl{V(x, y)} > 0 for (x,y)≠(0,0)(\xvar{x}, \yvar{y}) \neq (0, 0)), substitute the right-hand sides of the differential equations directly into the chain rule:

V˙\displaystyle \rate{\dot{V}} =∂V∂xx˙+∂V∂yy˙\displaystyle = \bowl{\frac{\partial V}{\partial x}}\xvar{\dot{x}} + \bowl{\frac{\partial V}{\partial y}}\yvar{\dot{y}}

Start with the circular bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 when mixed terms already have matching coefficients that cancel, as in x˙=−y−x3,y˙=x−y3\xvar{\dot{x}} = -\yvar{y} - \xvar{x}^3, \yvar{\dot{y}} = \xvar{x} - \yvar{y}^3 where V˙=−(x4+y4)<0\rate{\dot{V}} = -(\xvar{x}^4 + \yvar{y}^4) < 0. If a mixed term like xy2\xvar{x}\yvar{y}^2 has mismatched coefficients so V˙\rate{\dot{V}} can be both positive and negative, switch to the weighted elliptical bowl V(x,y)=12ax2+12by2\bowl{V(x, y)} = \frac{1}{2}\weight{a}\xvar{x}^2 + \frac{1}{2}\weight{b}\yvar{y}^2 (a,b>0\weight{a}, \weight{b} > 0) and choose a\weight{a} and b\weight{b} after differentiating to set the mixed coefficient to zero, as in x˙=−x−2y2,y˙=−y+xy\xvar{\dot{x}} = -\xvar{x} - 2\yvar{y}^2, \yvar{\dot{y}} = -\yvar{y} + \xvar{x}\yvar{y} where (−2a+b)xy2=0(-2\weight{a} + \weight{b})\xvar{x}\yvar{y}^2 = 0 gives a=1,b=2\weight{a} = 1, \weight{b} = 2. For mechanical systems like the damped pendulum x˙=y,y˙=−sin⁡x−y\xvar{\dot{x}} = \yvar{y}, \yvar{\dot{y}} = -\sin \xvar{x} - \yvar{y}, use total energy V(x,y)=12y2+(1−cos⁡x)\bowl{V(x, y)} = \frac{1}{2}\yvar{y}^2 + (1 - \cos \xvar{x}).

Once you simplify V˙\rate{\dot{V}} on a bowl:

Globally asymptotically stable

if V˙<0\rate{\dot{V}} < 0 everywhere away from (0,0)(0, 0).

Locally asymptotically stable

if a higher-power term only lets V˙<0\rate{\dot{V}} < 0 hold on one side of a boundary line (like V˙=−x2(1−x)−y2<0\rate{\dot{V}} = -\xvar{x}^2(1 - \xvar{x}) - \yvar{y}^2 < 0 for x<1\xvar{x} < 1); the guaranteed safe zone is the region V(x,y)<c\bowl{V(x, y)} < c inside the largest contour curve V(x,y)=c\bowl{V(x, y)} = c that fits completely inside that boundary (x2+y2<1\xvar{x}^2 + \yvar{y}^2 < 1).

Lyapunov stable (neutrally stable)

if V˙=0\rate{\dot{V}} = 0 everywhere (like x˙=−y,y˙=x  ⟹  V˙=0\xvar{\dot{x}} = -\yvar{y}, \yvar{\dot{y}} = \xvar{x} \implies \rate{\dot{V}} = 0), meaning trajectories travel along closed contour curves forever without settling to (0,0)(0, 0).

Asymptotically stable by LaSalle's Invariance Principle

if V˙≤0\rate{\dot{V}} \le 0 and V˙=0\rate{\dot{V}} = 0 along a line like y=0\yvar{y} = 0 (as in V˙=−y2≤0\rate{\dot{V}} = -\yvar{y}^2 \le 0), as long as substituting y=0\yvar{y} = 0 into y˙\yvar{\dot{y}} shows y˙≠0\yvar{\dot{y}} \neq 0 everywhere on that line except (0,0)(0, 0) so trajectories get pushed right off the line.

Having V˙>0\rate{\dot{V}} > 0 at some points on a bowl never proves instability. To prove (0,0)(0, 0) is unstable, show either that V˙>0\rate{\dot{V}} > 0 everywhere around (0,0)(0, 0) on a bowl (like x˙=−y+x3,y˙=x+y3\xvar{\dot{x}} = -\yvar{y} + \xvar{x}^3, \yvar{\dot{y}} = \xvar{x} + \yvar{y}^3   ⟹  V˙=x4+y4>0\implies \rate{\dot{V}} = \xvar{x}^4 + \yvar{y}^4 > 0), or, when trajectories pull inward along one axis and push outward along the other (like x˙=x3,y˙=−y3\xvar{\dot{x}} = \xvar{x}^3, \yvar{\dot{y}} = -\yvar{y}^3), use a saddle function V(x,y)=12x2−12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 - \frac{1}{2}\yvar{y}^2 so that V˙=x4+y4>0\rate{\dot{V}} = \xvar{x}^4 + \yvar{y}^4 > 0 keeps particles inside the V>0\bowl{V} > 0 wedge ∣x∣>∣y∣|\xvar{x}| > |\yvar{y}| bounded by y=±x\yvar{y} = \pm \xvar{x} and pushes them away from (0,0)(0, 0).

7

Practice

1

For the system x˙=−x3+y2\xvar{\dot{x}} = -\xvar{x}^3 + \yvar{y}^2 and y˙=−xy−y3\yvar{\dot{y}} = -\xvar{x}\yvar{y} - \yvar{y}^3, verify that linearization at (0,0)(0, 0) tells us nothing, then use the circular bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 to determine the stability of (0,0)(0, 0).

After checking the Jacobian matrix at (0,0)(0, 0), substitute x˙\xvar{\dot{x}} and y˙\yvar{\dot{y}} into V˙=xx˙+yy˙\rate{\dot{V}} = \xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} and expand carefully to see what happens to the mixed cubic terms.

At (0,0)(0, 0), all first-order partial derivatives are zero, giving the Jacobian matrix
J(0,0)=[0000]\displaystyle J(0, 0) = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}
with eigenvalues λ=0,0\lambda = 0, 0, so linearization tells us nothing. (Watch out: λ=0,0\lambda = 0, 0 does not mean (0,0)(0, 0) is neutrally stable. It means the linear test misses the higher-power terms.)
Using the circular bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2, the time derivative is
V˙=xx˙+yy˙=x(−x3+y2)+y(−xy−y3)=−x4+xy2−xy2−y4=−(x4+y4)\displaystyle \begin{aligned} \rate{\dot{V}} &= \xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} \\ &= \xvar{x}(-\xvar{x}^3 + \yvar{y}^2) + \yvar{y}(-\xvar{x}\yvar{y} - \yvar{y}^3) \\ &= -\xvar{x}^4 + \xvar{x}\yvar{y}^2 - \xvar{x}\yvar{y}^2 - \yvar{y}^4 \\ &= -(\xvar{x}^4 + \yvar{y}^4) \end{aligned}
(Be careful when multiplying x(y2)\xvar{x}(\yvar{y}^2) and y(−xy)\yvar{y}(-\xvar{x}\yvar{y}): writing one of them as x2y\xvar{x}^2\yvar{y} instead of xy2\xvar{x}\yvar{y}^2 makes it look like the mixed terms fail to cancel, which leads to the wrong conclusion that the circular bowl does not work.)
Because V(0,0)=0\bowl{V(0, 0)} = 0, V(x,y)>0\bowl{V(x, y)} > 0 away from (0,0)(0, 0), and V˙=−(x4+y4)<0\rate{\dot{V}} = -(\xvar{x}^4 + \yvar{y}^4) < 0 everywhere except (0,0)(0, 0), the origin (0,0)(0, 0) is globally asymptotically stable.
2

For the system x˙=−x+3xy\xvar{\dot{x}} = -\xvar{x} + 3\xvar{x}\yvar{y} and y˙=−y−x2\yvar{\dot{y}} = -\yvar{y} - \xvar{x}^2, explain why getting V˙>0\rate{\dot{V}} > 0 at some points with V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 does not prove (0,0)(0, 0) is unstable, and find positive weights a\weight{a} and b\weight{b} in V(x,y)=12ax2+12by2\bowl{V(x, y)} = \frac{1}{2}\weight{a}\xvar{x}^2 + \frac{1}{2}\weight{b}\yvar{y}^2 that prove (0,0)(0, 0) is globally asymptotically stable.

Group the x2y\xvar{x}^2\yvar{y} terms in V˙=axx˙+byy˙\rate{\dot{V}} = \weight{a}\xvar{x}\xvar{\dot{x}} + \weight{b}\yvar{y}\yvar{\dot{y}} and choose a,b>0\weight{a}, \weight{b} > 0 so their combined coefficient equals 00.

Getting V˙>0\rate{\dot{V}} > 0 at some points on V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 only means trajectories briefly cross the circular contours outward (moving uphill on that specific circular bowl), not that they keep moving away from (0,0)(0, 0).
Using the weighted elliptical bowl V(x,y)=12ax2+12by2\bowl{V(x, y)} = \frac{1}{2}\weight{a}\xvar{x}^2 + \frac{1}{2}\weight{b}\yvar{y}^2 with a,b>0\weight{a}, \weight{b} > 0 gives
V˙=axx˙+byy˙=ax(−x+3xy)+by(−y−x2)=−ax2−by2+(3a−b)x2y\displaystyle \begin{aligned} \rate{\dot{V}} &= \weight{a}\xvar{x}\xvar{\dot{x}} + \weight{b}\yvar{y}\yvar{\dot{y}} \\ &= \weight{a}\xvar{x}(-\xvar{x} + 3\xvar{x}\yvar{y}) + \weight{b}\yvar{y}(-\yvar{y} - \xvar{x}^2) \\ &= -\weight{a}\xvar{x}^2 - \weight{b}\yvar{y}^2 + (3\weight{a} - \weight{b})\xvar{x}^2\yvar{y} \end{aligned}
To make 3a−b=03\weight{a} - \weight{b} = 0, we choose
a\displaystyle \weight{a} =1,b\displaystyle = 1, \qquad \weight{b} =3\displaystyle = 3
(Watch out for two common mistakes here: swapping the weights to a=3,b=1\weight{a} = 3, \weight{b} = 1 leaves 8x2y8\xvar{x}^2\yvar{y} uncancelled, and dropping the minus sign on −x2-\xvar{x}^2 gives (3a+b)x2y=0  ⟹  a=1,b=−3(3\weight{a} + \weight{b})\xvar{x}^2\yvar{y} = 0 \implies \weight{a} = 1, \weight{b} = -3, which turns V(x,y)=12x2−32y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 - \frac{3}{2}\yvar{y}^2 into a saddle instead of a positive bowl.)
With a=1\weight{a} = 1 and b=3\weight{b} = 3, the bowl V(x,y)=12x2+32y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{3}{2}\yvar{y}^2 is positive definite and gives
V˙\displaystyle \rate{\dot{V}} =−x2−3y2<0for (x,y)≠(0,0)\displaystyle = -\xvar{x}^2 - 3\yvar{y}^2 < 0 \quad \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0)
which proves (0,0)(0, 0) is globally asymptotically stable.
3

For the nonlinear system x˙=−y(1+x2+y2)\xvar{\dot{x}} = -\yvar{y}(1 + \xvar{x}^2 + \yvar{y}^2) and y˙=x(1+x2+y2)\yvar{\dot{y}} = \xvar{x}(1 + \xvar{x}^2 + \yvar{y}^2), use V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 to determine whether (0,0)(0, 0) is globally asymptotically stable, Lyapunov stable, or unstable.

Substitute x˙\xvar{\dot{x}} and y˙\yvar{\dot{y}} into V˙=xx˙+yy˙\rate{\dot{V}} = \xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} before multiplying out (1+x2+y2)(1 + \xvar{x}^2 + \yvar{y}^2).

Differentiating V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 along the system gives
V˙=xx˙+yy˙=−xy(1+x2+y2)+xy(1+x2+y2)=0\displaystyle \begin{aligned} \rate{\dot{V}} &= \xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} \\ &= -\xvar{x}\yvar{y}(1 + \xvar{x}^2 + \yvar{y}^2) + \xvar{x}\yvar{y}(1 + \xvar{x}^2 + \yvar{y}^2) \\ &= 0 \end{aligned}
Because V(x,y)\bowl{V(x, y)} is a positive definite bowl and V˙=0\rate{\dot{V}} = 0 everywhere, the height V\bowl{V} never changes and every trajectory travels forever around a closed contour circle x2+y2=c\xvar{x}^2 + \yvar{y}^2 = c without approaching (0,0)(0, 0) or drifting away. (Do not confuse V˙=0\rate{\dot{V}} = 0 with V˙<0\rate{\dot{V}} < 0 and call the origin asymptotically stable. The trajectories never move closer to (0,0)(0, 0).) Thus (0,0)(0, 0) is Lyapunov stable (neutrally stable).
4

For the system x˙=−x−y2\xvar{\dot{x}} = -\xvar{x} - \yvar{y}^2 and y˙=−y+xy+12y2\yvar{\dot{y}} = -\yvar{y} + \xvar{x}\yvar{y} + \frac{1}{2}\yvar{y}^2, use the bowl V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 to prove (0,0)(0, 0) is locally asymptotically stable and find the largest contour circle x2+y2<r2\xvar{x}^2 + \yvar{y}^2 < r^2 that is guaranteed to be a safe zone around (0,0)(0, 0).

After canceling the xy2\xvar{x}\yvar{y}^2 terms in V˙\rate{\dot{V}}, factor −y2-\yvar{y}^2 and +12y3+\frac{1}{2}\yvar{y}^3 together to find the horizontal boundary line where V˙\rate{\dot{V}} changes sign.

Taking the time derivative of V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 along the system gives
V˙=x(−x−y2)+y(−y+xy+12y2)=−x2−y2+12y3=−x2−y2(1−12y)\displaystyle \begin{aligned} \rate{\dot{V}} &= \xvar{x}(-\xvar{x} - \yvar{y}^2) + \yvar{y}\left(-\yvar{y} + \xvar{x}\yvar{y} + \tfrac{1}{2}\yvar{y}^2\right) \\ &= -\xvar{x}^2 - \yvar{y}^2 + \tfrac{1}{2}\yvar{y}^3 \\ &= -\xvar{x}^2 - \yvar{y}^2\left(1 - \tfrac{1}{2}\yvar{y}\right) \end{aligned}
Since 1−12y>01 - \frac{1}{2}\yvar{y} > 0 whenever y<2\yvar{y} < 2, we have V˙<0\rate{\dot{V}} < 0 everywhere (except (0,0)(0, 0)) below the horizontal line y=2\yvar{y} = 2, proving (0,0)(0, 0) is locally asymptotically stable. (Be careful when factoring −y2+12y3-\yvar{y}^2 + \frac{1}{2}\yvar{y}^3: writing −y2(1−2y)-\yvar{y}^2(1 - 2\yvar{y}) gives the wrong boundary line y=12\yvar{y} = \frac{1}{2} and the wrong circle x2+y2<14\xvar{x}^2 + \yvar{y}^2 < \frac{1}{4}.)
The largest contour circle of V(x,y)=12x2+12y2\bowl{V(x, y)} = \frac{1}{2}\xvar{x}^2 + \frac{1}{2}\yvar{y}^2 that fits completely inside the region y<2\yvar{y} < 2 is the circle of radius r=2r = 2 that just touches the line y=2\yvar{y} = 2. (Watch out: a radius of r=2r = 2 means r2=4r^2 = 4 and V<12(4)=2\bowl{V} < \frac{1}{2}(4) = 2, so do not write the circle as x2+y2<2\xvar{x}^2 + \yvar{y}^2 < 2.) The guaranteed safe zone is
x2+y2<4\displaystyle \xvar{x}^2 + \yvar{y}^2 < 4
5

For the system x˙=−x3−xy2\xvar{\dot{x}} = -\xvar{x}^3 - \xvar{x}\yvar{y}^2 and y˙=y3−x2y\yvar{\dot{y}} = \yvar{y}^3 - \xvar{x}^2\yvar{y}, linearization at (0,0)(0, 0) gives the zero matrix and trajectories pull inward along the x\xvar{x}-axis while pushing outward along the y\yvar{y}-axis. Use the saddle-shaped function V(x,y)=12y2−12x2\bowl{V(x, y)} = \frac{1}{2}\yvar{y}^2 - \frac{1}{2}\xvar{x}^2 to prove that (0,0)(0, 0) is unstable.

Find the wedge where V(x,y)=12y2−12x2>0\bowl{V(x, y)} = \frac{1}{2}\yvar{y}^2 - \frac{1}{2}\xvar{x}^2 > 0, then watch the sign on the x\xvar{x} term when computing V˙=−xx˙+yy˙\rate{\dot{V}} = -\xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}}.

The function V(x,y)=12y2−12x2\bowl{V(x, y)} = \frac{1}{2}\yvar{y}^2 - \frac{1}{2}\xvar{x}^2 equals 00 at (0,0)(0, 0) and along the diagonals y=±x\yvar{y} = \pm \xvar{x}, and is positive (V>0\bowl{V} > 0) inside the wedge ∣y∣>∣x∣|\yvar{y}| > |\xvar{x}| around the y\yvar{y}-axis.
Taking its time derivative along the system gives
V˙=−xx˙+yy˙=−x(−x3−xy2)+y(y3−x2y)=x4+x2y2+y4−x2y2=x4+y4>0for (x,y)≠(0,0)\displaystyle \begin{aligned} \rate{\dot{V}} &= -\xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} \\ &= -\xvar{x}(-\xvar{x}^3 - \xvar{x}\yvar{y}^2) + \yvar{y}(\yvar{y}^3 - \xvar{x}^2\yvar{y}) \\ &= \xvar{x}^4 + \xvar{x}^2\yvar{y}^2 + \yvar{y}^4 - \xvar{x}^2\yvar{y}^2 \\ &= \xvar{x}^4 + \yvar{y}^4 > 0 \quad \text{for } (\xvar{x}, \yvar{y}) \neq (0, 0) \end{aligned}
(Be careful not to drop the minus sign on −xx˙-\xvar{x}\xvar{\dot{x}} when differentiating −12x2-\frac{1}{2}\xvar{x}^2: using +xx˙+yy˙+\xvar{x}\xvar{\dot{x}} + \yvar{y}\yvar{\dot{y}} gives −x4+y4−2x2y2-\xvar{x}^4 + \yvar{y}^4 - 2\xvar{x}^2\yvar{y}^2, which has mixed signs and fails to prove instability.)
Any particle starting arbitrarily close to (0,0)(0, 0) inside the wedge ∣y∣>∣x∣|\yvar{y}| > |\xvar{x}| starts with V>0\bowl{V} > 0 and has V˙=x4+y4>0\rate{\dot{V}} = \xvar{x}^4 + \yvar{y}^4 > 0, so it can never cross the V=0\bowl{V} = 0 diagonals y=±x\yvar{y} = \pm \xvar{x} and is pushed outward away from (0,0)(0, 0), proving (0,0)(0, 0) is unstable.
6

For the damped nonlinear oscillator x˙=y\xvar{\dot{x}} = \yvar{y} and y˙=−x3−y\yvar{\dot{y}} = -\xvar{x}^3 - \yvar{y}, verify that V(x,y)=14x4+12y2\bowl{V(x, y)} = \frac{1}{4}\xvar{x}^4 + \frac{1}{2}\yvar{y}^2 is a positive definite bowl, find the set of points where V˙=0\rate{\dot{V}} = 0, and use LaSalle's Invariance Principle to prove that (0,0)(0, 0) is globally asymptotically stable.

Differentiate V\bowl{V} using V˙=∂V∂xx˙+∂V∂yy˙\rate{\dot{V}} = \bowl{\frac{\partial V}{\partial x}}\xvar{\dot{x}} + \bowl{\frac{\partial V}{\partial y}}\yvar{\dot{y}}, then test whether a trajectory can stay on the horizontal line where V˙=0\rate{\dot{V}} = 0 by substituting that line into y˙\yvar{\dot{y}}.

Because x4\xvar{x}^4 and y2\yvar{y}^2 are even powers, V(0,0)=0\bowl{V(0, 0)} = 0 and V(x,y)=14x4+12y2>0\bowl{V(x, y)} = \frac{1}{4}\xvar{x}^4 + \frac{1}{2}\yvar{y}^2 > 0 for all (x,y)≠(0,0)(\xvar{x}, \yvar{y}) \neq (0, 0), so V(x,y)\bowl{V(x, y)} is a positive definite bowl everywhere.
By the chain rule, the time derivative is
V˙=∂V∂xx˙+∂V∂yy˙=x3(y)+y(−x3−y)=−y2≤0\displaystyle \begin{aligned} \rate{\dot{V}} &= \bowl{\frac{\partial V}{\partial x}}\xvar{\dot{x}} + \bowl{\frac{\partial V}{\partial y}}\yvar{\dot{y}} \\ &= \xvar{x}^3(\yvar{y}) + \yvar{y}(-\xvar{x}^3 - \yvar{y}) \\ &= -\yvar{y}^2 \le 0 \end{aligned}
so V˙=0\rate{\dot{V}} = 0 along the entire horizontal x\xvar{x}-axis y=0\yvar{y} = 0.
For a trajectory to stay on the horizontal line y=0\yvar{y} = 0, its vertical velocity y˙\yvar{\dot{y}} must be 00. (Watch out: do not stop at V˙=−y2≤0\rate{\dot{V}} = -\yvar{y}^2 \le 0 and call (0,0)(0, 0) only Lyapunov stable, and do not plug y=0\yvar{y} = 0 into x˙=y=0\xvar{\dot{x}} = \yvar{y} = 0. Having zero horizontal velocity does not keep a particle on the horizontal line y=0\yvar{y} = 0 when its vertical velocity y˙\yvar{\dot{y}} is nonzero.) Substituting y=0\yvar{y} = 0 into the y˙\yvar{\dot{y}} equation gives
y˙\displaystyle \yvar{\dot{y}} =−x3−0\displaystyle = -\xvar{x}^3 - 0 =−x3\displaystyle = -\xvar{x}^3
which equals 00 only at x=0\xvar{x} = 0. Everywhere else on the line y=0\yvar{y} = 0, y˙=−x3≠0\yvar{\dot{y}} = -\xvar{x}^3 \neq 0 immediately pushes the trajectory off the x\xvar{x}-axis back into y≠0\yvar{y} \neq 0 where V˙<0\rate{\dot{V}} < 0. By LaSalle's Invariance Principle, (0,0)(0, 0) is globally asymptotically stable.