The exercise states: let ${F_X(x)}$ be the cumulative distribution function of a random variable. Prove that if ${X}$ has a finite expectancy (${E[X]<\infty}$), then: $${\lim_{x\to \infty}x(1-F_X(x))=0}$$ and $${\lim_{x\to -\infty}x(F_X(x))=0}$$
So I started using that for ${X}\in(-\infty,\infty)$
${E[X]} = \int_0^\infty (1-F_X(x))dx + \int_{-\infty}^0 F_X(x)dx$
I used integration by parts for both integrals, using ${u = 1-F_X(x)}$ in the first one and ${u = F_X(x)}$ in the second one.
$ = x(1-F_X(x))\bigg\rvert_0^\infty + \int_0^\infty xf_X(x)dx - xF_X(x)\bigg\rvert_{-\infty}^0+ \int_{-\infty}^0 xf_X(x)dx$
(Where ${f_X(x)}$ is the probability density function)
$ = x(1-F_X(x))\bigg\rvert_0^\infty - xF_X(x)\bigg\rvert_{-\infty}^0+ \int_{-\infty}^\infty xf_X(x)dx$
$ = x(1-F_X(x))\bigg\rvert_0^\infty - xF_X(x)\bigg\rvert_{-\infty}^0+ {E[X]} $
And since ${E[X]<\infty}$ then,
${(1-F_X(x))\bigg\rvert_0^\infty - xF_X(x)\bigg\rvert_{-\infty}^0 = 0}$
$${\lim_{x\to \infty}x(1-F_X(x))- \lim_{x\to -\infty}x(F_X(x))=0}$$
And there is where I'm stuck, I don't know how to conclude that both limits are zero. Is there a better way to prove it? Am I missing something?