As the title suggests. I have been trying to figure this out for a long time now and I'm completely out of ideas.
Say we have two pdfs $f_X(x) = \begin{cases} 1/2 & 0 \le x \le 2 \\ 0 & elsewhere \\ \end{cases} $
and $f_Y(y) = \begin{cases} 1/3 & 0 \le x \le 3 \\ 0 & elsewhere \\ \end{cases}$
Obviously, the random variables $X$ and $Y$ have uniform distributions.
When I attempt to find the sum of these variables by the convolution, I cannot figure out how to work out the limits of the integral. Can anyone explain in detail how it works and possibly provide a general solution for two arbitary random variables?
EDIT: the convolution formula is given by $f_Z(z) = \int_{-\infty}^{\infty} f_X(x)f_Y(z-x) dx$
You are simply integrating over the joint support -- that is: where both functions are not zero.
$$\begin{align}f_Z(z)&=\int_{0\leq x\leq 2,0\leq z-x\leq 3}\tfrac 16\,\mathrm dx\\[1ex]&=\mathbf 1_{0\leq z\leq5}\int_{\max\{0,z-3\}\leq x\leq\min\{2,z\}}\tfrac 16\,\mathrm dx \\[3ex]&=\dfrac{1}{6}\cdot\begin{cases}\underline{\phantom{z\qquad}} &:& 0\leq z\lt 2\\\underline{\phantom{2\qquad}}&:& 2\leq z\lt 3\\\underline{\phantom{5-z~}}&:& 3\leq z\leq 5\\0&:&\text{elsewhere}\end{cases} \end{align}$$