Suppose that X, Y are both uniform from [-1, 1] and that $f(t)$ is 1/2 for $t$ in [-1, 1]. How would you find X + Y?
I tried using convolution, and this is the result that I ended up getting.
$f_t(t) = t/4$ for $-2\le t < -1$
$f_t(t) = 1/2$ for $-1\le t < 1$
$f_t(t) = t/4$ for $1\le t < 2$
Just a question of getting your limits correct.
According to the convolution rule, if $f_{X+Y}$ denotes the density of the sum, then $f_{X+Y}(x) = \int_{-1}^1 f_Y(y)f_X(x-y)dy$. The first term is always $\frac 12$. As for $f_X(x-y)$, we note that whenever $x+1 \geq y \geq x-1$ and $-1 \leq y \leq 1$ both hold, only then is this half, otherwise it is zero. So we need to be careful with our limits.
First off, the density can only be positive between $-2$ and $2$.
For $-2 \leq x \leq 0$, $x-1 \leq -1$,so we only need to integrate between $-1$ and $x+1$, since $y$ must belong in $[-1,1]$ and be less than $x+1$ also. Integrating, $\int_{-1}^{x+1} \frac 14 dy = \frac {x+2}4$ in this range.
For $0 \geq x \geq 2$, we anyway have $x+1 \geq 1$, so we only need to integrate between $x-1$ and $1$ (similar reason to previous time) and this time we get $\int_{x-1}^1 \frac 14 dy = \frac{2-x}{4}$.
Therefore, the density function of $f_{X+Y} $ is $\frac{2+x}{4}$ for $-2 \leq x \leq 0$ and $\frac{2-x}{4}$ in the range $0 \leq x \leq 2$. A better way of writing this : $f_{X+Y}(x) = \frac{2-|x|}{4}$.You can check this is correct.