Let MM be a and let {Ui}\{U_i\} be an open cover. A GG-valued cocycle on this cover is a collection of gij:Ui∩Uj→Gg_{ij}:U_i\cap U_j\to G satisfying the

gij gjk=gikon Ui∩Uj∩Uk,gii=e,gji=gij−1.g_{ij}\,g_{jk}=g_{ik}\quad\text{on }U_i\cap U_j\cap U_k, \qquad g_{ii}=e,\quad g_{ji}=g_{ij}^{-1}.

Such data defines a by gluing trivial bundles, producing the usual notion of and a corresponding .

Two cocycles {gij}\{g_{ij}\} and {gij′}\{g'_{ij}\} on the same cover are equivalent if there exist smooth maps

hi:Ui→Gh_i:U_i\to G

such that on each overlap Ui∩UjU_i\cap U_j,

gij′=hi−1 gij hj.g'_{ij}=h_i^{-1}\,g_{ij}\,h_j.
Change of local sections

Equivalently, if {gij}\{g_{ij}\} arises from local sections si:Ui→Ps_i:U_i\to P via sj=si gijs_j=s_i\,g_{ij} (as in ), then replacing the sections by

si′:=si his'_i:=s_i\,h_i

changes the transition functions to gij′=hi−1gijhjg'_{ij}=h_i^{-1}g_{ij}h_j. Thus, equivalence of cocycles is precisely “the same gluing data after a change of local trivializations.”

Equivalent cocycles define isomorphic principal bundles; the corresponding isomorphism is a and, from the atlas perspective, this is the same relation as .

Examples
  1. Trivial cocycle and coboundaries. The trivial bundle M×GM\times G has cocycle gij=eg_{ij}=e. A cocycle {gij}\{g_{ij}\} is equivalent to the trivial cocycle exactly when there exist hih_i with
    gij=hi−1hj.g_{ij}=h_i^{-1}h_j.
    This is the transition-function version of the .
  1. Changing local sections on a trivial bundle. On P=M×GP=M\times G, start with the canonical local sections si(x)=(x,e)s_i(x)=(x,e) giving gij=eg_{ij}=e. If you pick arbitrary smooth maps hi:Ui→Gh_i:U_i\to G and set si′(x)=(x,hi(x))s'_i(x)=(x,h_i(x)), then the new transition functions are
    gij′=hi−1hj,g'_{ij}=h_i^{-1}h_j,
    and the cocycles {e}\{e\} and {gij′}\{g'_{ij}\} are equivalent by construction.
  1. Hopf of different degree are not equivalent. Cover S2S^2 by the standard northern and southern charts UN,USU_N,U_S with overlap UN∩US≃S1U_N\cap U_S\simeq S^1. For G=U(1)G=U(1), transition functions
    gNS(θ)=eikθg_{NS}(\theta)=e^{ik\theta}
    define complex line bundles with different first (with sign determined by the chosen orientation and transition convention). If k≠k′k\neq k', there are no hN,hSh_N,h_S making eik′θ=hN−1eikθhSe^{ik'\theta}=h_N^{-1}e^{ik\theta}h_S, so the cocycles are not equivalent.