When solving forced vibration problems I would always choose a trial solution for the particular (stead-state) case in the form $x(t) = A \cos{\omega t} + B \sin{\omega t} $, but reading some books I got to know the complex form for the trial solution. At first I found it more intuitive, but after trying to use it I got some questions that I could not find answers to.
Let us have a equation of motion of the form
$$ m \ddot{x} + c \dot{x} + k x = F_0 \sin{\omega t}$$
What is the difference of choosing a trial solution in the complex form $z = A~e^{i(wt-\phi)}$ and in the $z = A~e^{i(wt+\phi)}$. What should I expect from this change in the phase's sign? What is a more 'visual' interpretation of this change?
Also, when applying these complex forms, one usually has to change the harmonic excitation into a complex term too. The problem is: it seems that regardless of the excitation being a sine or cosine function, books always make
$$F_0 \sin{\omega t} \quad \text{or} \quad F_0 \cos{\omega t} \quad = \quad F_0~e^{i\omega t}$$
and, at the end, they just choose the imaginary or real part of the solution. Does it mean that $A$ and $\phi$ will not change despite we have a sine or cosine excitation?