Lagrangian Mechanics
Lagrangian
Lagrangian is defined as
L=T−V
where T is the kinetic energy and V is the potential energy.
When there is no non-conservative force, the Euler-Lagrange equation (Lagrange's equation) holds
ddt(∂L∂˙qj)=∂L∂qj
where qj belongs to a set of generalized coordinates. The Lagrange's equation will yield the equation of motion in Newton's second law.
No new physics here. It is useful when we do not know the constraint force.
A block of mass m is placed on a frictionless incline of mass M, which is placed on a frictionless horizontal surface. Both the block and the incline are at rest. At time t=0, they are released to move freely. Using the coordinate set as shown in the image below , find the equations of motion of the block and the incline.
The constraint is
0−y2x2−x1=tanα,
that is
y2=(x1−x2)tanα˙y2=(˙x2−˙x2)tanα
The kinetic energy is
T=12M˙x21+12m(˙x22+˙y22)
and the potential energy is
V=mgy2
As y2 is dependent variable according to the constraint, it has to be expressed in terms of x1 and x2 in the Lagrangian
L=T−V=12M˙x21+12m(x22+y22)+mgy2=12M˙x21+12m(˙x22+tan2α(˙x1−˙x2)2)−mgtanα(x1−x2).
Hence, the equations of motion are
ddt∂L∂˙x1−∂L∂x1=0mtan2α(¨x1−¨x2)+M¨x1=−mgtanα¨x1(mtan2α+M)=mtan2α¨x2−mgtanα¨x1=mtanα(tanα¨x2−g)mtan2α+M.
ddt∂L∂˙x2−∂L∂x2=0m¨x2−(¨x1−¨x2)tan2α=mgtanα¨x2(1+tan2α)=tan2α¨x1+gtanα¨x2=sin2α¨x1+gsinαcosα.
Substitute (2) into (1), we have
¨x1=−mgsinαcosαM+msin2α
and
¨x2=MgsinαcosαM+msin2α.
By the constraint,
¨y2=−(M+m)gsin2αM+msin2α
Noether's Theorem
When a mathematical object is invariant under a transformation, we say that the mathematical object has a symmetry. When a mathematical object is invariant in time at any point of its motion path, we say that the mathematical object is conserved. Action is defined as S≡∫t2t1L(q(s),˙q(s))dt Suppose the action has a symmetry under a transformation q→q′ and ϵ(q)≡q′−q, i.e. δS=0=∫t2t1(∂L∂qϵ+(∂L∂˙q)dϵdt)dt Integrating the second term by part, ∫(∂L∂˙q)dϵdtdt=∂L∂˙xϵ−∫(ϵddt∂L∂˙q)dt we have 0=[ϵ∂L∂˙q]t2t1+[∫t2t1ϵ(∂L∂q−ddt∂L∂˙q)dt] As Lagrangian is defined such that it satisfies the relationship ddt(∂L∂˙q)−∂L∂q=0 so [∂L∂˙qϵ]t2t1=0 for arbitrary t2 and t1, i.e. ∂L∂˙qϵ is constant over time. This is called the Noether's theorem.Coupled Oscillations
The Lagrangian of the system is L=T−V=(12m˙x12+12m˙x22)−(12Kx21+12K′(x2−x1)2+12Kx22) The Lagrange's equations are then solved to give the equations of motion m¨x1+(K+K′)x1−K′x2=0m¨x2−K′x1+(K+K′)x2=0 Adding and subtracting the two equations m(¨x2+¨x1)+K(x2+x1)=0m(¨x2−¨x1)+(K+2K′)(x2−x1)=0 Let Q1≡x2+x1 and Q2≡x2−x1 The equations of motion become m¨Q1+KQ1=0m¨Q2+(K+2K′)Q2=0 Their general solutions are Q1(t)=a1cos(ω1t−δ1) where ω21=KmQ2(t)=a2cos(ω2t−δ2) where ω22=K+2K′m Q1 and Q2 are called the normal mode coordinates. ω1 and ω2 are called normal mode frequencies. We have the solutions x1(t)=Q1−Q22=a12cos(ω1t−δ1)−a22cos(ω2t−δ2)x2(t)=Q1+Q22=a12cos(ω1t−δ1)+a22cos(ω2t−δ2)Two pendulums of length l and masses m are connected with a massless spring with spring constant k and relaxed length d. Find the general solution of the motion of the masses in small oscillation.
Solution: The coordinates of the two masses are {x1=lsinθ1y1=−lcosθ1 and {x2=d+lsinθ2y2=−lcosθ2. Their velocities are {˙x1=l˙θ1cosθ1˙y1=l˙θ1sinθ1 and {˙x2=l˙θ2cosθ2˙y2=l˙θ2sinθ2 The distance between the masses is s=√(y1−y2)2+(x1−x2)2=√l2(cosθ1−cosθ2)2+(lsinθ1−lsinθ2−d)2=√2l2−2l2cos(θ1−θ2)−2dl(sinθ1−sinθ2)+d2 As the oscillation is small, applying Taylor series approximation, we have cos(θ1−θ2)≈1−12(θ1−θ2)2 and sinθ1−sinθ2=θ1−θ2. So, s≈√l2(θ1−θ2)2+2dl(θ2−θ1)+d2=l(θ2−θ1)+d The kinetic energy of the system is T=12m(˙x21+˙y21)+12m(˙x22+˙y22)=12ml2˙θ21+12ml2˙θ22=12ml2(˙θ21+˙θ22) and the potential energy of the system is V=12k(s−d)2+mgy1+mgy2=12kl2(θ2−θ1)2−mglcosθ1−mglcosθ2=12kl2(θ2−θ1)2−mgl(1−12θ21)−mgl(1−12θ22) So, the Lagrangian is L=T−V=12ml2(˙θ21+˙θ22)−12kl2(θ2−θ1)2+mgl(1−12θ21)+mgl(1−12θ22) The equations of motion are ddt∂L∂˙θ1=∂L∂θ1⟹ml2¨θ1−kl2(θ2−θ1)+mglθ1=0ddt∂L∂˙θ2=∂L∂θ2⟹ml2¨θ2+kl2(θ2−θ1)+mglθ2=0 Assuming the solutions to be θ1=a1cos(ωt−δ)θ2=a2cos(ωt−δ), we have (ml2ω2−kl2−mgl)a1+kl2a2=0kl2a1+(ml2ω2−kl2−mgl)a2=0 To have non-trivial solutions, |ml2ω2−kl2−mglkl2kl2ml2ω2−kl2−mgl|=0(ml2ω2−mgl)(ml2ω2−2kl2−mgl)=0 So, ω2=gl or ω2=gl+2km For ω2=gl, substitute into equation of motion, (ml2ω2−kl2−mgl)a1+kl2a2=0(ml2(gl)−kl2−mgl)a1+kl2a2=0a1=a2 Similarly, for ω2=gl+2km, a1=−a2 So, the general solution is [θ1(t)θ2(t)]=C[a1cos(ω1t−δ1)a1cos(ω1t−δ1)]+D[a2cos(ω2t−δ2)−a2cos(ω2t−δ2)], where C and D are constants and ω1=√gl and ω2=√gl+2km
Two beads of equal masses m are put on a frictionless incline and connected by a spring with force constant k and a relaxed length l0. At t=0, x′1=2l0, x′2=4l0 and both beads are at rest. Find x′1(t) and x′2(t) as a function of time.
The kinetic energy of the system is T=12m˙x21+12m˙x22 and the potential energy of the system is V=mgx′1sinθ+mgx′2sinθ+12k(x′2−x′1−l0)2 So, the Lagrangian is L=T−V=12m˙x21+12m˙x22−[mgx′1sinθ+mgx′2sinθ+12k(x′2−x′1−l0)2] The equations of motion are ddt∂L∂˙x′1=∂L∂x′1⟹m¨x′1=−mgsinθ+k(x′2−x′1−l0)ddt∂L∂˙x′2=∂L∂x′2⟹m¨x′2=−mgsinθ−k(x′2−x′1−l0) Subtracting the two equations, ¨x′1−¨x′2=(2km)(x′2−x′1−l0) Let Q=x′2−x′1−l0 The equations of motion become ¨Q=−2kmQ The general solution is Q(t)=acos(ωt+δ) Applying initial conditions, Q(t)=x′2(t)−x′1(t)−l0=l0cos(√2kmt) Thus, ¨x′1=−gsinθ+(kl0m)cos(√2kmt). Hence, x′1(t)=−gt2sinθ+at+b−l02cos(√2kmt) Applying initial conditions, x′1=−gt2sinθ−l02cos(√2kmt)+52l0x′2=−gt2sinθ+l02cos(2kmt)+72l0
Comments
Post a Comment