Artificial intelligent assistant

PDF of substraction of uniform > Let X and Y be i.i.d. Unif(0, 1), and let W = X − Y . Find the PDF of W. $0 $f(w)=\int_{0}^{1}f_X(x)f_Y(x-w)dx=\int_{0}^{1}f_Y(x-w)dx=?$

\begin{align} f_W(w) = \int_\mathbb{R} f_X(x)\; f_Y(x-w)\;\mathrm{d}x = \int_\mathbb{R} \mathbb{1}_{x\in(0,1)} \mathbb{1}_{x-w\in(0,1)}\mathrm{d}x = \int_{(0,1)\cap(w,1+w)} \mathrm{d}x = (1 -|w|)\mathbb{1}_{|w|<1} \end{align}

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy e6f7fcdfa038c29c627d11dde8e07225