Let $M$ be a compact manifold with $\partial M = \varnothing$ and let $\omega$ be the volume form $\sqrt{\det g_{ij}} dx_1 \wedge \dots \wedge dx_n$.
I want to show that $\omega$ is not exact.
My thoughts so far:
Assume that there was an $n-1$-form $\psi$ such that $d\psi = \omega$. Then
$$ \int_M \omega = \int_{ M} d\psi = \int_{\partial M} \psi = 0$$
Intuitively, I get that an integral over something positive can't be zero. My trouble is showing it mathematically rigourusly.
How to prove that $ \int_M \omega \neq 0$?