Let $(X,\Sigma_x,\mu)$ be a measurable space ($X$-the set, $\Sigma_x$ - is a $\sigma$ algebra over X, and $\mu$ is a positive measure).
Let $f\in L^1(\mu)$ (meaning $\int_X|f|d\mu<\infty$), $f:X\to \mathbb{C}$.
How do I prove $|\int_X{}fd\mu|\leq\int_X{}|f|d\mu$?
my thoughts:
Denote $z=\int_Xfd\mu$, let $a\in\mathbb{C}$ be such that $az=|z|$ and then:
$|\int_X{}fd\mu|=|z|=az=a\int_X{}fd\mu$
but...then what?...
any help? :)
Hope this helps:
Proposition: If $f\in L^{1}$, then $\left|\int f\right| \leq \int |f|$.
Proof - If $f$ is real then $$\left|\int f\right| = \left|\int f^{+} - \int f^{-}\right| \leq \int f^{+} + \int f^{-} = \int |f|$$ If $f$ is complex-valued and $\int f\neq 0$, then $\int f = \left|\int f\right|e^{-i\theta}$. So $$\left|\int f\right| = e^{-i\theta}\int f = \int e^{-i\theta}f$$ In particular, $\int e^{-i\theta}f$ is real, so we have \begin{align*} \left|\int f\right| = Re\int e^{-i\theta}f = \int Re(e^{-i\theta} f) &\leq \int |Re(e^{-i\theta}f)|\\ &\leq \int |e^{-i\theta} f|\\ &= \int |f| \end{align*} Some of the notation above is from Real Analysis by Folland, if you have any questions please let me know.