Simple way to derive the equation of simple harmonic motion
Why this exists
In the physics lecture I attended in my university, the professor said
he would begin from the necessary condition
for simple harmonic motion and solve the differential equation, giving
us
. His approach was fine, but there were some things missing in his
solution that left me unsatified::
-
He solved it assuming that, for
, meaning he solved a special case and didn't get a general solution.
-
He did say that he chose the constant
so that it doesn't violate the previous equation, but he didn't go
that much in depth.
-
He more-or-less said that the ±s which we will see later cancelled
out, but he didn't go that much in depth.
-
There was a point where the same cosine is at both sides of an
equation and he cancelled them out, but didn't justify why that's
fine, considering that these cosines might as well be equal to zero
Truth be told, I am studying engineering, and a couple of my professors
have told my class that we don't have to prove things as rigously as
mathematicians; this is their job, not our.
Nevertheless, here is my attempt at covering these gaps. I did use
mathematical concepts I don't quite understand (or have properly
learned) in some points, but overall, even if this isn't an accepted
solution, it should be good enough to show someone why the
solution to the equation is what it is.
And yes, this is more-or-less an excuse to mess with
.
Solution
Let there be a body moving along the x-axis, such that for
,
, and
, and upon which the total force exerted is:
And since
:
We substitute
, and by differentiating we get
.
Then, (2) becomes:
To continue further, we need to set
so that we can write that square root in
the form
:
Comparing both sides gives:
We will pick
such that it is positive, so we get:
Equation (3) becomes:
Since we picked
to be positive, and with
, this simplifies to:
For
, we get:
Since
almost everywhere, we can integrate per Lebesgue (or at least so I
think. If you think I am wrong, contact me):
However, the term in from of
simplifies to:
And we get:
Comparing this with the standard form of the simple harmonic motion
equation:
We get that:
Note
We have solved for the case where for
, the body is at equilibrium (). If that wasn't the case and the point of equilibrium was at another
point for
, we could either change our point of reference so that
, or solve the whole equation again for that case.
Either way, the solution would be: