MechanicsLagrangian Mechanics4 of 6
Lagrangian Mechanics · 4

Applying Lagrange's Equations

When an object is confined to a wire, a moving wedge, or a curved dome, Newton's laws get stuck on the unknown normal force, so we use Lagrange's equations in generalized coordinates to find the motion directly.

Constraints and the Physical Meaning of Lagrange's Equations
mm
mg\htmlClass{lc-violet}{mg}
N= ?\htmlClass{lc-violet}{N} = \,?

In any generalized coordinate q\Where{q}, the Euler-Lagrange equation for L=T−VL = \Kin{T} - \Pot{V} is Newton's second law written in that coordinate:

ddt(∂L∂q˙⏟generalizedmomentum)=∂L∂q⏟generalizedforce\displaystyle \frac{d}{dt}\Bigg(\Mom{\underbrace{\frac{\partial L}{\partial \dot{q}}}_{\begin{gathered}\scriptstyle\text{generalized}\\\scriptstyle\text{momentum}\end{gathered}}}\Bigg) = \Force{\underbrace{\frac{\partial L}{\partial q}}_{\begin{gathered}\scriptstyle\text{generalized}\\\scriptstyle\text{force}\end{gathered}}}

Writing the dynamics through energy L=T−VL = \Kin{T} - \Pot{V} rather than vector components F=ma\Force{\mathbf{F}} = m\Acc{\mathbf{a}} automatically generates geometry forces (like the centrifugal term mrθ˙2\Fict{mr\dot{\theta}^2} from ∂T∂r\frac{\partial \Kin{T}}{\partial \Where{r}}) and makes smooth constraint forces disappear, even when the surface itself is moving.

Geometry Forces and Why Smooth Constraint Forces Vanish
r\htmlClass{lc-blue}{r}
θ\htmlClass{lc-blue}{\theta}
T=12m(r˙2+r2θ˙2)∂L∂r=  ?\begin{aligned}\htmlClass{lc-pink}{T} &= \tfrac{1}{2}m\big(\htmlClass{lc-pink}{\dot r}^{2} + \htmlClass{lc-blue}{r}^{2}\htmlClass{lc-pink}{\dot\theta}^{2}\big)\\[4pt] \htmlClass{lc-violet}{\dfrac{\partial L}{\partial r}} &= \;?\end{aligned}

Even when a moving wire pushes a bead sideways so the bead's real velocity v\Vel{\mathbf{v}} has a component along the normal force N\Force{\mathbf{N}}, freezing time tt locks the wire in place so any allowed nudge δr\Nudge{\delta\mathbf{r}} along the wire is perpendicular to N\Force{\mathbf{N}} and does zero virtual work:

Even when a moving wire pushes a bead and does real work over time, a nudge along the wire at any frozen instant is perpendicular to the normal force and does zero virtual work.
1

Coupled Coordinates: Block Sliding on a Moving Wedge

We want to find the horizontal acceleration q¨1\Acc{\ddot{q}_1} of a movable wedge of mass MM and incline angle α\alpha on a frictionless table, together with the downhill acceleration q¨2\Acc{\ddot{q}_2} of a small block of mass mm sliding down its frictionless slope.

xx
yy
MM
mm
α\alpha
q1\htmlClass{lc-blue}{q_1}
q2\htmlClass{lc-blue}{q_2}
Coupled Coordinates: Block Sliding on a Moving Wedge
MM
mm
α\alpha
?\htmlClass{lc-orange}{?}
?\htmlClass{lc-orange}{?}
Text solution
Write the fixed room coordinates and build LLExpress the block's fixed room coordinates (x,y)(\Where{x}, \Where{y}) in terms of the wedge position q1\Where{q_1} and slope distance q2\Where{q_2}, differentiate with respect to tt, and substitute into L=T−VL = \Kin{T} - \Pot{V}:
x=q1+q2cos⁡α,y=−q2sin⁡αx˙=q˙1+q˙2cos⁡α,y˙=−q˙2sin⁡αT=12Mq˙12+12m(x˙2+y˙2)=12Mq˙12+12m(q˙12+q˙22+2q˙1q˙2cos⁡α⏟velocity coupling)L=T−V=12(M+m)q˙12+12mq˙22+mq˙1q˙2cos⁡α+mgq2sin⁡α\displaystyle \begin{aligned} \Where{x} &= \Where{q_1} + \Where{q_2}\cos\alpha, \\ \Where{y} &= -\Where{q_2}\sin\alpha \\ \Vel{\dot{x}} &= \Vel{\dot{q}_1} + \Vel{\dot{q}_2}\cos\alpha, \\ \Vel{\dot{y}} &= -\Vel{\dot{q}_2}\sin\alpha \\ \Kin{T} &= \frac{1}{2}M\Vel{\dot{q}_1}^2 + \frac{1}{2}m(\Vel{\dot{x}}^2 + \Vel{\dot{y}}^2) \\ &= \frac{1}{2}M\Vel{\dot{q}_1}^2 + \frac{1}{2}m(\Vel{\dot{q}_1}^2 + \Vel{\dot{q}_2}^2 \\ &\qquad + \underbrace{2\Vel{\dot{q}_1}\Vel{\dot{q}_2}\cos\alpha}_{\text{velocity coupling}}) \\ L &= \Kin{T} - \Pot{V} \\ &= \frac{1}{2}(M + m)\Vel{\dot{q}_1}^2 + \frac{1}{2}m\Vel{\dot{q}_2}^2 \\ &\qquad + m\Vel{\dot{q}_1}\Vel{\dot{q}_2}\cos\alpha + mg\Where{q_2}\sin\alpha \end{aligned}
Write the q1\Where{q_1} Euler-Lagrange equation (horizontal momentum conservation)Because q1\Where{q_1} does not appear in LL, ∂L∂q1=0\Force{\frac{\partial L}{\partial q_1}} = 0, so the total horizontal momentum is constant and differentiating gives q¨1\Acc{\ddot{q}_1} in terms of q¨2\Acc{\ddot{q}_2}:
∂L∂q˙1=(M+m)q˙1+mq˙2cos⁡α=constant(M+m)q¨1+mq¨2cos⁡α=0  ⟹  q¨1=−mcos⁡αM+mq¨2\displaystyle \begin{aligned} \Mom{\frac{\partial L}{\partial \dot{q}_1}} &= (M + m)\Vel{\dot{q}_1} \\ &\qquad + m\Vel{\dot{q}_2}\cos\alpha \\ &= \Mom{\text{constant}} \\ (M + m)\Acc{\ddot{q}_1} & \\ {} + m\Acc{\ddot{q}_2}\cos\alpha &= 0 \\ \implies \Acc{\ddot{q}_1} &= -\frac{m\cos\alpha}{M + m}\Acc{\ddot{q}_2} \end{aligned}
Write the q2\Where{q_2} Euler-Lagrange equation and solve for both accelerationsDifferentiate LL with respect to q˙2\Vel{\dot{q}_2} and q2\Where{q_2}, then substitute q¨1\Acc{\ddot{q}_1} to find q¨2\Acc{\ddot{q}_2} and q¨1\Acc{\ddot{q}_1}:
ddt(∂L∂q˙2)=∂L∂q2  ⟹  mq¨2+mq¨1cos⁡α=mgsin⁡αq¨2−mcos⁡2αM+mq¨2=gsin⁡α  ⟹  q¨2(M+m(1−cos⁡2α)M+m)=gsin⁡αq¨2=(M+m)gsin⁡αM+msin⁡2α,q¨1=−mgsin⁡αcos⁡αM+msin⁡2α\displaystyle \begin{gathered} \begin{aligned} \frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{q}_2}}\right) &= \Force{\frac{\partial L}{\partial q_2}} \implies \\ m\Acc{\ddot{q}_2} + m\Acc{\ddot{q}_1}\cos\alpha &= \Force{mg\sin\alpha} \\ \Acc{\ddot{q}_2} - \frac{m\cos^2\alpha}{M + m}\Acc{\ddot{q}_2} &= g\sin\alpha \implies \\ \Acc{\ddot{q}_2}\left(\tfrac{M + m(1 - \cos^2\alpha)}{M + m}\right) &= g\sin\alpha \end{aligned} \\ \begin{aligned} \Acc{\ddot{q}_2} &= \frac{(M + m)g\sin\alpha}{M + m\sin^2\alpha}, \\ \Acc{\ddot{q}_1} &= -\frac{mg\sin\alpha\cos\alpha}{M + m\sin^2\alpha} \end{aligned} \end{gathered}

So the block accelerates down the slope while the wedge recoils to the left (q¨1<0\Acc{\ddot{q}_1} < 0), and in the heavy-wedge limit M→∞M \to \infty the recoil vanishes (q¨1→0\Acc{\ddot{q}_1} \to 0) and q¨2→gsin⁡α\Acc{\ddot{q}_2} \to g\sin\alpha.

As the wedge recoils backward at speed q˙1\Vel{\dot{q}_1} while the block slides down the slope at relative speed q˙2\Vel{\dot{q}_2}, the vector sum in the fixed room tilts the block's true velocity steeper than the ramp and creates the 2q˙1q˙2cos⁡α2\Vel{\dot{q}_1}\Vel{\dot{q}_2}\cos\alpha kinetic energy cross-term:

Because the wedge slides backward as the block goes down, the block drops steeper in the room than the ramp and picks up a kinetic energy cross-term.
2

Moving Constraints: Bead on a Spinning Wire

In the wedge problem, the ramp moved on its own as one of the system's coordinates. Now we want to find the radial motion r(t)\Where{r(t)} of a bead of mass mm sliding along a horizontal frictionless wire when an outside motor forces the wire to spin at a constant angular speed, θ(t)=ωt\Where{\theta(t)} = \omega t.

Moving Constraints: Bead on a Spinning Wire
ω\omega
θ\htmlClass{lc-blue}{\theta}
mm
θ(t)=ωt\htmlClass{lc-blue}{\theta}(t) = \omega t
Text solution
Write the time-dependent coordinates (x,y)(\Where{x}, \Where{y}) and differentiate with the product ruleExpress the bead's fixed horizontal coordinates (x,y)(\Where{x}, \Where{y}) in terms of its distance r\Where{r} along the wire and the forced angle θ=ωt\Where{\theta} = \omega t, then take time derivatives:
x=rcos⁡(ωt),y=rsin⁡(ωt)x˙=r˙cos⁡(ωt)−rωsin⁡(ωt),y˙=r˙sin⁡(ωt)+rωcos⁡(ωt)\displaystyle \begin{aligned} \Where{x} &= \Where{r}\cos(\omega t), \\ \Where{y} &= \Where{r}\sin(\omega t) \\ \Vel{\dot{x}} &= \Vel{\dot{r}}\cos(\omega t) - \Where{r}\omega\sin(\omega t), \\ \Vel{\dot{y}} &= \Vel{\dot{r}}\sin(\omega t) + \Where{r}\omega\cos(\omega t) \end{aligned}
Build the Lagrangian from T\Kin{T} and V\Pot{V}Square and add x˙\Vel{\dot{x}} and y˙\Vel{\dot{y}} to find the kinetic energy on the horizontal table (V=0\Pot{V} = 0):
L\displaystyle L =T−V\displaystyle = \Kin{T} - \Pot{V} =12m(x˙2+y˙2)\displaystyle = \frac{1}{2}m(\Vel{\dot{x}}^2 + \Vel{\dot{y}}^2) =12mr˙2+12mω2r2\displaystyle = \frac{1}{2}m\Vel{\dot{r}}^2 + \frac{1}{2}m\omega^2 \Where{r}^2
Write the Euler-Lagrange equation for r\Where{r}Differentiate LL with respect to r˙\Vel{\dot{r}} and r\Where{r} to find the outward radial acceleration and effective potential energy:
ddt(∂L∂r˙)=∂L∂r  ⟹  mr¨=mω2r  ⟹  r¨=ω2r,Veff(r)=−12mω2r2⏟effective potential\displaystyle \begin{gathered} \begin{aligned} \frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{r}}}\right) &= \Force{\frac{\partial L}{\partial r}} \\ \implies m\Acc{\ddot{r}} &= m\omega^2 \Where{r} \\ \implies \Acc{\ddot{r}} &= \omega^2 \Where{r}, \end{aligned} \\ \underbrace{\Pot{V_{\text{eff}}(r)} = -\frac{1}{2}m\omega^2 \Where{r}^2}_{\text{effective potential}} \end{gathered}

So the bead flies outward exponentially as if sliding down an upside-down potential hill Veff(r)=−12mω2r2\Pot{V_{\text{eff}}(r)} = -\frac{1}{2}m\omega^2 \Where{r}^2, while the motor adds mechanical energy into EE == T+V\Kin{T} + \Pot{V} == 12mr˙2+12mω2r2\Kin{\frac{1}{2}m\dot{r}^2} + \Kin{\frac{1}{2}m\omega^2 r^2} through the sideways normal force.

3

Non-Potential Forces and Generalized Work

When forces like viscous drag, sliding friction, or an external push act on a system, they do not come from a potential energy V(q)\Pot{V(q)}. We want to include them in Lagrange's equations and write the equation of motion for a pendulum of mass mm and length ℓ\ell experiencing oil drag Fdrag=−bv\Force{F_{\text{drag}}} = -b\Vel{v} and a horizontal push F0cos⁡(Ωt)\Force{F_0\cos(\Omega t)}.

Non-Potential Forces and Generalized Work
θ\htmlClass{lc-blue}{\theta}
ℓ\ell
mm
v⃗\htmlClass{lc-pink}{\vec v}
Fdrag\htmlClass{lc-violet}{F_{\text{drag}}}
F0cos⁡(Ωt)\htmlClass{lc-violet}{F_0\cos(\Omega t)}
Qθ=  ?\htmlClass{lc-violet}{Q_{\theta}} = \;?

To include any non-potential force F\Force{\mathbf{F}}, we freeze time tt, nudge q\Where{q} by δq\Nudge{\delta q}, and read off the coefficient of δq\Nudge{\delta q} in the virtual work δW\Work{\delta W} to add onto the force side of the Euler-Lagrange equation:

ddt(∂L∂q˙)=∂L∂q+Qq,where δW=F⋅δr=Qq⏟generalizedforceδq\displaystyle \begin{aligned} \frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{q}}}\right) &= \Force{\frac{\partial L}{\partial q}} + \Force{Q_q}, \\ \text{where } \Work{\delta W} &= \Force{\mathbf{F}}\cdot\Nudge{\delta\mathbf{r}} = \Force{\underbrace{Q_q}_{\begin{gathered}\scriptstyle\text{generalized}\\\scriptstyle\text{force}\end{gathered}}}\Nudge{\delta q} \end{aligned}
Text solution
Find the displacements in a frozen-instant nudge δθ\Nudge{\delta\theta}Freeze time tt and nudge the pendulum angle by δθ\Nudge{\delta\theta} to find how far the bob moves along the arc and horizontally:
δs\displaystyle \Nudge{\delta s} =ℓ δθ,x\displaystyle = \ell\,\Nudge{\delta\theta}, \qquad \Where{x} =ℓsin⁡θ  ⟹  δx\displaystyle = \ell\sin\Where{\theta} \implies \Nudge{\delta x} =ℓcos⁡θ δθ\displaystyle = \ell\cos\Where{\theta}\,\Nudge{\delta\theta}
Compute the virtual work δW\Work{\delta W} and read off Qθ\Force{Q_\theta}Multiply each non-potential force by the displacement along its line of action and collect the coefficient of δθ\Nudge{\delta\theta}:
δWdrag=(−bℓθ˙)(ℓ δθ)=−bℓ2θ˙ δθδWpush=F0cos⁡(Ωt) (ℓcos⁡θ δθ)δW=(−bℓ2θ˙+F0ℓcos⁡θcos⁡(Ωt))δθ  ⟹  Qθ=−bℓ2θ˙+F0ℓcos⁡θcos⁡(Ωt)\displaystyle \begin{aligned} \Work{\delta W_{\text{drag}}} &= (-b\ell\Vel{\dot{\theta}})(\ell\,\Nudge{\delta\theta}) \\ &= -b\ell^2\Vel{\dot{\theta}}\,\Nudge{\delta\theta} \\ \Work{\delta W_{\text{push}}} &= \Force{F_0\cos(\Omega t)}\,(\ell\cos\Where{\theta}\,\Nudge{\delta\theta}) \\ \Work{\delta W} &= (-b\ell^2\Vel{\dot{\theta}} \\ &\quad + F_0\ell\cos\Where{\theta}\cos(\Omega t))\Nudge{\delta\theta} \\ \implies \Force{Q_\theta} &= -b\ell^2\Vel{\dot{\theta}} \\ &\qquad + F_0\ell\cos\Where{\theta}\cos(\Omega t) \end{aligned}
Insert Qθ\Force{Q_\theta} into the Euler-Lagrange equation for θ\Where{\theta}Add Qθ\Force{Q_\theta} onto the force side of the conservative pendulum equation from L=12mℓ2θ˙2+mgℓcos⁡θL = \frac{1}{2}m\ell^2\Vel{\dot{\theta}}^2 + mg\ell\cos\Where{\theta}:
mℓ2θ¨\displaystyle m\ell^2\Acc{\ddot{\theta}} =−mgℓsin⁡θ−bℓ2θ˙+F0ℓcos⁡θcos⁡(Ωt)\displaystyle = -mg\ell\sin\Where{\theta} - b\ell^2\Vel{\dot{\theta}} + F_0\ell\cos\Where{\theta}\cos(\Omega t)

