2 Masses connected to a spring

  • Thread starter NTesla
  • Start date
  • #1
NTesla
143
21
Homework Statement:
Two blocks of masses m1 and m2 are connected by a spring of spring constant k. The block of mass m1 is pulled by a constant force F1 and the other block is pulled by a constant force F2 in the direction opposite to that of F1. Find the maximum elongation that the spring will suffer.
Relevant Equations:
Newton's laws of motion
I have solved this question in Center of mass frame of reference, by using energy conservation. However, I'm not able to write any equation when I'm trying to solve it in Ground frame of reference. Can somebody please let me know how to begin in Ground FoR.
3.jpeg
 
Last edited:

Answers and Replies

  • #2
anuttarasammyak
Gold Member
1,939
1,012
After reaching the maximum elongation x, m_1 and m_2 moves with same acceleration of
## \frac{F_1-F_2}{m_1+m_2}##. By the two forces with force from spring T which is kx you can write down equation of motion and get x.
 
  • #3
NTesla
143
21
After reaching the maximum elongation x, m_1 and m_2 moves with same acceleration of
## \frac{F_1-F_2}{m_1+m_2}##. By the two forces with force from spring T which is kx you can write down equation of motion and get x.

## \frac{F_1-F_2}{m_1+m_2}## is the acceleration of the center of mass of the system; not that of individual masses. The center of mass will move with this acceleration when viewed from Ground frame. However, individual masses will be in simple harmonic motion. The acceleration of individual masses will be different from that of CoM.
 
  • Like
Likes anuttarasammyak
  • #4
anuttarasammyak
Gold Member
1,939
1,012
I thought once extended to the maximum the spring becomes as the rod so the two body are regarded as one body.
[tex]F_1-T=m_1 a_1[/tex]
[tex]T-F_2=m_2 a_2[/tex]
and at last
[tex]a_1=a_2=\frac{F_1-F_2}{m_1+m_2}[/tex]

I am interested to know your result of oscillation.

EDIT : Thanks to advice of harupsex I understand I was wrong getting to know ##T=k(x_1-x_2-l)##.
Rewriting the equation of motion as
[tex]m_1 \ddot{x_1}=k(x_2-x_1-l_0)+F_1[/tex]
[tex]m_2 \ddot{x_2}=-k(x_2-x_1-l_0)+F_2[/tex]
where ##x_1<x_2##, ##l_0## is natural length of spring and positive direction of ##F_1,F_2## is same as it of x. By adding these equations side by side
[tex]\ddot{x_G}=\frac{F_1+F_2}{m_1+m_2}[/tex]
where
[tex]x_G=\frac{m_1x_1+m_2x_2}{m_1+m_2}[/tex]
is coordinate of CoM.

Rewriting the equations as
[tex] \ddot{x_1}=k/m_1\ (x_2-x_1-l_0)+F_1/m_1[/tex]
[tex] \ddot{x_2}=-k/m_2\ (x_2-x_1-l_0)+F_2/m_2[/tex]
Deleting side by side
[tex] \ddot{(x_2-x_1)}=-k(1/m_1+1/m_2)(x_2-x_1-l_0)+F_2/m_2-F_1/m_1[/tex]
[tex] \ddot{(x_2-x_1-l)}=-k(1/m_1+1/m_2)(x_2-x_1-l)=-\omega^2 (x_2-x_1-l)[/tex]
where
[tex]l-l_0=\frac{F_2/m_2-F_1/m_1}{\omega^2}[/tex]
[tex]\omega^2=k(1/m_1+1/m_2)[/tex]
With initial conditions
[tex]x_1(t=0),x_2(0),\dot{x_1}(0),\dot{x_2}(0)[/tex]
given we get amplitude of the harmonic oscillation A. Then the maximum elongation would be
[tex]A+|l-l_0|=A+|\frac{F_2/m_2-F_1/m_1}{\omega^2}|[/tex]
As an example for
[tex]x_2(0)-x_1(0)=l_0,\dot{x_1}(0)=0,\dot{x_2}(0)=0[/tex]
##A=|l-l_0|## so the maximum elongation is ##2|l-l_0|##.
 
Last edited:
  • Like
Likes NTesla and Delta2
  • #5
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
After reaching the maximum elongation x, m_1 and m_2 moves with same acceleration of
## \frac{F_1-F_2}{m_1+m_2}##.
No, at maximum elongation the two masses will have the same velocity but will be accelerating towards each other.
 
  • #6
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
I'm not able to write any equation when I'm trying to solve it in Ground frame of reference. Can somebody please let me know how to begin in Ground FoR.
I'm having to guess at exactly what you did, so if what I write makes no sense please post your working.
You can still write the energy equation, but you get extra unknowns: the velocity of the mass centre and two displacements instead of one. So you need more equations. Introducing time as yet another unknown allows you to write equations for the mass centre's velocity and displacement. That appears to leave you one equation short, but it turns out that you can find the spring extension.
 
  • #7
NTesla
143
21
I've tried to attempt this question from Ground frame of reference, but not able to move towards solution. Here's my attempt:
4.jpeg
 
  • #8
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
I've tried to attempt this question from Ground frame of reference, but not able to move towards solution. Here's my attempt:
View attachment 272705
Since you solved it using energy in the CoM frame, I thought you were looking to solve it in the ground frame without handling the forces on the blocks separately.
I had as positions the displacements to left and right of the two blocks, but your r variables should work as well.
I wrote an energy equation, thereby bringing in the common velocity of the blocks, a momentum equation relating that to the elapsed time, and an equation relating the time and the external forces to the displacement of the mass centre. That was enough to get me an answer.
 
  • #9
NTesla
143
21
When I solved this question using the CoM FoR, the maximum extension of the spring came to be = ##\frac{2}{k}(\frac{F_1m_2+F_2m_1}{m_1+m_2})##

Is this what you've also got as maximum extension of the spring ?

Since there is a net force in the horizontal direction, therefore momentum conservation cannot be used.
Please guide me as to how the 3 equation that you've written could be approached.
 
  • #10
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
Since there is a net force in the horizontal direction, therefore momentum conservation cannot be used.
I introduced time as a variable. That allows you to write the change in momentum.
 
  • #11
Delta2
Homework Helper
Insights Author
Gold Member
5,695
2,473
Is it totally wrong to try to solve for ##x_1(t),x_2(t)## by applying Newton's 2nd for each body? It seems we get a coupled system of ODEs, i suppose there isn't a closed form for ##x_1(t),x_2(t)##??

Or can we assume the solution ansatz ##x_i(t)=A_i\sin(\omega t+\phi_i)## and proceed to determine ##A_i,\phi_i##?
 
  • #12
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
Is it totally wrong to try to solve for ##x_1(t),x_2(t)## by applying Newton's 2nd for each body? It seems we get a coupled system of ODEs, i suppose there isn't a closed form for ##x_1(t),x_2(t)##??

Or can we assume the solution ansatz ##x_i(t)=A_i\sin(\omega t+\phi_i)## and proceed to determine ##A_i,\phi_i##?
That'll work, of course, but as I read post #1, @NTesla is looking for how to use the simpler holistic approach, using energy etc., but in the ground frame.
 
  • #13
NTesla
143
21
Since you solved it using energy in the CoM frame, I thought you were looking to solve it in the ground frame without handling the forces on the blocks separately.
I had as positions the displacements to left and right of the two blocks, but your r variables should work as well.
I wrote an energy equation, thereby bringing in the common velocity of the blocks, a momentum equation relating that to the elapsed time, and an equation relating the time and the external forces to the displacement of the mass centre. That was enough to get me an answer.

Could you please tell that which event have you taken as the beginning of time, when writing the momentum equation..?
 
Last edited:
  • #14
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
Could you please tell that which event have you taken as the beginning of time, when writing the momentum equation..?
To solve the question at all, I think you have to assume the blocks start at rest with the spring at its relaxed length.
 
  • #15
