I'm trying to prove:
Let $X$ be a real random variable, $p, q \in (1,\infty)$, $\frac 1 p + \frac 1 q = 1$. If there is $C < \infty$ such that $|\mathbb E[XY]| \leq C ||Y||_q$ for any bounded random variable $Y$, then $X$ is in $\mathcal L^p$.
My idea is to use the fact that $\left(L^q(\mathbb P)\right)' \cong L^p(\mathbb P)$, and to show $F : L^q(\mathbb P) \to \mathbb R$ defined by $F(Y) = \mathbb E[XY]$ is continuous. For then, the isomorphism in particular is the isometry $\kappa(f) = \left( Y \mapsto \mathbb E[fY]\right)$, so we must have $f = X$. But I'm not sure if that conclusion is correct, nor am I sure how to prove $F$ is continuous over $L^q(\mathbb P)$; only over bounded functions in $L^q(\mathbb P)$. Any suggestions?
Hint: This is about how you can apply Riesz representation theorem saying that $[L^q]^*=L^p$. Let $\Omega$ denote the underlying space. First note that by choosing an appropriate $\theta(\omega)$ for each $\omega$ (in a measurable way), we can make $$ |X(\omega)||Y(\omega)|= X(\omega)Y(\omega)e^{i\theta(\omega)}. $$ By letting $Y'(\omega)=Y(\omega)e^{i\theta(\omega)}$, we can improve the inequality to $$ E[|X||Y|]\le C\|Y\|_{L^q} $$ for all bounded $Y$. Then we can use monotone convergence theorem to conclude $$ E[|X||Y|]\le C\|Y\|_{L^q} $$ for all $Y\in L^q$. Now deduce the conclusion that $X\in L^p$.