- #1
psie
- 269
- 32
- Homework Statement
- Let ##X## and ##Y## have joint density $$f(x,y)=\begin{cases} 1& \text{for }0\leq x\leq 2,\max(0,x-1)\leq y\leq\min(1,x) \\ 0 &\text{otherwise}.\end{cases}$$ Find the marginal density functions and the joint and marginal distribution functions.
- Relevant Equations
- The marginal distribution of ##X## given the joint density ##f_{X,Y}## is given by ##f_X(x)=\int_\mathbb{R} f_{X,Y}(x,y) \,dy## and similar for ##Y##.
This is the follow-up problem to my previous problem.
"Integrating out" the ##y##-variable and ##x##-variable separately, we see that ##f_Y(y)=2## and ##f_X(x)=\min(1,x)-\max(0,x-1)##. From my previous post, we see that ##X## is the sum of two independent ##U(0,1)##-distributed r.v.s. What is the distribution of ##Y## though? It looks to me that if ##0\leq x\leq 2##, i.e. if ##0\leq x\leq 1## or ##1<x\leq 2##, then ##0\leq y\leq x## or ##x-1\leq y\leq 1## respectively. So ##y## ranges from ##0## to ##1##, which doesn't make sense since then the pdf ##f_Y(y)=2## does not integrate to ##1##. However, currently I don't see the error.
"Integrating out" the ##y##-variable and ##x##-variable separately, we see that ##f_Y(y)=2## and ##f_X(x)=\min(1,x)-\max(0,x-1)##. From my previous post, we see that ##X## is the sum of two independent ##U(0,1)##-distributed r.v.s. What is the distribution of ##Y## though? It looks to me that if ##0\leq x\leq 2##, i.e. if ##0\leq x\leq 1## or ##1<x\leq 2##, then ##0\leq y\leq x## or ##x-1\leq y\leq 1## respectively. So ##y## ranges from ##0## to ##1##, which doesn't make sense since then the pdf ##f_Y(y)=2## does not integrate to ##1##. However, currently I don't see the error.
Last edited: