Lagrange method problem: Multiple Spring-Mass System

In summary, the Lagrange method problem for a multiple spring-mass system involves analyzing the dynamics of interconnected masses and springs using the principles of Lagrangian mechanics. The system is described by its kinetic and potential energy, and the equations of motion are derived from the Lagrangian, which is the difference between kinetic and potential energy. By applying the Euler-Lagrange equations, one can obtain the equations governing the motion of the masses, taking into account constraints and interactions between the springs. This method provides a systematic approach to solving complex mechanical systems with multiple degrees of freedom.
  • #1
Motorbiker
34
1
Thread moved from the technical forums to the schoolwork forums
Homework Statement
Derive the equations of motion using lagrange method
Relevant Equations
##V_sys=V_(g,sys) +V_(e,sys)##

Lagrangian## L=T_(sys)-V_(sys)##
4
lagrange method question.png


I am working on problem c and I'm not sure if I'm doing it right, please can you help me understand if I am on the right lines? I want to get a better understanding of lagrange method problems
Here is my working:

I have labelled ##k_1,k_2,k_3,k_4, k_5## left to right

Generalised coordinates:
##q_1=x1##
##q_2=x_2##
##q_3=x_3##
Generalised forces:

##Q_1= F_1cos \omega t##

##Q_2F_2 = cos \
omega t##

##Q_3 = F_3cos \omega t##

Energies
$$V_e,sys=0.5(k_1x_1^2) + 0.5k_2(x_2-x_1)^2 + 0.5k_3(x_1-x_3)^2 +0.5k_4(-x_3)^2 +0.5k_5(x_3)^2$$

Then you do Lagrangian $$L= T_(sys)-V_(sys)$$
 
Last edited:
Physics news on Phys.org
  • #2
Motorbiker said:
I have labelled k1,k2,k3,k4,k5 left to right
The figure says k1=k2=k4=k5=k. k3=5k.

Motorbiker said:
Generalised coordinates:
We need wall to wall distance, say L and natural length of the springs which are L/4 and L/2 for thin m bodies though they are not clearly shown in the problem statement.
 
  • Like
Likes berkeman
  • #3
anuttarasammyak said:
The figure says k1=k2=k4=k5=k. k3=5k.


We need wall to wall distance, say L and natural length of the springs which are L/4 and L/2 for thin m bodies though they are not clearly shown in the problem statement.
We don't need values for the distance or length of the spring to determine the equation of motion.
 
  • #4
The figure you posted shows 4 springs with value k and one spring with value 5k.
 
  • #5
Motorbiker said:
We don't need values for the distance or length of the spring to determine the equation of motion.
Your k1 and k5 springs are fixed on the walls. Coordinates of the walls are necessary to calculate their force and potential energy. Say they are 0 and L,
0<x1<x2<x3<L.

Say L-x3-natural length of k5 spring is positive, pull , and is negative, push.
 
Last edited:
  • Informative
Likes berkeman
  • #6
anuttarasammyak said:
Your k1 and k5 springs are fixed on the walls. Coordinates of the walls are necessary to calculate their force and potential energy. Say they are 0 and L,
0<x1<x2<x3<L.

Say L-x3-natural length of k5 spring is positive, pull , and is negative, push.
Okay thank you, how would this impact upon the lagrange equations, please could you show me?
 
  • #7
Motorbiker said:
Okay thank you, how would this impact upon the lagrange equations, please could you show me?
Since this is a schoolwork-type thread, you need to do your best to show us your efforts on this. Can you show us your attempt at writing the Lagrangian for this setup based on the hints given so far?
 
  • #8
berkeman said:
The figure you posted shows 4 springs with value k and one spring with value 5k.
Okay so when doing calculations ##k_3## would just be written as ##5*k_3##?

Also can you please help correct the line in the OP for the generalised forces? I am new to latex and struggled to fix the line.
 
Last edited:
  • #9
berkeman said:
Since this is a schoolwork-type thread, you need to do your best to show us your efforts on this. Can you show us your attempt at writing the Lagrangian for this setup based on the hints given so far?
I have attached my work on this problem so far.

