Introduction
Welcome back! In our last lesson, you mastered the calculus of variations, a mathematical framework for finding functions that make a given integral stationary. We saw how this tool could be used to solve the classic brachistochrone problem, proving that the path of fastest descent is a cycloid. You learned that the condition for an integral functional to be stationary is the celebrated Euler-Lagrange equation.
Today, we elevate this mathematical equation into a profound physical principle. Instead of just being a tool to solve geometric problems, we will see that the Euler-Lagrange equation is, in fact, the very heart of how nature works at a classical level. We will introduce the Principle of Least Action, also known as Hamilton's Principle. This principle postulates that the true path a physical system takes through time is the one that keeps a special quantity, the action, stationary.
Our goal is to formally derive the Euler-Lagrange equation of motion directly from this physical principle. This will mark our transition from Newtonian mechanics, which is based on vector forces, to the elegant and powerful scalar framework of Lagrangian mechanics.
1. The Principle of Least Action
In Newtonian mechanics, you solve for the motion of a particle locally. You stand at a point, calculate the forces acting on the particle, and use to determine its acceleration, and thus where it will be an instant later.
The Principle of Least Action offers a different, "global" perspective. It imagines all possible paths a particle could take between a starting point at time and an ending point at time . It then claims that the path nature actually chooses is the one that makes a specific quantity, the action, stationary (usually a minimum).
To get a feel for this new perspective and why it's so powerful, let's start with a conceptual overview.
Lagrangian Mechanics - Lesson 1: Deriving the Euler-Lagrange Equation & Introduction
This first video, from The Kaizen Effect, provides an excellent motivation for why we need a new formulation of mechanics, contrasting the often cumbersome Newtonian vector approach with the elegance of an energy-based method. It then introduces the Principle of Least Action from a philosophical standpoint.
Watch from the beginning to 12:52. The first part (until 5:44) discusses the limitations of Newtonian mechanics and the motivation for Lagrangian mechanics. The second part (from 5:44 to 12:52) introduces the Principle of Least Action and the idea that nature tends towards energy-efficient paths, connecting the concept of 'minimization' to calculus.
Defining the Action and the Lagrangian
The video has given us the core idea. Now, we need to define the "action" mathematically. The action, denoted by , is a functional of the system's path, . It is defined as the time integral of a function called the Lagrangian, .
For most classical systems, the Lagrangian is defined with beautiful simplicity as the kinetic energy (T) minus the potential energy (V) of the system.
This is a crucial definition. The action is not the integral of the total energy (). The fact that it's the difference is key and leads to all the correct physics.
The following resource explains this definition clearly and sets the stage for the derivation.
This video from Dr Mitchell's physics channel provides a concise and clear definition of the action and the Lagrangian. It directly states that L = T - V and contrasts the local Newtonian viewpoint with the global action principle.
Watch from 5:44 to 29:41. Focus on how the problem is reframed: instead of solving F=ma, we consider all possible paths and seek the one that minimizes the action (S). Pay close attention to the definition of the action as the integral of the Lagrangian, and the Lagrangian itself as L = T - V (kinetic minus potential energy).
2. Derivation from Hamilton's Principle
We now have all the pieces:
- The Physical Principle: The true path of a system between and makes the action stationary ().
- The Mathematical Definition: , where .
- The Mathematical Tool: From our last lesson, we know how to find the condition for a functional to be stationary—the Euler-Lagrange equation.
Let's combine them. We will now perform the same mathematical derivation as in the last lesson, but this time our functional is the action, our variable is time , and our function is the path . The result will no longer be just a mathematical identity; it will be the equation of motion for the system.
Given your preference for rigorous derivations, following this process closely is essential. We will use the same method of path variation.
Consider the true path and a family of varied paths:
Here, is a small parameter, and is an arbitrary function that vanishes at the endpoints, i.e., , ensuring all paths start and end at the same points in configuration space at the same times.
The action becomes a function of , and the principle of stationary action requires:
Let's watch this derivation in detail.
Lagrangian Mechanics - Lesson 1: Deriving the Euler-Lagrange Equation & Introduction
The following section of 'The Kaizen Effect' video provides a meticulous, step-by-step derivation of the Euler-Lagrange equation starting from the problem of minimizing a functional. This is exactly the procedure we need to apply to the action functional.
Watch from 24:14 to 50:16. This is the heart of today's lesson. Follow the derivation carefully. Note the key steps: (1) defining the varied path with a parameter, (2) differentiating the integral with respect to that parameter, (3) the crucial use of integration by parts to shift the time derivative, and (4) using the arbitrary nature of the variation to conclude that the term in parentheses must be zero.
The result of this derivation is the Euler-Lagrange Equation of Motion:
This is the central equation of Lagrangian mechanics.

