1.2 Lagrangian Mechanics
Table of Contents
d'Alembert's Principle
In my own studies, I have seen many derivations of Lagrangian mechanics.
There are a few approaches: we can start from Maupertuis' Principle of Least Action; we can simply posit that plugging
Another approach is to start from Newtonian mechanics and derive Lagrangian mechanics using d'Alembert's Principle. The key idea is that in addition to the equations of motion, we also have constraint equations that restrict the motion of the system. For example, if we have a bead sliding on a frictionless wire, the bead's motion is constrained to lie along the wire. A rigid body is constrained such that the distances between its constituent particles remain constant. These constraints can be holonomic or non-holonomic, and they can be time-dependent or time-independent.
When we abstract away the physical system, we use a set of quantities
A holonomic constraint is a constraint that can be expressed as an equation relating the coordinates and time:
where
Holonomic constraints reduce the number of degrees of freedom of a system.
A set of
has rank
-
A rigid body is a system of particles where the distances between all pairs of particles are constant. For a system of
particles, the rigid body constraints can be expressed aswhere
is the constant distance between particles and . This is a holonomic constraint with . -
A double pendulum consists of two masses connected by rigid rods. The lengths of the rods impose constraints on the motion of the masses. If
and are the position vectors of the two masses, and and are the lengths of the rods, the constraints can be expressed asThese are holonomic constraints.
-
Suppose a cylinder of radius
rolls without slipping on a flat plane. Let be the position of the center of the cylinder. Let be the angle the cylinder makes with the horizontal axis, and let be the angle of rotation of the cylinder about its center. The no-slip condition imposes a constraint on the motion of the cylinder, which can be expressed as -
For a set of gas particles confined in a box, the walls of the box impose constraints on the motion of the particles. These constraints can be expressed as inequalities, such as
where
are the coordinates of particle and are the dimensions of the box. These are non-holonomic constraints.
Non-holonomic constraints cannot be expressed solely in terms of coordinates and time; they often involve inequalities or differential relationships. If we include differential relationships, we have a general form
A differential relationship can be written as such because we can always integrate it to obtain a relationship between coordinates and time. If we cannot integrate the relationship to obtain such a form, then the constraint is non-holonomic. Recall from the Frobenius Theorem that a set of differential constraints is integrable (and thus holonomic) if and only if the distribution defined by the constraints is involutive. To take an example, let's prove that the no-slip condition for a rolling cylinder is non-holonomic.
Consider a cylinder of radius
We need to show that these constraints are non-holonomic.
Proof. Define the one-forms
The constraints can be expressed as
Calculating
since
Therefore,
Since neither
Generalized Forces and Virtual Work
Recall that we describe the state of a mechanical system using its configuration, which is specified by a configuration
A virtual displacement
Consider a particle constrained to move on some surface defined by
If we perform a first-order Taylor expansion (perfectly valid since
Since
This shows that the virtual displacement
By the previous example, any smooth surface leads to virtual displacements that are tangent to the surface. The constraining forces that keep the particle on the surface act normal to the surface. This means that constraining forces do no work as a result of virtual displacements.
An ideal constraint is a constraint for which the total work done by the constraining forces during any virtual displacement is zero.
Why make this definition? Friction is an example of a non-ideal constraint, since frictional forces can do work during virtual displacements. However, friction is an emergent phenomenon that arises from microscopic interactions between molecules. As we are studying theoretical physics at a fundamental level, we are less concerned with emergent phenomena and more concerned with fundamental interactions. Thus, we will assume that all constraints we consider are ideal constraints.
d'Alembert's Principle
We know that sometimes, we need to introduce more coordinates than the number of degrees of freedom in order to describe a system while accounting for constraints.
For example, a bead sliding on a wire in three-dimensional space has three coordinates
When there are constraining forces present, we can write Newton's Second Law for each particle
where
So we seek a new formulation of classical mechanics that eliminates the constraining forces from consideration.
If we have Newton's Second Law written as
Systems in equilibrium satisfy the Principle of Virtual Work:
where
Proof. For a system with equilibrium, the forces
By the definition of ideal constraints, the second term is zero, so we have
Using the Principle of Virtual Work, we can now plug
This is known as d'Alembert's Principle.
A system of particles subject to ideal constraints satisfies d'Alembert's Principle:
Proof. Substitute
d'Alembert's Principle allows us to eliminate the constraining forces from consideration, as they do no work during virtual displacements.
A classic example encountered in introductory physics courses is the Atwood's machine, which consists of two masses
where
We will analyze the system with d'Alembert's Principle. But first, let's derive the equations of motion using Newtonian mechanics to make sure we get the same result. The net forces on the masses are
Here,
Substituting
Adding this to the first equation of motion, we get
Finally, we can solve for the equation of motion for mass
The second equation of motion can be obtained by substituting
Now, let's use d'Alembert's Principle to analyze the same system.
Any virtual displacement
In vector form, the virtual displacements are
Now we are ready to apply d'Alembert's Principle. The forces acting on the masses are just gravity (as the tension is a constraining force). Thus we have
Substituting into d'Alembert's Principle, we have
Since
Substituting
which simplifies to the same equation of motion we derived earlier using Newtonian mechanics.
Generalized Coordinates
Given a system with
A system with
Proof. Let
By the Implicit Function Theorem, there exists a unique smooth function
So the configuration of the system can be described by the
Also, as the original constraints are expressed as
we can substitute
By the definition of
-
For a simple pendulum consisting of a mass
attached to a massless rod of length swinging in a plane, the position of the mass can be described using a single generalized coordinate: the angle the rod makes with the vertical. The Cartesian coordinates of the mass can be expressed in terms of asThe constraint
can be expressed in terms of the generalized coordinate :This is automatically satisfied for all
. -
For a double pendulum consisting of two masses
and connected by massless rods of lengths and , respectively, the positions of the masses can be described using two generalized coordinates: the angles and that the rods make with the vertical. The Cartesian coordinates of mass (x_2, y_2) m_2 \theta_1 \theta_2$ asThe constraints
and can be expressed in terms of the generalized coordinates and : -
The Atwood's machine described in Example 1.2.9 has two masses connected by an inextensible string. The positions of the masses can be described using a single generalized coordinate: the vertical position
of mass . The vertical position of mass can be expressed in terms of using the constraint imposed by the string:The constraint
can be expressed in terms of the generalized coordinate :This is automatically satisfied for all
. -
A particle constrained to move on the surface of a sphere of radius
can have its position described using two generalized coordinates: the polar angle and the azimuthal angle . The Cartesian coordinates of the particle can be expressed in terms of and asThe constraint
can be expressed in terms of the generalized coordinates and :This is automatically satisfied for all
and .
The configuration space of a mechanical system is defined as the set of all possible configurations of the system, represented by the generalized coordinates.
If the system has
Virtual displacements can also be expressed in terms of generalized coordinates via the chain rule.
If we have a virtual displacement
where
Velocities can be expressed as
The virtual work of the forces acting on the system can now be expressed as
Comparing this to the definition of virtual work in physical coordinates
Thus, the generalized force
The generalized force
where
In generalized coordinates, d'Alembert's Principle can be expressed as
where
Proof. Starting from d'Alembert's Principle in physical coordinates:
we have already expressed the work done by the applied forces in terms of generalized coordinates. Now consider the term involving the time derivative of momentum. We have
Let's rewrite the term in parentheses using integration by parts:
To expand the last term
Turning to the term
Substituting these results back into the expression for
where we have identified the kinetic energy of the system as
Since the virtual displacements
which completes the proof.
In the case where all forces are conservative (i.e., can be derived from a potential energy function
where
It is interesting that the Euler-Lagrange equations appear in classical mechanics, because it implies that the dynamics of a mechanical system can be derived from a variational principle. More specifically, physical paths must be extremal paths of a certain variational problem.