Show that if $E(X^2)<\infty$ then $E(|X|)<\infty$.
My try:
In other word, if $$\int x^2f(x)dx<\infty\Rightarrow\int xf(x)dx<\infty$$ for continuous case which $\int f(x)dx=1$
or $$\sum x^2f(x)dx<\infty\Rightarrow\sum xf(x)dx<\infty$$ for discrete case which $\sum f(x)dx=1$
then I get stuck already because I can't continue.
And I found similar question on this link but I not really understand their answer, is there any simple way to solve this problem? I appreciate your help.
$0 \leq |X| < 1+X^2~ \Rightarrow ~ 0 \leq E[|X|] < 1 + E[X^2] < \infty$.