For a more formal, text-based proof that you can review at your own pace, the following resource is excellent. It presents the exact same logic in a concise, mathematical format.
This excerpt from the textbook 'The Lagrangian Method' by David Morin presents a rigorous proof of the same theorem: that a stationary action implies the Euler-Lagrange equation.
Read Section 6.2, 'The principle of stationary action,' focusing on the proof of Theorem 6.1. This is a compact, mathematical presentation of the video derivation you just watched. It's a great reference for consolidating your understanding.
3. Equivalence with Newtonian Mechanics
This new formalism is elegant, but is it correct? We must verify that for a simple system, the Euler-Lagrange equation reproduces Newton's second law, .
Let's consider a single particle of mass moving in one dimension under a potential .
- Kinetic Energy:
- Potential Energy:
- Lagrangian:
Now, let's compute the terms for the Euler-Lagrange equation:
- . By definition, the force is the negative gradient of the potential, so . Thus, .
- . This quantity, the partial derivative of the Lagrangian with respect to a velocity, is called the generalized momentum corresponding to that coordinate. In this Cartesian case, it's just the familiar linear momentum, .
Substituting these into the Euler-Lagrange equation gives:
This is precisely Newton's second law. The Lagrangian formalism successfully reproduces Newtonian mechanics. The resource from Dr. Mitchell's channel also demonstrates this equivalence beautifully for the 3D case. The section in "The Lagrangian Method" PDF titled "This principle... is equivalent to F = ma" (resource LINK, section idx=1) further solidifies this point.
Test your understanding!
Consider a simple harmonic oscillator in one dimension, with a mass on a spring with spring constant . Its potential energy is .
- Write down the Lagrangian for this system.
- Apply the Euler-Lagrange equation to derive the equation of motion. Does it match the known equation for a simple harmonic oscillator?
Show answer
-
Lagrangian:
The kinetic energy is .
The potential energy is .
The Lagrangian is . -
Euler-Lagrange Equation:
The E-L equation is .
Plugging in our terms:This is exactly the familiar second-order differential equation for simple harmonic motion, , where . The method works perfectly.
Conclusion
In this lesson, we have made a significant leap from a purely mathematical tool to a deep physical principle. We have shown that the entire framework of classical mechanics can be built upon a single, elegant statement: the Principle of Stationary Action.
Key Takeaways:
- The Principle of Stationary Action (Hamilton's Principle) states that the true physical path of a system is one that makes the action functional stationary.
- The Action is the time integral of the Lagrangian: .
- The Lagrangian is a scalar quantity based on the system's energies.
- By demanding that the action be stationary (), we rigorously derive the Euler-Lagrange equation of motion: .
- This formalism is entirely equivalent to Newtonian mechanics but provides a more powerful and general foundation, as it deals with scalar energies rather than vector forces.
Preview of the Next Lesson:
So far, we've only used simple Cartesian coordinates (). The true power of the Lagrangian method shines when we deal with complex systems and constraints. In the next lesson, we will introduce generalized coordinates. These are coordinates that are adapted to the specific geometry of a problem (like angles for a pendulum). You will learn how to formulate the Lagrangian in any convenient coordinate system and see just how easily the Euler-Lagrange equation delivers the correct equations of motion, even for problems that would be a nightmare to solve with Newtonian forces.