The Lagrangian and equations of motion
Energies, generalized forces, and equations in independent coordinates.
1. From forces to a scalar description
In the pendulum calculation of Unit 1, the tension disappeared when Newton's equation was projected onto the allowed tangent direction. That was useful, but we still had to differentiate Cartesian coordinates twice and project the resulting acceleration. For a system with several moving parts, this is much of the work.
Lagrangian mechanics organizes the same dynamics through kinetic and potential energy. Both are scalars: they can be calculated without resolving every force into components. The geometry has already been incorporated in the transformations . The method then gives one equation for each independent coordinate.
The underlying assumptions in this unit are constant particle masses, an inertial frame for calculating physical kinetic energy, and ideal holonomic constraints incorporated in independent generalized coordinates. Non-ideal forces will be retained explicitly. These qualifications matter: eliminating a coordinate through a non-integrable rolling condition is not generally a valid substitution into the formulas below.
2. Kinetic energy, potential energy, and the Lagrangian
For particles labeled by , kinetic energy is
It measures energy associated with motion in the chosen inertial frame. Use the transformation equations to express every velocity in terms of before constructing the Lagrangian.
A conservative applied force can be represented by a potential: . Its work is the negative change in potential energy when the potential has no explicit time dependence. The zero of is arbitrary. For gravity near Earth's surface with upward coordinate , because .
Definition. For an ordinary mechanical system with a velocity-independent potential, the Lagrangian is
has units of energy, but it is not the stored mechanical energy; that is . The subtraction has a dynamical purpose. Differentiating gives the applied conservative force, while derivatives of produce the inertial terms, including the geometrical terms introduced by curved coordinates. The usefulness of lies in those derivatives, not in assigning a separate substance to “kinetic energy minus potential energy.”
A coordinate may be a distance or an angle. Its generalized velocity is . In partial derivatives of , treat and as independent arguments; only after differentiating do they follow a particular time-dependent motion. For example,
The latter still depends on time through both and .
3. Lagrange's equations
For conservative applied forces already included in ,
This is a system of second-order differential equations when the velocity dependence is regular. Position and velocity initial data supply the constants needed to select a motion. “Conservative form” here means no remaining generalized force on the right; prescribed moving constraints or explicit time dependence can still exchange energy with the system.
If forces remain outside , define their generalized components by virtual work:
Then
Here and throughout Units 2–3, denotes only the forces not already represented in . Including gravity in and again on the right would count it twice. is work, so has dimensions of energy divided by the dimensions of . For an angle it is a torque.
The syllabus requires the equations and their applications, not their full derivation. An optional derivation is provided separately. The proofs of conservation laws and kinetic-energy properties later in this unit remain part of the prescribed development.
4. Reading the three operations
For each coordinate, the three operations are: take a partial derivative with respect to its velocity, take the total time derivative of that result, and subtract the partial derivative with respect to the coordinate. They cannot be interchanged.
For , the product rule gives
Writing only silently assumes is fixed. Equally, a coordinate absent from can have its velocity present: this will be the source of a conservation law, not a reason to discard its equation.
A systematic calculation begins with a coordinate convention and a sketch. Express and in those coordinates, form , apply the equation to each coordinate, and inspect dimensions and limiting cases. Reactions can be recovered afterward from Newton's law if the problem asks for them.
5. Applications
Example 1 · Free motion in Cartesian coordinates
A particle of mass moves in a plane without applied force. Choose . Then , , and .
The derivatives are and , so . The equation similarly gives . Integrating once gives constant velocities ; integrating again gives
A straight line at constant speed emerges from the scalar kinetic energy. The freedom to choose and the two velocities reflects the four initial data for two degrees of freedom.
Example 2 · Motion in a uniform gravitational field
Use upward and horizontal . With ,
For , . For , and , so . Therefore
If , the highest point occurs when : . The rise is . Mass cancels because inertial and gravitational masses have been identified in the model.
Example 3 · The planar pendulum
A bob of mass is attached to a fixed pivot by a massless rod of length . Let be measured from the downward vertical. The transformations are , . Squaring and and adding gives .
Choose the lowest point as zero potential:
Now and . Thus
For positive small , acceleration is negative: gravity restores the bob toward the lowest point. Replacing by requires small angles in radians. It gives and period , not the exact period at arbitrary amplitude. The rod reaction never entered because it performs no virtual work.
Example 4 · The Atwood machine
Two masses share a taut, massless string over an ideal fixed pulley. Choose downward for ; then the downward coordinate of is . Their speeds have equal magnitude .
Dropping the constant,
Lagrange's equation gives . Hence
For and , . The heavier mass accelerates downward. If the pulley has appreciable rotational inertia or the string stretches, this kinetic energy is incomplete; changing the physical model requires changing and possibly the number of coordinates.
6. Newtonian and Lagrangian descriptions
| Question | Newtonian method | Lagrangian method |
|---|---|---|
| Primary input | Forces and acceleration | Kinetic energy, potential, remaining generalized forces |
| Constraint handling | Reactions and constraint equations, or projections | Independent coordinates incorporating ideal holonomic constraints |
| Unknown reactions | Often solved directly | Usually eliminated; recover afterward if needed |
| Curved coordinates | Resolve acceleration including changing basis vectors | Geometry enters the kinetic energy |
| Physical predictions | Same for the same model | Same for the same model |
The method is most economical when geometry makes the reactions awkward but the energies simple. For a free particle, Newton's equation may be shorter. A formalism is a way of organizing mechanics, not a different force law.
7. Results and physical interpretation
The minus sign in gives the correct conservative force sign. Independent coordinates reduce the number of equations; they do not remove the effects of geometry. Before treating a result as physical, check coordinate conventions, excluded forces, and whether the constraints are still satisfied. For a string pendulum, for example, a computed negative tension signals failure of the taut-string model.
Exercises
Hints and solutions are collected separately.
7.1 Why is the Lagrangian not the total mechanical energy?
7.2 If is an angle, what are the dimensions of and ?
7.3 For , find the equation of motion.
7.4 For upward vertical coordinate , construct for a freely falling mass and find its acceleration.
7.5 A pendulum of length makes small oscillations. Find its period for .
7.6 Find the acceleration of an ideal Atwood machine with masses and .
7.7 Construct the polar Lagrangian for a free particle and obtain both equations of motion.
7.8 Why does adding a constant to leave the motion unchanged?
7.9 A mass slides without friction on under gravity. Construct using and find its equation.
7.10 Explain, using a pendulum, what information is eliminated and what is retained by using generalized coordinates.
7.11 If gravity is included in , should also be used?
7.12 For a string pendulum, why can a correct angular equation still cease to describe the motion?
Reading progress is saved on this device.