Lets say that you for real functions have proved that:
$|\int_{\Omega}fd\mu|\le \int_{\Omega}|f|d\mu$.
How do I then prove that it also holds for complex-valued functions?
I guess this amounts to showing that if $f=u+iv$, then:
$\sqrt{(\int_{\Omega}ud\mu)^2+(\int_{\Omega}vd\mu)^2}\le\int_{\Omega}\sqrt{u^2+v^2}d\mu$.
I guess we see that the property then also holds if the function f is purely imaginary, but what about when it is complex?
Choose $\varphi \in \mathbb{R}$ such that
$$e^{i\varphi}\int_\Omega f\,d\mu \geqslant 0.$$
Then
$$\begin{aligned} \left\lvert \int_\Omega f\,d\mu\right\rvert &= e^{i\varphi}\int_\Omega f\,d\mu\\ &= \int_\Omega e^{i\varphi}f\,d\mu\\ &= \int_\Omega \operatorname{Re} (e^{i\varphi}f)\,d\mu\\ &\leqslant \int_\Omega \lvert \operatorname{Re}(e^{i\varphi}f)\rvert\,d\mu\\ &\leqslant \int_\Omega \lvert e^{i\varphi}f\rvert\,d\mu\\ &= \int_\Omega \lvert f\rvert\,d\mu. \end{aligned}$$