# question on uniformly distributed random variable

Let $X$ be a random variable uniformly distributed on the interval $[0,10]$ and zero elsewhere and let $Y$ be another random variable uniformly distributed on $[0, 20]$ and zero elsewhere. Assuming that $X$ and $Y$ are independent, find

a. $\mathbb{P}(X<4 \cap Y<8)$

b. $\mathbb{E} [X + Y]$

c. $\mathbb{E} [XY]$

d. $\operatorname{Var}(X + Y)$

My work: we will have to double integrate from $0$ to $4$ in $x$ and $0$ to $8$ in $y$, but I am not able to find the function to integrate.

• @dr.ivanova - The tag you have inserted is incorrect. Probability-theory should not be in this question. – Clarinetist Dec 14 '14 at 22:04
• @dr.ivanova, the interval $0<x<10$ is usually denoted by $(0,10)$; the interval $0\le x\le 10$ is usually denoted by $[0,10]$. – Joel Reyes Noche Dec 15 '14 at 1:56

If $X$ is uniformly distributed in $(0, 10)$, then $f_{X}(x) =$ ?.
If $Y$ is uniformly distributed in $(0, 20)$, then $f_{Y}(y) =$ ?.
Since $X$ and $Y$ are independent, then $f_{X, Y}(x, y) =$ ?.
• @rohit - Technically, $f_{X, Y}(x, y) = \dfrac{1}{200}$ for $0 < x < 10$ and $0 < y < 20$. Otherwise it's fine. – Clarinetist Dec 14 '14 at 21:34
• 4/25 is correct. For part b - use the fact that $\mathbb{E}[X+Y] = \mathbb{E}[X] + \mathbb{E}[Y]$. For part c - since $X$ and $Y$ are independent, what do you know about $\mathbb{E}[XY]$? d uses independence as well. – Clarinetist Dec 14 '14 at 21:37