Thursday, 17 November 2016

ordinary differential equations - Sine/Cosine Subtraction Formulas

The differential equation d2ydt2+ω2y=0 has the general solution y=Acos(ωt)+Bsin(ωt). Also given are the initial values: y(a)=A,y(a)=B.



I tried:



y(a)=Acos(ωa)+Bsin(ωa)=A



y(a)=ωAsin(ωa)+ωBcos(ωa)=B




And then substituted A and B into the general solution:



y = (A\cos(\omega a) + B\sin(\omega a))\cosωt + \omega (−A\sin(\omega a) + B\cos(\omega a))\sin(\omega t)



From here I can't get it to work. I want to simplify and express y with the subtraction formulas.
The answer is y = A\cos(\omega (t−a)) + \frac{B}{\omega}\sin(\omega (t−a))



I know how the formulas work, But I can't figure out how \frac{B}{\omega} got there.
Please help, I'm stuck.

No comments:

Post a Comment

real analysis - How to find lim_{hrightarrow 0}frac{sin(ha)}{h}

How to find \lim_{h\rightarrow 0}\frac{\sin(ha)}{h} without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...