General matrix equations for diffusion drift velocity in a driving force