# Conserved quantity

In mathematics, a **conserved quantity** of a dynamical system is a function of the dependent variables, the value of which remains constant along each trajectory of the system.^{[1]}

Not all systems have conserved quantities, and conserved quantities are not unique, since one can always apply a function to a conserved quantity, such as adding a number.

Since many laws of physics express some kind of conservation, conserved quantities commonly exist in mathematical models of physical systems. For example, any classical mechanics model will have mechanical energy as a conserved quantity as long as the forces involved are conservative.

where bold indicates vector quantities, a scalar-valued function *H*(**r**) is a conserved quantity of the system if, for all time and initial conditions in some specific domain,

which contains information specific to the system and can be helpful in finding conserved quantities, or establishing whether or not a conserved quantity exists.

is conserved. This may be derived by using the Eulerâ€“Lagrange equations.