Perturbative approach to the dynamics of a trapped ion interacting with a light field