An alternative form for the solution of a simple harmonic oscillator caused some short-lived confusion and consternation. Resolving the conflict turned out to be fairly straightforward.
While looking at some calculations recently, I stumbled across this as the general solution of a simple harmonic oscillator:
I was a bit confused because Iβd only ever seen the solution presented as1
where is the displacement from the origin, is the amplitude, is the angular velocity, is time, and a phase shift.
I remember thinking βHΓ€?2 Is that right?β It turns out it is, and that the two forms are equivalent, but it wasnβt directly apparent. I certainly wasnβt familiar with the first form.
Iβm guessing some people will probably look at those equations and my comment and think βduuhhhh!β, or βno shit, Sherlock!β. Well, it wasnβt obvious to me, nor was it obvious to the two other physicists with PhDs who were in the room at the time. Anyway, I thought Iβd write this up so that it might help someone else. Iβm hoping it will also help solidify my own knowledge.
Letβs see how the two forms are equivalent.
Fix up the notation
Usually, weβre used to seeing the parameter as βamplitudeβ. This certainly makes sense in the form containing the explicit phase shift (Equation (2)). However, thatβs not the case in the first form (Equation (1)), which doesnβt include an explicit phase shift.
To be able to equate these two forms, we need to change the notation, so that weβre not using one symbol for two concepts. Hence, letβs replace in Equation (2) with to get
Weβre now in a position to see if we can write and in terms of and from Equation (1).
Trig identities to the rescue
The first thing to identify is that one can write the sine of a sum of angles (as we have in Equation (3)) as the sum of products of sine and cosine of the angles. In other words, we use the identity
to reformulate Equation (3) as
Collecting terms in to the right, we have
Since and are not dependent on , the factors
are constants, hence we can see that Equation (\ref{eq:collected-terms}) has the same form as Equation (1), where
In other words, the two forms of the simple harmonic oscillator solution are equivalent.
Writing one in terms of the other
The question now becomes: how can we write and in terms of and ? If we sum the squares of and , we have
How, then, is related to and ? Again, we use the relations
but this time we divide by :
Rewriting Equation (3) in terms of and , we have the equivalence of the two forms of the general solution of the simple harmonic oscillator:
Summing up
Thus, in terms of the and parameters from Equation (1), we find that the amplitude in Equation (3) is
and the phase shift is given by
So thatβs it! The two forms are equivalent. Hopefully, the next time I see the solution written as a sum of sines and cosines, I wonβt be as surprised.3
Note that the appearing in each of the above equations are not the same. β©
βHΓ€β is a very compact expression in German evoking a sense of deep bewilderment. It can be roughly translated into English as βI am exceedingly confused by that which you have just told meβ. So much for German always using really long wordsβ¦ β©
I later found a similar formulation on the Wikipedia page for simple harmonic motion. β©
Top comments (0)