I am studying for an exam and have come across this problem:
Let the random variables $X$ and $Y$ have the joint pmf:
$f_{XY}(x,y)={2\over{n(n+1)}}$ for $y=1, . . . , x$; $x=1, . . . , n$
Find the marginal pmf of $f_Y(y)$.
Normally I have no problem finding these, but this seems to have a dependence in the support that wreaks havoc on my finding the marginal distribution. I tried this, but this leaves $x$ in the marginal distribution's support, so I know it's not right.
$f_Y(y)=\sum_{x=1}^{n}f(x,y)={2n\over{n(n+1)}}={n\over{n(n+1)}}$ for $y=1, . . . , x$
I know this isn't write since the support now contains, $x$. The solution is shown in my notes as:
$f_Y(y)={2(n-y+1)\over{n(n+1)}}$ for $y=1, . . . , n$
Can someone help me understand how this solution was derived?
Thank you.
References Roussas, George G. An introduction to probability and statistical inference. 2nd ed. San Diego, CA: Elsevier/Academic Press, 2015. (p. 151, exercise 2.6)