MHB Lagrangian Mechanics: Solving $\mathcal{L}(X,x,\dot{X},\dot{x})$ for 2 Masses

AI Thread Summary
The discussion focuses on deriving the Lagrangian for two equal masses connected by a spring, confined to the x-axis. The Lagrangian is expressed as $\mathcal{L} = \frac{1}{2}m(\dot{x}_1^2 + \dot{x}_2^2) - \frac{1}{2}k(x_1 - x_2 - \ell)^2$. It emphasizes the transformation to new variables, where $X$ represents the center of mass position and $x$ denotes the spring extension. The equations $X = \frac{1}{2}(x_1 + x_2)$ and $x = x_1 - x_2 - \ell$ are derived to facilitate the analysis. Understanding these transformations is crucial for applying Lagrangian mechanics to the system.
Dustinsfl
Messages
2,217
Reaction score
5
Write down the Lagrangian $\mathcal{L}(x_1,x_2,\dot{x}_1,\dot{x}_2)$ for two particles of equal masses, $m_1 = m_2 = m$, confined to the $x$ axis and connected by a spring with potential energy $U = \frac{1}{2}kx^2$. [Here $x$ is the extension of the spring, $x = (x_1 - x_2 - \ell)$ where $\ell$ is the spring's unstretched length, and I assume that mass 1 remains to the right of mass 2 at all times.]

The Lagrangian, $\mathcal{L} = T - U$, is the kinetic minus the potential energy.
\begin{alignat*}{3}
\mathcal{L} & = & T - U\\
& = & \frac{1}{2}m\left(\dot{x}_1^2 + \dot{x}_2^2\right) - \frac{1}{2}k(x_1 - x_2 - \ell)^2
\end{alignat*}

Rewrite $\mathcal{L}$ in terms of the new variables $X = \frac{1}{2}(x_1 + x_2)$ (the CM position) and $x$ (the extension), and write down the two Lagrange equations for $X$ and $x$.

The solution has:
Let $x = x_1 - x_2 - \ell$
Where did this piece come from (below). I see that adding them together produces $X$.
\begin{alignat}{3}
x_1 & = & X + \frac{x}{2} + \frac{\ell}{2}\\
x_2 & = & X - \frac{x}{2} - \frac{\ell}{2}
\end{alignat}
 
Mathematics news on Phys.org
You have two equations:
\begin{align*}
X&= \frac{1}{2}\,(x_{1}+x_{2})\\
x&= x_{1}-x_{2}-\ell.
\end{align*}
In order to see how $L$ is using these new variables, you must solve for the original variables $x_{1}$ and $x_{2}$, and then plug those expressions into the $L$ that you know. So the two equations at the bottom of your post are simply using standard solving methods (elimination, substitution) to write the old variables in terms of the new.
 
Last edited:
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top