This paper presents a unified approach to formulating stability conditions for slowly time-varying linear systems and switched linear systems. The concept of total variation of a matrix-valued function is introduced to characterize the variation of the system matrix. Using this concept, a result generalizing existing stability conditions for slowly time-varying linear systems is derived. As spe...