Advanced Classical Mechanics/Constraints and Lagrange's Equations

From testwiki
Jump to navigation Jump to search

There is more to classical mechanics than F=ma. Often the motion of a system is constrained in some way.

What are constraints?

  • The particles could be restricted to travel along a curve or surface. Specifically one could have some function of the coordinates of each particle and time vanish. These restrictions are either kinematical or geometrical in nature.

f(r1,r2,r3,,t)=0

This is called a holonomic constraint. For example we could have

(rirj)2cij2=0

which expresses that the distances between two particles that make up a rigid body are fixed.

  • There are non-holonomic constraints. For example, one could have

r2a20 for a particle travelling outside the surface of a sphere or constraints that depend on velocities as well,

f(r1,r2,r3,,v1,v2,v3,,t)=0.

A familar example of the latter is a ball rolling on a surface.

We will be dealing exclusively with holonomic constraints in this course.

What are the consequences?

  • The coordinates are no longer independent. They are related through the equations of constraint.
  • The force of constraint are not given so they must be determined from the solution (if you actually want them at all).
  • If the constraints are holonomic, the equations of constraint can be used to eliminate some of the coordinates to get a set of generalized independent coordinates.

These generalized coordinates usually will not fall into pairs or triples that transform as vectors, e.g. the natural coordinates for motion restricted to a sphere are spherical coordinates (θ,ϕ).

D'Alembert's Principle

D'Alembert's principle relies on the concept of virtual displacements. The idea is that you can imagine freezing the system in time and jiggling each of the particles in a way consistent with the various constraints at that particular time and determine the work (virtual work) needed to perform these virtual displacements.

We will denote the virtual displacement of a particle as δri. The virtual displacement must be consistent with the constraints.

For each particle we have

Fi=p˙isoFp˙i=0

and summing over the particles we have

i(Fip˙i)δri=0.

Let's divide the force on each particle into applied forces and constraints

Fi=Fi(a)+fi

so we have

i(Fip˙i)δri=i(Fi(a)p˙i)δri+ifiδri=0.

If we assume that the forces of constraint do no virtual work, then the last term vanishes. This is a reasonable assumption because the force of constraint to restrict a particle to a surface is normal to that surface but a displacement consistent with the constraints is tangent to the surface so the dot product will vanish and the force of constraint performs no virtual work. If the constraints are a function of time, the forces of constraint can perform work on the particles but the whole idea of D'Alembert's principle is that we have frozen time.

This leaves us with

i(Fi(a)p˙i)δri=0,

D'Alembert's principle. The forces of constraints are gone! However, the coordinates are not independent, so the equation is only a statement about the sum of the various forces, momenta and virtual displacements.

Generalized Coordinates

We can try to find a set of independent coordinates given the constraints. Let's write

ri=ri(q1,q2,q3,,t)

and so

vi=dridt=kriqkq˙k+rit

and a virtual displacement is

δri=jriqjδqj.

Notice that there is no dt in the virtual displacement because time is held fixed. Now let's look at the first term in D'Alembert's equation

iFiδri=iFi(jriqjδqj)=j(iFiriqj)δqj=jQjδqj

where Qj is called a generalized force.

The second term takes a bit more work. We have

ip˙iδri=imir¨iδri=imir¨i(jriqjδqj).

Let's focus on a particular one of the generalized coordinates j. We have

imir¨iriqj=i[ddt(mir˙iriqj)mir˙iddt(riqj)]

                              =i[ddt(miviriqj)mir˙iviqj]

We can use the fact that

viq˙j=riqk

from the defintion of vi to get

                              =i[ddt(miviviq˙j)mir˙iviqj]

                              =ddt[q˙ji(12mivi2)]qj[i(12mivi2)].

Notice that the quantity in the innermost parenthesis is just the total kinetic energy of the system T so we have

j{[ddt(Tq˙j)Tqj]Qj}δqj=0.

Lagrange's Equations

If the constraints are holonomic, we can pick the qj to be independent so the various δqj are completely arbitrary and the quantity in braces must vanish to yield

[ddt(Tq˙j)Tqj]=Qj.

These expressions are sometimes called Lagrange's equations, but the term Lagrange's equations is often reserved for the case of a conservative force. In this case we have

Fi=iV so

Qj=iFiriqj=iiVriqj=Vqj

In this case we can rearrange the equation to give

[ddt(Tq˙j)(TV)qj]=0.

Furthermore, if the forces do not depend explicitly on the velocities we can define, the Lagrangian to be L=TV

and write Lagrange's equations in their traditional form

[ddt(Lq˙j)Lqj]=0.

Conserved Quantities

For each coordinate we can define a conjugate momentum to be

pi=Lq˙i.

This is called the generalized momentum conjugate to the coordinate qi. Let's look at Lagrange's equations with this definition

dpidt=Lqi

so if the Lagrangian does not depend on a particular coordinate qi, then the momentum conjugate to the coordinate does not change with time; it is conserved. This conserved momentum is called a first integral. The coordinate that doesn't affect the Lagrangian is called a cyclic coordinate.

In general the Lagrangian will depend on the coordinates, velocities and time; what happens if L/t vanishes? Is there a conserved quantity similar to the momenta?

Let calculate the total derivative of the Lagrangian with respect to time,

dLdt=i[Lqiq˙i+Lq˙iq¨i]+Lt.

Now let's use the definition of the momenta and the Lagrange's equation to simplify things a bit,

dLdt=i[dpidtq˙i+piq¨i]+Lt=id(piq˙i)dt+Lt

and rearranging

Lt=ddt(Lipiq˙i).

So if

L/t=0

then the Hamiltonian,

H=Lipiq˙i,

is conserved.

Lagrangians with Non-Conservative Forces

From the analysis so far it would appear that one can only construct a Lagrangian when the forces that act on a particle are conservative (they can be derived from a potential V). It is indeed the case that truly dissipative forces such as friction cannot be directly included in a Lagrangian formulation, but forces that can be written in the form d/dt(L/q˙) may be included in the Lagrangian. Although this seems very restrictive, an important force of this class is the magnetic force on a charged particle.

F=q(E+v×B).

In electrostatics the electric field is simply the gradient of the electrostatic potential, but for more general fields we have

E=ϕAt

where A is the vector potential. The magnetic field may be written as

B=×A.

Let's consider the function

V=qϕ(r,t)qr˙A(r,t)

and calculate

ddt(Vx˙)Vx=qdAxdtqϕx+q(x˙Axx+y˙Ayx+z˙Azx).

The total time derivative of the vector potential generates several terms (due to the chain rule) to yield

ddt(Vx˙)Vx=q(Axt+x˙Axx+y˙Axy+z˙Axz)qϕx+q(x˙Axx+y˙Ayx+z˙Azx).

Notice that the terms proportional to x˙ cancel leaving

ddt(Vx˙)Vx=q(ϕx+Axt)+q[y˙(AxyAyx)+z˙(AxzAzx)].

The first term is simply the charge of the particle times the x-component of the electric field. The second term is the charge of the particles times the x-component of v×B, so the following Lagrangian will yield the equations of motion

L=12mr˙2+qr˙A(r,t)qϕ(r,t).

If the vector potential and the scalar potential do not depend on time, then L/t=0 and

H=Lr˙r˙L=12mr˙2+qϕ(r,t)

is conserved. The force is not conservative but the system is. Template:Subpage navbar