Simple and Damped Harmonic Motion

From UBC Wiki
PhysicsHelp.png This article is part of the PhysicsHelp Tutoring Wiki


Simple Harmonic Motion

Many simple systems can be approximated or even accurately described by Simple Harmonic Motion. The motion of a pendulum or spring, of waves on the ocean or waves of sound all have similar traits.

Simple harmonic motion refers to motion that can be modeled by the following equation:

which solves the differential equation:

is the position in metres ().

is a constant of proportionality, normally called the spring constant, in kilograms per second squared ().

is the amplitude in metres ().

is the angular frequency in radians per second ().

is the time in seconds ().

is a constant phase shift in radians.

One can show, by differentiating the first equation twice, that .

Note that although is written in radians per second, radians have no physical units, and so just has units of . The if one wants to talk about the revolutions or rotations per second of an oscillation, we usually write and note that since there are radians in one full rotation,

This frequence also has units of , but in this case we call them Hertz, and denote .

Physically, the simple harmonic oscillator represents an object, such as a mass on a spring, moving back and forth from a minimum to a maximum position with neglegible resistance. The minimum and maximum positions correspond to and in the first equation. We can talk about the period of the system, meaning the time it takes an object to start from , move to and then get back to again. We usually denote the period and it is clear from the definitions that:

The constant in our first equation represents the initial state of the system. Given any particular initial position and velocity, we can determine a that will match the objects motion for all . We can see from elementary triginometry that the first equation can be re-written:

Where we have simply .

We can take the derivative of the first expression to find the velocity of the object as a function of time:

One thing to note about these expressions for position and velocity is that when the position is equal to zero, which occurs whenever , where is any integer, the velocity is at a maximum magnitude, either or . This means that the object is moving faster when it is close to the middle of its motion. Correspondingly, when the position is at a maximum or minimum (), which occurs whenever , where is any integer, the velocity is at a minimum magnitude, . Thus the object stops instantaneously as it reaches its maximum and minimum positions.

Calculating Energy

Calculating energy in a simple harmonic spring or pendulum is similar to other energy calculations. Most importantly, the law of conservation of energy is the key to solving such problems.

In the case of an oscillating spring, the maximum energy can be calculated using 1/2 kA^2 (at the point where Amplitude is maximum). This represents the points at which the spring has become deformed (either stretched or compressed) and is storing energy (remember 1/2 kx^2 is energy in a spring and A is the maximum displacement). Alternatively, we can use the maximum velocity (the velocity with the displacement from the equilibrium position is 0) and state that total energy is 1/2mv^2. At times, we need to combine both equations to solve points which are not at maximum amplitude or maximum velocity (i.e. Total Energy = 1/2 kA^2 + 1/2mv^2 for some values of A and v which are not maximum). When you are not given k and/or m, it is still possible to find max amplitude using max velocity and omega!

Calculating phi

Many people often have trouble calculating . Let's assume we have a problem where we have already calculated or were given and . Most problems will tell you, in some way or another, the amplitude at a time . For instance, one might say that the object is released at some maximum amplitude at time . This is a very simple case. We can see immediately from the first equation that if then and so is the solution. It turns out that will also work, and in general if you add any multiple of to you will still have a valid answer. By convention, we usually like to talk about the solutions that is somewhere between and .

One of the most important steps is to identify which function you will be using (i.e. cosine or sine). Drawing out a regular sine or cosine function (and/or a unit circle) can help you estimate what value and what direction the shift needs to be. The drawback with this method is that it is important to be able to draw or derive a snapshot graph for x=0 and t=0 (as well as knowing the direction of the wave). While limited, it can be a powerful indicator of whether or not the actual data supports your answer. Remembering that half a wavelength is equal to pi radians, it is possible to make all answers somewhere between negative and positive pi.

In the more general case, a problem will tell you that at some time , the object is at position of or has a velocity . Here we have to be more careful to find the correct answer. The best approach is to just do lots of examples to get used to the ideas.

Q: Consider a mass on a spring with amplitude and frequency radians per second. If you know that at time the position is , and that the object is moving downwards, then what is ?

A: Look at a graph of the objects position and over time.

A graph of two possible equations with amplitude -3/sqrt(2) at t=0.5; note that the derivatives of each curve differ in sign.

