One endpoint-fixed functional
Action integrates the Lagrangian, not total energy. Endpoints stay fixed when the interior path changes.
M081 · Action / boundary value
Drag a candidate path while fixing its endpoints. Compare action, first variation and equation residual in free motion, uniform gravity and harmonic motion; move from a minimum to a saddle and test compatible or impossible conjugate-time boundaries.
Physics tutorial
BackgroundA candidate history connects prescribed endpoints; a physical history satisfies the equations of motion.
Why it mattersThe stationary-action principle and its second variation explain why a physical path can be a saddle.
Start with the essentials
Action integrates the Lagrangian, not total energy. Endpoints stay fixed when the interior path changes.
The force residual vanishes for a true path. The six-mode gradient tests only the editable subspace, while the plotted residual tests the continuous equation.
The base is the analytic true path when compatible. At an impossible harmonic boundary it is a straight interpolation, explicitly labeled as having no physical solution.
For a compatible harmonic reference the first variation is zero. A mode whose half-wavelength is too long lowers action; higher modes still raise it. Free motion and uniform gravity replace the frequency term by zero.
At this exact condition an endpoint pair may have infinitely many physical paths or none. A flat mode is not a uniquely selected path. The interval control uses the harmonic half-period as its base scale.
Closed-form quadratic action is the displayed value. Composite Simpson integration with 512 intervals audits the path integral; this discrepancy is not a complete error bound.
Typical misconceptionThe true path must beat every nearby path.
Better mental modelBeyond a harmonic half-period there are negative-curvature directions and a stationary saddle.
Typical misconceptionA zero slope and zero curvature pick one motion.
Better mental modelA compatible conjugate boundary has a family of true paths along a flat direction.
Typical misconceptionAny two endpoint positions admit a harmonic path.
Better mental modelAt a conjugate time incompatible endpoint values have no solution; a straight base is only an editable candidate.
Typical misconceptionSix small derivatives prove stationarity in every possible direction.
Better mental modelThe finite basis tests six directions. Inspect the continuous equation residual and the analytic reference separately.
Choose the short interval and restore the reference.
What to observe: Slope and force residual approach zero; a first-mode perturbation increases action.Choose the stationary saddle, then compare modes one and three.
What to observe: One lowers action and the other raises it around the same stationary path.Compare the family and impossible-endpoint presets.
What to observe: A flat physical family differs from an endpoint pair with no classical solution.Drag the orange handle and compare gradient, residual and quadrature discrepancy.
What to observe: The endpoints stay fixed; the exact action and independent quadrature remain consistent.