Find v(x) of a mass suspended from a spring

Click For Summary
The discussion revolves around finding the velocity function v(x) for a mass suspended from a spring, with participants addressing the need for constants k and m in the differential equation. The original poster struggles with the correct formulation of energy conservation equations and the relationship between potential and kinetic energy. Clarifications are made regarding the total energy being constant and the proper definitions of gravitational potential energy. Ultimately, the poster expresses gratitude for the assistance received and believes they have arrived at a solution, although they still question a negative sign in their differential equation.
  • #61
haruspex said:
##\xi##, pronounced "ksy", is the Greek equivalent of x. Not sure how you are defining dx here, but that usually refers to an infinitesimal change. @kuruman is using ##\xi## to stand for a variable like x but differing from it by a constant amount.
Ah thanks, yes, I was able to infer that but wanted to make sure. dx for me is a small change usually?
 
Physics news on Phys.org
  • #62
haruspex said:
Did you mean $$ME=\frac{1}{2}mv^2+mg\xi+\frac{1}{2}k\left(\left(\xi- \frac{mg}{k}\right)^2-\left(\frac{mg}{k}\right)^2\right)$$
Absolutely what I meant. Thanks for the catch, I edited the post.
 
  • Like
Likes spsch
  • #63
@kuruman I studied your very informative post quite a bit yesterday and today. It was quite helpful. I think I had the same intuition before, but it's more clear now. I think I dreamt about your equations with ksy. My problem may have been with thinking about the coordinate system and setting it up correctly, which I have a much better grasp on how to approach now. thanks @haruspex, @BvU @SammyS too!

I think my first solution was almost correct and the correct solution is v(x) = ## \sqrt { - \frac {kx^2} {m} - 2gx + 9} ## ?
 
  • Like
Likes SammyS and BvU
  • #64
spsch said:
@kuruman

I think my first solution was almost correct and the correct solution is v(x) = ## \sqrt { - \frac {kx^2} {m} - 2gx + 9} ## ?
Replace ##9## with ##v_0^2## and the solution will be fine.
 
  • Like
Likes spsch
  • #65
kuruman said:
Replace ##9## with ##v_0^2## and the solution will be fine.

Thank you Kuruman,
I apologize if I'm being slow, isn't 9 = ##v_0^2## ? And my C when I integrate the differential equation?
Should I not insert the constant values in a solution? (Meaning if it would be considered incorrect?)
 
  • #66
spsch said:
Thank you Kuruman,
I apologize if I'm being slow, isn't 9 = ##v_0^2## ? And my C when I integrate the differential equation?
Should I not insert the constant values in a solution? (Meaning if it would be considered incorrect?)

You are welcome.

When you write ##9##, you mean ##9## what? Apples, bananas, oranges? You could have written ##9~\rm{m^2/s^2}## but then what about the other quantities? It is bad form to mix symbols and numbers. You can, if you wish, replace all the quantities that are given to you with numbers, but then you will have to include their units next to them in the final equation.

The integration constant is taken care of because in reality you are doing a definite integral. Here is the gist of the solution
$$ma = -kx-g$$ $$mv\frac{dv}{dx} = -kx-g$$ $$m \int_{v_0}^{v(x)} v ~dv = -k\int_{0}^x x~dx-g \int_{0}^x dx$$ Note that the limits of integration reflect the physical situation: at the lower limit ##x=0## the speed matches the initial speed ##v_0##; at the upper limit of some arbitrary value ##x## the speed is ##v(x)##. Since this is a definite integral, no integration constant is necessary.
 
Last edited:
  • Like
Likes spsch
  • #67
kuruman said:
You are welcome.

When you write ##9##, you mean ##9## what? Apples, bananas, oranges? You could have written ##9~\rm{m/s^2}## but then what about the other quantities? It is bad form to mix symbols and numbers. You can, if you wish, replace all the quantities that are given to you with numbers, but then you will have to include their units next to them in the final equation.

The integration constant is taken care of because in reality you are doing a definite integral. Here is the gist of the solution
$$ma = -kx-g$$ $$mv\frac{dv}{dx} = -kx-g$$ $$m \int_{v_0}^{v(x)} v ~dv = -k\int_{0}^x x~dx-g \int_{0}^x dx$$ Note that the limits of integration reflect the physical situation: at the lower limit ##x=0## the speed matches the initial speed ##v_0##; at the upper limit of some arbitrary value ##x## the speed is ##v(x)##. Since this is a definite integral, no integration constant is necessary.
@kuruman thank you! I wasn't aware of that. That makes sense though.
 
  • #68
