- #1
nickmai123
- 78
- 0
Homework Statement
I was curious if anyone could help me prove the equivalence between the two forms of solutions to second order ODEs, one being the linear combination of two solutions and the other being the phase-shifted sin/cos function.
Homework Equations
[tex]\frac{d^{2}x}{dt^{2}}+\frac{k}{m}x=0[/tex]
[tex]x(t)=Asin(\omega t+\phi)[/tex]
[tex]x(t)=C_{1}cos(\sqrt{\frac{k}{m}}t)+C_{2}sin(\sqrt{\frac{k}{m}}t[/tex]
[tex]A[/tex] and [tex]\phi[/tex] should be treated as constants. I know that this is the differential equation for a harmonic oscillator, but I figured since it's more of how the mathematics behind it work, it belongs in this forum. If the moderator believes it should be moved, then by all means please move it.
The Attempt at a Solution
I have no idea where to start the proof for this. The second solution I wrote can be simply verified from the characteristic equation for the differential equation.
Thanks.
EDIT: I found my error. Oops. I wrote it as r^2 + (k/m)r. Thats what I get for doing math at 3AM, lol.
Last edited: