This is not a complete answer in the MATLAB or SOSTOOLS sense, but it should provide insight into approaching the sum-of-squares and stability problem. Since the first two differential states do not explicitly depend on the third differential state, you can evaluate the stability of the first two states independently. In the following example, the system is coordinate-transformed so that the equilibrium is at the origin.
Given that
where
. The system can be trigonometrically simplified to
.Solving
to obtain the equilibrium at
, where
.
A Lyapunov function candidate:
Taking the derivative of V along the trajectory of the system:
You see that
, V is positive definite, and
is negative definite,
for
and
over
. Thus, by the Lyapunov stability theorem, you can conclude that the origin (
and
) is asymptotically stable.
The third differential equation
does not contain the third differential state
, but you can use the equality constraint to infer that
.Substituting this result back to
where
then you should get something like
.If
and
is constant, then the third differential state should be asymptotically stable as well.