Derivation of Potential Energy for two masses attached to three springs

In summary, I was confused on how to get from the forces to the potential energy and ultimately got it wrong.
  • #1
Yondaime5685
27
0
First of all, my question isn't completely unrelated to a homework question. I know how to answer that question using definitions in the book and mechanically get to the end. But I wanted to start from basic principles and arrive at the same answer. This lead to a contradiction which sent me on a tangent to solve a more general question of my homework question.

The homework question was to setup the Lagrangian for a system with two masses that are identical and between them are two springs that have the same spring constant. Also the floor is frictionless, so no gravitational force need be concerned with.

Crude picture: (Masses are the circles.)
[itex]
|--k---m--k--m
[/itex]
[itex]
|-----O-----O
[/itex]
[itex]
|-----x_1----x_2
[/itex]Now I can write the Lagrangian. Kinetic is easy: [itex]T= .5m[(x_1)^2+(x_2)^2][/itex]

The potential is also easy, if you go with the logic of how many different ways can the masses be displaced: [itex]x_1[/itex], [itex]x_2-x_1[/itex], & [itex]x_2[/itex]

[itex]U = .5k[(x_1)^2+(x_1-x_2)^2][/itex]

Now the rest of the question is easy since [itex]L=T-U[/itex] and so on...

But this is where I went back and wanted to derive the potential from scratch instead of arriving at it by "analyzing" the problem and deducing the U. (From here on, I'm going back to the classical example of two different masses & three spring constants, which is a generalization of my original homework question.)
[itex]
|--k_1---m_1--k_2--m_2---k_3--
[/itex]
[itex]
|------O------O-------|
[/itex]
[itex]
|------x_1------x_2------
[/itex]

My thought process was this:

So I added up the forces for the two masses:
→[itex]F_1= m_1(\frac{dx_1}{dt})^2= -(k_1+k_2)x_1+k_2x_2[/itex]
→[itex]F_2= m_2(\frac{dx_2}{dt})^2= k_2x_1-(k_3+k_2)x_2[/itex]

Next I use [itex]F=-∇U → -∫F\cdot dr= U[/itex] to get the potential for each:
→Since the system is one-dimensional, I just use the x coordinate for the integration.
→[itex]-∫F_1dx= -[∫-(k_1+k_2)x_1dx+∫k_2x_2dx]=\frac{1}{2}(k_1+k_2)(x_1)^2-\frac{1}{2}k_2(x_2)^2=U_1[/itex]
→[itex]-∫F_2dx= -[∫k_2x_1dx-∫(k_3+k_2)x_2dx]=-\frac{1}{2}k_2(x_1)^2+\frac{1}{2}(k_3+k_2)(x_2)^2=U_2[/itex]

So now I can add those together, to get the total potential energy, [itex]U_{Total}[/itex]:
→[itex]U_{Total}=U_1+U_2=[\frac{1}{2}(k_1+k_2)(x_1)^2-\frac{1}{2}k_2(x_2)^2]+[-\frac{1}{2}k_2(x_1)^2+\frac{1}{2}(k_3+k_2)(x_2)^2][/itex]
→[itex]U_{Total}=\frac{1}{2}(k_1+k_2)(x_1)^2-\frac{1}{2}k_2[(x_1)^2+(x_2)^2]+\frac{1}{2}(k_3+k_2)(x_2)^2[/itex]

Now this is where the contradiction happens with any source I go to look up the "right" potential energy for a system like this. For example, on page 430-431 on Taylor has the Potential energy as:
→[itex]U_{Total}=\frac{1}{2}(k_1+k_2)(x_1)^2-k_1x_1x_2+\frac{1}{2}(k_2+k_3)(x_2)^2[/itex]

The only difference being the middle terms:
→[itex]-\frac{1}{2}k_2[(x_1)^2+(x_2)^2]\neq-k_1x_1x_2[/itex] (Well, they only equal each other when [itex]x_1=x_2[/itex].)

So obviously I did something that I thought was right but isn't. Was it that I couldn't add up the potential energy like I did..? Or was it that I didn't consider all the forces when I was setting them up for each mass..? (For this question, even Taylor started with the same setup for his differential equations.)

Sorry for the very long post. This has been bugging me literally all day. I would very much appreciated if someone can shed some light on this for me.

TL;DR Lol, I know some people are busy :tongue2::
How to get from this step of Forces:
→[itex]F_1= m_1(\frac{dx_1}{dt})^2= -(k_1+k_2)x_1+k_2x_2[/itex]
→[itex]F_2= m_2(\frac{dx_2}{dt})^2= k_2x_1-(k_3+k_2)x_2[/itex]

To this Total Potential Energy of the system:
→[itex]U_{Total}=\frac{1}{2}k_1(x_1)^2+\frac{1}{2}k_2(x_1-x_2)^2+\frac{1}{2}k_3(x_2)^2[/itex]
Or
→[itex]U_{Total}=\frac{1}{2}(k_1+k_2)(x_1)^2-k_2x_1x_2+\frac{1}{2}(k_2+k_3)(x_2)^2[/itex]

Without just simply writing out the Potential Energy from "analyzing" the 2 mass 3 spring system..?
 
Last edited:
Physics news on Phys.org
  • #2
[tex]U_{Total}=\frac{1}{2}(k_1+k_2)(x_1)^2-k_1x_1x_2+\frac{1}{2}(k_2+k_3)(x_2)^2[/tex]
I just think that K1x1x2 type term should be K2x1x2.I have not checked other things however your integration of forces is wrong because the terms are some x1 ,x2 type and you are integrating with respect to some x which you have not defined anywhere.so it is better to stick to the definition of potential energy of the spring to calculate potential energy and in that way you can do it rather easily.
 
  • #3
^ Yes you are right. I just typed it wrong when I was reading it off of Taylor. Thanks

For the integration, yes I made it really general and simplified, but it is right. I'm still integrating along the general x-axis since both variables, though they are named different, still vary in the x-direction. (Note the change from "dr" to "dx" since the dot product would reduce down to dx. Where [itex]\vec{dr}=dx\hat{x}+dy\hat{y}+dz\hat{z}[/itex])

Also you should read the beginning of my post. I can do it the easy way like you said, but I want to know the derivation. Not for the homework's sake but for my own personal understanding of the physics and the corresponding math derivation.

Thanks again for pointing out that misprint.
 
Last edited:
  • #4
yes they both vary along x-axis but you can not integrate them in the way you are doing because you can
[tex] -∫F_1dx= -[∫-(k_1+k_2)x_1dx+∫k_2x_2dx]=\frac{1}{2}(k_1+k_2)(x_1)^2-\frac{1}{2}k_2(x_2)^2=U_1[/tex]
in this expression write x2-x1 as single variable of x and integration would be different .In your derivation potential energy like containing [tex]k_2(x_2)^2[/tex] is coming out negative which is not the case.so be careful.
 
  • #5
Hmm... I see what you mean. Let me look into that in the morning. It is about 2:15 in the morning for me and I got to get some shut eye.

From a quick glance, I would argue that I never wrote down my forces in "[itex]x_2-x_1[/itex]" terms, so I would not run into that. But I'm sleep deprived so I may not see some obvious things.

I'll reply back sometime tomorrow. Thanks.
 
  • #6
perhaps you would like to see how it will come out from the force.
U=∫k1x1dx1+∫k2(x2-x1)d(x2-x1)+∫k3x2dx2
From this expression you will found out your potential energy as required.be sure to verify it
 
  • #7
F1 is the derivative of U (all of it!) with respect to x1.
F2 is the derivative of U (all of it!) with respect to x2.

Therefore, from integrating F1 in x1 in you get:
[tex]U=-\frac{1}{2}(k_1+k_2)x_1^2 + k_2 x_2 x_1 + f(x_2)[/tex]
where f(x2) is the integration constant (which might depend on x2)
In a similar way, F2 leads to
[tex]U=-\frac{1}{2}(k_3+k_2)x_2^2 + k_2 x_1 x_2 + f(x_1)[/tex]
Apart from a constant, this defines a unique U:
[tex]U=-\frac{1}{2}\left((k_3+k_2)x_2^2+(k_1+k_2)x_1^2 \right) + k_2 x_1 x_2[/tex]
And this is the correct potential.
 
  • #8
F1 is the derivative of U (all of it!) with respect to x1.
F2 is the derivative of U (all of it!) with respect to x2.

Ahh... That was my gap in my understanding. I don't know why I didn't see it that way from the beginning. With that in mind, I derived the right potential.

Thank you guys for helping! :smile:
 

1. What is potential energy?

Potential energy is the energy that an object possesses due to its position or configuration. It is the energy that can be converted into other forms, such as kinetic energy, and is often represented by the symbol U.

2. How is potential energy calculated?

The formula for potential energy is U = mgh, where m is the mass of the object, g is the acceleration due to gravity, and h is the height of the object's position. However, for the derivation of potential energy for two masses attached to three springs, the calculation is more complex and involves considering the elastic potential energy stored in the springs as well.

3. What is the equation for potential energy in this system?

In this system, the equation for potential energy is U = ½k((x1-x2)^2 + (x1-x3)^2 + (x2-x3)^2), where k is the spring constant and x1, x2, and x3 are the displacements of the three masses from their equilibrium positions.

4. How do the masses and springs affect potential energy in this system?

The masses and springs in this system affect potential energy by changing the amount of elastic potential energy stored in the system. The greater the mass and/or the stiffer the springs, the more potential energy is stored in the system.

5. What is the significance of deriving the potential energy for two masses attached to three springs?

Deriving the potential energy for this system allows us to better understand the relationship between the masses, springs, and potential energy. It also allows us to calculate the potential energy at any given point in the system, which can be useful in analyzing the behavior and stability of the system.

Similar threads

Replies
7
Views
635
Replies
2
Views
1K
Replies
4
Views
995
  • Introductory Physics Homework Help
Replies
4
Views
736
  • Advanced Physics Homework Help
Replies
9
Views
3K
  • Introductory Physics Homework Help
Replies
24
Views
1K
  • Advanced Physics Homework Help
Replies
7
Views
1K
  • Quantum Physics
Replies
3
Views
2K
Replies
2
Views
1K
Back
Top