So the virtual work step turns both forces into torques about the pivot, giving the full equation of motion for the damped, driven pendulum.

In a frozen-instant angular nudge δθ\Nudge{\delta\theta}, projecting the bob's displacement onto each force automatically multiplies the along-arc drag by lever arm ℓ\Where{\ell} and the horizontal push by lever arm ℓcos⁡θ\Where{\ell\cos\theta} to convert forces into torques:

When you nudge the bob at a frozen instant, the step along each force matches that force's lever arm about the pivot.
4

Lagrange Multipliers: Ice Cube on a Dome

Eliminating constrained coordinates hides the constraint forces, which is a problem when we need to find the constraint force itself, such as finding the angle θ\Where{\theta} where an ice cube sliding from rest at the top of a frictionless hemisphere of radius RR loses contact (N=0\Force{N} = 0) and flies into the air.

Lagrange Multipliers: Ice Cube on a Dome
RR
θ= ?\htmlClass{lc-blue}{\theta} = \,?

To find a constraint force, we keep the constrained coordinates free in LL, write the surface constraint as f(q1,q2)=0f(\Where{q_1}, \Where{q_2}) = 0, and add the normal force term λ∂f∂q\Force{\lambda}\frac{\partial f}{\partial q} to the force side of each Euler-Lagrange equation:

ddt(∂L∂q˙)=∂L∂q+λ⏟Lagrangemultiplier∂f∂q\displaystyle \frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{q}}}\right) = \Force{\frac{\partial L}{\partial q}} + \Force{\underbrace{\lambda}_{\begin{gathered}\scriptstyle\text{Lagrange}\\\scriptstyle\text{multiplier}\end{gathered}}}\frac{\partial f}{\partial q}
Text solution
Write L(r,θ,r˙,θ˙)L(\Where{r},\Where{\theta},\Vel{\dot{r}},\Vel{\dot{\theta}}) with r\Where{r} kept free and state the surface constraintKeep both polar coordinates r\Where{r} and θ\Where{\theta} (measured from the top of the dome) free in LL alongside the constraint equation f(r,θ)=0f(\Where{r},\Where{\theta}) = 0:
L=12m(r˙2+r2θ˙2)−mgrcos⁡θ,f(r,θ)=r−R=0(∂f∂r=1, ∂f∂θ=0)\displaystyle \begin{aligned} L &= \frac{1}{2}m(\Vel{\dot{r}}^2 + \Where{r}^2\Vel{\dot{\theta}}^2) \\ &\qquad - mg\Where{r}\cos\Where{\theta}, \\ f(\Where{r},\Where{\theta}) &= \Where{r} - R = 0 \\ &\quad \left(\frac{\partial f}{\partial r} = 1,\ \frac{\partial f}{\partial \theta} = 0\right) \end{aligned}
Differentiate with respect to r\Where{r} first, then apply the constraint to find λ\Force{\lambda}Write the radial Lagrange multiplier equation before plugging in r=R\Where{r} = R, r˙=0\Vel{\dot{r}} = 0, and r¨=0\Acc{\ddot{r}} = 0:
mr¨=mrθ˙2−mgcos⁡θ+λ0=mRθ˙2−mgcos⁡θ+λ  ⟹  λ=mgcos⁡θ−mRθ˙2\displaystyle \begin{aligned} m\Acc{\ddot{r}} &= \Fict{mr\dot{\theta}^2} - \Force{mg\cos\theta} + \Force{\lambda} \\ 0 &= \Fict{mR\dot{\theta}^2} - \Force{mg\cos\theta} + \Force{\lambda} \\ \implies \Force{\lambda} &= \Force{mg\cos\theta} - \Fict{mR\dot{\theta}^2} \end{aligned}
Use energy conservation to eliminate θ˙2\Vel{\dot{\theta}}^2 and set λ=0\Force{\lambda} = 0Equate the kinetic energy gained to the potential energy lost over the drop R(1−cos⁡θ)\Where{R(1 - \cos\theta)}, substitute mRθ˙2\Fict{mR\dot{\theta}^2} into λ\Force{\lambda}, and solve λ=0\Force{\lambda} = 0 for the departure angle:
12mR2θ˙2=mgR(1−cos⁡θ)  ⟹  mRθ˙2=2mg(1−cos⁡θ)λ=mgcos⁡θ−2mg(1−cos⁡θ)=mg(3cos⁡θ−2)=0  ⟹  cos⁡θ=23(θ≈48.2∘)\displaystyle \begin{aligned} \Kin{\frac{1}{2}mR^2\dot{\theta}^2} &= \Pot{mgR(1 - \cos\theta)} \\ \implies \Fict{mR\dot{\theta}^2} &= \Fict{2mg(1 - \cos\theta)} \\ \Force{\lambda} &= \Force{mg\cos\theta} \\ &\qquad - \Fict{2mg(1 - \cos\theta)} \\ &= mg(3\cos\Where{\theta} - 2) = 0 \\ \implies \cos\Where{\theta} &= \frac{2}{3} \quad (\Where{\theta} \approx 48.2^\circ) \end{aligned}

So at θ=arccos⁡23≈48.2∘\Where{\theta} = \arccos\tfrac{2}{3} \approx 48.2^\circ, the normal force λ\Force{\lambda} drops to zero and the ice cube launches off the dome.

As the ice cube slides down the dome, the inward radial component of gravity mgcos⁡θ\Force{mg\cos\theta} shrinks while the outward centrifugal term mRθ˙2\Fict{mR\dot{\theta}^2} grows, until the normal force λ=mgcos⁡θ−mRθ˙2\Force{\lambda} = \Force{mg\cos\theta} - \Fict{mR\dot{\theta}^2} reaches zero at θ≈48.2∘\Where{\theta} \approx 48.2^\circ and the ice cube leaves the surface:

As the ice cube slides down the dome, the outward normal force shrinks to zero right where the outward centrifugal term matches the inward component of gravity.
5

Coupled Constraints: Cylinder Rolling on a Ramp

On the hemisphere, the constraint f(r,θ)=r−R=0f(\Where{r}, \Where{\theta}) = \Where{r} - R = 0 involved only one coordinate. Now we want to find the linear acceleration x¨\Acc{\ddot{x}}, the static friction force λ\Force{\lambda}, and the ramp angle α\alpha where skidding begins for a solid cylinder (I=12mR2I = \frac{1}{2}mR^2) rolling without slipping down a ramp with static friction coefficient μs\mu_s.

mm
RR
ϕ\htmlClass{lc-blue}{\phi}
RϕR\htmlClass{lc-blue}{\phi}
x\htmlClass{lc-blue}{x}
α\alpha
Coupled Constraints: Cylinder Rolling on a Ramp
I=12mR2I = \tfrac{1}{2}mR^{2}
RR
mm
α\alpha
x¨= ?\htmlClass{lc-orange}{\ddot x} = \,?
?\htmlClass{lc-violet}{?}
Text solution
Write LL and the no-slip constraint with both x\Where{x} and ϕ\Where{\phi} freeInclude translational and rotational kinetic energy in LL, and write the rolling constraint f(x,ϕ)=0f(\Where{x},\Where{\phi}) = 0 along with its partial derivatives:
L=12mx˙2+12(12mR2)ϕ˙2+mgxsin⁡α=12mx˙2+14mR2ϕ˙2+mgxsin⁡αf(x,ϕ)=x−Rϕ=0  ⟹  ∂f∂x=1,∂f∂ϕ=−R\displaystyle \begin{aligned} L &= \frac{1}{2}m\Vel{\dot{x}}^2 + \frac{1}{2}\left(\frac{1}{2}mR^2\right)\Vel{\dot{\phi}}^2 \\ &\qquad + mg\Where{x}\sin\alpha \\ &= \frac{1}{2}m\Vel{\dot{x}}^2 + \frac{1}{4}mR^2\Vel{\dot{\phi}}^2 \\ &\qquad + mg\Where{x}\sin\alpha \\ f(\Where{x},\Where{\phi}) &= \Where{x} - R\Where{\phi} = 0 \\ &\implies \frac{\partial f}{\partial x} = 1, \\ &\qquad \frac{\partial f}{\partial \phi} = -R \end{aligned}
Write the x\Where{x} and ϕ\Where{\phi} Lagrange multiplier equationsDifferentiate LL and ff with respect to x\Where{x} and ϕ\Where{\phi} to obtain the linear force equation and the rotational torque equation:
mx¨=mgsin⁡α+λ⏟linearfrictionforce12mR2ϕ¨=−λR⏟frictiontorque\displaystyle \begin{aligned} m\Acc{\ddot{x}} &= \Force{mg\sin\alpha} + \Force{\underbrace{\lambda}_{\begin{gathered}\scriptstyle\text{linear}\\\scriptstyle\text{friction}\\\scriptstyle\text{force}\end{gathered}}} \\ \frac{1}{2}mR^2\Acc{\ddot{\phi}} &= \Force{\underbrace{-\lambda R}_{\begin{gathered}\scriptstyle\text{friction}\\\scriptstyle\text{torque}\end{gathered}}} \end{aligned}
Apply x¨=Rϕ¨\Acc{\ddot{x}} = R\Acc{\ddot{\phi}} to solve for x¨\Acc{\ddot{x}}, λ\Force{\lambda}, and the skidding angleDifferentiate the constraint twice to substitute ϕ¨=x¨R\Acc{\ddot{\phi}} = \tfrac{\Acc{\ddot{x}}}{R}, solve for λ\Force{\lambda} and x¨\Acc{\ddot{x}}, and compare ∣λ∣\Force{|\lambda|} with the maximum static friction μsmgcos⁡α\Force{\mu_s mg\cos\alpha}:
12mR2(x¨R)=−λR  ⟹  λ=−12mx¨mx¨=mgsin⁡α−12mx¨  ⟹  32mx¨=mgsin⁡α  ⟹  x¨=23gsin⁡αλ=−13mgsin⁡α,∣λ∣>μsmgcos⁡α  ⟹  13mgsin⁡α>μsmgcos⁡α  ⟹  tan⁡α>3μs\displaystyle \begin{aligned} \frac{1}{2}mR^2\left(\frac{\Acc{\ddot{x}}}{R}\right) &= \Force{-\lambda R} \\ \implies \Force{\lambda} &= -\frac{1}{2}m\Acc{\ddot{x}} \\ m\Acc{\ddot{x}} &= \Force{mg\sin\alpha} \\ &\qquad - \frac{1}{2}m\Acc{\ddot{x}} \\ \implies \frac{3}{2}m\Acc{\ddot{x}} &= mg\sin\alpha \\ \implies \Acc{\ddot{x}} &= \frac{2}{3}g\sin\alpha \\ \Force{\lambda} &= -\frac{1}{3}mg\sin\alpha, \\ \Force{|\lambda|} &> \Force{\mu_s mg\cos\alpha} \\ \implies \frac{1}{3}mg\sin\alpha &> \Force{\mu_s mg\cos\alpha} \\ \implies \tan\alpha &> 3\mu_s \end{aligned}

So the cylinder accelerates down the ramp at x¨=23gsin⁡α\Acc{\ddot{x}} = \frac{2}{3}g\sin\alpha while uphill static friction λ=−13mgsin⁡α\Force{\lambda} = -\frac{1}{3}mg\sin\alpha torques it forward, and the cylinder begins to skid as soon as the incline exceeds tan⁡α=3μs\tan\alpha = 3\mu_s.

As the ramp angle α\alpha increases, the required uphill static friction ∣λ∣=13mgsin⁡α\Force{|\lambda|} = \frac{1}{3}mg\sin\alpha grows while the maximum available static friction μsmgcos⁡α\Force{\mu_s mg\cos\alpha} shrinks, until tan⁡α\tan\alpha passes 3μs3\mu_s and the unrolled arc RϕR\Where{\phi} falls behind the distance x\Where{x} as the cylinder skids:

Tilt the ramp steeper to see the friction needed to roll without slipping outgrow the friction the ramp can supply.
6

Choosing Your Setup

Before writing any derivatives, we can pick the simplest setup by asking whether the problem asks for the constraint force and whether external motors or non-potential forces act on the system.

Strategy Map for Constrained Systems
constraint force?\text{constraint force?}

Key concepts

If you only need the motion

build the constraint directly into your generalized coordinates q\Where{q} from the start and use ddt(∂L∂q˙)=∂L∂q\frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{q}}}\right) = \Force{\frac{\partial L}{\partial q}}. Write the fixed room coordinates (x,y)(\Where{x}, \Where{y}) first whenever coordinates move or tilt relative to each other (so differentiating gives the velocity cross-terms in T\Kin{T}) or when an outside motor moves the constraint in time (the normal force still drops out because ∂L∂q\Force{\frac{\partial L}{\partial q}} holds tt frozen, even though E=T+VE = \Kin{T} + \Pot{V} is not conserved).

If non-potential forces act

freeze time tt, nudge q\Where{q} by δq\Nudge{\delta q}, and read off the generalized force Qq\Force{Q_q} from the virtual work δW\Work{\delta W} == F⋅δr\Force{\mathbf{F}}\cdot\Nudge{\delta\mathbf{r}} == Qq δq\Force{Q_q}\,\Nudge{\delta q}:

ddt(∂L∂q˙)\displaystyle \frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{q}}}\right) =∂L∂q+Qq\displaystyle = \Force{\frac{\partial L}{\partial q}} + \Force{Q_q}

If you need the constraint force

(such as when contact ends at λ=0\Force{\lambda} = 0 or skidding starts at ∣λ∣>μsN\Force{|\lambda|} > \Force{\mu_s N}): keep the constrained coordinates free in LL, write the constraint as f(q1,q2)=0f(\Where{q_1}, \Where{q_2}) = 0, and add λ∂f∂q\Force{\lambda}\frac{\partial f}{\partial q}:

ddt(∂L∂q˙)\displaystyle \frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{q}}}\right) =∂L∂q+λ∂f∂q\displaystyle = \Force{\frac{\partial L}{\partial q}} + \Force{\lambda}\frac{\partial f}{\partial q}

Take all partial derivatives first, and only then substitute f=0f = 0, f˙=0\dot{f} = 0, and f¨=0\ddot{f} = 0.

7

Practice

1

A bead slides along a frictionless wire that an external motor pushes sideways through the room, so the normal force N\Force{\mathbf{N}} from the wire has a component along the bead's real velocity v\Vel{\mathbf{v}}.

(a) Explain why the bead's total mechanical energy E=T+VE = \Kin{T} + \Pot{V} is not conserved, yet the normal force N\Force{\mathbf{N}} still does not appear in the Euler-Lagrange equation for the bead's coordinate q\Where{q} along the wire.

(b) When using Lagrange multipliers to find a constraint force with f(q1,q2)=0f(\Where{q_1}, \Where{q_2}) = 0, why must you take all derivatives in the Euler-Lagrange equations before substituting the constraint rather than substituting f(q1,q2)=0f(\Where{q_1}, \Where{q_2}) = 0 into LL first?

For (a), compare the bead's displacement in real time dtdt with a virtual displacement δr\Nudge{\delta\mathbf{r}} when the derivative ∂L∂q\Force{\frac{\partial L}{\partial q}} holds tt fixed. For (b), ask what happens to ∂L∂r\Force{\frac{\partial L}{\partial r}} on a dome of radius RR if r\Where{r} is replaced by the constant RR inside LL before differentiating.

(a) In real time, the wire moves while pushing the bead, so the bead's true velocity v\Vel{\mathbf{v}} has a component along the normal force N\Force{\mathbf{N}}. (A common slip is to assume that because the wire is frictionless, N\Force{\mathbf{N}} does zero real work and E=T+VE = \Kin{T} + \Pot{V} is conserved, or conversely that because N⋅v≠0\Force{\mathbf{N}}\cdot\Vel{\mathbf{v}} \neq 0, N\Force{N} must appear in the Euler-Lagrange equation.) Because N⋅v≠0\Force{\mathbf{N}}\cdot\Vel{\mathbf{v}} \neq 0, the motor does real work on the bead through N\Force{\mathbf{N}}, adding energy to or removing energy from E=T+VE = \Kin{T} + \Pot{V}. However, the force side of the Euler-Lagrange equation uses the partial derivative ∂L∂q\Force{\frac{\partial L}{\partial q}}, which holds time tt frozen. At a frozen instant tt, the wire is stationary, so an allowed virtual nudge δr\Nudge{\delta\mathbf{r}} along the wire is strictly parallel to the wire and perpendicular to N\Force{\mathbf{N}} (N⋅δr=0\Force{\mathbf{N}}\cdot\Nudge{\delta\mathbf{r}} = 0). Because N\Force{\mathbf{N}} does zero virtual work in any frozen-time nudge, it does not appear in ∂L∂q\Force{\frac{\partial L}{\partial q}}.
(b) Substituting the constraint into LL before differentiating removes the constrained coordinate from LL, fixing the object onto the surface so it cannot test virtual displacements perpendicular to the surface (for instance, plugging r=R\Where{r} = R into LL first makes ∂L∂r=0\Force{\frac{\partial L}{\partial r}} = 0 and eliminates the radial equation completely). Taking the partial derivatives first measures how LL and ff change during a virtual nudge off the surface, allowing the constraint force term λ∂f∂q\Force{\lambda}\frac{\partial f}{\partial q} to appear in the equation of motion before you apply f=0f = 0, f˙=0\dot{f} = 0, and f¨=0\ddot{f} = 0.
2

A cart of mass MM slides without friction along a horizontal track (coordinate q1=X\Where{q_1} = \Where{X}). A simple pendulum consisting of a massless rod of length ℓ\ell and a bob of mass mm hangs from a frictionless pivot on the cart, swinging in the vertical plane at angle q2=θ\Where{q_2} = \Where{\theta} measured from the downward vertical.

(a) Writing the fixed room coordinates (x,y)(\Where{x}, \Where{y}) first, find the total kinetic energy T\Kin{T}, potential energy V\Pot{V}, and Lagrangian L(X,θ,X˙,θ˙)L(\Where{X}, \Where{\theta}, \Vel{\dot{X}}, \Vel{\dot{\theta}}), and identify the term that couples the cart and pendulum motions.

(b) Write the Euler-Lagrange equation for X\Where{X}, state what physical quantity is conserved, and write the Euler-Lagrange equation for θ\Where{\theta}.

(c) Show that in the limit M→∞M \to \infty, the equations of motion reduce to a stationary cart and a standard simple pendulum.

Write the bob's fixed room coordinates (x,y)(\Where{x}, \Where{y}) by adding its horizontal offset from the pivot to the cart's position X\Where{X}, then differentiate with respect to tt before squaring.

(a) With the pivot at (X,0)(\Where{X}, 0), the pendulum bob's fixed room coordinates are:
x\displaystyle \Where{x} =X+ℓsin⁡θ,y\displaystyle = \Where{X} + \ell\sin\Where{\theta}, \qquad \Where{y} =−ℓcos⁡θ\displaystyle = -\ell\cos\Where{\theta}
Differentiating with respect to tt gives x˙=X˙+ℓθ˙cos⁡θ\Vel{\dot{x}} = \Vel{\dot{X}} + \ell\Vel{\dot{\theta}}\cos\Where{\theta} and y˙=ℓθ˙sin⁡θ\Vel{\dot{y}} = \ell\Vel{\dot{\theta}}\sin\Where{\theta}. (Be careful not to guess Tbob\Kin{T_{\text{bob}}} == 12mX˙2+12mℓ2θ˙2\frac{1}{2}m\Vel{\dot{X}}^2 + \frac{1}{2}m\ell^2\Vel{\dot{\theta}}^2 directly without writing (x,y)(\Where{x}, \Where{y}) first, which misses the mℓX˙θ˙cos⁡θm\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\cos\Where{\theta} cross-term and produces uncoupled equations where the cart never feels the pendulum.) The kinetic energy of the cart is 12MX˙2\frac{1}{2}M\Vel{\dot{X}}^2 and of the bob is:
12m(x˙2+y˙2)=12m(X˙2+2ℓX˙θ˙cos⁡θ+ℓ2θ˙2(cos⁡2θ+sin⁡2θ))=12m(X˙2+ℓ2θ˙2+2ℓX˙θ˙cos⁡θ)\displaystyle \begin{aligned} &\frac{1}{2}m(\Vel{\dot{x}}^2 + \Vel{\dot{y}}^2) \\ &\quad = \frac{1}{2}m(\Vel{\dot{X}}^2 + 2\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\cos\Where{\theta} \\ &\qquad\quad + \ell^2\Vel{\dot{\theta}}^2(\cos^2\Where{\theta} + \sin^2\Where{\theta})) \\ &\quad = \frac{1}{2}m(\Vel{\dot{X}}^2 + \ell^2\Vel{\dot{\theta}}^2 \\ &\qquad\quad + 2\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\cos\Where{\theta}) \end{aligned}
With T\Kin{T} == 12(M+m)X˙2+12mℓ2θ˙2+mℓX˙θ˙cos⁡θ\frac{1}{2}(M + m)\Vel{\dot{X}}^2 + \frac{1}{2}m\ell^2\Vel{\dot{\theta}}^2 + m\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\cos\Where{\theta} and V=mgy=−mgℓcos⁡θ\Pot{V} = mg\Where{y} = -mg\ell\cos\Where{\theta}, the Lagrangian is:
L\displaystyle L =12(M+m)X˙2+12mℓ2θ˙2+mℓX˙θ˙cos⁡θ+mgℓcos⁡θ\displaystyle = \frac{1}{2}(M + m)\Vel{\dot{X}}^2 + \frac{1}{2}m\ell^2\Vel{\dot{\theta}}^2 + m\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\cos\Where{\theta} + mg\ell\cos\Where{\theta}
The velocity cross-term mℓX˙θ˙cos⁡θm\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\cos\Where{\theta} couples the horizontal motion of the cart to the angular motion of the pendulum.
(b) For X\Where{X}, ∂L∂X=0\Force{\frac{\partial L}{\partial X}} = 0 and ∂L∂X˙=(M+m)X˙+mℓθ˙cos⁡θ\Mom{\frac{\partial L}{\partial \dot{X}}} = (M + m)\Vel{\dot{X}} + m\ell\Vel{\dot{\theta}}\cos\Where{\theta}. Because ∂L∂X=0\Force{\frac{\partial L}{\partial X}} = 0, ddt(∂L∂X˙)=0\frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{X}}}\right) = 0, so the total horizontal momentum of the cart-pendulum system,
(M+m)X˙+mℓθ˙cos⁡θ\displaystyle (M + m)\Vel{\dot{X}} + m\ell\Vel{\dot{\theta}}\cos\Where{\theta} =constant\displaystyle = \Mom{\text{constant}}
is conserved. Differentiating with respect to tt gives the X\Where{X} equation of motion:
(M+m)X¨+mℓθ¨cos⁡θ−mℓθ˙2sin⁡θ\displaystyle (M + m)\Acc{\ddot{X}} + m\ell\Acc{\ddot{\theta}}\cos\Where{\theta} - m\ell\Vel{\dot{\theta}}^2\sin\Where{\theta} =0\displaystyle = 0
For θ\Where{\theta}, we have ∂L∂θ˙=mℓ2θ˙+mℓX˙cos⁡θ\Mom{\frac{\partial L}{\partial \dot{\theta}}} = m\ell^2\Vel{\dot{\theta}} + m\ell\Vel{\dot{X}}\cos\Where{\theta}. Taking the time derivative using the product rule on X˙cos⁡θ\Vel{\dot{X}}\cos\Where{\theta} gives ddt(∂L∂θ˙)\frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{\theta}}}\right) == mℓ2θ¨+mℓX¨cos⁡θ−mℓX˙θ˙sin⁡θm\ell^2\Acc{\ddot{\theta}} + m\ell\Acc{\ddot{X}}\cos\Where{\theta} - m\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\sin\Where{\theta}. (Forgetting the product rule on X˙cos⁡θ\Vel{\dot{X}}\cos\Where{\theta} misses −mℓX˙θ˙sin⁡θ-m\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\sin\Where{\theta}, leaving an extra +X˙θ˙sin⁡θ+\Vel{\dot{X}}\Vel{\dot{\theta}}\sin\Where{\theta} term in the final equation.) The right side is ∂L∂θ\Force{\frac{\partial L}{\partial \theta}} == −mℓX˙θ˙sin⁡θ−mgℓsin⁡θ-m\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\sin\Where{\theta} - mg\ell\sin\Where{\theta}. Equating the two sides and canceling −mℓX˙θ˙sin⁡θ-m\ell\Vel{\dot{X}}\Vel{\dot{\theta}}\sin\Where{\theta} and mℓm\ell gives the θ\Where{\theta} equation of motion:
ℓθ¨+X¨cos⁡θ+gsin⁡θ\displaystyle \ell\Acc{\ddot{\theta}} + \Acc{\ddot{X}}\cos\Where{\theta} + g\sin\Where{\theta} =0\displaystyle = 0
(c) Dividing the X\Where{X} equation by M+mM + m gives:
X¨\displaystyle \Acc{\ddot{X}} =−mℓM+m(θ¨cos⁡θ−θ˙2sin⁡θ)\displaystyle = -\frac{m\ell}{M + m}(\Acc{\ddot{\theta}}\cos\Where{\theta} - \Vel{\dot{\theta}}^2\sin\Where{\theta})
As M→∞M \to \infty, mM+m→0\frac{m}{M + m} \to 0, so X¨→0\Acc{\ddot{X}} \to 0 (the heavy cart does not accelerate). Substituting X¨=0\Acc{\ddot{X}} = 0 into the θ\Where{\theta} equation leaves:
θ¨\displaystyle \Acc{\ddot{\theta}} =−gℓsin⁡θ\displaystyle = -\frac{g}{\ell}\sin\Where{\theta}
3

A straight frictionless wire is fixed at a constant angle α\alpha from the upward vertical zz-axis and spun about the vertical axis by a motor at a constant angular speed ω\omega, forcing the azimuthal angle to obey θ(t)=ωt\Where{\theta(t)} = \omega t. A bead of mass mm slides along the wire at distance r\Where{r} from the pivot at the origin.

(a) Writing the fixed 3D Cartesian coordinates (x,y,z)(\Where{x}, \Where{y}, \Where{z}) first, find the bead's Lagrangian L(r,r˙)L(\Where{r}, \Vel{\dot{r}}) in terms of r\Where{r}, r˙\Vel{\dot{r}}, mm, gg, ω\omega, and α\alpha.

(b) Derive the Euler-Lagrange equation of motion for r(t)\Where{r(t)} and write down the effective potential energy Veff(r)\Pot{V_{\text{eff}}(r)}.

(c) Find the equilibrium distance r0\Where{r_0} along the wire where the bead can move in a horizontal circle at a constant height without sliding up or down.

Project the distance r\Where{r} along the wire onto the vertical zz-axis and into the horizontal xyxy-plane first, then put θ=ωt\Where{\theta} = \omega t into x\Where{x} and y\Where{y}.

(a) At distance r\Where{r} along the wire tilted at angle α\alpha from the vertical zz-axis, the horizontal distance from the spin axis is rsin⁡α\Where{r}\sin\alpha and the height is z=rcos⁡α\Where{z} = \Where{r}\cos\alpha. (Be careful not to use the full slant distance r\Where{r} as the radius of the horizontal circle, which replaces rsin⁡α\Where{r}\sin\alpha with r\Where{r} and drops sin⁡2α\sin^2\alpha from the kinetic energy and equilibrium position.) In fixed room coordinates with θ(t)=ωt\Where{\theta(t)} = \omega t:
x\displaystyle \Where{x} =rsin⁡αcos⁡(ωt),y\displaystyle = \Where{r}\sin\alpha\cos(\omega t), \qquad \Where{y} =rsin⁡αsin⁡(ωt),z\displaystyle = \Where{r}\sin\alpha\sin(\omega t), \qquad \Where{z} =rcos⁡α\displaystyle = \Where{r}\cos\alpha
Differentiating with respect to tt using the product rule gives:
x˙=r˙sin⁡αcos⁡(ωt)−rωsin⁡αsin⁡(ωt)y˙=r˙sin⁡αsin⁡(ωt)+rωsin⁡αcos⁡(ωt)z˙=r˙cos⁡α\displaystyle \begin{aligned} \Vel{\dot{x}} &= \Vel{\dot{r}}\sin\alpha\cos(\omega t) - \Where{r}\omega\sin\alpha\sin(\omega t) \\ \Vel{\dot{y}} &= \Vel{\dot{r}}\sin\alpha\sin(\omega t) + \Where{r}\omega\sin\alpha\cos(\omega t) \\ \Vel{\dot{z}} &= \Vel{\dot{r}}\cos\alpha \end{aligned}
Squaring and adding gives x˙2+y˙2+z˙2\Vel{\dot{x}}^2 + \Vel{\dot{y}}^2 + \Vel{\dot{z}}^2 == r˙2(sin⁡2α+cos⁡2α)+r2ω2sin⁡2α\Vel{\dot{r}}^2(\sin^2\alpha + \cos^2\alpha) + \Where{r}^2\omega^2\sin^2\alpha == r˙2+r2ω2sin⁡2α\Vel{\dot{r}}^2 + \Where{r}^2\omega^2\sin^2\alpha. With T\Kin{T} == 12m(r˙2+r2ω2sin⁡2α)\frac{1}{2}m(\Vel{\dot{r}}^2 + \Where{r}^2\omega^2\sin^2\alpha) and V=mgz=mgrcos⁡α\Pot{V} = mg\Where{z} = mg\Where{r}\cos\alpha, the Lagrangian is:
L\displaystyle L =12mr˙2+12mω2r2sin⁡2α−mgrcos⁡α\displaystyle = \frac{1}{2}m\Vel{\dot{r}}^2 + \frac{1}{2}m\omega^2 \Where{r}^2\sin^2\alpha - mg\Where{r}\cos\alpha
(b) From ddt(∂L∂r˙)=mr¨\frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{r}}}\right) = m\Acc{\ddot{r}} and ∂L∂r=mω2rsin⁡2α−mgcos⁡α\Force{\frac{\partial L}{\partial r}} = m\omega^2 \Where{r}\sin^2\alpha - mg\cos\alpha, the equation of motion is:
r¨\displaystyle \Acc{\ddot{r}} =ω2rsin⁡2α−gcos⁡α\displaystyle = \omega^2 \Where{r}\sin^2\alpha - g\cos\alpha
Writing the force side as ∂L∂r=−dVeffdr\Force{\frac{\partial L}{\partial r}} = -\frac{d\Pot{V_{\text{eff}}}}{d\Where{r}} (watch the minus sign so you do not write +12mω2r2sin⁡2α+\frac{1}{2}m\omega^2 \Where{r}^2\sin^2\alpha in Veff\Pot{V_{\text{eff}}}) gives the effective potential energy:
Veff(r)\displaystyle \Pot{V_{\text{eff}}(r)} =mgrcos⁡α−12mω2r2sin⁡2α\displaystyle = mg\Where{r}\cos\alpha - \frac{1}{2}m\omega^2 \Where{r}^2\sin^2\alpha
(c) Setting r¨=0\Acc{\ddot{r}} = 0 gives ω2r0sin⁡2α=gcos⁡α\omega^2 \Where{r_0}\sin^2\alpha = g\cos\alpha, so the equilibrium distance along the wire is:
r0\displaystyle \Where{r_0} =gcos⁡αω2sin⁡2α\displaystyle = \frac{g\cos\alpha}{\omega^2\sin^2\alpha}
4

A bead of mass mm slides along a stationary, frictionless circular wire hoop of radius RR in a vertical plane. Let θ\Where{\theta} be the angle of the bead measured counterclockwise from the bottom of the hoop. As the bead moves, it experiences a viscous drag force Fdrag=−bv\Force{F_{\text{drag}}} = -b\Vel{v} opposing its velocity along the hoop and a constant horizontal wind force F0\Force{F_0} pushing to the right (+x+x direction).

(a) Using a frozen-instant virtual nudge δθ\Nudge{\delta\theta}, find the virtual work δW\Work{\delta W} done by the two non-potential forces and read off the generalized force Qθ\Force{Q_\theta}.

(b) Write the complete Euler-Lagrange equation of motion for θ(t)\Where{\theta(t)}.

Express the bead's horizontal position x(θ)\Where{x(\theta)} and arc length s(θ)\Where{s(\theta)} in terms of θ\Where{\theta} measured from the bottom of the hoop, then take a frozen-time nudge δθ\Nudge{\delta\theta}.

(a) With θ\Where{\theta} measured counterclockwise from the bottom of the hoop, the bead's coordinates are x=Rsin⁡θ\Where{x} = R\sin\Where{\theta} and y=−Rcos⁡θ\Where{y} = -R\cos\Where{\theta}, and its speed along the arc is v=Rθ˙\Vel{v} = R\Vel{\dot{\theta}}. In a frozen-instant virtual nudge δθ\Nudge{\delta\theta}:
The bead moves along the circular arc by δs=R δθ\Nudge{\delta s} = R\,\Nudge{\delta\theta}. The drag force −bv=−bRθ˙-b\Vel{v} = -bR\Vel{\dot{\theta}} points opposite the motion along the arc, doing virtual work δWdrag\Work{\delta W_{\text{drag}}} == (−bRθ˙)(R δθ)(-bR\Vel{\dot{\theta}})(R\,\Nudge{\delta\theta}) == −bR2θ˙ δθ-bR^2\Vel{\dot{\theta}}\,\Nudge{\delta\theta}.
The bead's horizontal coordinate changes by δx=Rcos⁡θ δθ\Nudge{\delta x} = R\cos\Where{\theta}\,\Nudge{\delta\theta}. The horizontal wind force F0\Force{F_0} acts in the +x+x direction, doing virtual work δWwind\Work{\delta W_{\text{wind}}} == F0 δx\Force{F_0}\,\Nudge{\delta x} == F0Rcos⁡θ δθF_0 R\cos\Where{\theta}\,\Nudge{\delta\theta}.
(A common mistake is to omit the lever arm RR when writing the angular generalized force, which gives −bRθ˙+F0cos⁡θ-bR\Vel{\dot{\theta}} + F_0\cos\Where{\theta} with units of force instead of torque, or to use sin⁡θ\sin\Where{\theta} instead of cos⁡θ\cos\Where{\theta} for δx\Nudge{\delta x}.) Adding both contributions gives δW\Work{\delta W} == (−bR2θ˙+F0Rcos⁡θ)δθ(-bR^2\Vel{\dot{\theta}} + F_0 R\cos\Where{\theta})\Nudge{\delta\theta}, so the generalized force is:
Qθ\displaystyle \Force{Q_\theta} =−bR2θ˙+F0Rcos⁡θ\displaystyle = -bR^2\Vel{\dot{\theta}} + F_0 R\cos\Where{\theta}
(b) For the conservative part, T=12mR2θ˙2\Kin{T} = \frac{1}{2}mR^2\Vel{\dot{\theta}}^2 and V=mgy=−mgRcos⁡θ\Pot{V} = mg\Where{y} = -mgR\cos\Where{\theta}, so L=12mR2θ˙2+mgRcos⁡θL = \frac{1}{2}mR^2\Vel{\dot{\theta}}^2 + mgR\cos\Where{\theta}. Including Qθ\Force{Q_\theta} on the force side of ddt(∂L∂θ˙)=∂L∂θ+Qθ\frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{\theta}}}\right) = \Force{\frac{\partial L}{\partial \theta}} + \Force{Q_\theta} gives:
mR2θ¨\displaystyle mR^2\Acc{\ddot{\theta}} =−mgRsin⁡θ−bR2θ˙+F0Rcos⁡θ\displaystyle = -mgR\sin\Where{\theta} - bR^2\Vel{\dot{\theta}} + F_0 R\cos\Where{\theta}
5

An ice cube of mass mm rests at the very top (θ=0\Where{\theta} = 0) of a stationary, frictionless hemisphere of radius RR and is given an initial horizontal speed v0\Vel{v_0} so it slides down the dome.

(a) Keep both polar coordinates r\Where{r} and θ\Where{\theta} free in LL with the constraint f(r,θ)=r−R=0f(\Where{r}, \Where{\theta}) = \Where{r} - R = 0, and use the Lagrange multiplier equation for r\Where{r} to express the normal force λ\Force{\lambda} in terms of θ\Where{\theta} and θ˙\Vel{\dot{\theta}}.

(b) Use conservation of energy to express λ\Force{\lambda} solely as a function of θ\Where{\theta}, mm, gg, RR, and v0\Vel{v_0}, and find the angle θ\Where{\theta} at which the ice cube loses contact with the dome.

(c) What is the minimum initial speed v0\Vel{v_0} for which the ice cube flies off the very top immediately at θ=0\Where{\theta} = 0?

Keep r\Where{r} free in LL until you have written the radial Euler-Lagrange equation, and include the initial kinetic energy 12mv02\Kin{\frac{1}{2}mv_0^2} at the top when writing conservation of energy.

(a) Measuring θ\Where{\theta} from the top of the dome gives height y=rcos⁡θ\Where{y} = \Where{r}\cos\Where{\theta}, so LL == 12m(r˙2+r2θ˙2)−mgrcos⁡θ\frac{1}{2}m(\Vel{\dot{r}}^2 + \Where{r}^2\Vel{\dot{\theta}}^2) - mg\Where{r}\cos\Where{\theta} and f(r,θ)=r−R=0f(\Where{r}, \Where{\theta}) = \Where{r} - R = 0, with ∂f∂r=1\frac{\partial f}{\partial r} = 1 and ∂f∂θ=0\frac{\partial f}{\partial \theta} = 0. The radial Lagrange multiplier equation ddt(∂L∂r˙)=∂L∂r+λ∂f∂r\frac{d}{dt}\left(\Mom{\frac{\partial L}{\partial \dot{r}}}\right) = \Force{\frac{\partial L}{\partial r}} + \Force{\lambda}\frac{\partial f}{\partial r} gives:
mr¨\displaystyle m\Acc{\ddot{r}} =mrθ˙2−mgcos⁡θ+λ\displaystyle = \Fict{mr\dot{\theta}^2} - \Force{mg\cos\theta} + \Force{\lambda}
Applying the constraint r=R\Where{r} = R, r˙=0\Vel{\dot{r}} = 0, and r¨=0\Acc{\ddot{r}} = 0 while the cube is on the dome gives the outward normal force:
λ\displaystyle \Force{\lambda} =mgcos⁡θ−mRθ˙2\displaystyle = \Force{mg\cos\theta} - \Fict{mR\dot{\theta}^2}
(b) By conservation of mechanical energy from θ=0\Where{\theta} = 0 (where y=R\Where{y} = R and speed is v0\Vel{v_0}) to angle θ\Where{\theta} (where y=Rcos⁡θ\Where{y} = R\cos\Where{\theta} and speed is Rθ˙R\Vel{\dot{\theta}}):
12mR2θ˙2+mgRcos⁡θ=12mv02+mgR  ⟹  mRθ˙2=mv02R+2mg(1−cos⁡θ)\displaystyle \begin{aligned} \Kin{\frac{1}{2}mR^2\dot{\theta}^2} & \\ {} + \Pot{mgR\cos\theta} &= \Kin{\frac{1}{2}mv_0^2} + \Pot{mgR} \\ \implies \Fict{mR\dot{\theta}^2} &= \Fict{\frac{mv_0^2}{R}} \\ &\quad + \Fict{2mg(1 - \cos\theta)} \end{aligned}
Substituting this into λ\Force{\lambda} (watch the minus sign on both terms of mRθ˙2\Fict{mR\dot{\theta}^2}; failing to subtract mv02R\Fict{\frac{mv_0^2}{R}} gives the wrong sign cos⁡θ=23−v023gR\cos\Where{\theta} = \frac{2}{3} - \frac{\Vel{v_0}^2}{3gR}) gives:
λ(θ)=mgcos⁡θ−mv02R−2mg(1−cos⁡θ)=mg(3cos⁡θ−2)−mv02R\displaystyle \begin{aligned} \Force{\lambda(\theta)} &= \Force{mg\cos\theta} - \Fict{\frac{mv_0^2}{R}} \\ &\qquad - \Fict{2mg(1 - \cos\theta)} \\ &= mg(3\cos\Where{\theta} - 2) - \Fict{\frac{mv_0^2}{R}} \end{aligned}
The ice cube loses contact when the normal force drops to zero (λ=0\Force{\lambda} = 0), which occurs at:
cos⁡θ\displaystyle \cos\Where{\theta} =23+v023gR\displaystyle = \frac{2}{3} + \frac{\Vel{v_0}^2}{3gR}
(c) The cube flies off immediately at θ=0\Where{\theta} = 0 when cos⁡θ=1\cos\Where{\theta} = 1 at departure:
23+v023gR\displaystyle \frac{2}{3} + \frac{\Vel{v_0}^2}{3gR} =1  ⟹  v023gR\displaystyle = 1 \implies \frac{\Vel{v_0}^2}{3gR} =13  ⟹  v0\displaystyle = \frac{1}{3} \implies \Vel{v_0} =gR\displaystyle = \sqrt{gR}
6

A solid sphere of mass mm, radius RR, and moment of inertia I=25mR2I = \frac{2}{5}mR^2 is placed on a ramp inclined at angle α\alpha above the horizontal. The coefficient of static friction between the sphere and the ramp is μs\mu_s.

(a) Keeping both the distance down the ramp x\Where{x} and the rotation angle ϕ\Where{\phi} in LL with the no-slip constraint f(x,ϕ)f(\Where{x}, \Where{\phi}) == x−Rϕ\Where{x} - R\Where{\phi} == 00, write the two Lagrange multiplier equations and explain what λ∂f∂x\Force{\lambda}\frac{\partial f}{\partial x} and λ∂f∂ϕ\Force{\lambda}\frac{\partial f}{\partial \phi} represent physically.

(b) Solve for the linear acceleration x¨\Acc{\ddot{x}} and the static friction force λ\Force{\lambda} (giving both magnitude and direction along the ramp).

(c) Find the ramp angle α\alpha above which the sphere begins to skid, and state whether a solid cylinder (I=12mR2I = \frac{1}{2}mR^2) or a solid sphere with the same μs\mu_s starts skidding first as the ramp is slowly tilted up.

Keep both x\Where{x} and ϕ\Where{\phi} independent in LL with f(x,ϕ)f(\Where{x}, \Where{\phi}) == x−Rϕ\Where{x} - R\Where{\phi} == 00, and take two time derivatives of the constraint only after writing both Lagrange multiplier equations.

(a) With T\Kin{T} == 12mx˙2+12(25mR2)ϕ˙2\frac{1}{2}m\Vel{\dot{x}}^2 + \frac{1}{2}\left(\frac{2}{5}mR^2\right)\Vel{\dot{\phi}}^2 == 12mx˙2+15mR2ϕ˙2\frac{1}{2}m\Vel{\dot{x}}^2 + \frac{1}{5}mR^2\Vel{\dot{\phi}}^2 and V=−mgxsin⁡α\Pot{V} = -mg\Where{x}\sin\alpha, the Lagrangian is LL == 12mx˙2+15mR2ϕ˙2+mgxsin⁡α\frac{1}{2}m\Vel{\dot{x}}^2 + \frac{1}{5}mR^2\Vel{\dot{\phi}}^2 + mg\Where{x}\sin\alpha. For f(x,ϕ)f(\Where{x}, \Where{\phi}) == x−Rϕ\Where{x} - R\Where{\phi} == 00, we have ∂f∂x=1\frac{\partial f}{\partial x} = 1 and ∂f∂ϕ=−R\frac{\partial f}{\partial \phi} = -R. (Be careful not to write ∂f∂ϕ=+R\frac{\partial f}{\partial \phi} = +R, which flips the torque sign in the ϕ\Where{\phi} equation and yields x¨=53gsin⁡α\Acc{\ddot{x}} = \frac{5}{3}g\sin\alpha, faster than a frictionless ramp.) The x\Where{x} and ϕ\Where{\phi} equations are:
mx¨=mgsin⁡α+λ25mR2ϕ¨=−λR\displaystyle \begin{aligned} m\Acc{\ddot{x}} &= \Force{mg\sin\alpha} + \Force{\lambda} \\ \frac{2}{5}mR^2\Acc{\ddot{\phi}} &= \Force{-\lambda R} \end{aligned}
Physically, λ∂f∂x=λ\Force{\lambda\frac{\partial f}{\partial x}} = \Force{\lambda} is the linear static friction force acting along the ramp, and λ∂f∂ϕ=−λR\Force{\lambda\frac{\partial f}{\partial \phi}} = \Force{-\lambda R} is the rotational torque about the sphere's center produced by that static friction force at lever arm R\Where{R}.
(b) Differentiating the constraint x=Rϕ\Where{x} = R\Where{\phi} twice gives ϕ¨=x¨R\Acc{\ddot{\phi}} = \tfrac{\Acc{\ddot{x}}}{R}. Substituting ϕ¨=x¨R\Acc{\ddot{\phi}} = \tfrac{\Acc{\ddot{x}}}{R} into the ϕ\Where{\phi} equation gives:
25mR2(x¨R)\displaystyle \frac{2}{5}mR^2\left(\frac{\Acc{\ddot{x}}}{R}\right) =−λR  ⟹  λ\displaystyle = \Force{-\lambda R} \implies \Force{\lambda} =−25mx¨\displaystyle = -\frac{2}{5}m\Acc{\ddot{x}}
Substituting λ=−25mx¨\Force{\lambda} = -\frac{2}{5}m\Acc{\ddot{x}} into the x\Where{x} equation gives mx¨=mgsin⁡α−25mx¨m\Acc{\ddot{x}} = \Force{mg\sin\alpha} - \frac{2}{5}m\Acc{\ddot{x}}, or 75mx¨=mgsin⁡α\frac{7}{5}m\Acc{\ddot{x}} = mg\sin\alpha, so:
x¨\displaystyle \Acc{\ddot{x}} =57gsin⁡α\displaystyle = \frac{5}{7}g\sin\alpha
Then the static friction force is:
λ\displaystyle \Force{\lambda} =−25m(57gsin⁡α)\displaystyle = -\frac{2}{5}m\left(\frac{5}{7}g\sin\alpha\right) =−27mgsin⁡α\displaystyle = -\frac{2}{7}mg\sin\alpha
where the minus sign shows that static friction points up the ramp with magnitude 27mgsin⁡α\frac{2}{7}mg\sin\alpha.
(c) The maximum static friction force the ramp can supply is μsN=μsmgcos⁡α\Force{\mu_s N} = \Force{\mu_s mg\cos\alpha}. The sphere starts to skid when ∣λ∣>μsmgcos⁡α\Force{|\lambda|} > \Force{\mu_s mg\cos\alpha}:
27mgsin⁡α>μsmgcos⁡α  ⟹  tan⁡α>72μs\displaystyle \frac{2}{7}mg\sin\alpha > \Force{\mu_s mg\cos\alpha} \implies \tan\alpha > \frac{7}{2}\mu_s =3.5μs\displaystyle = 3.5\mu_s
Because a solid cylinder starts skidding at tan⁡α>3μs\tan\alpha > 3\mu_s and 3μs<3.5μs3\mu_s < 3.5\mu_s, the solid cylinder starts skidding first.