Solution of the kinetic equations by the divergent method of characteristics