An example comes from considering a
scalar field in
D-dimensional
Minkowski space. Consider a
Lagrangian density given by \mathcal{L}(\phi,\partial_\mu \phi). The
action is: :S = \int d^D x \mathcal{L}(\phi,\partial_\mu \phi) The Euler–Lagrange equation for this action can be found by
varying the field and its derivative and setting the variation to zero, and is: :\partial_\mu \frac{\partial \mathcal{L}}{\partial (\partial_\mu \phi)} = \frac{\partial \mathcal{L}}{\partial \phi} Now, consider an infinitesimal spacetime
translation x^\mu \rightarrow x^\mu +\alpha^\mu. The Lagrangian density \mathcal{L} is a scalar, and so will infinitesimally transform as \delta \mathcal{L} = \alpha^\mu \partial_\mu \mathcal{L} under the infinitesimal transformation. On the other hand, by
Taylor expansion, we have in general: :\delta \mathcal{L} = \frac{\partial \mathcal{L}}{\partial \phi} \delta \phi + \frac{\partial \mathcal{L}}{\partial (\partial_\mu \phi)} \delta( \partial_\mu \phi) Substituting for \delta \mathcal{L} and noting that \delta( \partial_\mu \phi) = \partial_\mu ( \delta \phi) (since the variations are independent at each point in spacetime): :\alpha^\mu \partial_\mu \mathcal{L} = \frac{\partial \mathcal{L}}{\partial \phi} \alpha^\mu \partial_\mu \phi + \frac{\partial \mathcal{L}}{\partial (\partial_\nu \phi)} \alpha^\mu \partial_\mu \partial_\nu \phi Since this has to hold for independent translations \alpha^\mu = (\epsilon, 0,...,0) , (0,\epsilon, ...,0), ..., we may "divide" by \alpha^\mu and write: : \partial_\mu \mathcal{L} = \frac{\partial \mathcal{L}}{\partial \phi} \partial_\mu \phi + \frac{\partial \mathcal{L}}{\partial (\partial_\nu \phi)} \partial_\mu \partial_\nu \phi This is an example of an equation that holds
off shell, since it is true for any fields configuration regardless of whether it respects the equations of motion (in this case, the Euler–Lagrange equation given above). However, we can derive an
on shell equation by simply substituting the Euler–Lagrange equation: : \partial_\mu \mathcal{L} = \partial_\nu \frac{\partial \mathcal{L}}{\partial (\partial_\nu \phi)} \partial_\mu \phi + \frac{\partial \mathcal{L}}{\partial (\partial_\nu \phi)} \partial_\mu \partial_\nu \phi We can write this as: : \partial_\nu \left (\frac{\partial \mathcal{L}}{\partial (\partial_\nu \phi)} \partial_\mu \phi -\delta^\nu_\mu \mathcal{L} \right) = 0 And if we define the quantity in parentheses as T^\nu{}_\mu, we have: :\partial_\nu T^\nu{}_\mu = 0 This is an instance of Noether's theorem. Here, the conserved quantity is the
stress–energy tensor, which is only conserved on shell, that is, if the equations of motion are satisfied. ==References==