Stability theory of dynamical systems