Let $M$ be a compact orientable smooth surface in $\mathbb R^3$ with $g>0$, and $K$ be its gaussian curvature. Prove that $$\int_M |K|\geq 8\pi.$$
One finds that, if $M$ is a $g$-torus, the two "extremal" regions with positive curvature are such that the Gauss map $N$ is a diffeomorphism from each of them onto $S^2\setminus\{N,S\}$. Then, since $K=\det\ dN$, the change of variables theorem gives us that $\int_M|K|\geq 4\pi$. Furthermore, applying the same argument to the most extremal negative-curvature regions (where you "put your fingers" when you grab the $g$-torus) we obtain another $4\pi$-term.
Therefore, in a $g$-torus $$\int_M |K|\geq 8\pi.$$
Now, we know that every compact, orientable surface of genus $g$ is diffeomorphic to a $g$ torus. Can this assure us the same property on the integral?
Thank you in advance.
This is not true for abstract surfaces (i.e. $2$-dimensional manifolds). Indeed the flat torus satisfies all the assumptions and has zero curvature everywhere.
For surfaces in $\mathbb{R}^3$, it is still not true if you allow less than perfectly smooth surfaces: the flat torus can be isometrically $C^1$-embedded in $\mathbb{R}^3$. Because of this, I would expect the statement to be false also for $C^\infty$-manifolds, but I don't have a proof.