A system is controllable if some input can move the state from any initial value to any final value in finite time. It is observable if the initial state can be found from the output measured over a finite time.
Kalman's tests (for an $n$-th order system)
$$Q_c = \begin{bmatrix}B & AB & A^2B & \cdots & A^{n-1}B\end{bmatrix},\qquad \text{rank}(Q_c) = n$$
$$Q_o = \begin{bmatrix}C \\ CA \\ \vdots \\ CA^{n-1}\end{bmatrix},\qquad \text{rank}(Q_o) = n$$
For a single-input or single-output system, check that the determinant of the square test matrix is not zero.
Why they matter
- State feedback can place every pole only if the system is controllable.
- An observer (state estimator) can rebuild every state only if the system is observable.
- A pole–zero cancellation in the transfer function hides an uncontrollable or unobservable mode.