Let π:P→M\pi:P\to M be a . A gauge transformation of PP is a covering id⁡M\operatorname{id}_M: a smooth diffeomorphism Φ:P→P\Phi:P\to P satisfying

π∘Φ=π,Φ(p⋅g)=Φ(p)⋅g\pi\circ\Phi=\pi, \qquad \Phi(p\cdot g)=\Phi(p)\cdot g

for every p∈Pp\in P and g∈Gg\in G.

Equivariant maps and adjoint-bundle sections

Every gauge transformation can be written uniquely in the form

Φ(p)=p⋅u(p)\Phi(p)=p\cdot u(p)

for a smooth map u:P→Gu:P\to G satisfying the conjugation-equivariance condition

u(p⋅g)=g−1u(p)g.u(p\cdot g)=g^{-1}u(p)g.

Such maps uu are the same data as smooth sections of the Ad(P)\mathrm{Ad}(P) (often described explicitly in ).

Examples
  1. Trivial bundle. For P=M×GP=M\times G, any smooth map g:M→Gg:M\to G defines a gauge transformation by
    Φ(x,h)=(x, g(x) h).\Phi(x,h)=(x,\,g(x)\,h).
  2. Abelian structure group. If GG is abelian (e.g. U(1)U(1)), the conjugation condition on uu becomes u(p⋅g)=u(p)u(p\cdot g)=u(p), so gauge transformations correspond to smooth GG-valued functions on MM.
  3. Frames of a vector bundle. For the frame bundle of a rank-nn vector bundle E→ME\to M, gauge transformations correspond to bundle automorphisms of EE covering idM\mathrm{id}_M (locally given by GL(n)GL(n)-valued functions acting on frames).