for (x,y) satisfying 0 < y <= x <= 1. The density function f[x,y] takes the value 0 for all other values of x and y.
What is the value of the constant c?
Since the integral over all values of x and y must be one, we integrate over all values of x and y where f[x,y] is non-zero and set the result equal to one. Here is the region where f[x,y] takes non-zero values. The picture helps set up appropriate bounds for the integration.
Since the integral over all pairs (x,y) is equal to c, we must have c = 1.
What is the probability that x > 0.5 and y > 0.3?
The answer is about 0.292 and here is why.
The probability corresponds to the integral of the density function
over the values of (x,y) satisfying the conditions. Here is a picture showing
this region. The red area is the one we must integrate over.
Find formnulas for the marginal density functions fx[x] and fy[y].
Find the probability that x > 0.5.
Find the probability that y > 0.3.
This is the integral of fy[y] from 0.3 to 1, which is
Are X and Y independent?
Find the conditional density function f_x_given_y[x] and calculate
the probability that X < 0.6 given Y = 0.4.
The conditional density (of X given Y) is just the joint density divided
by fy[y]. In this case, we get
To find the probability, we integrate from x = -Infinity to x = 0.6 (and set y = 0.4). Since y = 0.4, the only values of x allowed, are those with x >= 0.4 (the intersection of y = 0.4 with our original triangle of non-zero probabilities). We get:
Find E[X], E[Y],
sigma[x]=Sqrt[Integrate[(x-1/2)^2*f[x,y],{x,0,1},{y,0,x}] ]
sigma2[x]=Sqrt[Integrate[x^2*f[x,y],{x,0,1},{y,0,x}]-(1/2)^2]
sigma[y]=Sqrt[Integrate[(y-1/4)^2*f[x,y],{x,0,1},{y,0,x}]]
sigma2[y]=Sqrt[Integrate[y^2*f[x,y],{x,0,1},{y,0,x}]-(1/4)^2]
Find COV[x,y] both directly and with the shortcut formula.
Integrate[(x-1)*(y-1/4)*f[x,y],{x,0,1},{y,0,x}]
Integrate[x*y*f[x,y],{x,0,1},{y,0,x}]-1/2*1/4
What is the correlation coefficient &rgr;?