Introduction
Welcome back! In our previous lesson, we mastered the crucial first step of the Lagrangian method: formulating the Lagrangian for a mechanical system using a well-chosen set of generalized coordinates . We saw how this procedure elegantly incorporates constraints and simplifies the description of complex systems.
Today, we take the final, decisive step. We will take the Lagrangians we've constructed and substitute them into the Euler-Lagrange equations to derive the system's equations of motion. This lesson is where the formalism translates into concrete, predictive power. Our objective is to solve both unconstrained and constrained mechanics problems. We will first focus on the standard method where constraints are handled implicitly by the choice of coordinates. Then, we will introduce the powerful method of Lagrange multipliers to explicitly solve for the forces of constraint when needed.
1. The Euler-Lagrange Equations in Action
As we derived from the Principle of Stationary Action, the dynamics of any system are governed by the Euler-Lagrange equations. For a system with degrees of freedom described by generalized coordinates , there is one equation for each coordinate:
The procedure is algorithmic:
- For each generalized coordinate , compute the two partial derivatives:
- , the generalized force.
- , the generalized momentum, conjugate to .
- Take the total time derivative of the generalized momentum: .
- Substitute these into the equation to get a second-order ordinary differential equation (ODE) for .
Let's begin with a familiar case to see this in practice.
Example 1: The Simple Pendulum
In the last lesson, we derived the Lagrangian for a simple pendulum of mass and length :
Here, we have one generalized coordinate, . Let's apply the Euler-Lagrange equation:
-
Calculate derivatives:
- Generalized momentum .
- Generalized force .
-
Take time derivative of momentum:
- .
-
Assemble the equation of motion:
This is the exact, non-linear equation of motion for a simple pendulum, which you have previously derived using Newtonian torque analysis. The Lagrangian method reproduces it with remarkable efficiency.
Example 2: Systems with Multiple Degrees of Freedom
The true power of this method becomes apparent in systems with multiple moving parts, where a Newtonian force analysis would be intricate. The following video demonstrates how to tackle a classic problem: a double pulley system with three masses.
Worked examples in classical Lagrangian mechanics
Let's apply this to a more complex system: the double pulley with three masses. This is a classic problem where Lagrangian mechanics shines. This video will walk us through the entire process, from setting up the two generalized coordinates to deriving the two coupled equations of motion.
Watch the segment from 13:56 to 26:55. Pay close attention to how the two generalized coordinates, q1 and q2, are defined. Follow the derivation of the kinetic and potential energies, leading to the full Lagrangian. The crucial part is seeing how the Euler-Lagrange equation is applied twice (once for q1, once for q2) to produce two distinct equations of motion.
As you saw, for a system with two degrees of freedom, we obtain two coupled second-order ODEs. Solving this system of equations provides the complete time evolution of the coordinates and .
2. Finding the Forces of Constraint
The standard Lagrangian method is designed to find the equations of motion without worrying about the forces that maintain the constraints (like tension or normal forces). But what if you need to find these forces? For this, we use the method of Lagrange Multipliers.
The core idea is to treat the system as less constrained than it is, and then add the constraint back in mathematically.
The Method:
- Start with a coordinate system that has more degrees of freedom than the constrained system.
- Write the constraint as an equation of the form .
- Construct an augmented Lagrangian, , by adding the constraint equation multiplied by a new variable, (the Lagrange multiplier):
- Treat as a new generalized coordinate. Now, derive the Euler-Lagrange equations for all original coordinates AND for .
- The E-L equation for is , which simply returns the constraint equation .
- The E-L equations for the original coordinates become:
The term on the right, , represents the generalized force of constraint corresponding to the coordinate . By solving the full system of equations, we can find both the motion and the value of , which gives us the magnitude of the constraint force.

