We analyze stability for switched systems which are composed of both continuous-time and discrete-time subsystems. By considering a Lie algebra generated by all subsystem matrices, we show that if all subsystems are Hurwitz/Schur stable and this Lie algebra is solvable, then there is a common quadratic Lyapunov function for all subsystems and thus the switched system is exponentially stable und...