Simple Harmonic Motion solution problem

Click For Summary
The discussion revolves around the derivation of the solution to the Simple Harmonic Motion (SHM) equation, specifically transitioning from the form x = A_{real} cos(ωt) - A_{im} sin(ωt) to the desired form Bsin(ωt + φ). It is established that values of B and φ can be found using trigonometric identities, allowing for the conversion between these forms. The relationship B cos(φ) = A_{real} and B sin(φ) = A_{im} is highlighted as a key step in this process. The discussion confirms that it is indeed possible to express the original equation in the desired form by factoring and using the identity sin(x + y). The conclusion emphasizes that this method is valid for any values of A_{real} and A_{im}.
Matuku
Messages
12
Reaction score
0
I've been going through and proving to myself that the solution to the SHM equation is correct; at A level we were just told what it was but never really shown why.

I've gone through the problem as a standard 2nd Order ODE (with complex roots of course) and ended up at:

x = A_{real} cos(\omega t) - A_{im} sin(\omega t)

But the form I want (as the one were were given) is Bsin(\omega t + \phi)

http://mathworld.wolfram.com/SimpleHarmonicMotion.html seems to imply that you can get:
B cos(\phi) = A_{real}
B sin(\phi) = A_{im}

Which then allows use of a trigonometric identity to get it to cos (still not quite what I want but you can just put an extra pi/2 into the phi and make it sin). Is this always the case? Can you always find values of B and \phi which will allow this?
 
Physics news on Phys.org
Matuku said:
I've been going through and proving to myself that the solution to the SHM equation is correct; at A level we were just told what it was but never really shown why.

I've gone through the problem as a standard 2nd Order ODE (with complex roots of course) and ended up at:

x = A_{real} cos(\omega t) - A_{im} sin(\omega t)

But the form I want (as the one were were given) is Bsin(\omega t + \phi)

http://mathworld.wolfram.com/SimpleHarmonicMotion.html seems to imply that you can get:
B cos(\phi) = A_{real}
B sin(\phi) = A_{im}

Which then allows use of a trigonometric identity to get it to cos (still not quite what I want but you can just put an extra pi/2 into the phi and make it sin). Is this always the case? Can you always find values of B and \phi which will allow this?
sin(x+ y)= sin(x)cos(y)+ cos(x)sin(y) is the trigonometric identity you refer to. Of course, we must have sin^2(x)+ cos^2(x)= 1 but what you can do is this:<br /> <br /> Given A_{real} cos(\omega t)+ A_{imag}sin(\omega t), if \sqrt{A^2_{real}+ A^2_{imag}}\ne 1, factor that out:<br /> \sqrt{A^2_{real}+ B^2_{imag}}\left(\frac{A_{real}}{\sqrt{A^2_{real}+ B^2_{imag}}}cos(\omega t)+ \frac{A_{imag}}{\sqrt{A^2_{real}+ B^2_{imag}}}sin(\omega t)\right).<br /> <br /> And, now, because \left(\frac{A_{real}}{\sqrt{A^2_{real}+ B^2_{imag}}}\right)^2+ \frac{A_{imag}}{\frac{A_{real}}{\sqrt{A^2_{real}+ B^2_{imag}}}}= 1, we <b>can</b> find \phi such that cos(\phi)= \frac{A_{real}}{\frac{A_{real}}{\sqrt{A^2_{real}+ B^2_{imag}}}} and sin(\phi)= \frac{A_{imag}}{\frac{A_{real}}{\sqrt{A^2_{real}+ B^2_{imag}}}} and thus, <br /> A_{real}cos(\omega t)+ A_{imag}sin(\omega t)=\sqrt{A^2_{real}+ A^2_{imag}}\left( sin(\phi)cos(\omega t)+ cos(\phi)sin(\omega t)\right)= \sqrt{A^2_{real}+ A^2_{imag}}sin(\omega t+ \phi)
 
Last edited by a moderator:
Ah, that brings back memories from A level actually; let me see if I've got this right.

Let,
\]<br /> Acos(\theta) + Bsin(\theta) = Rsin(\theta + \phi)\\ <br /> \therefore Acos(\theta) + Bsin(\theta)=Rcos(\theta)sin(\phi) + Rsin(\theta)cos(\phi)\\ <br /> \therefore A = Rsin(\phi), B= Rcos(\phi)\\ <br /> \therefore R = sqrt{A^2 + B^2}, \phi=arctan(A/B)\\ <br /> \[
 
Last edited:

Similar threads

  • · Replies 51 ·
2
Replies
51
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
16
Views
2K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
9
Views
2K