Proposition (Cauchy-Schwarz inequality for expectation)
For all random variables $X,Y$, $$ \expect(|XY|) \leq \sqrt{\expect(X^2)} \sqrt{\expect(Y^2)}. $$ (RHS takes the convention of $0\times\infty = 0$.)
If $\expect(X^2),\expect(Y^2)\in(0,\infty)$, then equality holds iff $\prob(Y=tX)=1$ for some $t\in\R$.