Let $X$ and $Y$ be random variables with the vector $(X, Y)$ uniformly distributed on the region $R = \{(x, y) : 0 < y < x < 1\}$. Find $\mathbb{P}(X+Y<1)$. I am pretty sure that I calculated the pdf correctly:
$f_{X,Y}(x,y)= 2$ if $(x,y) \in R$, $0$ elsewhere.
To get the probability, I know I need to double integrate $f(x,y)$. I am not sure of the bounds though. Is the correct integration $\int_0^1 \int_0^{1-x} 2\,dy\,dx$, or should the upper bound be $x$ so that it is $\int_0^1 \int_0^x 2 \, dy \, dx$. Or are neither of these correct?
$P(X+Y <1)= 2 \int_0^{1}\int_0^{\min \{x,1-x\}} \, dy\,dx$ since we need $y <1-x $ as well as $y <x$. Write this as $2 \int_0^{\frac 1 2}\int_0^{x} \,dy\,dx + 2 \int_{\frac 1 2}^1 \int_0^{1-x} \,dy\,dx$. I will let you finish.