Professional Documents
Culture Documents
1. Integration by parts: When we take the variation of the action, which is the integral of
the Lagrangian over time, any total derivative term can be integrated by parts. This results
in a boundary term that vanishes if the variations are zero at the boundaries of integration
(which is typically assumed).
2. Euler-Lagrange equation: The equations of motion are derived from the Lagrangian
using the Euler-Lagrange equation. This equation is speci cally designed to be insensitive
to total derivative terms. When we vary the action with respect to the generalized
coordinates, the total derivative terms contribute terms that cancel out, leaving only the
terms that actually contribute to the equations of motion.
Total Derivative: A total derivative is a function whose derivative is zero. In the context of
Lagrangian mechanics, it's typically expressed as the total derivative of a function with
respect to time:
S = ∫ L(q, q̇, t) dt
where L is the Lagrangian, the total derivative term contributes a boundary term:
d/dt(∂L/∂q̇) - ∂L/∂q = 0
This equation states that the derivative of the momentum (∂L/∂q̇ ) with respect to time
must be equal to the partial derivative of the Lagrangian with respect to the generalized
coordinate (∂L/∂q). When we vary the action and substitute the total derivative term, the
terms arising from the total derivative cancel out, leaving only the terms that contribute to
the equations of motion.
fi
fi
Therefore, adding a total derivative to the Lagrangian doesn't change the equations of
motion because:
• Integration by parts: The total derivative term integrates to a boundary term that
vanishes under typical boundary conditions.
This property allows us to add or remove total derivative terms from the Lagrangian
without a ecting the physical dynamics of the system. It's important to note that this only
applies to total derivatives with respect to time; total derivatives with respect to other
variables can have a signi cant impact on the equations of motion.
ff
fi