NTesla
143
21
I'm rethinking about the problem. Suppose that the Force F1 and F2 are applied to the massess m1 and m2 by holding the force applying agents with hand, so that the spring only stretches to its max limit, and then doesn't contract. Then the masses will not be in SHM. Then we can just equate work done by the forces to the potential energy in the spring.
But if the Forces are applied on m1 and m2 suddenly, then the masses will definitely will be in SHM. This will make the situation complex.
Am I right in supposing like so..?
 
  • #16
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
I'm rethinking about the problem. Suppose that the Force F1 and F2 are applied to the massess m1 and m2 by holding the force applying agents with hand, so that the spring only stretches to its max limit, and then doesn't contract. Then the masses will not be in SHM. Then we can just equate work done by the forces to the potential energy in the spring.
But if the Forces are applied on m1 and m2 suddenly, then the masses will definitely will be in SHM. This will make the situation complex.
Am I right in supposing like so..?
I think you are supposed to assume as I wrote in post #15. Consequently, the masses will overshoot the equilibrium position.
If you use the approach I outlined in post #8, you can solve it without invoking SHM.
 
  • #17
NTesla
143
21
I've written an impulse momentum equation:
$$(F_{2}-F_{1})\Delta t=(m_1+m_2)v_{com}=m_1v_1+m_2v_2$$
##\Delta t## = time difference starting from unstretched position to position of maximum stretch of spring.
I am assuming that maximum stretch will happen when ##v_1## = ##v_2## = ##v_{com}## = ##\frac{m_1v_1+m_2v_2}{m_1+m_2}##
Next I've written an energy equation:
$$\frac{1}{2}m_1v_1^2+\frac{1}{2}m_2v_2^2+\frac{1}{2}k(x_1+x_2)^2=(F_2-F_1)\frac{(F_2-F_1)}{m_1+m_2}\Delta t$$

Please let me know, if I've written the correct equations.
 
  • #18
anuttarasammyak
Gold Member
1,939
1,012
Hi. momentum equation is
[tex](F_1+F_2)t=m_1 \dot{x_1}(t)+m_2 \dot{x_2}(t) - m_1 \dot{x_1}(0)-m_2 \dot{x_2}(0)[/tex]
same as yours, where I take positive directions of both ##F_1## and ##F_2## are same as that of x for simplicity. From this equation gives velocity of the CoM.
[tex](\frac{\dot{m_1 x_1 +m_2 x_2}}{m_1+m_2})=\frac{F_1+F_2}{m_1+m_2}t+(\frac{m_1 \dot{x_1}(0) +m_2 \dot{x_2}(0)}{m_1+m_2})[/tex]


Energy equation is
[tex]F_1(x_1(t)-x_1(0))+F_2(x_2(t)-x_2(0))=\frac{1}{2}m_1(\dot{x_1}(t)^2-\dot{x_1}(0)^2) + \frac{1}{2}m_2(\dot{x_2}(t)^2-\dot{x_2}(0)^2)+\frac{1}{2}k[( x_2(t)-x_1(t)-l_0)^2-( x_2(0)-x_1(0)-l_0)^2][/tex]
where ##l_0## is natural length of the spring, ##x_1<x_2##.
 
Last edited:
  • #19
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
I've written an impulse momentum equation:
$$(F_{2}-F_{1})\Delta t=(m_1+m_2)v_{com}=m_1v_1+m_2v_2$$
##\Delta t## = time difference starting from unstretched position to position of maximum stretch of spring.
I am assuming that maximum stretch will happen when ##v_1## = ##v_2## = ##v_{com}## = ##\frac{m_1v_1+m_2v_2}{m_1+m_2}##
Next I've written an energy equation:
$$\frac{1}{2}m_1v_1^2+\frac{1}{2}m_2v_2^2+\frac{1}{2}k(x_1+x_2)^2=(F_2-F_1)\frac{(F_2-F_1)}{m_1+m_2}\Delta t$$

Please let me know, if I've written the correct equations.
I don't understand the RHS of your energy equation. Its dimension seems to be power, not energy.
As @anuttarasammyak posts, you need to involve the work done by the forces in going through their displacements.

