Gauge invariance
The principle that the equations of electromagnetism are unchanged under the gauge transformation A_μ → A_μ + ∂_μΛ for any scalar function Λ. Together with Noether's theorem, gauge invariance implies charge conservation. The template for every gauge theory in the Standard Model.
Definition
Gauge invariance is the principle that the physical content of electromagnetism — the field tensor F^{μν}, Maxwell's equations, and all measurable quantities — is unchanged under the gauge transformation A_μ → A_μ + ∂_μΛ, where Λ(x) is any sufficiently smooth scalar function of spacetime. The transformation modifies the four-potential A^μ but leaves the antisymmetric combination F^{μν} = ∂^μ A^ν − ∂^ν A^μ invariant, because the symmetry of mixed partials ∂_μ ∂_ν Λ = ∂_ν ∂_μ Λ kills the change in F. The same invariance applies to the EM Lagrangian L = −¼ F_{μν} F^{μν} − A_μ J^μ when integrated over spacetime: the kinetic term is gauge-invariant by construction, and the source-coupling term, while it shifts under the transformation by an amount A_μ J^μ → A_μ J^μ + (∂_μΛ) J^μ, satisfies (∂_μΛ) J^μ = ∂_μ(Λ J^μ) − Λ (∂_μ J^μ); the first is a boundary term and the second vanishes because of charge conservation ∂_μ J^μ = 0.
Noether's 1918 theorem makes the relation a two-way street: any continuous symmetry of the Lagrangian implies a corresponding conservation law. Apply it to the gauge symmetry A_μ → A_μ + ∂_μΛ — the conservation law that emerges is precisely ∂_μ J^μ = 0, charge conservation. This is the deep reason charge is conserved: not because of a separate experimental input, but as a structural consequence of gauge invariance. The same logic generalises to non-abelian gauge groups: SU(2) gauge invariance in the weak sector implies weak-isospin conservation, SU(3) gauge invariance in the strong sector implies colour-charge conservation, and the entire Standard Model is built on gauge invariance under the group SU(3)×SU(2)×U(1). The pattern that began with a curious algebraic redundancy of the electromagnetic potential (Maxwell-Helmholtz 1865; Lorenz 1867) is, in retrospect, the template for every fundamental force in the universe.