The dashed line is at . Note that given any solution (corresponding to the solid curve), we can find another solution (corresponding to the dotted curve), which passes through the same point at the same time. Since both of these curves pass through the correct point at the correct time, we have to be able to tell them apart. Luckiliy, by some handy properties of triginomotry, the velocity in each of these solutions will always differ in sign, so it is enough to know which direction the object is travelling in to find the correct answer. Thus we can solve our first equation for :

Plug this into the equation for the velocity, and we get:

But this velocity is positive, and we were told that the object is travelling downwards. We need to find the other solution of (remember that it is a multi-valued function) that is within the same period. You may remember from high school trigonometry that we can get another solution to cosine by subtracting the first solution from and solving for .

Plugging this into our equation for velocity as above gives us a result of , which works. Thus our answer is

A very similar type of problem is one where the velocity is specified instead of the position. In this case the problem is solved in the exact same way: We solve the velocity equation to find an initial answer for and check if that corresponds with what we know about the position. If not, we must find another solution to sine, which, again from high school trigonometry, is minus the first solutions. Hence:

Damped Harmonic Motion

In real systems, masses on springs don't continue to oscillate forever at the same amplitude; eventually the oscillations die away and the object stops. This is due to the fact that springs are not very efficient at storing and releasing energy. Much of the energy is disappated as heat due to friction within the spring. In order to better model these kinds of systems we can talk about the damped harmonic oscillator, which is the soltion to the differential equation:

Where we have taken the diffential equation for the simple harmonic oscillator and added a damping term, , where is called the damping constant or drag coefficient. Since this damping term acts in the opposite direction of motion and is proportional to velocity, it causes objects with high vlocity to slow down quickly. We can solve the damped harmonic oscillator equation by using techniques that you will learn if you take a differential equaitons course. The solutions are of the form:

where

and

Observe that is just the frequency of oscillation of a simple harmonic oscillator. Thus we can see that if we add damping to a simple harmonic oscillator, the frequency will change and the amplitude of the oscillations will exponentially decay with time.

Forced / Driven Oscillations

For forced oscillations (also known as driven oscillations) you cannot usually solve the position of the oscillator as a function of time except in steady state without using more advanced techniques with differential equations. What this means is that usually the solution for a given set of initial conditions of a damped oscillator has a complicated intial behaviour, called transients, which are quickly damped away as the system approaches what is called the steady state solution, which is the long-term periodic behaviour of the system.

For example, if we were to take a normal damped mass-on-a-spring system and we were to "drive" it by pushing it back and forth continuously at some particular frequency, i.e.

the solution (the steady state behaviour of the system) would take the form:

is the displacement in meters ().

is the amplitude of the driving force, in Newtons ().

is the frequency of the driving oscillations in radians per seconds ().

is a phase constant in radians.

The most important thing to note from this is that the amplitude is maximum when is a minimum. This occurs when or , that is to say the driving frequency is the same as the natural frequency for a spring system. This idea that maximum amplitude occurs when the system is driven at its natural frequency occurs for all damped driven systems.

Problem Solving

Q On your first trip to Planet X you happen to take along a mass, a long spring, a meter stick, and a stopwatch. You're curious about the free-fall acceleration on Planet X, where ordinary tasks seem easier than on earth, but you can't find this information in your Visitor's Guide. One night you suspend the spring from the ceiling in your room and hang the mass from it. You find that the mass stretches the spring by . You then pull the mass down and release it. With the stopwatch you find that 10 oscillations take . Use this information to solve for the acceleration due to gravity, on Planet X.

A First we use the identity to find the spring constant . is the oscillations per second, and we know that ten oscillations take , so we can solve

and then

We know that when the mass is at rest at (or ) from its initial equilibrium position, the gravitational force balances out the force of the spring, i.e.

With , , we can find the gravity g:

Problem Solving

Q Using a small pendulum of length 0.171 m, a geologist counts 72.0 complete swings in a time of 60.0 s. What is the value of g in this location?

A First calculate the period of the pendulum by dividing the total time by the number of complete swings

T = Time/Number of Oscillations = 60/72 = 0.833s

T = 2(pi)(Root(L/g))

Solve for g = 4 (pi)^2 (L)/ (T^2) = (39.5)(0.171m)/(0.833s)^2 = 9.73 m/s^2


Return to PhysicsHelp