Let me know if it looks correct. @anuttarasammyak
58026AA8-488B-4FA2-9EF5-68B89E77E3D4.jpeg
 

Attachments

  • CB47FF6F-03A3-4B6F-B5AB-414D2539C85F.jpeg
    CB47FF6F-03A3-4B6F-B5AB-414D2539C85F.jpeg
    42 KB · Views: 39
Last edited:
  • #10
Have you incorporated my comment post #2 in your note ?
 
  • #11
anuttarasammyak said:
Have you incorporated my comment post #2 in your note ?
Yes I have incorporated your comment. What am I doing wrong?
 
  • #12
Thanks. Be careful of k's. Let me know how you define your x1,x2,x3 in your Lagrangian. From where they are measured ? After correction of k's your Lagrangian will be all right with that definition.
 
Last edited:
  • #13
anuttarasammyak said:
Thanks. Be careful of k's. Let me know how you define your x1,x2,x3 in your Lagrangian. From where they are measured ? After correction of k's your Lagrangian will be all right with that definition.

I'm not sure how to define the x1,x2,x3, usually the x is placed above the respective rigid body-so x1 on top of m1 and so on.And the arrow would be pointing to the right matching the arrow on the force.

So would this method be suitable in this problem?I understand that all k's except for k3 are equal however they are still denoted with the relevant subscript right?
 
Last edited:
  • #14
Motorbiker said:
So would this method be suitable in this problem?I understand that all k's except for k3 are equal however they are still denoted with the relevant subscript right?
Why don't you use values of spring constants instead of their names?

1718862723319.png

Motorbiker said:
I'm not sure how to define the x1,x2,x3, usually the x is placed above the respective rigid body-so x1 on top of m1 and so on.And the arrow would be pointing to the right matching the arrow on the force.
Tell me your guess, when the system is in equillibrium, no vibration, how much are ##x_1,x_2,x_3## ?
 
  • #15
anuttarasammyak said:
Why don't you use values of spring constants instead of their names?

View attachment 347170

Tell me your guess, when the system is in equillibrium, no vibration, how much are ##x_1,x_2,x_3## ?

I tend to use their names because that's way it's done in my notes however I could just use the values of the spring constants if that makes the problem simpler or clearer.

When the system is in equilibrium there are 3 x's for 3 rigid bodies? The x is simply a frame of reference for the body right?

I understand that the force and rotation must be zero at equilibrium.
 
  • #16
In short, in equilibrium how much are ##x1,x2,x3## , you guess? You have got formula of potential energy. What ##x1,x2,x3## give zero potential energy?
 
Last edited:
  • #17
anuttarasammyak said:
In short, in equilibrium how much are ##x1,x2,x3## , you guess? You have got formula of potential energy. What ##x1,x2,x3## give zero potential energy?
I think zero x1,x2 and x3 give zero potential energy.
 
  • #18
Motorbiker said:
I think zero x1,x2 and x3 give zero potential energy.
Right. x1 =0 corresponds to the case that m1 body is in its equilibrium position. x2=0 corresponds to the case that m2 body is in its equilibrium position.x3=0 corresponds to the case that m3 body is in its equilibrium position.
In other words, x1 is displacement of m1 body from its equilibrium position. x2 is displacement of m2 body from its equilibrium position. x3 is displacement of m3 body from its equilibrium position.
 
  • #19
anuttarasammyak said:
Right. x1 =0 corresponds to the case that m1 body is in its equilibrium position. x2=0 corresponds to the case that m2 body is in its equilibrium position.x3=0 corresponds to the case that m3 body is in its equilibrium position.
In other words, x1 is displacement of m1 body from its equilibrium position. x2 is displacement of m2 body from its equilibrium position. x3 is displacement of m3 body from its equilibrium position.
Okay thanks a lot for that, I understand it better and it looks like my labelling for the x's is correct for this case.
 
  • Like
Likes anuttarasammyak
  • #20
