I'm trying to find the convolution $f*g$ where $f=g= \mathbb{1}_{\{ -1≤x≤1 \} }$
**Here's my attempt: $f*g = \int_{\mathbb{R} } \mathbb{1}_{\{ -1≤y≤1 \} }\mathbb{1}_{\{ -1≤x-y≤1 \} }dy$
We therefore have that $x \in [-2, 2]$, therefore
$f*g = \int_{-2}^2dy = 4$
Is that the right approach to the problem?
$$f*g = \int_{\mathbb{R} } \mathbb{1}_{\{ -1≤y≤1 \} }\mathbb{1}_{\{ -1≤x-y≤1 \} }dy=\int_{-1}^11_{\{-1\leq x-y\leq 1\}}dy\\=\int_{-1}^11_{\{x-1\leq y\leq x+1\}}dy$$ which is equal to the length of the interval $(x-1,x+1)\cap(-1,1)$, which you can express as various cases based on the values of $x$.