This approach may allow to simplify problems such as the Quadrupole ion trap, where an ion is trapped in a harmonic potential with time dependent frequency. The transformation presented here is then useful to take into account such effects.