[step:Decompose a complex integrable function into nonnegative parts]
Let $f:E\to\mathbb C$ be measurable and assume $f\in L^1(E,\mathcal E,\mu)$. Let $\operatorname{Re}:\mathbb C\to\mathbb R$ and $\operatorname{Im}:\mathbb C\to\mathbb R$ denote the real-part and imaginary-part maps. Define $u,v:E\to\mathbb R$ by $u=\operatorname{Re}\circ f$ and $v=\operatorname{Im}\circ f$; these maps are measurable because $\operatorname{Re}$ and $\operatorname{Im}$ are continuous and $f$ is measurable. Define the positive and negative parts of $u$ and $v$ by $u^+(x)=\max\{u(x),0\}$, $u^-(x)=\max\{-u(x),0\}$, $v^+(x)=\max\{v(x),0\}$, and $v^-(x)=\max\{-v(x),0\}$ for $x\in E$. Then
\begin{align*}
f=u^+-u^-+i v^+-i v^-.
\end{align*}
Since $|u|\le |f|$ and $|v|\le |f|$, the functions $u^+,u^-,v^+,v^-$ are measurable and satisfy $0\le u^+,u^-,v^+,v^-\le |f|$. Because $f\in L^1(E,\mathcal E,\mu)$, each of $u^+,u^-,v^+,v^-$ has finite integral with respect to $\mu$. Applying the nonnegative case to these four functions gives
\begin{align*}
\int_E u^\pm\circ T\,d\mu(x)=\int_E u^\pm\,d\mu(x)
\end{align*}
and
\begin{align*}
\int_E v^\pm\circ T\,d\mu(x)=\int_E v^\pm\,d\mu(x).
\end{align*}
For every $x\in E$,
\begin{align*}
(f\circ T)(x)=(u^+\circ T)(x)-(u^-\circ T)(x)+i(v^+\circ T)(x)-i(v^-\circ T)(x).
\end{align*}
Hence
\begin{align*}
|(f\circ T)(x)|\le (u^+\circ T)(x)+(u^-\circ T)(x)+(v^+\circ T)(x)+(v^-\circ T)(x).
\end{align*}
The function $f\circ T$ is measurable as a composition of measurable maps, and the displayed bound shows that it is dominated by an integrable nonnegative function. Therefore $f\circ T\in L^1(E,\mathcal E,\mu)$. By linearity of the complex [Lebesgue integral](/page/Lebesgue%20Integral),
\begin{align*}
\int_E f\circ T\,d\mu(x)=\int_E u^+\circ T\,d\mu(x)-\int_E u^-\circ T\,d\mu(x)+i\int_E v^+\circ T\,d\mu(x)-i\int_E v^-\circ T\,d\mu(x).
\end{align*}
Using the four equalities above,
\begin{align*}
\int_E f\circ T\,d\mu(x)=\int_E u^+\,d\mu(x)-\int_E u^-\,d\mu(x)+i\int_E v^+\,d\mu(x)-i\int_E v^-\,d\mu(x)=\int_E f\,d\mu(x).
\end{align*}
This proves the $L^1$ complex-valued case and completes the proof.
[/step]