Let $M$ be a connected, orientable, and compact $(r+1)$-dimensional manifold and $\omega$ a $(r+1)$-differential form on $M$. If $\int_M \omega = 0$, then $\omega =0$?
I want to say that the answer is yes. The intuitive reason behind it is that if $\omega\neq 0$, since $M$ is connected then "it must be $\omega>0$ or $\omega<0"$, so we have $\int_M \omega \neq 0$. I've been trying to formalize this intuition by stating what means $\omega>0$ first. Since we can write $\omega(x) = a(u) du_1\wedge \cdots \wedge du_{r+1},x\in M,$ for $x = \varphi(u)$ and some chart $\varphi$, then $\omega>0$ would mean that $a(u)>0$ for every $x\in M$. But i'm struggling to use the fact that $M$ is connected to ensure that $a(u)>0$ should happen.
How can I proper formalize this intuition?
The correct statement that corresponds to the intuition that you had is as follows: if $\omega$ is a nowhere-vanishing top degree form on an orientable closed manifold $M$, then the integral of $\omega$ over $M$ is nonzero.
To put it differently, if $\int_M \omega =0$, then $\omega$ vanishes at some point of $M$.