We derive a differential equation that relates the Mueller matrices of an optical system at adjacent frequencies in the presence of polarization mode dispersion and polarization-dependent loss (PDL). We then demonstrate that a solution of this equation based on the Magnus expansion yields a description of the Mueller matrix in orders of the principal state vector that coincides with previously reported results for systems without PDL.