Differential equation of mass transfer