Interactive · 4 questions
As a quick review, a harmonic oscillator is a system that, when displaced from equilibrium, experiences a restoring force proportional to the displacement.
Written algebraically, where is the force vector, is the displacement vector, and is a positive constant.
Suppose that we have a harmonic oscillator, and attached to this oscillator is a mass .
How can we use the above to understand the object's motion?
Unfortunately (or perhaps fortunately), we will have to use calculus to understand the motion of the oscillator.
Using Newton's Second Law of Motion, where is the acceleration.
But wait! We know in terms of ! What is it?
We know that the acceleration is the second-order derivative of position with respect to time.
Using the definition of a harmonic oscillator above, we can set up the following:
This form of differential equation should bring up a certain class of functions to mind...
Exponential functions should come to mind! Note that in an exponential function, the rate of change is proportional to the value of the function. We will try to use this to solve our differential equation.
Suppose that we have an exponential function . Let us differentiate this function: Sure enough, if we let , then we have: Now, we just replace our coefficient with , and we're done! Wait a second:
The right side is a negative number, and perfect squares cannot be negative. So what do we do?
The right way to go is to broaden our perspective and include complex numbers into our discussion. Now, the equation we must solve is very easy: Now, we use the famous Euler's identity, which states that . Then we get the following: Now, we only care about the real part of for our oscillation, although the complex numbers did provide us with a neat mathematical maneuver: Using the fact that the cosine function is even, we have our answer: Thus, we have beautifully found the relation of position and time for a harmonic oscillator.