We have the two continuous stochastic variables $X$ and $Y$ which have the simultaneous density function $$f(x,y)=6(y-x)$$ in the area $0 < x < y < 1$. Outside this area the simultaneous density is 0. Let $$Z = X + Y$$
I want to find the density $f_Z(z)$ for $Z$.
I think I should use this formula $$f_{X+Y}(z)=\int_{-\infty}^{\infty} f(x,z-x) dx$$ but somehow not doing it correctly. I have tried putting the lower limit to zero and the upper to $z$ but this integrates to zero.
What do I miss?
The marginals are given by $$f_X(x)=\int_0^{1} f(x,y) dy=\frac {1-x^{2}} 2-x+x^{2}, 0<x<1$$ and $$f_Y(y)=\int_0^{1} f(x,y) dx=3y^{2}, 0<y<1.$$ Now compute $F_Z(z)$ using the formula $$f_Z(z)=\int_0^{z} f_X(z-y)f_Y(y)dy$$ for $0<z<2$