I have some problems to do the convolution between
$f(x)=e^{-|x|}$ and $g(x)=e^{-|x|}$.
$$f*g=\int_{-\infty}^{+ \infty}f(y)g(x-y)\, dy=\int_{-\infty}^{+ \infty}e^{-|y|}e^{-|x-y|}\, dy$$
I have tried to analyse the different cases $$(y>0 \text{ and } x>y,\quad y>0 \text{ and } x<y,\quad y<0 \text{ and } x>y,\quad y<0 \text{ and } x<y)$$ but I have never done an exercise of this kind and I don't want to make a very big confusion... Could you write the correct proceeding? Many thanks
Hint: Split the integral in three pieces.
Edit: To elaborate on the first alternative, if $x>0$ you get $$\begin{aligned}f*g(x)&=\int_{-\infty}^{+ \infty}e^{-|y|}e^{-|x-y|}\,dy \\&=\int_{-\infty}^{0}e^{-|y|}e^{-|x-y|}\,dy+\int_{0}^{x}e^{-|y|}e^{-|x-y|}\,dy+\int_{x}^{+ \infty}e^{-|y|}e^{-|x-y|}\,dy \\&=\int_{-\infty}^{0}e^{y}e^{y-x}\,dy+\int_{0}^{x}e^{-y}e^{y-x}\,dy+\int_{x}^{+ \infty}e^{-y}e^{x-y}\,dy. \end{aligned}$$ Notice how the limits are chosen in order to simplify the absolute values? You take it from there.