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

Click For Summary
SUMMARY

The discussion focuses on deriving the Lagrangian $\mathcal{L}(x_1, x_2, \dot{x}_1, \dot{x}_2)$ for two equal mass particles connected by a spring. 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$. The transformation to new variables, $X = \frac{1}{2}(x_1 + x_2)$ and $x = x_1 - x_2 - \ell$, is crucial for simplifying the equations of motion. The discussion concludes with the necessity to substitute back to the original variables to fully understand the dynamics of the system.

PREREQUISITES
  • Understanding of Lagrangian mechanics
  • Familiarity with kinetic and potential energy concepts
  • Knowledge of spring mechanics and Hooke's Law
  • Proficiency in solving algebraic equations and transformations
NEXT STEPS
  • Study the derivation of Lagrange's equations for multi-particle systems
  • Explore the concept of center of mass in classical mechanics
  • Learn about the implications of variable transformations in Lagrangian dynamics
  • Investigate the role of potential energy in oscillatory systems
USEFUL FOR

Students and professionals in physics, particularly those specializing in classical mechanics, as well as engineers working with dynamic systems involving springs and oscillations.

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}
 
Physics 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:

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
866
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
5
Views
2K
Replies
26
Views
5K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K