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=(Acos(ωa)+Bsin(ωa))cosωt+ω(Asin(ωa)+Bcos(ωa))sin(ω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=Acos(ω(ta))+Bωsin(ω(ta))



I know how the formulas work, But I can't figure out how Bω got there.
Please help, I'm stuck.

No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

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