Application of dynamical groups and scaling variational method in perturbation problems of quantum mechanics