Let $X,Y$ have joint density
$f(x, y) = 3xy/1250$ for $0 ≤ x, 0 ≤ y, x + y ≤ 10$ and $f(x,y) = 0 $ otherwise
Find the density $f(x)$ of $X$.
My attempt: $f(x) = \int_0^{10-x} \cfrac{3xy}{1250}dy = \cfrac{30}{1250}x^2-\cfrac{3}{1250}x^3$ for $0\leq x \leq 10-y$
But this does not match the answer in the book: $f(x) = \cfrac{3}{2500}x(10 − x)^2$ for $0 ≤ x ≤ 10 − y$
What am I misinterpreting about the bounds of the integral here? Where did I make a mistake?
Thank You!
