I am currently trying to learn how to determine the stability of a solution using Lyapunov's Method for autonomous systems.
Say we are given the nonlinear system: $$\dot{x_1}(t)=-x_1(t) + x_1(t)x_2(t)$$ $$\dot{x_2}(t)=-x_2(t) $$ And we want to show that the solution $x(t)=0$ is asymptotically stable (I know it is).
We need to pick a Lyapunov function $V(x)$ such that $V(x)$ is positive definite.
And we need $\dot{V}(x)$ to be negative definite to prove asymptotic stability.
I tried $$V(x)=\frac{1}{2}({x_1}^2 +{x_2}^2)$$
Where
$$\dot{V}(x)={x_1}\dot{x_1}+{x_2}\dot{x_2}=-{x_1}^2 +{x_1}^2{x_2} -{x_2}^2$$
As far as I can tell, in this case $\dot{V}(x)$ is not negative definite. So what am I missing? If $V(x)$ is positive definite & $\dot{V}(x)$ is indefinite, do I need to choose a new Lyapunov function? Or do I have to look at different ranges in $x$ to determine stability (global vs local stability).
When it comes to selecting Lyapunov functions, how do you know you have a correct function?