1

Two random variables $X,Y$ have the following density:

$f_{X,Y}(x,y)=\begin{cases} x+y,\ \ (x,y)\in [0,1]\times [0,1]\\ 0,\ \ else\\ \end{cases}$.

I want to compute $P(X=1/2,Y=1/2), P(X=Y), P(X\le Y), P(X\le 1/2, Y\le 1/2)$.

It should be simple, but somehow I am stuck.

For $P(X\le 1/2, Y\le 1/2)$ I got $P(X\le 1/2, Y\le 1/2)=\int^{1/2}_0\int^{1/2}_0(x+y)\mathrm{d}x\mathrm{d}y= 1/8$

EpsilonDelta
  • 2,079

1 Answers1

0

$$P(X = 1/2, Y=1/2)=0$$

$$P(X = Y)=0$$

$$P(X \leq Y)=\int_0^1\int_0^{x}(x + y)dydx=\frac{1}{2}$$

$$P(X \leq 1/2,Y \leq 1/2)=\int_0^{\frac{1}{2}}\int_0^{\frac{1}{2}}(x+y)dxdy =\frac{1}{8} $$

PiE
  • 1,002
  • 8
  • 16
  • I got the same, except $P(X=Y)$. Can u elaborate on $P(X=Y)$? Mathematica gives me a different answer for it, too. – EpsilonDelta May 16 '17 at 10:16
  • Because there are infinitely many possible values a continuous variable could take for $X$ and $Y$. There is zero chance of picking any exact values s.t. $X = Y$. – PiE May 16 '17 at 10:29