We study the time evolution of quantum systems with a time-dependent H
amiltonian given by a linear combination of SU(1,1) and SU(2) generato
rs. The invariant Hermitian operator is constructed in the same manner
as for both the SU(1,1) and SU(2) systems. With the help of the invar
iant Hermitian operator we obtain not only the exact solutions of the
Schrodinger equation but also the time-evolution operator. The adiabat
ic and nonadiabatic Berry phases are calculated with the exact solutio
ns.