What Variables Does the Action Depend On?
At a glance
- 1. Specify the path
In Lagrangian mechanics, the action is a functional of the system’s trajectory over a time interval.
- 2. Evaluate the Lagrangian
At each time, the Lagrangian uses the coordinates, their time derivatives, time, and any specified parameters or external data.
- 3. Integrate over time
Integrate the Lagrangian between the chosen initial and final times to obtain one number for that path.
- 4. Vary admissible paths
Hamilton’s principle compares paths with the same fixed endpoints; the physical path makes the first-order action change vanish.
In classical mechanics, the action is not usually a function of a particle’s position at one instant. It is a functional: an input is an entire trajectory over a time interval, and the output is a number. This distinction explains why the action can be varied to find the equations of motion.
The action as a functional of a path
For generalized coordinates , the action between times and is
Here is the Lagrangian, often kinetic energy minus potential energy, and . The notation emphasizes that the input is the set of functions , not just a list of coordinate values. The integral assigns one action value to each admissible path.
The action also depends on the chosen time interval and on the Lagrangian’s specified parameters or external data. For example, mass, coupling constants, and a prescribed external force may enter . If the Lagrangian explicitly depends on time, then the time dependence is included inside the integral as well.
What varies in Hamilton’s principle?
To derive the equations of motion, compare a path with nearby paths. For fixed endpoints, write a varied path as
The action changes as changes. Hamilton’s principle requires the first-order change to vanish at the physical path: . This does not generally mean that the action is the smallest possible value; “stationary” includes minima, maxima, and saddle points.
The endpoint conditions matter. In the usual fixed-endpoint version, the initial and final times and coordinates are held fixed during the variation. They are boundary data for the comparison, not independent values that can be changed freely in that variation. Other variational problems can allow endpoints to move, but then their boundary conditions and resulting equations must be adjusted.
Worked example: a free particle
For a free particle of mass moving in one dimension, the Lagrangian is . Let the interval have duration , and compare paths with the same endpoints separated by distance :
Every value of gives the same positions at the endpoints, because the sine term vanishes there. The velocity is
Substituting this velocity into the action gives
The term linear in integrates to zero, so the first-order change in action vanishes at . For instance, take , , , and . The straight path has action , while the varied path has action about . The action depends on the chosen trajectory, even though the endpoints are the same.
From the action functional to endpoint functions
There is a related use of the symbol . If you first choose the path that solves the equations of motion for given endpoints, then evaluate the action on that path, the result can be written as a function of endpoint data, for example . This is the Hamilton principal function. It is different from the action functional before a path has been selected: the functional takes a path as input, while the principal function takes boundary data and refers to the classical path connecting them.
In field theory, the same idea applies with a field configuration replacing the particle’s trajectory. The action is then a functional of fields over a spacetime region.
Common mistakes
- Calling a function only of position. The action depends on a whole history ; knowing the position at one instant is not enough to calculate it.
- Treating and as independent paths. In the ordinary Lagrangian action, velocity is the time derivative of the coordinate path. The Lagrangian uses both, but a path variation changes them consistently.
- Forgetting the interval or system data. Changing the limits, mass, potential, or external fields can change the action even if a path’s coordinate values are otherwise unchanged.
- Confusing the action with its stationary value. The action functional can be evaluated on many paths. The principal function is the action evaluated on a classical path with specified boundary data.
References
- Classical Mechanics, Herbert Goldstein, Charles Poole, and John Safko
- The Variational Principles of Mechanics, Cornelius Lanczos
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.