Let $(X,\mathcal{A}, \mu)$ be an measure space. Let $f$ be an extended complex-valued $\mathcal{A}-$measurable function on $X$ such that $|f|<\infty$ $\mu$-a.e. on $X$. Suppose that $fg\in L^1(X,\mathcal{A}, \mu)$ for every $g\in L^q(X,\mathcal{A}, \mu)$. Show that $f\in L^{p}(X,\mathcal{A}, \mu)$. $(p>1, q>1, \frac{1}{p}+\frac{1}{q}=1)$
A similar problem I asked $fg\in L^1$ for every $g\in L^1$ prove $f\in L^{\infty}$
but I cannot find similar construction of counterexample in this case $f\notin L^p$. Almost the same problem Given $f\notin L^p$ find $g\in L^q$ s.t. $fg\notin L^1$, the construction given in the answer require $\mu(f\geq t)$ to be finite, but that is not a condition of the problem (nor can we derive from $f\notin L^p$).
Looking for an answer using little or no functional analysis technique.
Indeed a very difficult construction...
Here is the answer I get from Professor's office hour,
Use the following lemmas(results from earlier HW),
This one is easy to prove.
Define $f=\frac{1}{n\mu(E_n)}$,$E_n$ defined in lemma 1, easy to check the rest.
Back to the problem, suppose $||f||_p=\infty$, define a measure $\nu$ by $d\nu=|f|^pd\mu$ not hard to check $\nu$ is $\sigma$-finite but not finite. By lemma 2 there is an $h\notin L^1(X,\nu)$, $h\in L^r(X,\nu)$ for $r>1$. Define $g=h|f|^{p-1}$. We have $\int_X|g|^qd\mu=\int_X|h|^q|f|^{pq-q}d\mu=\int_X|h|^q|f|^{p}d\mu=\int_X |h|^qd\nu<\infty$ so $g\in L^q(X,\mu)$. On the other hand $\int_{X}|fg|d\mu=\int_X |h||f|^pd\mu=\int_X |h|d\nu=\infty$ so $fg\notin L^1(X,\mu)$.