Quiz 9 Solution

Let X and Y be independent exponentially-distributed random variables of unit mean.  Thus X and Y have marginal probability density functions

fX(x)={exp(x),x0;0,otherwise, and fY(y)={exp(y),y0;0,otherwise.

Question 1.

Determine the correlation coefficient ρX,Y of X and Y.

Answer: Since X and Y are independent, it follows that X and Y are uncorrelated.  As such, ρX,Y=0.

Question 2.

Determine Pr(max(X,Y)ln(2)).

Answer:  We have max(X,Y)ln(2) if and only if Xln(2) and Yln(2).  This is the product form event (X,Y)(,ln(2)]×(,ln(2)] shown in the diagram.  We can calculate the probability of this event by integrating the joint pdf.  Since X and Y are independent, the joint pdf is the product of the marginal pdfs.

We get Pr(max(X,Y)ln2)=ln2ln2fX,Y(x,y)dydx

=ln2ln2fX(x)fY(y)dydx  (since X and Y are independent)

=0ln20ln2fX(x)fY(y)dydx  (since the marginal pdfs are zero for negative values of their argument)

=0ln2fX(x)dx0ln2fY(y)dy

=(0ln2exp(x)dx)2

=(exp(x)|0ln2)2

=(1exp(ln(2)))2

=(1exp(ln(1/2)))2

=(112)2

=14.

Question 3.

Determine Pr(min(X,Y)ln(2)).

Answer:  We have min(X,Y)ln(2) if Xln(2) or Yln(2).  This corresponds to the shaded region in the diagram below.

It is easier to integrate over the complementary region.  Thus we find

Pr(min(X,Y)ln(2))=1ln2ln2exp(x)exp(y)dxdy

=1(exp(x)|ln2)2

=1(exp(ln(2))2

=114

=34.

Question 4.

Determine Pr(X+Yln(2)).

Answer:  We have X+Yln2 in the shaded region shown below.

Since the joint pdf is zero outside the first quadrant, we integrate only over the triangular region in the first quadrant to obtain:

Pr(X+Yln(2))=x=0ln2y=0x+ln2exp(x)exp(y)dydx

=0ln2exp(x)(exp(y)|0x+ln2)dx

=0ln2exp(x)(1exp(xln2))dx

=0ln2exp(x)dx0ln2exp(ln2)dx

=(1exp(ln2))ln(2)exp(ln2)

=11212ln(2)

=12(1ln(2))

0.1534264

Question 5.

Determine E((XY)2.

Answer:  Expanding the square we get

E((XY)2)=E(X22XY+Y2)

=E(X2)2E(XY)+E(Y2)

=E(X2)2E(X)E(Y)+E(Y2) (since X and Y are independent, they are uncorrelated)

=2E(X2)2(E(X))2  (since X and Y have the same distribution)

=2VAR(X)

=2 (since X has a variance of 1).

(Why does X have a variance of 1?  An exponential random variable with parameter λ, having a pdf f(x)=λexp(λx) when x0, has a mean of 1λ and a variance of 1λ2.  Here λ=1.)