How to Solve the Classical Harmonic Oscillator

In physics, the harmonic oscillator is a system that experiences a restoring force proportional to the displacement from equilibrium Harmonic oscillators are ubiquitous in physics and engineering, and so the analysis of a straightforward oscillating system such as a mass on a spring gives insights into harmonic motion in more complicated and nonintuitive systems, such as those encountered in quantum mechanics and electrodynamics.

In this article, we deal with two cases of classical harmonic motion: the simple harmonic oscillator, where the only force present is the restoring force; and the damped harmonic oscillator, where a velocity-dependent frictional force is also present. It is recommended that you review the methods on solving homogeneous linear constant coefficient differential equations before proceeding.

Part 1
Part 1 of 2:

Simple Harmonic Oscillator

  1. 1
    Find the equation of motion for an object attached to a Hookean spring. This object is resting on a frictionless floor, and the spring follows Hooke's law
    • Newton's second law says that the magnitude of a force is proportional to the object's acceleration When the spring is being pulled to an excited state, i.e. out of equilibrium, the object experiences a restoring force that tends to bring it back to equilibrium. At the instant the spring reaches its equilibrium point, however, the object is traveling at its greatest speed. The spring therefore undergoes an oscillatory motion, and because we assume the floor is frictionless (no damping), it exhibits simple harmonic motion.
    • Newton's law only indirectly relates the position of an object to the force acting on it through a second derivative, because
    • When dealing with time derivatives, physicists often use Newton's notation for derivatives, where the number of dots corresponds to the number of time derivatives. For example,
  2. 2
    Set up the differential equation for simple harmonic motion. The equation is a second order linear differential equation with constant coefficients. In our system, the forces acting perpendicular to the direction of motion of the object (the weight of the object and the corresponding normal force) cancel out. Therefore, the only force acting on the object when the spring is excited is the restoring force. This means that we equate the two together to obtain
    Advertisement
  3. 3
    Rewrite acceleration in terms of position and rearrange terms to set the equation to 0.
  4. 4
    Solve for the equation of motion.
    • Set up the characteristic equation.
    • Find the roots of the characteristic equation.
    • Then, the solution to the differential equation is as follows.
  5. 5
    Simplify. While the above expression is true, it is a bit bulky when the solution is written in terms of two trigonometric functions.
    • First, we recognize that the square root is the angular frequency of the system, so we can label like so.
    • This means that the differential equation can be rewritten in terms of the angular frequency.
    • Below, is the amplitude of oscillation, and is the phase factor, both dependent on initial conditions. See this article for details on how to rewrite the solution in terms of a phase factor.
    Advertisement
Part 2
Part 2 of 2:

Damped Harmonic Oscillator

  1. 1
    Incorporate a velocity-dependent friction force. In a system describing a damped harmonic oscillator, there exists an additional velocity-dependent force whose direction is opposite that of motion. This force can be written as where is an experimentally determined constant. With this additional force, force analysis gives
  2. 2
    Rewrite acceleration and velocity in terms of position and rearrange terms to set the equation to 0.
    • This is still a second-order linear constant coefficient equation, so we use the usual methods.
  3. 3
    Solve for the equation of motion.
    • Set up the characteristic equation.
    • Solve the characteristic equation. Use the quadratic formula.
    • Therefore, the general solution to the differential equation of damped harmonic oscillation is as follows, where we factor out a
  4. 4
    Go through the three cases. The three cases depend on the value of the value in the exponent, which in turn depends on the discriminant
      • When the discriminant is positive, then the solution is simply a sum of two decreasing exponential functions. This is called an overdamped system. Because this does not describe a harmonic oscillator, we are not interested in this case.
      • When the discriminant is 0, then the solution is a decreasing exponential function This is called a critically damped system. A mass on a spring in a critically damped system returns to equilibrium as quickly as possible and does not oscillate, so we are also not interested in this case.
      • When the discriminant is negative, then the solution involves imaginary exponents. This is called an underdamped system, and the mass oscillates.
  5. 5
    Simplify. Since in the underdamped case, the roots are complex numbers, we can use Euler's formula to write the solution in terms of sines and cosines. Note the sign change in the square root.
  6. 6
    Rewrite the solution in terms of the decay time and damped angular frequency .
    • The decay time is the amount of time it takes for the amplitude of the system to decay to of the initial amplitude.
    • The damped angular frequency relates to both the angular frequency (of a corresponding undamped oscillator) and decay time in the following manner, where we bring the inside the square root.
    • From previous results, we can therefore write the equation of motion of a damped harmonic oscillator as the following, where is the initial amplitude and is the phase factor, both dependent on initial conditions.
    • We can see here that the equation of motion describes an oscillating system, whose envelope is a decreasing exponential function. The rate at which the function decreases and the frequency at which it oscillates are all dependent on the parameters of the system and must be experimentally determined.
    Advertisement


Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

      Advertisement

      About this article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 14,959 times.
      7 votes - 86%
      Co-authors: 5
      Updated: December 23, 2017
      Views: 14,959
      Thanks to all authors for creating a page that has been read 14,959 times.

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement