More Problems
Problem 1:
The Euler-Lagrange
differential equation is the fundamental equation of calculus of variations. A
typical problem consists of finding a real function y(x) of a real variable x
such that a given function
J(y) = ∫x1x2f(x,
y(x), y'(x)) dx,
where y'(x) = dy(x)/dx, has a stationary value.
The problem is to determine those functions y(x) which take given values at y1
= y(x1) and y2 = y(x2) at the end points and
make J(y) an extremum.
Derive the Euler-Lagrange differential equation for f, (∂f/∂y) - d/dx(∂f/∂y')
= 0.
Solution:
- Concepts:
Euler-Lagrange differential equation
- Reasoning:
This is a variational calculus problem.
- Details of the calculation:
Investigate the
quantity J(y)
= ∫x1x2f(x,
y(x),
y'(x))
dx.
Consider a small change δy(x) in the function y(x) subject to the
condition that the endpoints are unchanged.
δy(x1) = δy(x2) = 0.
The first order variation in f is δf = (∂f/∂y)δy + (∂f/∂y')δy', where δy'
= (d/dx)δy.
Therefore the variation in the integral is
δJ
= ∫x1x2dx [(∂f/∂y)δy + (∂f/∂y') (d/dx)δy)]
∫x1x2dx [(∂f/∂y') (d/dx)δy] = (∂f/∂y')δy| x1x2 - ∫x1x2dx [d/dx(∂f/∂y')δy
(integration by parts)
δJ
= ∫x1x2dx [∂f/∂y) -d/dx(∂f/∂y')]δy.
For J to assume an
extreme value, we need δJ
= 0 for arbitrary variations δy.
We therefore need ∂f/∂y) -d/dx(∂f/∂y') = 0.
This is the
Euler-Lagrange differential equation.
Problem 2:
A point mass m1 is constrained to move on a horizontal wire without
friction.
A second point mass m2 is attached to it by a rod of negligible mass
and length L.
(a) Describe qualitatively the possible motions of the system. Assume the
motions are confined to the xy-plane.
(b) Find the Lagrangian of the system using the coordinates X and Y for motion
of the CM of the system, and the coordinate θ for rotation about the CM.
(c) How does the Lagrangian change if the wire is not horizontal, but makes an
angle φ with the horizontal direction?
Solution:
- Concepts:
Lagrangian mechanics
- Reasoning:
L = T - U.
- Details of the calculation:
(a) Fx = 0, the x-component of the velocity of the CM must be
constant.
Gravity and the normal force from the wire act in the y-direction.
We can have rotations about the CM, but they have to satisfy the constraint of
keeping m1 on the wire.
(b) Distance d of the CM from m1: m1d = m2(L
- d), d = m2L/(m1 + m2).
Let M = m1 + m2.
T = ½M(X'2 + Y'2) + ½Iθ'2.
Here I = m1d2+ m2(L - d)2 = m1d2+
m2(m1/m2)2d2 = (m1/m2)Md2.
The
' = d/dt denotes the derivative with respect to t.
Constraint: Y = -d cosθ, Y' = d sinθ θ'.
T = ½MX'2 + ½(Md2sin2θ + I)θ'2.
U = -Mgd cosθ.
L = ½MX'2 + ½(Md2sin2θ
+ I)θ'2 + Mgd cosθ.
(c) If we orient our coordinate system as shown in the figure, then only the
expression for the potential energy changes.
The X-component of the acceleration of the CM will be constant, aX =
g sinφ, FX = -∂U/∂X
= Mg sinφ.
FY = -∂U/∂Y
= -Mg cosφ. U = -Mg sinφ X + Mg cosφ Y = -Mg sinφ X - Mg cosφ d cosθ.
L = ½MX'2 + ½(Md2sin2θ + I)θ'2
+ Mg sinφ X + Mg cosφ d cosθ.
Problem 3:
A particle of mass m1 hangs from a rod of negligible mass and
length l, whose support point consists of another particle of mass m2
that moves horizontally subject to two springs of spring constant k each, as
shown.
Consider only motion in the plane shown and only small displacements from
equilibrium.
Write down the Lagrangian for this system.
Solution:
- Concepts:
Lagrangian mechanics
- Reasoning:
We are asked to find the Lagrangian for the system.
- Details of the calculation:
L =
T - U. T = ½m1((dx1/dt)2
+(dy1/dt)2) + ½m2(dx2/dt)2.
x1 = x2 + lsinθ, y1 = -lcosθ. dx1/dt
= dx2/dt + lcosθ dθ/dt, dy1/dt = lsinθ(dθ/dt).
T = ½(m1 + m2)(dx2/dt)2 + ½m1l2(dθ/dt)2
+ m1(dx2/dt)lcosθ(dθ/dt),
U = kx22 - mglcosθ.
For small displacements sinθ ~ θ, cosθ ~ 1 - θ2/2.
Keeping only terms to second order in the Lagrangian we have
L = ½(m1 +m2)(dx2/dt)2 + ½m1l2(dθ/dt)2
+ m1(dx2/dt)l(dθ/dt) - kx22 -
m1glθ2/2.
Let q1 = lθ, q2 = x2.
L = ½(m1 +m2)(dq2/dt)2 + ½m1(dq1/dt)2
+ m1(dq2/dt)(dq1/dt) - kq22
- (m1g/l)q12/2.