In mathematics, any Lagrangian system generally admits gauge symmetries, though it may happen that they are trivial. In theoretical physics, the notion of gauge symmetries depending on parameter functions is a cornerstone of contemporary field theory.
A gauge symmetry of a Lagrangian is defined as a differential operator on some vector bundle taking its values in the linear space of (variational or exact) symmetries of . Therefore, a gauge symmetry of depends on sections of and their partial derivatives. For instance, this is the case of gauge symmetries in classical field theory.Yang–Mills gauge theory and gauge gravitation theory exemplify classical field theories with gauge symmetries. Gauge symmetries possess the following two peculiarities.