The approximate separation of kinetics problems into time and space functions by a variational principle