APPM 2360 - Lab 3
The Pendulum

Lab Goals and Instructions

In this lab we will investigate the motion of a pendulum.  We will consider damped and undamped, linear and non-linear models; in particular, the similarities and differences between them.  We will also be introduced to the notion of solutions in phase space.  These solutions will be interpreted and related to their physical properties.  There are topics at the end of the lab which need to be addressed in the lab write-up.

Follow these guidelines (points may be deducted for non-compliance):


Each group is required to turn in one lab report in class on Friday, 25 April, 2008. Late labs will NOT be accepted under any circumstances. You are also required to submit your lab to AMESS. Failure to do so will result in a zero for the lab.

Model

We wish to study the motion of an ideal pendulum.  The derivation of the equations of motion is given here:

Note that there are two cases being considered in this model.

1. The pendulum hangs from a nail and can swing all the way around; in a complete circle.
2. The pendulum hangs from a ceiling; the swinging is restricted, i.e. the pendulum can't swing up through the ceiling!

Read through the derivation to get an idea of the model; we will be working with the following equation (stated in the derivation):

  

Now let u = θ giving us the following system:

Let L = 0.5, m = 1, g = 9.8 and b = 0 (so we will consider the undamped model for most of the lab). All units in S.I. Note the notation

The first step in understanding this model is to consider the phase-plane portrait for (2); the set of variables (u, v) is called the phase plane.  If b = 0, the vector field is a plot of u' versus u[Graphics:Images/index_gr_7.gif] (or v versus u in the notation of (2)), namely (v,-(g/l)sin u).

We can create phase-plane portraits using the Mathematics Visualization Tool (MVT) or by using Mathematica, Matlab, or Maple. The input will look similar to (2). The slope field is a plot of vectors that determines the path of the curves. Take -4π < u < 4π, and -10 < v < 10 which offers a good start for viewing the vector field and phase portraits.  These inequalities can be tweaked once we gain a better understanding of the plots.

Linearized Model

Although we can extract a fair amount of information from the equation using phase planes (1), the sine term still makes the equation a little unwieldy.  In general, non-linear equations yield little useful analytic information without a sizable amount of effort.  For this reason, we want to find a linear equation which approximates equation (1).

Using Taylor's theorem, we can rewrite the sine term in equation (1) as a series expanded about the lower equilibrium point.  Recall Taylor's theorem, in this case, states that

We can then obtain an approximation to equation (1), under certain conditions to be determined later, by truncating this series. 

Questions and Issues to Address:

  1. Classify (1) and interpret each term of the model (e.g. linear? homogeneous? order? autonomous?)
  2. Your report should give a description of the physical configuration, defining the important terms.  However, you do not need to give details of the derivation of equation (1).  An appropriate place for this description is in the introduction.
  3. From the physical configuration, θ = θ0 is the same point as θ = 0. Why?  The previous statement is not valid for v = dθ/dt, why not?
  4. Produce a phase portrait for (2).  Overlay some solution curves on to this vector field.
  5. Find the equilibria of (2) analytically (by hand) and identify (draw) them on the phase portrait.  Where do these equilibria occur physically? Make sure this explanation is in layman's terms.
  6. On the phase portrait, identify the distinct types of trajectories and interpret these different behaviors in terms of the physical motion of the pendulum.  Take care to consider those that, while technically possible, are unlikely to be observed physically. 
  7. Notice that the notion of time is absent in the phase-plane portrait.  However, while there are some trajectories that can take only a short time, there are others that can take infinite time!  For example, it can be shown (although not easily...you do not need to verify this fact) that, in the case of the pendulum nailed to the wall, equation (1) is satisfied by: 
     

    Create a plot of this solution and describe the motion of this trajectory.  (Think about the behavior of this curve as time is extended from -∞ to +∞?  The curve has two asymptotes: θ = π and θ = .  What do they indicate?  Note where these points are located on your phase portrait!)
  8. Include the following derivation of the energy formula in the body of your lab; other calculations are to be included in an appendix.  Now that we have some idea of how our model behaves, we will do some analysis to verify the geometric (qualitative) results.  Write the model as 
     

    Multiply this equation by the velocity dθ/dt and notice that both terms can be rewritten as expressions like a total derivative.  By integrating the (total) derivatives, obtain the result


    where c is some constant.  Show that, by an appropriate choice of the constant of integration c, we may rewrite this result as:
     

    where C2 is a new constant.  (Note: The first term in this equation is an expression for the kinetic energy of the pendulum.  The second term is an expression for the potential energy of the pendulum.  Hence (3) is the "total energy" of the pendulum.)

  9. Equation (3) makes a statement about the total energy of the system.  What is that statement?  (Keep θ = π)
  10. Write the Taylor series expansion for the sine term in equation (1).  Approximate equation (1) by truncating the series after the first term to obtain a very simple approximation.  Under what conditions should this simplified equation give a good approximation to equation (1)?
  11. Solve this new equation with the initial conditions 

  1. Now solve this equation performing a reduction of order, deriving the equation,

 

along the way.  Solve for θ as a function of t.  Your solution will probably appear in a different form than that obtained by the characteristic equation method; show that the two solutions are equivalent.

  1. Create a phase portrait of the linear equation that you derived in number 11. What are the similarities and differences between the phase portrait in number 4 and the phase portrait for equation (1)?
  2. Above, you found conditions for the linearized equation that give an approximation to equation (1).  Explain why the two phase portraits, under consideration, agree under these conditions.
  3. We have been considering the somewhat unrealistic situation where there is no damping on the pendulum's movement.  In other words, we set b = 0.  Produce a phase-plane portrait as well as solution curves for the damped (non-linear) pendulum with b = 0.7 and b = 1.2.  Do not overlay these plots.  Describe the results of each case.
  4. Briefly comment on the similarities and differences between the damped non-linear case and the undamped non-linear case.
  5. What are the shortcomings of the model?  In what ways can the model be improved?

NonLinear Model
 

  1. We will now walk through the steps required to solve the nonlinear model. Refer back to step 9, where we had, after shuffling constants:

    Multiply through by dθ/dt and integrate with respect to t, arriving at:

    How would you solve for the constant? Why do you need more than just θ(0) to obtain a value for the constant?

  2. Suppose that you have solved for the constant, using the method that you just described, and that its value is α. Using this notation, separation of variables, and the equation above, show that the solution is:
     

    What is the physical interpretation for T in this equation?
  3. For extra credit, create plots of this equation's behavior and discuss its similarities and differences with the linearized model.

Interesting links
Mathematical Visualization Toolkit.  This link is where you can find all the necessary mathematical tools needed for this lab.

Equation Generator. The equations that you see in this lab were generated by the equation editor at soft4science.com. It uses simple TeX code, and can be used to generate pretty equations as needed for your lab report. Just put in the equation, then right-click & save the image to use as you see fit. Images are in .jpeg format.

This lab was created by Matt Tearle in February 1999.  It was updated by Keith Wojciechowski in October 2001, and again by Dan Larremore in February, 2008.