Oscillatory Motion
The harmonic oscillator
We know that simple oscillatory motion is described by a general quadratic potential of the form where is a “force constant”. In a spring, this is a measure of the stiffness of the spring. In a pendulum, it is given by where is the mass of the particle and its length. From this potential we can extract the force and the equation of motion can be written as where the quantity is defined by The dynamical motion described by these equations is called “simple harmonic motion” and can be solved analytically: where is the amplitude of th oscillations and is a phase that depends on the initial conditions.
We can now define a period such as Since corresponds to one cycle, we obtain The frequency is the number of cycles per unit of time and is given by . Note that the period of the motion depends on the ratio and is completely independent of the initial conditions.
Exercise 3.1: Energy conservation
In Exercise 1.6 we wrote program to simulate simple harmonic motion. Now use the program to calculate the relative change in the total energy during one cycle . Is the function uniformly small during the cycle? Choose , , and Compare using Euler’s method, 2nd. order Runge-Kutta, and Verlet's algorithm.
Plot position and velocity as a function of the time .
Compute the amplitude for the initial conditions , , and , ; choose in both cases. What quantity determines the value of ?.
Compute the average value of the kinetic energy and the potential energy during a complete cycle. Is there a relation between the two averages?
Plot the path of the oscillator in phase space . Set and use different initial conditions . Do you find different paths for each of them? What physical quantity distinguishes or characterizes each path? What is the shape of the phase paths? Is the motion of a representative point always in the clockwise or counterclockwise direction?
Challenge 3:1
Modify the code for Exercise 1.6 to solve Exercise 3.1
Exercise 3.2: Large oscillations
The pendulum responds to the equation of motion for simple harmonic motion only in the limit of small angles. In the case of large oscillations, the equation has to be modified becoming
The energy of the pendulum is then given by
Modify your program to simulate large amplitude oscillations in a pendulum. Set and choose so that the numerical solution is stable, i.e. it does no diverge with time from the “true” solution. Check the stability by calculating the total energy and ensuring that it does not drift from its initial value.
Set and make plots of and for the initial conditions , 0.2, 0.4, 0.8, 1.0. Describe the qualitative behavior of and . What is the period and the maximum amplitude in each case? Plot versus and discuss the qualitative dependence of the period on the amplitude. How do the results compare in the linear and non-linear cases, e.g. which period is larger? Explain the relative values of in physical terms.
Challenge 3.2:
Modify the code and solve Exercise 3.2
Exercise 3.3: Damped oscillations
If a drag force is included in the problem, the equation of motion becomes: where the “damping coefficient” gamma is a measure of the friction. Note that the drag force opposes the motion.
Incorporate the effects of damping in your program and plot the time dependece of position and velocity. Make runs for , , , and .
Compare the period and angular frequency to the undamped case. Is the period longer or shorter? Make additional runs for . Does the frequency increase or decrease with greater damping?
Define the amplitude as the maximum value of in one cycle. Compute the “relaxation time” , the time it takes for the amplitude to change from its maximum to of its maximum value. To do this, plot the maximum amplitud of each cycle, and fit it with an exponential of the form . Compute for each of the values of used in the previous item and discuss the qualitative dependence of with .
Plot the total energy as a function of time for the values of considered previously. If the decrease of the energy is not monotonic, explain the cause of the time-dependence.
Compute the average value of the kinetic energy, potential energy, and total energy over a complete cycle. Plot these averages as a function of the number of cycles. Due to the presence of damping, these averages decrease with time. Is the decrease uniform?
Compute the time-dependence of and for . Is the motion oscillatory for all ? Consider a condition for equilibrium ; how quickly does decay to equilibrium? For fixed , the oscillator is said to be “critically damped” at the smallest values of for which the decay to equilibrium is monotonic. For what value of does critical damping occur for and ? For each value of compute the value of for which the system approaches equilibrium more quickly.
Construct the phase space diagram for cases and , 2, 4, 6, 8. Area the qualitative features of the paths independent of ? If not, discuss the qualitative differences.
Challenge 3.3:
Modify the code and solve Exercise 3.3
Exercise 3.4: Linear response to external forces
How can we determine the period of a pendulum that is not already in motion? The obvious way is to disturb the system, for instance, applying a small displacement and observe the resulting motion. We will finr that the “response” of a system is actually an intrinsic property of the system and can tell us about its nature in the absence of perturbations.
Consider a damped linear oscillator with an external force It is customary to interpret the reponse of the system in terms of the displacement . The time dependence in is arbitrary. A particular case is when the force is harmonic: where is the angular frequency of the driving force.
Modify your program so that an external force of the form ([driving force]) is included. Set , , and (we’ll use these values for the rest of the exercise). These values correspond to a lightly damped oscillator. Plot versus for the initial conditions . How does the qualitative behavior differ from the unperturbed case? What is the period and angular frequency of after several oscillations? Obtain a similar plot with . What is the period and angular frequency after several oscillations? Does approach a limiting behavior that is independent of the initial conditions? Identify a “transient” part of which depends on the initial conditions and decays in time, and a “steady state” part which dominates at longer times and which is independent of the initial conditions.
Compute for and . What is the period and angular frequency of the steady state in each case?
Compute for . What is the angular frequency of the steady state motion? On the basis of these results, explain which parameters determine the frequency of the steady state behavior.
Verify that the steady state behavior is given by where is the phase difference between the applied force and the steady state motion. Compute for ,, , , , , , , , , . Repeat the computation for and plot versus for the two values of . Discuss the qualitative dependence of in the two cases.
Exercise 3.5: Resonance
The long term behavior of the driven harmonic oscillator depends on the frequency of the driving force. One measure of this behavior is the maximum of the steady state displacement .
Adopt the initial condition . Compute for , , , , , , , , , with and . Plot versus and describe its qualitative behavior. If has a maximum, determine the “resonance angular frequency” , which is the frequency at the maximum of . Is the value of close to the natural angular frequency ?
Compute , the value of the amplitude at , and the ratio , where is the “width” of the resonance. Define as the frequency interval between points on the amplitude curve which are . Set and consider , 0.5, 1.0, 2.0. Describe the qualitative dependence of and on . The quantity is proportional to , where is the “quality factor” of the oscillator.
Decribe the qualitative behavior of the steady state amplitude near and . Why is for small ? Why does for ?