And as I wrote, you need another equation relating the acceleration of the mass centre to its displacement and the elapsed time.
 
  • #20
NTesla
143
21
Hi. momentum equation is
[tex](F_1+F_2)t=m_1 \dot{x_1}(t)+m_2 \dot{x_2}(t) - m_1 \dot{x_1}(0)-m_2 \dot{x_2}(0)[/tex]
same as yours, where I take positive directions of both ##F_1## and ##F_2## are same as that of x for simplicity. From this equation gives velocity of the CoM.
[tex](\frac{\dot{m_1 x_1 +m_2 x_2}}{m_1+m_2})=\frac{F_1+F_2}{m_1+m_2}t+(\frac{m_1 \dot{x_1}(0) +m_2 \dot{x_2}(0)}{m_1+m_2})[/tex]


Energy equation is
[tex]F_1(x_1(t)-x_1(0))+F_2(x_2(t)-x_2(0))=\frac{1}{2}m_1(\dot{x_1}(t)^2-\dot{x_1}(0)^2) + \frac{1}{2}m_2(\dot{x_2}(t)^2-\dot{x_2}(0)^2)+\frac{1}{2}k[( x_2(t)-x_1(t)-l_0)^2-( x_2(0)-x_1(0)-l_0)^2][/tex]
where ##l_0## is natural length of the spring, ##x_1<x_2##.
In your energy equation, I have some difficulty: Change in kinetic energy of a system of particles is equal to work done by ALL the external force on the system. Here, the spring is getting extended by ##x_1+x_2##, supposing that the mass ##m_1## moves by ##x_1## and mass ##m_2## moves by ##x_2##. But how much the mass ##m_1## has moved solely due to ##F_1## or how much the mass ##m_2## moved solely due to ##F_2## is not available. Moreover, when viewed from Ground Frame of reference, the mass ##m_1## has moved NOT just by ##x_1##, but by ##(x_1+ the~distance~moved~by~CoM).## Likewise for ##m_2##.

@haruspex , In my energy equation, in post # 17, in RHS, I've written work done = Force*displacement. ##F_2-F_1## is the net external force on the system, and displacement of the system's com is 0.5*acceleration*##time^2##. Acceleration is ##\frac{F_2-F_1}{m_1+m_2}##, time is ##\Delta t##. Time should have been squared in post #17 and RHS should have been multiplied by 0.5 .
 
Last edited:
  • #21
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
@haruspex , In my energy equation, in post # 17, in RHS, I've written work done = Force*displacement. ##F_2-F_1## is the net external force on the system, and displacement of the system's com is 0.5*acceleration*##time^2##. Acceleration is ##\frac{F_2-F_1}{m_1+m_2}##, time is ##\Delta t##. Time should have been squared in post #17 and RHS should have been multiplied by 0.5 .
Ok, that explains the dimensionality error, but it is still wrong.

The LHS is the total work done on the system, whereas the RHS is only the work done in accelerating the common mass centre.
To see this, consider the case where the masses are equal and so are the forces. Your RHS becomes zero, but work has been done both in stretching the spring and giving KE to the individual masses.

Instead, consider the displacement each force goes through.
 
  • #22
anuttarasammyak
Gold Member
1,939
1,012
Hi.
Change in kinetic energy of a system of particles is equal to work done by ALL the external force on the system.
You should not forget potential energy of spring. Change in the sum of kinetic energy of a system of particles and potential energy of spring is equal to work done by ALL the external force on the system.

Here, the spring is getting extended by x1+x2, supposing that the mass m1 moves by x1 and mass m2 moves by x2
The spring gets extented by ##x_2(t)-x_1(t)-l_0## from its natural length.

But how much the mass m1 has moved solely due to F1 or how much the mass m2 moved solely due to F2 is not given.
Sum of external force and spring force keep applying on the blocks. There happens no such a thing as "move solely due to one force".

