Day 33 - Lagrangian Examples#

Interview Study - GenAI#
Basma AlMahmood is a PER PhD student at MSU.
She is doing research on how students use generative AI in their (astro)physics classes.
She is piloting an interview protocol to understand how students are using generative AI in their (astro)physics classes.

Announcements#
Homework 8 has been posted (Last HW; Due 17 Apr, “Late” 24 Apr)
Last Exercise 0: Reflect Learning Outcomes
Final Project is posted
Video Presentations due 27 Apr
Computational Essay due 1 May
Rubric for both are posted
No class (20 Apr - 24 Apr) - DC out of country
Make appointment for project help (clicker extra credit)
Reminder: The Lagrangian#
The Lagrangian \(\mathcal{L}\) is a function that summarizes the dynamics of the system:
where:
\(T\) is the kinetic energy of the system (depends on gen. vel., \(\dot{q}\)),
\(V\) is the potential energy of the system (depends on gen. pos., \(q\)).
The equation of motion is recovered by applying the Euler-Lagrange equation to the Lagrangian (minimizing the action integral).
Clicker Question 33-1#
For a 1D SHO, the kinetic and potential energy are given by:
What are the derivatives of the Lagrangian \(\mathcal{L} = T - V\) with respect to \(x\) and \(\dot{x}\)?
\(\frac{\partial \mathcal{L}}{\partial x} = kx\) and \(\frac{\partial \mathcal{L}}{\partial \dot{x}} = m\dot{x}\)
\(\frac{\partial \mathcal{L}}{\partial x} = -kx\) and \(\frac{\partial \mathcal{L}}{\partial \dot{x}} = m\dot{x}\)
\(\frac{\partial \mathcal{L}}{\partial x} = kx\) and \(\frac{\partial \mathcal{L}}{\partial \dot{x}} = -m\dot{x}\)
\(\frac{\partial \mathcal{L}}{\partial x} = -kx\) and \(\frac{\partial \mathcal{L}}{\partial \dot{x}} = -m\dot{x}\)
None of the above.
Clicker Question 33-2#
For the plane pendulum, with \(\mathcal{L}(x, \dot{x}, y, \dot{y}, t) = \frac{1}{2} m \left( \dot{x}^2 + \dot{y}^2 \right) - mgy\)
We found:
Does that seem right?
Yes, it’s fine.
Maybe, but I’m not sure I can tell you why.
No, I know this is wrong, but I’m not sure why.
No, this is definitely wrong and I can prove it!
Clicker Question 33-3#
For the plane pendulum, we changed the Lagrangian from Cartesian coordinates to plane polar coordinates. In Cartesian, we found the Lagrangian depended on \(y,\dot{x},\dot{y}\). In polar, it only depended on \(\phi\) and \(\dot{\phi}\).
What does that tell you about the dimensions of the system? The system is:
in 3D space, so it’s 3D.
described by two spatial dimensions (\(x,y\)), so it’s 2D.
described by one spatial dimension (\(\phi\)), so it’s 1D.
We chose our generalized coordinates poorly#
We used the Lagrangian formalism to derive the equations of motion for a plane pendulum. We chose the \(x\) and \(y\) coordinates.
This gave us the following derivatives for the Lagrangian:
We made a mistake by not including the constraint#
We made a mistake by not including the constraint \(x^2 + y^2 = L^2\) in our Lagrangian.
We can change variables to \(r\) and \(\phi\). $\(x = r \cos(\phi) \quad y = r \sin(\phi)\)$
We made a mistake by not including the constraint#
Now we include the constraint \(r = L\), so that \(\dot{r} = 0\).
Clicker Question 33-4#
For the plane pendulum, we changed the Lagrangian from Cartesian coordinates to plane polar coordinates. In Cartesian, we found the Lagrangian depended on \(y,\dot{x},\dot{y}\). In polar, it only depended on \(\phi\) and \(\dot{\phi}\).
What does that tell you about the dimensions of the system? The system is:
in 3D space, so it’s 3D.
described by two spatial dimensions (\(x,y\)), so it’s 2D.
described by one spatial dimension (\(\phi\)), so it’s 1D.
Clicker Question 33-5#
With \(\mathcal{L} = \dfrac{1}{2} m L^2 \dot{\phi}^2 - mgL \cos(\phi)\), we can find the equations of motion.
Which of the following equations of motion is correct?
\(1.\quad \ddot{\phi} = -\frac{g}{L} \sin(\phi) \qquad 2. \quad \ddot{\phi} = -\frac{g}{L} \cos(\phi)\) \(3.\quad \ddot{\phi} = -\sqrt{\frac{g}{L} \sin(\phi)} \qquad 4.\quad \ddot{\phi} = -\sqrt{\frac{g}{L} \cos(\phi)}\) \(5.\quad \textrm{None of these}\)
Clicker Question 33-6#
For the Atwood’s machine, \(M\) is connected to \(m\) by a string of length \(l\). Each mass has a length of string extended as measured from the center of the pulley (\(R\)) of \(y_1\) and \(y_2\), respectively. The string wraps around half the pulley.
Which of the following represents the equation of constraint for the system?
\(1. \quad y_1 + y_2 = l - R \phi \qquad 2. \quad y_1 - y_2 = l + R \phi\) \(3. \quad y_1 + y_2 = l - \pi R \qquad 4. \quad y_1 - y_2 = l + \pi R\) \(5. \quad \textrm{None of these}\)
Take the time derivative of the constraint equation. What do you notice?
Clicker Question 33-7#
With a Lagrangian of the form \(\mathcal{L} = \frac{1}{2}(M+m)\dot{y}^2_1 - (M-m)gy_1\), we can find the generalized forces and generalized momenta.
What are \(F_{y_1}\) and \(p_{y_1}\) for the Atwood’s machine?
\(1. \quad F_{y_1} = -mg \textrm{ and } p_{y_1} = m\dot{y}_1 \qquad 2. \quad F_{y_1} = -Mgy_1 \textrm{ and } p_{y_1} = M\dot{y}_1\) \(3. \quad F_{y_1} = -(M-m)g \textrm{ and } p_{y_1} = (M+m)\dot{y}_1\) \(4. \quad F_{y_1} = -(M+m)g \textrm{ and } p_{y_1} = (M-m)\dot{y}_1\) \(5. \quad \textrm{None of these}\)
Clicker Question 33-8#
Now, we allow the pulley (mass, \(M_p\)) to rotate. The Lagrangian is given by: $\(\mathcal{L} = \frac{1}{2}(M+m)\dot{y}_1^2 + \frac{1}{2}I\dot{\phi}^2 - (M-m)gy_1\)$
Where \(I\) is the moment of inertia of the pulley. What is the moment of inertia of the pulley?
\(1. \quad I = \frac{1}{2}M_pR^2 \qquad 2. \quad I = \frac{1}{3}M_pR^2\) \(3. \quad I = M_pR^2 \qquad 4. \quad I = \frac{1}{4}M_pR^2\) \(5. \quad \textrm{None of these}\)
Clicker Question 33-9#
The rope moves without slipping on the pulley. A rotation of \(R d\phi\) corresponds to a displacement of \(dy_1\) for the first mass, \(M\). What is the new equation of constraint for the system?
\(y_1 + y_2 = l - R \phi\)
\(dy_1 = R d\phi\)
\(y_1 = R\phi\)
\(\dot{y}_1 = R \dot{\phi}\)
More than one of these