Lagrangian Mechanics

Suppose we have a system with N particles. Then we need n=ND, where D=3 for 3D systems, parameters at most to describe the positions of the system.

The system may be constrained, i.e. f(r1,r2,rn,t)=0 with =1,2,k. These functions are called holonomic constraint functions.

Denoting the position of the $i-$th particle: ri. We must choose a set of coordinates: we denote the set of generalized coordinates as qj, which may not have units of length. So, {q}={qi:1iND}. So now we can describe ri=ri(qi,,qn,t).

One can show that, if ri=ri(qi,,qn,t):

  1. Viq˙α=ridqα where Vi=ddtri.
  2. ddt(riqα)=qα(dridt).

Proof of 1: Vi=dridt=λriqλq˙λ+rit. So, q˙α=riqα.

Proof of 2: ddt(riqα)=ddt(Viq˙α)=ddt(q˙αddtri)

Real displacement: dri=λriqλdqλ+ritdt.

Virtual displacement is a displacement without involving time. δri=λriqλδqλ.

D’Alembert’s Principle

For a system of N particles, the reaction forces do NO work during Virtual Displacement.

Consider the $i-$th particle, Fi(e)+Ri=P˙i. So, Ri=Fi(e)P˙i. Hence, by the principle: Riδri=0. So, (Fi(e)P˙i)δri=0iFi(e)δri=P˙iδri.

Every constraint has a constraint force. E.g. for a particle confined to a surface due to gravity the constraint force is the normal force. This constraint force, the reaction force, does no work. Any virtual displacement is normal to the normal force is zero.

The total force on the $i-$th particle is: Fi=Fi(a)+Ri=P˙i. So, (Fi(a)P˙i)δri=0iFi(a)δri=P˙iδri. Note, Fi(a) is not the total external force on particle i hence the sum is required for the equality. RHS is then imir¨ijriqjδqj=ijr¨iriqjδqj=ij[ddt(mir˙iriqj)mir˙iddt(riqj)]δqj=ij[ddtq˙j(12mir˙2)qj(12mir˙i2)]δqj=j(ddtq˙j(i12mir˙i2)qj(i12mir˙i))δqj=j[ddtq˙jTqjT]δqj. The LHS is then, j(iFi(a)rqj)δqj=jQjδqj.

We now limit the generalized forces to one where they are derived from a scalar potential. hence, Fi(a)=iV({rj},t). So, Qj=iV({rj},t)rqj==Vqj.

Therefore, jVqjδqj=j[ddtq˙jTqjT]δqj. Hence, j[ddtTq˙jTqj+Vqj]δqj=0. Therefore, V=V(q,t). So, Vq˙j=0. Thus, j[ddt(TV)q˙j(TV)qj]δqj=j[ddtq˙jqj](TV)δqj=0. Let L=TV we get, j[ddtq˙jqj]Lδqj Since we don’t know if the qi can vary independently, we must leave this in the summation. If they vary independently, the argument of the sum is enough.

Case 1: There does not exist a constraint function. Then, [ddtq˙jqj]L=0, the Euler-Lagrange Equation of the Second Kind. This also requires by assumption that the forces are conservative.

Case 2: Suppose there exists holonomic constraint functions, say k holonomic constraint functions, f({q},t)=0. Then for those dependent generalized coordinates, j[ddtq˙jqj]Lδqj=0 for the dependent {qj}. Consider, δf({q},t)=jfqjδqj=0. So, λjfqjδqj=0. Then, j[ddt(Lq˙j)Lqj]δqjj[=1kλfqj]δqj=0. Hence, j=1k[ddt(Lq˙j)Lqj=1kλfqj]δqj+j=k+1n(ddt(Lq˙j)Lqj=1kλfqj)δqj=0.

Claim: λ can be chosen such that each term in the first sum is identically zero. (And the last sum is filled with identically zero terms as in case 1). Then, we are left with nk independent coordinates left. k equations and k parameters. Hence, (ddt(Lq˙j)Lqj=1kλfqj)=0, the Euler-Lagrange Equation of the First Kind.

Example: Central Force

Let V=kr,k>0. Choose polar coordinates. The mass, m, is then expressed as (r,θ,z).

We transform the coordinate system so that z=0 is a constraint.

Our Lagrangian is: L=TV=12mr˙2+12mr2θ˙2+kr=L(r,r˙,θ˙). For r: mr¨mrθ˙2+kr2=0, the same as you would get Newton’s Second Equation. For θ: ddt(mr2θ˙)=0. So, mr2θ˙=C, hence the Angular Momentum is conserved.

So, m2r3r¨C2+mkr=0.

Example: Cylinder on Incline

Cylinder on Incline under the influence of gravity with no slippage. α is the angle of the incline. The radius of the cylinder is r and the length of the incline is .

Align the coordinates with the incline, the origin at the starting point. Our generalized coordinates are then (x,θ). x=rθ.

L=12mx˙2+12Iθ˙2mg(x)sinα=12mx˙2+14mr2θ˙2mg(x)sinα.

x: mx¨mgsinα+λ=0x¨=gsinαλm. Then, x(t)=(gsinαλm)t2+x˙1t+x0=(gsinαλm)t2.

θ: 12Iθ¨λr=0θ¨=4λmr. Then, θ(t)=2λmrt2+θ˙1t+θ0=2λmrt2.

Therefore: x(t)=rθ(t)mg3sinα=λ. Then, x(t)=23gsinαt2.

Alternatively: x: 12mx˙2+14mx˙2mg(x)sinα mx¨+12mx¨mgsinα=0. 32x¨=gsinα. x(t)=23gsinαt2+x˙0t+x0.

Then, t=32gsinα.

L=12mx˙2+12mr2θ˙2mg(x)sinα, f=rθx=0. Then, λ=mrθ¨ and λ=mx¨ So, 2mx¨=mgsinα hence x¨=12gsinα. Our constraint force is then mg2sinα.

mx¨mgsinα+λ=0 gives the Newton’s second law. mr2θ¨λr=0 gives the torque equation.

Example: Cylinder stacked on a Cylinder

Top smaller cylinder rolls down with no slippage.

Ansatz: It flies off at the 45 degree tangent.

For simplicity, assume the masses are the same. Let the bottom cylinder have radius R1 and the top have radius R2. Let θ1 be the angle of the smaller one on the larger one. Let θ2 be the angle of the smaller one relative to its own center of mass.

Our coordinates: (r,θ1,θ2) with r=R1+R2. Another constraint is that θ1R1=(θ2θ1)R2.

L=12mr˙2+12mr2θ˙12+12(12mR22)θ˙2mgrcosθ1. rR1R2=0 and R1θ1R2(θ2θ1)=0.

Solve for when λ1=0.

Will find that θ1=arccos(4/7)55.15.

Author: Christian Cunningham

Created: 2024-05-30 Thu 21:16

Validate