Let π:P→M be a principal G-bundle with connection form ω∈Ω1(P;g) as in a connection 1-form on a principal bundle
.
Fix an open set U⊂M and a local section s:U→P. The local connection form on U is
A:=s∗ω∈Ω1(U;g).A gauge transformation on U is a smooth map
g:U→G. It determines a new local section s′:U→P by
s′(x):=s(x)⋅g(x).The corresponding local connection form A′=(s′)∗ω is related to A by the gauge transformation rule
A′=Ad(g−1)A+g−1dg,where g−1dg∈Ω1(U;g) is the pullback of the left Maurer–Cartan form on G along g, and Ad(g−1) acts pointwise on g.
This formula is the local manifestation of the global equivariance condition (R_h^*\omega=\mathrm{Ad}(h^{-1})\omega.
Examples
Abelian case U(1). For G=U(1), Ad is trivial, so A′=A+g−1dg. Writing g=eif locally gives g−1dg=idf, hence A′=A+idf.
Matrix group GL(n). For G=GL(n)⊂End(Rn), the adjoint action is conjugation, and the rule becomes
A′=g−1Ag+g−1dg,where A is a matrix-valued 1-form.
Constant gauge transformations. If g is constant on U, then dg=0 and A′=Ad(g−1)A; i.e. only the g-basis changes.