Differential equations of the form $\ddot{\mathbf x}=A \mathbf x$ is quite common in physics. Here I want to analyze the stability of the solution $\mathbf x=0$. Let $\mathbf x_1,\mathbf x_2$ be two solutions of the DE, such that $\mathbf x_1(0)=\mathbf 0$. The equilibrium $\mathbf x=0$ is stable iff $\forall \epsilon\forall t_0\forall\mathbf x_2,\exists\delta,|\mathbf x_2(0)|< \delta\Rightarrow |\mathbf x_1(t)-\mathbf x_2(t)|< \epsilon$ for all $t>t_0$.
My question is: what are the necessary and sufficient conditions on $A$ for the solution $\mathbf x=0$ to be stable?
If we think of $\ddot{\mathbf x}$ as the acceleration due to a force, then there exist a positive constant $k$ such that the work done by the force of a virtual displacement $\delta \mathbf x$ from $\mathbf 0$ is $$ k(A\mathbf x).\mathbf x=k\mathbf x^TA\mathbf x<0. $$ So if $A$ is symmetric, then $A$ is positive definite, so all eigenvectors must be real and negative. But what about the case that $A$ is not symmetric? what are the necessary and sufficient conditions on the eigenvalues of $A$ for the solution $\mathbf x=0$ to be stable?
What about the equation $\dot{\mathbf x}=B\mathbf x$? This can be written as $\ddot{\mathbf x}=B\dot{\mathbf x}=B^2\mathbf x$. So we can just apply the results for two-dot equation here. Again, if $B$ is symmetric, then so is $B^2$, so all eignvalues of $B^2$ must be negative? Is that right?
I know the case $\mathbf x\in\mathbb R^2$ quite well (many DE books only discuss the case $n=2$). But are there generalisiation to higher dimensions ($\mathbf x\in \mathbb R^n$)?
The case of $\lambda=0$ is quite tricky. Please discuss them in detail.
The general apparatus of linear algebra works. Take an eigendecomposition of $A$ so that $$\ddot y=(D+N)y$$ is an equivalent system. Then in the Jordan blocks the scalar theory applies to the first component, and the other components are in resonance.
To get stable solutions in all components you need to consider that the characteristic roots come in sign-opposite pairs of roots of the eigenvalues of $A$. To exclude growth, you thus need that the real parts of the characteristic roots are zero, meaning the eigenvalues of $A$ have all to be real negative and they have to be simple, as resonance leads to growing components.