1. The problem statement, all variables and given/known data
A spring of rest length [tex]L_0[/tex] (no tension) is connected to a support at one end and has a mass [tex]M[/tex] attached at the other. Neglect the mass of the spring, the dimension of the mass [tex]M[/tex], and assume that the motion is confined to a vertical plane. Also, assume that the spring only stretches without bending but it can swing in the plane.
(a) Using the angular displacement of the mass from the vertical and the length that the spring has stretched from its rest length (hanging with the mass [tex]M[/tex]), solve Lagrange's equations for small stretching and angular displacement.
(b) Solve Lagrange's equations to the next order in both stretching and angular displacement. This is still amenable to hand calculations. Using some reasonable assumptions about the spring constant, the mass, and the rest length, discuss the motion. Is resonance likely under the assumptions stated?
2. Relevant equations
Formula for the Lagrangian; EulerLagrange equations.
3. The attempt at a solution
The Lagrangian is:
[tex]\mathcal{L} = T  V = \frac{M}{2}(\dot{r}^2 + r^2\dot{\phi}^2)  (\frac{k}{2} x^2  Mgr\cos\phi)[/tex]
where [tex]r = L_0 + x[/tex] (i.e. [tex]r[/tex] is the stretched length of the spring, and [tex]x[/tex] is the deviation from the rest length). [tex]\phi[/tex] is the angular displacement where zero is hanging straight down.
The EulerLagrange equations in [tex]x[/tex] and [tex]\phi[/tex] are:
[tex]\frac{\partial \mathcal{L}}{\partial x}  \frac{\mathrm{d}}{\mathrm{d}t} \left(\frac{\partial \mathcal{L}}{\partial \dot{x}}\right) = M(L_0 + x)\dot{\phi}^2  (kx  Mg\cos\phi)  M\ddot{x} = 0[/tex]
[tex]\frac{\partial \mathcal{L}}{\partial \phi}  \frac{\mathrm{d}}{\mathrm{d}t} \left(\frac{\partial \mathcal{L}}{\partial \dot{\phi}}\right) =  Mg(L_0 + x)\sin\phi  M((L_0 + x)^2\ddot{\phi} + 2(L_0 + x)\dot{x}\dot{\phi}) = 0[/tex]
My guess at approximating for small angular displacements is to set [tex]\sin\phi = \phi[/tex] and [tex]\cos\phi = 1[/tex], but I don't know whether this should be before or after differentiating the Lagrangian, and I don't know the right way to approximate for small stretching.
