This is a question from a physicist, so please be kind.* Suppose that $M$ is an orientable smooth manifold without boundaries and $\omega$ a form of an appropriate degree such that it can be integrated over $M$, $$ I=\int_M \omega. $$ The objective is to compute $I$. According to the Poincaré or Dolbeault-Grothendieck lemma (for real and complex manifolds respectively), locally (in some coordinate neighbourhood, $U_i$, where $M$ looks like an open subset of $\mathbb{R}^n$ or $\mathbb{C}^n$, with $n$ a positive integer, and because i don’t want to restrict the scope i will write $\mathbb{K}$ for either of the two fields) $\omega$ is exact, $$ \omega_i=dA_i, $$ where $A_i$ is some differential form defined in $U_i$ of the appropriate degree. If $A_i$ were globally defined (in which case I suppose, $A_i=A$, for all $i$) then we could apply Stokes' theorem, $$ \int_MdA = \oint_{\partial M}A=0, $$ and learn that $I=0$ (because $\partial M$ is null). I am in the unfortunate (and I believe very common) situation where I only know $\omega$ locally (in particular I have an explicit expression for $A_i$) and I want to compute $I$. So my first question is the following:
- What precisely does it mean for $A_i$ to be only locally and not globally defined? How can I check whether my $\omega_i$ is globally or only locally exact given only an explicit local expression for $A_i$ and the corresponding transition functions on chart overlaps? For instance, might it be true that in order for $A_i$ to be globally defined it must transform under changes of coordinates as an antisymmetric tensor (on chart overlaps, $U_i\cap U_j$), and might this be sufficient for $A_i$ to be globally defined?
Suppose now that I am in the fortunate situation where I know the answer to this question, and I have concluded that $A_i$ is not globally defined and hence that $\omega$ is not globally exact. The next question is:
- How can I explicitly reconstruct $I$ given the explicit local expression $\omega_i=dA_i$ on $U_i$ and the corresponding transition functions on patch overlaps $U_i\cap U_j$?
To be slightly more precise here I am implicitly considering an atlas for $M$, i.e. a family of charts, $\{(U_i,\phi_i)\}$, with $\{U_i\}$ a family of open sets such that $\cup_i U_i=M$, and $\phi_i:U_i\rightarrow \mathbb{K }$ a homeomorphism from $U_i$ to an open subset of $\mathbb{K}$ (in particular, the maps $\phi_i$ are to be considered known and identified with a convenient set of local coordinates). The case of interest is when the transition functions $f_{ij}=\phi_i\circ \phi_j^{-1}$ from $\phi_j(U_i\cap U_j)$ to $\phi_i(U_i\cap U_j)$ are $C^{\infty}$ and also known.
For question 2 Stokes' theorem comes to the rescue, given that in a patch $U_i$, $$ \int_{U_i}dA_i = \oint_{\partial U_i}A_i, $$ but how exactly does one sum over $i$ to reconstruct the full integral $I$ making use of the transition functions which map $A_j$ to $A_i$ on patch overlaps?
*I have rewritten the question completely because following a fairly extensive discussion with @John Hughes (whom I think I annoyed quite a bit, see below) and his correspondingly good comments, it became very clear that my intended question was not clearly formulated.