This is part of proving the $X+Y=Z$,then,$f_z(z)=f_x(x)*f_y(y)$
$F_z(z)=\int_{-\infty}^\infty \int_{-\infty}^{z-y}f_{X,Y}(x,y)\,dx\,dy$
Then $f_Z(z)=\frac{dF_z(Z)}{dz}=\int_{-\infty}^\infty f_{X,Y}(z-y,y)\,dy$, i don't quite understand why is that $\frac{d}{dz}\int_{-\infty}^\infty \int_{-\infty}^{z-y} f_{X,Y}(x,y)\,dx\,dy=\int_{-\infty}^\infty f_{X,Y}(z-y,y)\,dy$,can anyone explain more about it to me? thankyou.
Let $h(z)=\int_{-\infty}^{\infty} f_{X,Y} (z-y,y)\, dy$. Then $\int_{-\infty}^{z} h(u) \, du =\int_{-\infty}^{z}\int_{-\infty}^{\infty} f_{X,Y} (u-y,y)\, dy du$. If you interchange the two integrals and put $x=u-y$ you get $\int_{-\infty}^{\infty} \int_{-\infty}^{z-y} f_{X,Y} (x,y)\, \, dxdy $. Hence $h$ is the derivative of this last expression.