Noether's second theorem and the Bianchi identity
Anchor (Master): Olver §5.3-§5.4; Noether 1918 *Invariante Variationsprobleme* (Gött. Nachr., originator); Kosmann-Schwarzbach *The Noether Theorems* (2011); Wald *General Relativity* (1984) Appendix E
Intuition Beginner
Noether's first theorem says that a continuous symmetry of a physical law gives you a conserved quantity. Rotate the world and angular momentum is conserved; shift it in time and energy is conserved. Each symmetry comes with one dial you can turn, and turning that dial hands you one conservation law. That is the version most people meet first.
But some theories have a richer kind of symmetry. In electromagnetism you can change the potential by adding the slope of any function you like, at every point of space and time, and the electric and magnetic fields do not budge. That is not one dial; it is a whole function's worth of dials, one freedom at every point. This is called a gauge symmetry, and it is the symmetry of the freedom to relabel without changing anything observable.
When a theory has that much symmetry, something must give. You cannot have endless freedom for free. Noether's second theorem is the bookkeeping: a symmetry that depends on an arbitrary function forces the field equations to lean on each other. They are no longer independent. One of them is always a consequence of the others, woven together by an identity that holds whether or not anything solves the equations.
Visual Beginner
Picture the equations of a theory as a set of beams meant to hold up a structure. In an ordinary theory each beam carries its own load and is needed. A gauge symmetry adds a hidden brace between two of the beams, so that one beam is held in place by the others.
The brace is the differential identity. It says that a certain combination of the equations and their derivatives adds up to zero on its own, with no assumptions. Because one beam is now redundant, the structure has slack: there is play in it, room to wiggle without breaking anything. That play is the gauge freedom. The picture shows that more symmetry and more redundancy are two sides of one coin, and the brace is what connects them.
Worked example Beginner
Take electromagnetism described by a potential. The fields you can measure come from differences and slopes of this potential. The key fact is that adding the slope of any chosen function to the potential leaves every measurable field exactly the same. Pick the function however you like; the physics does not notice.
Now look at the equations the potential must satisfy, one equation for each direction. Because the potential has this built-in freedom, the four equations cannot all be independent. If they were, you could pin the potential down completely, and there would be no freedom left to add an arbitrary slope. So the equations must contain a hidden relation.
That relation turns out to be very clean: if you take the four field equations and combine them by taking one more derivative and adding them up the right way, you always get zero. Not zero because the potential solves anything, but zero as a matter of pure algebra and calculus, for any potential at all.
What this tells us: the freedom to shift the potential by an arbitrary slope and the fact that the field equations satisfy a built-in identity are the same statement seen twice. The arbitrary function in the symmetry is matched, one for one, by an identity tying the equations together. That matching is Noether's second theorem in its smallest case.
Check your understanding Beginner
Formal definition Intermediate+
Let be a fibred manifold with base coordinates () and fibre coordinates (), and let carry the jet coordinates as in 05.05.05. A Lagrangian is a function on ; its action is over base regions . The development follows Olver [Olver §5.4] and Kosmann-Schwarzbach [Kosmann-Schwarzbach Ch. 2].
The Euler-Lagrange operator (variational derivative) sends to the -tuple
$$
E_\alpha(L) = \sum_{J} (-D)J,\frac{\partial L}{\partial u^\alpha_J}, \qquad (-D)J = (-1)^{|J|} D{j_1}\cdots D{j_{|J|}},
$$
where is the total derivative of 05.05.05 and the sum is finite. The system is the Euler-Lagrange system; a section is on-shell when it solves this system and off-shell otherwise.
Definition (variational symmetry). A vector field with characteristic (notation of 05.05.06) is a variational symmetry of when the action is unchanged to first order, equivalently when the infinitesimal invariance condition
$$
\mathrm{pr},v(L) + L,\mathrm{Div},\xi = \mathrm{Div},B
$$
holds for some -tuple , where . In characteristic (evolutionary) form this reads for a corresponding . When the symmetry is a divergence (Bessel-Hagen) symmetry [Bessel-Hagen 1921]. The first theorem 05.00.04 pairs each such symmetry with a conserved current.
Definition (gauge / infinite-dimensional variational symmetry). A variational symmetry group is infinite-dimensional of rank when its characteristic is linear in arbitrary functions of the independent variables and their derivatives: $$ Q^\alpha[\eta] = \sum_{k=1}^{r}\sum_{|J| \le s} D^{\alpha k}{J}(x, u^{(t)}),D_J\eta^k, $$ with the fixed coefficient functions on the jet bundle and the unrestricted. Such a is required to satisfy the variational-symmetry condition for every choice of the . The collection ${v{Q[\eta]}}$ is the gauge group of the theory.
A non-example fixes the meaning. A symmetry parametrised by real constants (a finite-parameter group, constant) is the domain of the first theorem and yields conservation laws, not identities. The defining feature of the second theorem's hypothesis is that the are arbitrary functions on the base, so that the invariance condition must hold identically in and all its derivatives, not merely for constant values.
Counterexamples to common slips
- The differential identity of the second theorem is an off-shell statement: holds for all fields. Mistaking it for the on-shell statement collapses it into a tautology and loses its content.
- The rank counts arbitrary functions, not the dimension of any pointwise stabiliser. A symmetry parametrised by constants is finite-dimensional and produces conservation laws; only function-valued parameters force identities.
- The identity does not say some vanishes. It says a specific differential combination of the vanishes; the individual Euler-Lagrange expressions are generally nonzero off-shell.
Key theorem with proof Intermediate+
Theorem (Noether's second theorem). Let be a Lagrangian admitting an infinite-dimensional variational symmetry of rank with characteristic , linear in the arbitrary functions . Then the Euler-Lagrange expressions satisfy differential identities $$ \sum_{\alpha}\sum_{J} (-D)_J!\left(D^{\alpha k}J,E\alpha(L)\right) \equiv 0, \qquad k = 1, \dots, r, $$ holding identically (off-shell) as functions on the jet bundle. The statement and proof follow Olver [Olver §5.4].
Proof. The basic variational identity, obtained by integrating by parts (moving all total derivatives off onto ), reads $$ \mathrm{pr},v_Q(L) = \sum_\alpha Q^\alpha,E_\alpha(L) + \mathrm{Div},A(Q), $$ where is a -tuple bilinear in and the derivatives of , and is the Euler-Lagrange expression. This holds for any characteristic and is the defining property of .
By the variational-symmetry hypothesis applied to , the left side is itself a total divergence: for every . Subtracting, $$ \sum_\alpha Q^\alpha[\eta],E_\alpha(L) = \mathrm{Div}\bigl(\tilde B[\eta] - A(Q[\eta])\bigr) =: \mathrm{Div},W[\eta]. $$ The current is linear in and its derivatives, because , , and are. Now insert the explicit form and integrate the left side by parts a second time, moving the derivatives off : $$ \sum_\alpha Q^\alpha[\eta],E_\alpha(L) = \sum_{k}\sum_J \bigl(D_J\eta^k\bigr) D^{\alpha k}J E\alpha(L) = \sum_k \eta^k \sum_J (-D)J!\bigl(D^{\alpha k}J E\alpha(L)\bigr) + \mathrm{Div},V[\eta], $$ where collects the boundary terms generated by this integration by parts and is again linear in . Writing (summation over implied), the two expressions for $\sum_\alpha Q^\alpha[\eta] E\alpha(L)$ give $$ \sum_k \eta^k,\mathcal{E}^k = \mathrm{Div}\bigl(W[\eta] - V[\eta]\bigr). $$ The left side is an undifferentiated linear function of the ; the right side is a total divergence linear in and its derivatives. Choose any of compact support in the interior of a region and integrate over : the right side integrates to a boundary term that vanishes, so for every compactly supported . By the fundamental lemma of the calculus of variations, for each . Since no equation of motion was used at any step, the identity holds off-shell.
Bridge. The single integration by parts that defines is run twice here: once to expose , and once more to strip the arbitrary functions off the characteristic. The first theorem stops after the first integration, reading on-shell as a conservation law; the second theorem continues, using the arbitrariness of to force an off-shell identity. This builds toward the gauge examples below, where becomes and the contracted Bianchi identity . It appears again in 05.00.04, whose conserved Noether current degenerates to a current that is conserved identically (a so-called improper or null current) precisely when the symmetry is a gauge symmetry, so that the first theorem returns no new physical charge. The construction reuses the prolongation and characteristic of 05.05.06: the gauge characteristic is a prolongation coefficient made linear in an arbitrary function, and the adjoint of that linear differential operator is what carries into the identity. The unifying content is that a symmetry's arbitrary-function dependence and a dependency among the field equations are exchanged by formal adjointness of one differential operator.
Exercises Intermediate+
Lean formalization Intermediate+
Mathlib has the manifold and multilinear-derivative libraries but no variational bicomplex or Noether apparatus; the block fixes intended signatures, with the gap detailed in Mathlib gap analysis.
import Mathlib.Geometry.Manifold.ContMDiff.Basic
import Mathlib.Analysis.Calculus.IteratedDeriv.Defs
variable {p q : ℕ}
/-- The Euler-Lagrange expression E_α(L) = ∑_J (−D)_J (∂L/∂u^α_J),
stated against the (absent) jet/total-derivative apparatus. -/
noncomputable def eulerLagrange
(L : (Fin p → ℝ) → (ℕ → Fin q → ℝ) → ℝ) : Fin q → ℝ :=
fun _ => sorry -- ∑_J (−1)^{|J|} D_J (∂L/∂u^α_J)
/-- A gauge characteristic Q^α[η] = ∑_J D^{α k}_J · D_J η^k,
linear in r arbitrary functions η^k of the base. -/
structure GaugeGenerator (p q r : ℕ) where
coeff : (Fin p → ℝ) → (Fin q → ℝ) → Fin r → ℝ -- the D^{α k}_J, schematically
/-- Noether's second theorem: a rank-r gauge symmetry forces
r off-shell identities ∑_J (−D)_J (D^{α k}_J E_α(L)) ≡ 0. -/
theorem noether_second
(L : (Fin p → ℝ) → (ℕ → Fin q → ℝ) → ℝ)
(g : GaugeGenerator p q r) : True := by
trivial -- placeholder: ∑_J (−D)_J (D^{α k}_J E_α(L)) = 0 for each kThe sorry and placeholder rest on the variational-bicomplex gap: the Euler-Lagrange operator, the integration-by-parts identity , and the formal adjoint that carries into the identity. Each sits on the jet apparatus of 05.05.05 and is a Mathlib-contribution-sized target named in Mathlib gap analysis.
Advanced results Master
The second theorem converts a gauge freedom into an off-shell dependence among the field equations, and the two flagship instances are electromagnetism and general relativity. Two worked derivations exhibit the mechanism, and the structural results frame it through formal adjointness and the boundary-term subtlety.
Electromagnetism. For the Euler-Lagrange expression is , and the gauge characteristic of is , rank . The differential operator carrying into is ; its formal adjoint is , so the second theorem reads $$ \mathcal{E} = -D_\nu E^\nu = -\partial_\nu\partial_\mu F^{\mu\nu} \equiv 0, $$ the divergence of Maxwell's equations vanishing identically because is symmetric and antisymmetric. The matched conservation law of the first theorem is the conservation of the source current , which holds as a consequence of the identity once is imposed: charge conservation is forced by gauge invariance, not assumed [Bessel-Hagen 1921].
General relativity. Take the Einstein-Hilbert Lagrangian as a functional of the metric . Its Euler-Lagrange expression is the Einstein tensor density: [Wald App. E]. The gauge group is the diffeomorphism group; an infinitesimal diffeomorphism along acts on the metric by the Lie derivative , so the characteristic is , rank (one arbitrary function per coordinate). The differential operator has formal adjoint , and the second theorem gives $$ \mathcal{E}^\nu = -2,\nabla_\mu\bigl(G^{\mu\nu}\bigr) \equiv 0, $$ the contracted Bianchi identity . It holds for every metric, off-shell, and is the differential identity forced by the arbitrary functions of diffeomorphism invariance. On-shell it forces : local energy-momentum conservation in general relativity is a consequence of the diffeomorphism gauge symmetry, not an independent postulate.
Yang-Mills. For with non-Abelian gauge group, and the gauge characteristic is , rank . The adjoint of the covariant operator gives , which vanishes because the symmetric part of kills the antisymmetric and the antisymmetric part is the curvature acting in the adjoint, self-contracting to zero. The Abelian, gravitational, and non-Abelian identities are three instances of one formal-adjoint computation.
The boundary-term subtlety. The Noether current of a gauge symmetry is a total divergence of an antisymmetric superpotential: , so identically and the charge reduces to a surface integral. In gravity this is the route to the ADM and Komar mass: the "charge" of an asymptotic symmetry lives at infinity. The bulk current carries no local information, which is the field-theoretic content of the statement that a gauge symmetry has no independent conserved charge.
Synthesis. Noether's second theorem is the conversion of a gauge freedom into an off-shell dependence among field equations, and a single formal adjoint is the conversion factor. The argument runs along four linked stages, each carried by the integration-by-parts machinery of the Euler-Lagrange operator. First, the variational identity exposes the Euler-Lagrange expressions, holding for any characteristic. Second, the gauge hypothesis makes the left side a divergence for every arbitrary , so is a total divergence. Third, a second integration by parts strips the differential operator off and lands it, as its formal adjoint, on the , and the arbitrariness of forces the resulting combination to vanish identically. Fourth, the identity makes the system underdetermined and the Noether current a superpotential divergence, so the gauge charge is a boundary term. Electromagnetism gives , gravity gives , and Yang-Mills gives , the three faces of the one adjoint identity, and the same integration by parts that defines is what runs twice to produce both the first theorem's conservation law and the second theorem's dependency.
Full proof set Master
Proposition (the contracted Bianchi identity from diffeomorphism invariance). Let be the Einstein-Hilbert Lagrangian on a manifold , regarded as a functional of the metric , with Euler-Lagrange expression , . Then identically, as a consequence of the invariance of under diffeomorphisms.
Proof. Under an infinitesimal diffeomorphism generated by a compactly supported vector field , the action is invariant because it is the integral of a scalar density and has compact support: . The first variation of any metric functional is $$ \delta\mathcal A = \int_M E^{\mu\nu},\delta g_{\mu\nu},d^p x, $$ where is the Einstein tensor density; this is the standard variational computation, in which the variation of the Ricci scalar contributes only a boundary term that vanishes for compactly supported [Wald App. E]. For the diffeomorphism variation , so $$ 0 = \delta\mathcal A = \int_M \sqrt{-g},G^{\mu\nu}\bigl(\nabla_\mu\eta_\nu + \nabla_\nu\eta_\mu\bigr),d^p x = 2\int_M \sqrt{-g},G^{\mu\nu}\nabla_\mu\eta_\nu,d^p x, $$ using the symmetry . Integrating by parts with the metric-compatible connection (so that integrates to a vanishing boundary term for compactly supported ), $$ 0 = -2\int_M \sqrt{-g},\bigl(\nabla_\mu G^{\mu\nu}\bigr)\eta_\nu,d^p x. $$ Since is an arbitrary compactly supported covector field, the fundamental lemma of the calculus of variations forces at every point. No field equation was used: holds for the metric off-shell because diffeomorphism invariance is an identity of the action, not of its critical points. Hence the contracted Bianchi identity holds for every metric.
Proposition (off-shell conservation of the gauge Noether current). Let be a rank- gauge variational symmetry of with associated Noether current satisfying . Then there exist functions (a superpotential) such that , so that on-shell and identically.
Proof. By the second theorem, where is the boundary current from stripping off ; combined with this gives identically in . Write , a current that is identically conserved and linear in the arbitrary and its derivatives. An identically conserved current that is linear and local in an arbitrary function is, by the converse to the Poincaré lemma for the variational bicomplex (the local exactness of identically conserved currents), the total divergence of an antisymmetric tensor: for some . Then , and since is built from the variational identity it is proportional to the and their derivatives, vanishing on-shell. Thus on-shell , and because is symmetric while is antisymmetric. The conserved charge reduces to a surface integral by Stokes' theorem.
Connections Master
Noether's first theorem 05.00.04 is the companion this unit completes: the same variational identity underlies both, but where a finite-parameter symmetry stops at an on-shell conservation law, a gauge symmetry runs the integration by parts once more to force an off-shell identity, so the two theorems are the two readings of one identity according to whether the symmetry parameter is a constant or an arbitrary function.
The gauge characteristic of this unit is the prolongation characteristic of 05.05.06 made linear in arbitrary functions of the base: the same that fed the determining equations there, now with depending on and its derivatives, and the formal adjoint of the operator is what carries the Euler-Lagrange expressions into the Noether identity.
The Euler-Lagrange operator and the integration-by-parts identity are built on the total derivative of 05.05.05: is assembled from the iterated total derivative, the variational identity is its defining adjointness property, and the differential identities are statements in the same jet-bundle algebra, so the entire second theorem lives in the variational subcomplex of the jet bundle introduced there.
Historical & philosophical context Master
Emmy Noether proved both of her theorems in the 1918 paper Invariante Variationsprobleme, published in the Nachrichten von der Königlichen Gesellschaft der Wissenschaften zu Göttingen [Noether 1918]. The work was prompted by the conservation-of-energy puzzle in Einstein's new general relativity: David Hilbert and Felix Klein had noticed that energy conservation in the theory behaved unlike its counterpart in other field theories, and they enlisted Noether, then in Göttingen, to clarify the situation. Her answer separated two cases. The first theorem (Satz I) treats finite-parameter symmetry groups and assigns to each generator a conservation law. The second theorem (Satz II) treats groups depending on arbitrary functions and shows that they force dependencies among the Lagrange expressions — the field equations are not independent. Klein's own 1918 note on the structure of general relativity drew directly on this analysis, and the "improper conservation laws" of gravitation that had puzzled the physicists were exactly the identically-conserved superpotential currents the second theorem predicts.
The second theorem was long the less-cited of the two; physicists absorbed the first theorem as "Noether's theorem" and the second was rediscovered piecemeal in the gauge-theory literature. Erich Bessel-Hagen's 1921 paper Über die Erhaltungssätze der Elektrodynamik [Bessel-Hagen 1921], written on Klein's suggestion, extended the framework to divergence symmetries and worked out the conformal conservation laws of electrodynamics, fixing a gap in Noether's handling of symmetries that change the Lagrangian by a divergence. Peter Olver's Applications of Lie Groups to Differential Equations (1986; second edition 1993) [Olver §5.4] gave the modern jet-bundle formulation of both theorems in terms of the characteristic and the Euler-Lagrange operator, which is the form used in this unit, and identified the second theorem as the statement that the gauge generators and the differential dependencies are formal adjoints. Yvette Kosmann-Schwarzbach's The Noether Theorems (2011) [Kosmann-Schwarzbach Ch. 3] provides a critical translation of the 1918 paper and traces the long delayed recognition of the second theorem, which in the constrained-Hamiltonian language of Dirac and Bergmann underlies the entire treatment of gauge systems: the differential identities of Noether II are the source of the first-class constraints that generate gauge transformations in the canonical formalism.
Bibliography Master
@article{Noether1918,
author = {Noether, Emmy},
title = {Invariante Variationsprobleme},
journal = {Nachrichten von der K{\"o}niglichen Gesellschaft der Wissenschaften zu G{\"o}ttingen, Mathematisch-Physikalische Klasse},
year = {1918},
pages = {235--257}
}
@article{Klein1918,
author = {Klein, Felix},
title = {{\"U}ber die Differentialgesetze f{\"u}r die Erhaltung von Impuls und Energie in der Einsteinschen Gravitationstheorie},
journal = {Nachrichten von der K{\"o}niglichen Gesellschaft der Wissenschaften zu G{\"o}ttingen, Mathematisch-Physikalische Klasse},
year = {1918},
pages = {171--189}
}
@article{BesselHagen1921,
author = {Bessel-Hagen, Erich},
title = {{\"U}ber die Erhaltungss{\"a}tze der Elektrodynamik},
journal = {Mathematische Annalen},
volume = {84},
year = {1921},
pages = {258--276}
}
@book{OlverLieGroups,
author = {Olver, Peter J.},
title = {Applications of Lie Groups to Differential Equations},
series = {Graduate Texts in Mathematics},
volume = {107},
publisher = {Springer},
year = {1993},
edition = {2nd}
}
@book{KosmannSchwarzbach2011,
author = {Kosmann-Schwarzbach, Yvette},
title = {The Noether Theorems: Invariance and Conservation Laws in the Twentieth Century},
series = {Sources and Studies in the History of Mathematics and Physical Sciences},
publisher = {Springer},
year = {2011},
note = {translated by Bertram E. Schwarzbach}
}
@book{Wald1984,
author = {Wald, Robert M.},
title = {General Relativity},
publisher = {University of Chicago Press},
year = {1984}
}
@article{DiracGeneralized1950,
author = {Dirac, Paul A. M.},
title = {Generalized Hamiltonian Dynamics},
journal = {Canadian Journal of Mathematics},
volume = {2},
year = {1950},
pages = {129--148}
}