Action with fixed endpoints
The action is the time integral of the Lagrangian, not of the total energy. When the path in between changes, the endpoints stay put.
M081 · Action with fixed endpoints
Must the physical path have the smallest action? No; it only has to be stationary, meaning a small change to the path leaves the action unchanged to first order. For short trips that stationary path is a minimum. For long enough trips, past a so-called conjugate point, it can become a saddle instead. For a mass on a spring, that happens once the trip lasts longer than half an oscillation period.
Drag a trial path while its endpoints stay fixed. Compare the action, its first variation and the residual of the equation of motion for free motion, uniform gravity and harmonic motion. Then move from a minimum to a saddle, and test compatible and impossible endpoints at a conjugate time.
Physics tutorial
BackgroundMany paths join the same start and end points in a fixed time. Only the physical path also obeys the equations of motion.
Why it mattersThe principle of stationary action, together with the second variation, explains why the physical path can sit at a saddle of the action.
Start with the essentials
The action is the time integral of the Lagrangian, not of the total energy. When the path in between changes, the endpoints stay put.
On a true path the force residual is zero. The gradient over the six modes tests only the directions you can edit; the plotted residual tests the full continuous equation.
When the endpoints are compatible, the base path is the analytic true path. When harmonic endpoints are impossible, the base is a straight line between them, and the case is marked as having no physical solution.
Around a compatible harmonic reference, the first variation is zero. A mode with too long a half-wavelength lowers the action, while higher modes still raise it. For free motion and uniform gravity, the frequency term is zero.
When this condition holds exactly, a pair of endpoints can have infinitely many physical paths or none. A flat mode does not single out one path. The interval control measures time in units of the harmonic half-period.
The displayed action comes from the closed-form quadratic expression. A composite Simpson integration with 512 intervals checks the path integral independently; the difference between them is not a complete error bound.
Typical misconceptionThe true path must have less action than every nearby path.
Better mental modelOnce the interval is longer than half a harmonic period, some directions have negative curvature and the stationary path is a saddle.
Typical misconceptionIf both the slope and the curvature are zero, they pick out one motion.
Better mental modelWith compatible endpoints at a conjugate time, a whole family of true paths lies along the flat direction.
Typical misconceptionAny two endpoint positions can be joined by a harmonic path.
Better mental modelAt a conjugate time, incompatible endpoints have no solution. The straight base line is only a candidate you can edit.
Typical misconceptionSix small derivatives prove the path is stationary in every possible direction.
Better mental modelThe finite basis tests only six directions. Check the residual of the continuous equation and the analytic reference as well.
Choose Short-interval minimum, then press Restore reference.
What to observe: The slope and the force residual approach zero, and pushing the path along the first mode raises the action.Choose Stationary saddle, then compare modes one and three.
What to observe: Around the same stationary path, one mode lowers the action and the other raises it.Compare the Conjugate-time family and Impossible endpoints presets.
What to observe: A family of physical paths along a flat direction is a different case from endpoints that have no classical solution at all.Drag the orange handle and compare the gradient, the residual and the quadrature difference.
What to observe: The endpoints stay fixed, and the exact action agrees with the independent numerical integral.