Conservation of energy (source code)

= Conservation of energy
{wiki}

= Energy conservation
{synonym}

<Conservation of energy> states that the total <energy> of an isolated system does not change. For a system that exchanges <energy> with its surroundings, the corresponding statement is a balance between stored <energy> and the transfers across the chosen boundary. The relevant system boundary and included forms of <energy> must therefore be specified.

For a constant-mass <particle> under a time-independent <conservative force> $\mathbf F=-\nabla U$, <Newton's second law> gives
$$
\frac{d}{dt}\left(\frac12m|\mathbf v|^2+U\right)=\mathbf v\cdot(\mathbf F+\nabla U)=0.
$$
Its <mechanical energy> is conserved. With <friction>, that mechanical quantity generally decreases while <internal energy> or transfers to the surroundings account for the difference. A damped swinging body becoming stationary is therefore not a failure of <conservation of energy>. <Richard Feynman> introduces the principle through accounting for a quantity that can be hidden in different physical forms.<The Feynman Lectures on Physics, Volume I by Richard Feynman and others>[chapter 4, §§4–1–4–2: conservation and changes of energy form]{ref}