Question 2.33: The joint density function of X, Y is f(x,y) = 1/y e^-(y+x/y......

The joint density function of X, Y is

f(x,y)=\frac{1}{y}e^{-(y+x/y)},\quad0\lt x,y\lt \infty

(a) Verify that the preceding is a joint density function.
(b) Find Cov (X, Y).

The blue check mark means that this solution has been answered and checked by an expert. This guarantees that the final answer is accurate.
Learn more on how we answer questions.

To show that f(x, y) is a joint density function we need to show it is nonnegative, which is immediate, and that \int_{-\infty}^{\infty}\int_{-\infty}^{\infty}f(x,y)d y\,d x=1. We prove the latter as follows:

\int_{-\infty}^{\infty}\int_{-\infty}^{\infty}f(x,y)d y\,d x=\int_{0}^{\infty}\int_{0}^{\infty}{\frac{1}{y}}e^{-(y+x/y)}d y\,d x

 

=\int_{0}^{\infty}e^{-y}\int_{0}^{\infty}{\frac{1}{y}}e^{-x/y}d x\,d y

 

=\int_{0}^{\infty}e^{-y}d y

= 1

To obtain Cov(X, Y), note that the density funtion of Y is

f_{Y}(y)=e^{-y}\int_{0}^{\infty}{\frac{1}{y}}e^{-x/y}d x=e^{-y}

Thus, Y is an exponential random variable with parameter 1, showing (see Example 2.21) that

E[Y] = 1

We compute E[X] and E[XY] as follows:

E[X]=\int_{-\infty}^{\infty}\int_{-\infty}^{\infty}x f(x,y)d y\,d x

 

=\int_{0}^{\infty}e^{-y}\int_{0}^{\infty}{\frac{x}{y}}e^{-x/y}d x\,d y

Now, \textstyle\int_{0}^{\infty}{\frac{x}{y}}e^{-x/y}d x is the expected value of an exponential random variable with parameter 1/y, and thus is equal to y. Consequently,

{ E}[X]=\int_{0}^{\infty}y e^{-y}d y=1

Also

E[X Y]=\int_{-\infty}^{\infty}\int_{-\infty}^{\infty}x y f(x,y)d y\,d x

 

=\int_{0}^{\infty}y e^{-y}\int_{0}^{\infty}\frac{x}{y}e^{-x/y}d x\,d y

 

=\int_{0}^{\infty}y^{2}e^{-y}d y

Integration by parts (d v=e^{-y}d y,u=y^{2}) gives

E[X Y]=\int_{0}^{\infty}y^{2}e^{-y}d y=-y^{2}e^{-y\vert_{0}^{\infty}}+\int_{0}^{\infty}2y e^{-y}d y=2E[Y]=2

Consequently,

Cov(X, Y) = E[XY] − E[X]E[Y] = 1

Related Answered Questions

Question: 2.27

Verified Answer:

Recalling (see Example 2.22) that E[X] = μ, we hav...
Question: 2.51

Verified Answer:

Since E[X_{i}]={\frac{1}{2}},\mathrm{Var}(X...
Question: 2.49

Verified Answer:

Let X be the number of items that will be produced...
Question: 2.44

Verified Answer:

The moment generating function of X + Y is given b...
Question: 2.39

Verified Answer:

The joint density of X and Y is given by f_...
Question: 2.37

Verified Answer:

Since the event {X + Y = n} may be written as the ...
Question: 2.36

Verified Answer:

From Equation (2.18), f_{X+Y}(a)={\frac{d}{...