Suppose $f\in L^2(X\times Y)$ where $X$ and $Y$ are finite measure spaces and we have a product measure $\mu$.
Suppose further that $g\in L^2(X)$, and $h:Y\to \mathbb{R}$ is defined by $h(y)=\int f(x,y)\overline{g(x)}dx$.
Can we say that $h$ is measurable? I want to show that $h\in L^2(Y)$. It is not too hard to show that the $L^2$ norm is finite. But of course this only makes sense if $h$ is measurable...
A part of the proof of Tonelli Theprem says that if we integrate a non-negative jointly measurable function of two variables w.r.t. one variable the result is a measurable function of the second variable. Now write $f$ and $g$ as linear combinations of non-negative measurable functions. [ $a+ib=a^{+}-a^{-}+i(b^{+}-b^{-})$ for $a, b \in \mathbb R$]. Since linear combinations of measurable functions are measurable we are done.