Lagrangian Dynamics: Potential Energy formulation with spring and gra

AI Thread Summary
The discussion centers on the potential energy formulation in Lagrangian dynamics for a mass-spring system influenced by gravity. The confusion arises regarding whether the potential energy should be expressed as PE = 0.5Kx^2 or PE = 0.5Kx^2 + mgx. The correct formulation depends on the definition of the "neutral" position of the spring, which can be defined as the point where gravitational force balances the spring force. A coordinate transformation can relate the two potential energy expressions, indicating that the choice of coordinates affects the formulation. Ultimately, understanding how these definitions and transformations interact is key to accurately determining the equations of motion.
swraman
Messages
165
Reaction score
0
Hi,

I have a conceptual question regarding Lagrangian dynamics. It has to do with the potential energy formulation. My instructor today mentioned something in class that does not make much sense to me.

Here is he most basic example that illustrates my confusion:

Take a simple 1dof system of a spring and a mass:
A mass M on top of a vertical massless spring (stiffness K), constrained to only move up and down (with and against gravity). I will call the mass's upward displacement from the neutral position +x.

Goal: determine the equations of motion using Hamiltonian or Lagrangian methods.

The kinetic energy is simple:
KE=.5m(v)^2

v being the time derivative of x.

The Potential energy is where I am confused. Would it be:

PE = .5Kx^2

OR

PE = .5Kx^2 + m*g*x

I would guess the latter, but apparently I am wrong.

Any advice is appreciated.
 
Physics news on Phys.org
This would depend on how you define the "neutral" position. The first choice would be that the neutral position is where the gravitational force exactly cancels that of the spring, i.e., the stable point of the system. The second choice would just correspond to a different choice of coordinates. The two choices are related by a coordinate transformation ##x \to x + a## along with an overall shift of the potential energy.

If ##V = kx^2/2## and we do the coordinate transformation, then
$$
V \to k(x+a)^2/2 = kx^2/2 + kax + k a^2/2.
$$
Subtracting the constant ##ka^2/2## and letting ##a = mg/k##, we obtain the second option. This corresponds to a coordinate system where the spring is providing zero force at ##x = 0##, i.e., the spring is in a position that would be the stationary point if gravity was not present.
 
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top