For an autonomous Lagrangian , define its action and Hamiltonian . The chain rule gives
Thus the identity holds along forced trajectories as well as solutions of the homogeneous Euler-Lagrange equation. Explicit time dependence adds ; stochastic work requires a consistent regularization or the Stratonovich chain rule.
By the Itô formula,
To compute the Stratonovich integral correction, apply the Itô formula also to , which is twice continuously differentiable because is . The continuous local martingale part of is , where is the continuous local martingale part of . A finite-variation process has zero quadratic covariation with , and the quadratic variation of a stochastic integral together with polarization identity gives
All these statements can be localized to compact ranges of , so unbounded derivatives create no global integrability requirement. Substitute this identity into the Stratonovich integral to obtain the Stratonovich chain rule:
This is the integrated meaning of the requested differential identity; there is no extra second-order term after the Stratonovich integral correction has been included.
For an autonomous Lagrangian, the Euler-Lagrange equation uses
Apply the chain rule to the Hamiltonian along an arbitrary smooth path, without assuming the unforced Euler-Lagrange equation:
Consequently the energy balance for an autonomous Lagrangian is
With explicit time dependence, an additional enters . For ideal Gaussian white noise, the identity is understood through smooth-noise regularization or the Stratonovich chain rule. The original PDF correctly differentiates with respect to in ; the supplied TeX's derivative with respect to , its endpoint , and its ordinary derivative of are transcription errors.