Lagrangian mechanics for two springs

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 11K views
wglmb
Messages
16
Reaction score
0

Homework Statement



A spring of negligible mass and spring constant k, hanging vertically with one end at a fixed point O, supports a mass m, and beneath it as second, identical spring carrying a second, identical mass.
Using a generalised coordinates the vertical displacements x and y of the masses from their positions with the springs unextended, write down the Lagrangian.
Find the position of equilibrium and the normal modes and frequencies of vertical oscillations.

Homework Equations





The Attempt at a Solution



KE: [tex]\frac{1}{2}m(\dot{x}^{2}+\dot{y}^{2})[/tex]
PE: [tex]mg(l+x)+mg(2l+y)+\frac{1}{2}kx^{2}+\frac{1}{2}k(y-x)^{2}[/tex] [tex]=mg(3l+x+y)+kx^{2}+\frac{1}{2}ky^{2}-kxy[/tex]

Lagrangian: [tex]L=\frac{1}{2}m(\dot{x}^{2}+\dot{y}^{2})-mg(3l+x+y)-kx^{2}-\frac{1}{2}ky^{2}+kxy[/tex]

Equations of motion:
[tex]\frac{d}{dt}(\frac{\partial L}{\partial \dot{x}})-\frac{\partial L}{\partial x}=0 \Rightarrow m\ddot{x}+mg+2kx-ky=0[/tex]

[tex]\frac{d}{dt}(\frac{\partial L}{\partial \dot{y}})-\frac{\partial L}{\partial y}=0 \Rightarrow m\ddot{y}+mg+ky-kx=0[/tex]

Know that [tex]B_{ij}\ddot{q}_{j}+A_{ij}q_{j}=0[/tex]

[tex]\Rightarrow B=\left( \begin{array}{cc}<br /> m & 0 \\<br /> 0 & m \end{array} \right), A=\left( \begin{array}{cc}<br /> 2k & -k \\<br /> -k & k \end{array} \right)[/tex]

[tex]B^{-1}A=\left( \begin{array}{cc}<br /> \frac{1}{m} & 0 \\<br /> 0 & \frac{1}{m} \end{array} \right)\left( \begin{array}{cc}<br /> 2k & -k \\<br /> -k & k \end{array} \right)<br /> =\left( \begin{array}{cc}<br /> \frac{2k}{m} & \frac{-k}{m} \\<br /> \frac{-k}{m} & \frac{k}{m} \end{array} \right)[/tex]

Eigenvalues turn out to be:
[tex]\lambda=\frac{k}{2m}(3+\sqrt{5}) and \lambda=\frac{k}{2m}(3-\sqrt{5})[/tex]

This doesn't look very likely to be right.
Then when I work out the eigenvectors, I get (0,0) in both cases...
... where have I gone wrong?
 
Physics news on Phys.org
When you moved the masses down x and y respectively, the strain energies increased as you have indicated, but the gravitational energies also increase?
 
Haven't I got that included in the [tex]mg(3l+x+y)[/tex] part of the PE? This comes from [tex]mg(l+x)+mg(2l+y)[/tex] which is mg times the height of the first particle plus mg times the height of the second.
 
The gravitational potential energy is decreasing with increasing values of x and y, so you need some negative signs.
 
Ah, I see what you mean - of course! I don't have time just now but I'll work that through later and see how I manage :)

Edit:

Hmm, well I still get the same matrices A and B, since they come from the double-dotted terms and the x&y terms. The constant terms (now -mg for both of the equations of motion) aren't used.
I have a feeling those constant terms shouldn't even be there, since none of the examples we've been given have any...
 
Last edited:
It's OK, I've figured it out now. Thanks :)