The following reading provides a rigorous but clear explanation of this method.
To understand the theory behind finding constraint forces, let's turn to David Tong's excellent lecture notes from Cambridge. This section introduces the method of Lagrange multipliers formally and shows how it allows us to solve for constraint forces by re-introducing the constraint equation into the Lagrangian.
Read Section 2.3, 'Constraints and Generalised Coordinates,' focusing on the material under the heading '2.3.1 Holonomic Constraints'. Follow the logic of creating the augmented Lagrangian L' and see how it is applied to the pendulum example to find the tension. This demonstrates how we get more information (the constraint force) at the cost of a slightly more complex calculation.
Example 3: Normal Force on a Particle on a Sphere
Let's find the normal force on a particle of mass sliding on the surface of a fixed, frictionless sphere of radius . We'll use spherical coordinates and (measured from the vertical).
-
Coordinates and Constraint: We use two coordinates, and . The constraint is that the particle stays on the sphere: .
-
Lagrangian: The Lagrangian for a free particle in a gravitational field in polar coordinates is:
The augmented Lagrangian is:
-
Euler-Lagrange Equations:
- For : , which is our constraint.
- For :
- For :
-
Solve for : Now we apply the constraint , which implies and .
- The equation becomes: . This describes the motion.
- The equation becomes: .
The generalized force of constraint is . This is precisely the normal force . Therefore:
This result is exactly what you would find using Newton's second law in the radial direction (), confirming the validity of the method.
Test your understanding!
Consider a simple Atwood's machine with masses and connected by a rope of length over a massless pulley. Let be the downward displacement of and be the downward displacement of , both measured from the pulley.
Use the method of Lagrange multipliers to find the tension in the rope.
(Hint: The unconstrained Lagrangian is for two separate falling masses. The constraint is .)
Show answer
-
Lagrangian and Constraint:
The kinetic energy is .
The potential energy is .
The unconstrained Lagrangian is .
The constraint is . -
Augmented Lagrangian:
-
Euler-Lagrange Equations:
- For :
- For :
- For :
-
Solve:
We have two equations:
(1)
(2)
From the constraint , we get .
Substitute into (2): .
Now we have two expressions for . Equating them:
. This is the familiar acceleration.Now, substitute back into equation (1) to find :
The generalized constraint force for is . This force acts in the direction of increasing (downward). The tension acts upward, so .
This is the well-known result for the tension in an Atwood's machine.
3. Engineering Application: Equilibrium in Rotating Systems
Lagrangian mechanics is exceptionally useful for analyzing stability in rotating systems, a common problem in mechanical engineering. Let's look at a bead on a spinning parabolic wire.
Worked examples in classical Lagrangian mechanics
To see these methods applied to a problem with an engineering flavor, let's analyze a bead on a rotating parabolic wire. This problem involves a time-dependent constraint and allows us to investigate equilibrium conditions in a rotating frame, a common task in mechanical engineering.
Watch the segment from 53:53 to 1:06:09. Observe how the Lagrangian is constructed using cylindrical coordinates but with constraints applied (z as a function of r, and θ as a function of t). The most interesting part is the derivation of the equation of motion for 'r' and the subsequent analysis to find the equilibrium conditions. This shows how we can use the E-L equations not just for dynamics, but also for finding stable/unstable configurations.
This example shows how the derived equation of motion, even if complex, can be immediately used to analyze important physical properties like equilibrium points by setting velocities and accelerations to zero.
Conclusion
In this lesson, you have learned to wield the full power of the Euler-Lagrange equations. You can now take a physical system, construct its Lagrangian, and derive the differential equations that completely govern its motion.
Key Takeaways:
- The Euler-Lagrange equation provides a systematic, algorithmic way to find the equations of motion for any system described by a Lagrangian.
- For a system with degrees of freedom, this method yields second-order ODEs.
- The standard method is ideal for finding the system's trajectory, as it conveniently eliminates constraint forces.
- When constraint forces themselves are of interest, the method of Lagrange multipliers allows us to find them by augmenting the Lagrangian and treating the multiplier as an additional coordinate. The value of is directly related to the magnitude of the constraint force.
Preview of the Next Lesson:
In several examples today (like the spherical pendulum or the particle on a cone), you may have noticed that the Lagrangian did not depend on an angle coordinate (e.g., ), but only on its velocity (). Such coordinates are called cyclic or ignorable. In our next lesson, we will explore the profound consequence of this observation: whenever a coordinate is cyclic, its corresponding generalized momentum is conserved. This is a direct manifestation of Noether's Theorem, which connects symmetries in the Lagrangian to conserved quantities in the system.