Explain the Lyapunov stability criterion for nonlinear control systems. Derive the Lyapunov function for a given nonlinear system and discuss its implications for the system's stability.