Variational principle and stationary actionInvestigate and explain ↓

Orange: selected curve · green dashed: stationary solution.

Axes: horizontal t (s), vertical x (m).

Settings

Record measurement

No measurements yet.

Investigate and explain

  1. Does changing the sign of ε change the action?
  2. Record ε=0, ±0.2 and ±0.4.
  3. Why does doubling ε quadruple the action difference?

Notes are saved in this browser.

Mathematics step by step

m=1 kg, T=1 s; x(0)=0, x(1)=1 m. Free particle, V=0. Admissible family xε(t)=t+ε sin(πt), with time measured in 1 s units. This stationary path is a minimum; the general action principle requires only δS=0.

  1. Define action as a path functional. Since η vanishes at the endpoints, every comparison connects the same events.

    S[x]=∫0TL(x,x˙,t) dt,xϵ=x+ϵη,η(0)=η(T)=0S[x]=\int_0^T L(x,\dot x,t)\,dt,\quad x_\epsilon=x+\epsilon\eta,\quad \eta(0)=\eta(T)=0
  2. Differentiate in ε and integrate the η̇ term by parts. The endpoint term vanishes.

    δS=∫0T(Lxη+Lx˙η˙)dt=∫0T(Lx−ddtLx˙)η dt\delta S=\int_0^T\left(L_x\eta+L_{\dot x}\dot\eta\right)dt=\int_0^T\left(L_x-\frac{d}{dt}L_{\dot x}\right)\eta\,dt
  3. Vanishing for every smooth η yields Euler–Lagrange by the fundamental lemma. A free particle has constant velocity.

    ddtLx˙−Lx=0,L=12mx˙2 ⟹ x¨=0\frac{d}{dt}L_{\dot x}-L_x=0,\qquad L=\frac12m\dot x^2\ \Longrightarrow\ \ddot x=0
  4. Evaluate this family exactly: the linear term vanishes and the quadratic term is positive. Other systems require a separate second-variation analysis.

    S(ϵ)=12+π2ϵ24(J s),S′(0)=0S(\epsilon)=\frac12+\frac{\pi^2\epsilon^2}{4}\quad(\mathrm{J\,s}),\qquad S'(0)=0

Stationarity means zero first-order change under every admissible small variation.

Primary teaching sources

Experiment purpose and introduction

Classical Mechanics · δJ = 0

Variational principle and stationary action

Vary an entire path, not a single number: from fixed endpoints to the Euler–Lagrange equation.

Constraints and model

m=1 kg, T=1 s; x(0)=0, x(1)=1 m. Free particle, V=0. Admissible family xε(t)=t+ε sin(πt), with time measured in 1 s units. This stationary path is a minimum; the general action principle requires only δS=0.