I'm struggling to derive the analytical form for the initial (transient) motion of a free particle in a sinusoidal force field.
For the sake of simplification, I'm operating in a one-dimensional space. A particle of mass $\mathbf{m}$ is initially at $\mathbf{x}=0$ and at rest $(\mathbf{v}=0)$. At $\mathbf{t}=0$, the particle begins to be subject to an oscillating force field: $$f(t) = a\sin(\omega t)$$
If I proceed by integrating the force, taking into account the initial zero velocity I get: $$v(t)=\frac{a}{m\omega}(1-\cos(\omega t))$$ and thus for the position: $$x(t)=\frac{a}{m\omega}(t-\frac{sin(\omega t)}{\omega})$$ What I find un-intuitive about my solution is that the velocity is always positive, with as a consequence the particle moving further and further away from the origin. Given that within each period the total positive acceleration equals the total negative acceleration, I would have expected the particle to stabilize in a "periodic" trajectory.
Am I making a blatant mistake in my integration, or is my intuition wrong - and, if it's wrong, what is the physical interpretation of the velocity being always positive even though the particle is subject to an acceleration which always nets to zero?