On marginally stable systems
This post aims to answer a simple question in linear system theory: Is a system with all its poles on the imaginary axis always marginally stable?
The answer is NO. A well-known counter example is
Now, let us make this question a bit more challenging: Is any system with all its poles satisfying (a) non-zero (b) on the imaginary axis always marginally stable?
This revised question excludes the counter example in
a continuous-time state-space model is marginally stable if and only if the Jordan blocks corresponding to poles with zero real part are one-by-one matrices.
By Wiki (which might be wrong), the answer to the revised question seems negative, since the Jordan blocks corresponding to the non-zero poles on the imaginary axis may not be one-by-one. But I am not convinced by this argument unless someone can show me a counter example.
So, our goal now is to find a real matrix whose the Jordan block corresponding to an imaginary eigenvalue is not one-by-one. Have you seen such an example in your linear system theory course or linear algebra 101? I cannot recall anything like that. One famous example for a matrix with purely imaginary poles is