Moreover, when viewed from Ground Frame of reference, the mass m1 has moved NOT just by x1, but by (x1+the distance moved by CoM). Likewise for m2.
All the above ##x_1## and ##x_2## are coordinates mentioning the position of the particle like blocks in ground frame of reference. We do not have to care about "CoM distance moved" for our problem.
 
Last edited:
  • #23
NTesla
143
21
@anuttarasammyak
In post#4:
##l## being the length of the string at any point of time, I couldn't understand how you substituted the variable ##l## in this equation from the previous equation: [tex] \ddot{(x_2-x_1-l)}=-k(1/m_1+1/m_2)(x_2-x_1-l)=-\omega^2 (x_2-x_1-l)[/tex]

Also, for what reasons have you written that the maximum elongation would be
[tex]A+|l-l_0|[/tex]
 
Last edited:
  • #24
anuttarasammyak
Gold Member
1,939
1,012
Hi. Please try to guess if it seems right to you.

Hint: oscillation of spring upside fixed on ceiling downside put weight in gravitation field.
 
  • #25
NTesla
143
21
@anuttarasammyak: In the following equtions that you've written in post#4, please explain what have you considered ##x_1## and ##x_2## to be. My understanding is that ##x_1## and ##x_2## is the displacement of mass ##m_1## and ##m_2##. If it is so, then stretch of string at any point of time will be ##x_1+x_2##. Then, why have you written the following equations in post#4, considering ##x_2-x_1-l_0## as the stretch of the string:
[tex]m_1 \ddot{x_1}=k(x_2-x_1-l_0)+F_1[/tex]
[tex]m_2 \ddot{x_2}=-k(x_2-x_1-l_0)+F_2[/tex]
 
  • #26
NTesla
143
21
@haruspex,
I've written the momentum equation:
$$\left ( F_2-F_1 \right)\Delta t=\left ( m_1+m_2 \right )v_{com}=m_1v_1+m_2v_2$$
and Energy equation :
$$F_1x_1+F_2x_2=\frac{1}{2}m_1v_1^{2}+\frac{1}{2}m_2v_2^{2}+\frac{1}{2}k\left ( x_1+x_2 \right )^{2}$$

But if I write another equation involving displacement and time, like following:
$$\Delta s=\frac{1}{2}\left ( \frac{F_2-F_1}{m_1+m_2} \right )\Delta t^2$$
then I'm including one more variable ##\Delta s##.
I am not able to write an equation involving displacement and time which doesn't involve a new variable. Where am I going wrong. Please help.
 
  • #27
anuttarasammyak
Gold Member
1,939
1,012
Hi.
[tex]m_1 \ddot{x_1}=k(x_2-x_1-l_0)+F_1[/tex]
[tex]m_2 \ddot{x_2}=-k(x_2-x_1-l_0)+F_2[/tex]
Please find attached my configuration. I hope it will help you.
 

Attachments

  • img20201128_23304581.jpg
    img20201128_23304581.jpg
    64.3 KB · Views: 70
  • #28
NTesla
143
21
@anuttarasammyak, Ok, now I understand those 2 equations. Thank you.
But, I still have one question: In the following equation that you've written in post#4:
[tex] \ddot{(x_2-x_1-l)}=-k(1/m_1+1/m_2)(x_2-x_1-l)=-\omega^2 (x_2-x_1-l)[/tex]
##l##= total length of the string at any instant t=##x_2-x_1-l_0##
Therefore, ##(\ddot{x_2-x_1-l})##=##(\ddot{x_2-x_1-(x_2-x_1-l_0)})##=##(\ddot{-2x_1+l_0})##. This doesn't make sense to me. Please explain this particular equation that you've written.
 
  • #29
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,571
8,837
then I'm including one more variable Δs.
That's the displacement of the mass centre. How does that relate to m1, m2, x1 and x2?
 
  • #30
