Show that $\operatorname{cov}(X,Y)=1$ in the case when $X$ and $Y$ have joint density function $$ f(x,y)= \begin{cases} \frac{1}{y}e^{-y-x/y}&\text{if }x,y>0,\\ 0&\text{otherwise.} \end{cases} $$
So I have to show that $\mathbb E([X-\mathbb E(X)][Y-\mathbb E(Y)])=1$.
I tried to calculate the expectations of $X$ and $Y$:
$\begin{aligned}\mathbb E(Y)=\int_{-\infty}^\infty yf_Y(y)\,\mathrm dy\end{aligned}$.
First we need the marginal density function of $f_Y$:
$\begin{aligned}f_Y(y)=\int_0^\infty\frac{1}{y}e^{-y-x/y}\,\mathrm dx=\left[-\frac{1}{y}e^{-y-x/y}\right]_0^\infty=\frac{1}{y}e^{-y}\end{aligned}$, for $y>0$.
So we get $\mathbb E(Y)=\int_0^\infty e^{-y}\,\mathrm dy=1$
However, I don't know how how to this for $X$, because I'd get:
$\begin{aligned}f_X(x)=\int_0^\infty\frac{1}{y}e^{-y-x/y}\,\mathrm dy\end{aligned}$.
How can I evaluate this integral? Also, assume I had gotten something for $\mathbb E(X)$, say $\alpha$, how should I have proceeded from there on?
$\operatorname{cov}(X,Y)=\mathbb E([X-\alpha][Y-1])=\mathbb E(XY-X-\alpha Y+\alpha)$.
How could this yield to 1?