The stability of a nonlinear time-varying system