anuttarasammyak
Gold Member
1,939
1,012
@anuttarasammyak,
(x2−x1−l)¨=−k(1/m1+1/m2)(x2−x1−l)=−ω2(x2−x1−l)
l= total length of the string at any instant t=x2−x1−l0
Therefore, (x2−x1−l¨)=(x2−x1−(x2−x1−l0)¨)=(−2x1+l0¨). This doesn't make sense to me. Please explain this particular equation that you've written.
[tex] \ddot{(x_2-x_1)}=-k(1/m_1+1/m_2)(x_2-x_1-l_0)+F_2/m_2-F_1/m_1[/tex]

You see RHS second term ##F_2/m_2-F_1/m_1## is constant.

You see RHS first term is written as
[tex]-k(1/m_1+1/m_2)(x_2-x_1-l_0)=-k(1/m_1+1/m_2)(x_2-x_1) - k(1/m_1+1/m_2)(-l_0)[/tex]
the second term is constant.
Add these two constants and express it as
[tex]k(1/m_1+1/m_2)l[/tex]
introducing new constant ##l##. Show me expression of ##l## by F,m,k and l_0.
 
Last edited:
  • #31
NTesla
143
21
@haruspex ,
I've tried to find a relation between CoM's displacement and ##x_1## and ##x_2##, but it appears more difficult than I assumed it to be. Here's my work:
5.jpeg


I am not able to figure out the relation. let me know how to proceed.
 
  • #32
NTesla
143
21
[tex] \ddot{(x_2-x_1)}=-k(1/m_1+1/m_2)(x_2-x_1-l_0)+F_2/m_2-F_1/m_1[/tex]

You see RHS second term ##F_2/m_2-F_1/m_1## is constant.

You see RHS first term is written as
[tex]-k(1/m_1+1/m_2)(x_2-x_1-l_0)=-k(1/m_1+1/m_2)(x_2-x_1) - k(1/m_1+1/m_2)(-l_0)[/tex]
the second term is constant.
Add these two constants and express it as
[tex]k(1/m_1+1/m_2)l[/tex]
introducing new constant ##l##. Show me expression of ##l## by F,m,k and l_0.
@anuttarasammyak, Perhaps I hadn't made the question clear in my earlier post. I do understand the calculation part of it. What I couldn't understand is that what is the physical significance of the variable which you have double differentiated in the equation:
7.png
 
  • #33
anuttarasammyak
Gold Member
1,939
1,012
What I couldn't understand is that what is the physical significance of the variable which you have double differentiated in the equation:
You observe that this is equation of harmonic oscillation : displacement ##x_2-x_1-l##, angular frequency ##\omega##.

l is new "natural length" of spring with ##F_1## and ##F_2## applied. ##x_2-x_1-l## is extension of spring from renewed balance point. See also HINT in my previous post.
 
Last edited:
  • #34
NTesla
143
21
You observe that this is equation of harmonic oscillation : displacement ##x_2-x_1-l##, angular frequency ##\omega##.

l is new "natural length" of spring with ##F_1## and ##F_2## applied. ##x_2-x_1-l## is extension of spring from renewed balance point. See also HINT in my previous post.
@anuttarasammyak,
Since ##x_1, x_2## are coordinates of masses at any instant.
##l##=##x_2-x_1##. Therefore, ##x_2-x_1-l## = ##x_2-x_1-x_2+x_1## = ##0## always. So there is no reason why this should be differentiated wrt time.
 
Last edited:
  • #35
anuttarasammyak
Gold Member
1,939
1,012
Since ##x_1, x_2## are coordinates of masses at any instant.
##l##=##x_2-x_1##. Therefore, ##x_2-x_1-l## = ##x_2-x_1-x_2+x_1## = ##0## always. So there is no reason why this should be differentiated wrt time.
You have done the calculation so know that ##l## is constant. So your ##l##=##x_2-x_1## means spring between block 1 and block 2 does not change its length like a rod, though the equation is that of harmonic oscillation. Do I catch you right ?
 

Suggested for: 2 Masses connected to a spring

Replies
8
Views
432
Replies
20
Views
705
Replies
18
Views
784
Replies
7
Views
675
Replies
5
Views
389
  • Last Post
Replies
4
Views
399
Replies
3
Views
508
Top