Just a simple undergrad physics student asking them mathematicians.
I have a very simple 2nd order homogeneous DE of the form:
$$y''=-a^2y$$
So, a solution will be of the form $$y(t)=c_1 e^{+iat}+c_2 e^{-iat} \quad (1)$$
which you can rewrite to $$y(t)=d_1\cos(at)+d_2 \sin(at) \quad (2)$$
The final answer of the problem has the form of $C \sin(at+d)$, where $d$ is a phase term. No initial conditions are given.
My question is, can eq. (2) be rewritten in some way that only a sine term emerges, with a constant $d$ appearing in there? I looked at some trig. relations and couldn't see a quick way. I think the initial conditions have to be used. What do you think?
(A teaching assistent told me it could be done, but I distrust her advice a little since she has given me wrong answers before)
Expand on the trig expression you get from the answer:
$$\sin(at+d) = \sin(at) \cos(d) + \cos(at) \sin(d)$$
So you can take eqn.(2) and factor out the constant $C = \sqrt{d_1^2 + d_2^2}$ and then pick $d$ so that $\cos(d) = d_1/C$ and $\sin(d) = d_2/C$.