anuttarasammyak said:
Right. x1 =0 corresponds to the case that m1 body is in its equilibrium position. x2=0 corresponds to the case that m2 body is in its equilibrium position.x3=0 corresponds to the case that m3 body is in its equilibrium position.
In other words, x1 is displacement of m1 body from its equilibrium position. x2 is displacement of m2 body from its equilibrium position. x3 is displacement of m3 body from its equilibrium position.
I’ve attached my finished solution to this problem, can you just check that it looks okay? I just want to make sure I have a good understanding.
 

Attachments

  • 62D278BF-199A-4476-83C5-6C5E220E99F0.jpeg
    62D278BF-199A-4476-83C5-6C5E220E99F0.jpeg
    42.7 KB · Views: 23
  • BAFF294C-6DA9-4DEF-98F6-6FFD4BD030CD.jpeg
    BAFF294C-6DA9-4DEF-98F6-6FFD4BD030CD.jpeg
    37.2 KB · Views: 22
  • #21
I have no idea of your
[tex]F_1 \cos,\ F_2 \cos,\ F_3\ \cos[/tex]
Why you introduce these terms added to zeros of Lagrange equation ? You can check your result by yourself whether you get usual equation of motion F=ma where F comes from only spring, I assume.
 
Last edited:
  • #22
anuttarasammyak said:
I have no idea of your
[tex]F_1 \cos,\ F_2 \cos,\ F_3\ \cos[/tex]
Why you introduce these terms added to zeros of Lagrange equation ? You can check your result by yourself whether you get usual equation of motion F=ma where F comes from only spring, I assume.

I added them because there are three forces acting on the system, F1, F2 and F3 right?
 
  • #23
Motorbiker said:
I added them because there are three forces acting on the system, F1, F2 and F3 right?
When you are dealing with not free oscillation but forced oscillation by time dependent forces, you have to add a new term to potential energy in Lagrangian,
[tex]U=-x_1F_1(t)-x_2F_2(t)-x_3F_3(t)[/tex].
by which you do not have to think about other things than Lagrangian.
 

FAQ: Lagrange method problem: Multiple Spring-Mass System

What is the Lagrange method in the context of a multiple spring-mass system?

The Lagrange method, also known as Lagrangian mechanics, is a reformulation of classical mechanics that uses the principle of least action. In the context of a multiple spring-mass system, it involves defining a Lagrangian function, which is the difference between the kinetic energy and potential energy of the system. By applying the Euler-Lagrange equations, one can derive the equations of motion for the system, allowing for the analysis of complex interactions between multiple masses and springs.

How do you set up the Lagrangian for a multiple spring-mass system?

To set up the Lagrangian for a multiple spring-mass system, you first identify all the masses and springs in the system. Next, you define the generalized coordinates that describe the positions of the masses. The kinetic energy (T) is calculated as the sum of the kinetic energies of each mass, which depends on their velocities. The potential energy (V) is calculated based on the deformation of the springs, which is related to their displacements from equilibrium. The Lagrangian (L) is then given by L = T - V.

What are the Euler-Lagrange equations, and how are they applied?

The Euler-Lagrange equations are a set of differential equations derived from the principle of least action. They are used to find the equations of motion for a system described by a Lagrangian. For a generalized coordinate q, the equation is given by d/dt(∂L/∂(dq/dt)) - ∂L/∂q = 0. In a multiple spring-mass system, you apply these equations for each generalized coordinate to obtain a system of equations that describe the dynamics of the masses and springs.

What challenges might arise when analyzing a multiple spring-mass system using the Lagrange method?

Challenges in analyzing a multiple spring-mass system using the Lagrange method can include dealing with nonlinear spring forces, which complicate the potential energy calculations. Additionally, if the system has many degrees of freedom, the resulting equations can become complex and difficult to solve analytically. Coupled motions between the masses can also lead to complex interactions that require careful consideration of the constraints and initial conditions.

Can the Lagrange method be applied to systems with damping or external forces?

Yes, the Lagrange method can be extended to systems with damping or external forces. To incorporate damping, you can add a damping term to the generalized force in the Euler-Lagrange equations. For external forces, you would include them in the formulation of the generalized forces as well. This allows for the analysis of more realistic scenarios where the system is not isolated and experiences

Back
Top