kuruman said:
It looks like the big picture may still elude you. Remember that the zero of potential energy is arbitrary. The gravitational energy of mass ##m## at height ##y## above ground is ##U_g=mg(y-y_0)##; it is zero when ##y=y_0##. The elastic energy of a spring stretched (or compressed) by amount ##x## from its relaxed position is ##U_s=\frac{1}{2}k(x^2-x_0^2)##; it too is zero when ##x=x_0##. Note that ##x## in this context denotes "displacement of the spring from equilibrium", it does not denote position. The total potential energy is ##U_{tot}=U_g+U_s=mg(y-y_0)+\frac{1}{2}k(x^2-x_0^2)##.

Case 1. A horizontal spring-mass system
For the vertical motion
(a) you can choose the position of the origin, ##Y_{or}## at the vertical height of the mass
(b) you can choose the zero of potential energy at the origin (##y_0=0##)
Then ##U_g =mg(0-0)=0## throughout the motion.
For the horizontal motion
(a) you can choose the horizontal location of the origin, ##X_{or}## at the mass when the spring is unstretched. Remembering that ##x## stands for the displacement of the spring from the origin, clearly it also stands for the displacement of the mass from the origin. At this point you still have to choose the zero of spring energy.
(b) A common and useful choice is ##x_0=0##, but it could be anything you want.

With all of the above in mind, if the mass has speed ##v_0## when the spring is unstretched, the mechanical energy at some arbitrary ##x## is $$ME=K+U_g+U_s=\frac{1}{2}mv^2+0+\frac{1}{2}kx^2.$$Because mechanical energy is conserved and we have chosen the zero spring potential energy to be where the speed is maximum at ##x=0##, this becomes the familiar $$ME=\frac{1}{2}mv^2+\frac{1}{2}kx^2=\frac{1}{2}mv_0^2~~~~~(1)$$

Case 2. A vertical spring-mass system
Start with the most general expression for the mechanical energy and then you need to choose three quantities, the position of the origin ##Y_{or}##, the zero of gravitational potential energy ##y_0## and the zero of spring potential energy ##x_0##.$$ME=\frac{1}{2}mv^2+mg(y-y_0)+\frac{1}{2}k(x^2-x_0^2)~~~~~(2)$$

Suppose you choose the origin ##Y_{or}## to be at the position of the mass when the net force acting on it is zero, i.e. ##kx_{eq}-mg=0##. Then ##x_{eq}=\frac{mg}{k}## below the unstretched position of the spring. The displacement of the mass from this origin is the same as the additional stretch (or compression) of the spring call that quantity, ##\xi##, that is ##y=\xi##.
We choose the zero of gravitational potential energy to be at ##Y_{or}##. Then ##y_0=0##.
We also choose the zero of spring potential energy to be not where the spring is unstretched but where the additional stretch ##\xi = 0##. That occurs at ##x_{eq}## as we have previously found, that is ##x_0=x_{eq}=\frac{mg}{k}##.

Finally, the stretch of the spring from the equilibrium position ##x## is related to the additional stretch ##\xi## by$$x=\xi-\frac{mg}{k}.$$With all this equation (2) becomes$$ME=\frac{1}{2}mv^2+mg\xi-\frac{1}{2}k\left[\left(\xi- \frac{mg}{k}\right)^2-\left(\frac{mg}{k}\right)^2\right]$$This simplifies to$$ME=\frac{1}{2}mv^2+\frac{1}{2}k\xi^2~~~~~(3)$$
If we compare equations (1) and (2) for the mechanical energy of a spring-mass system, we see that they are identical in that, by judicious choices of the origin and the zeroes of the two potential energies, (a) the spring potential energy depends quadratically on the displacement relative to the (force) equilibrium position and (b) the potential energy contribution can be written out of the picture.
Hi @kuruman I wanted to let you know that it sank in yesterday and I feel I understand the benefit and why to chose the coordinate axes like you suggested.
I've been doing lot's of problems and I tried to follow your suggestions but it hasn't quite made click, even though I could always get the correct answers.
Until yesterday I got to a problem that basically had the reverse as this problem.
The mass was on top of the spring instead of hanging from the spring.
It sounds silly, but from this perspective, everything made total sense.

After, I came here right away to thank you, but my browser or this site didn't work well together.
So belated, thank you kuruman and all who helped, it took a while but I think I've got an intuitive feeling (which is what I'm looking for) for these types of problems now!
 
  • Like
Likes SammyS and kuruman

Similar threads

Replies
29
Views
3K
  • · Replies 10 ·
Replies
10
Views
1K
Replies
3
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
2K
Replies
2
Views
766
Replies
2
Views
1K
Replies
5
Views
5K
Replies
1
Views
1K
Replies
26
Views
3K
Replies
2
Views
2K