I have a step function that states $f(x) = 1$ for $|x| < 1$ and 0 everywhere else. So far I've found this to be $$\int_{-\infty}^{\infty}\, dy\, f(y)\,f(x-y)$$ and from boundaries, $$-1 < y <1 \\ x-1 < y < x+1$$ Which now gives the function $$1\cdot\int_{-1}^{1}\, dy\, f(x-y) = \int_{t \,= \,x-1}^{t\, = \,x+1}f(t)\,dt$$ where $t = x-y$. From here I've found that when $x < -2$ or $x + 2$ that $f(t) = 0$ and between these boundaries $f(t) = 1$. I'm stuck with what to do from here, however. I'm unsure how to use the boundary conditions and find a final answer here.
The question also asks for the Fourier transform of this convolution. Is this straightforward or is there I trick to it that I need to be aware of? Thanks.
First of all, the convolution of the function $f$ with itself is given by
$$\begin{align} (f*f)(x)&=\int_{-\infty}^\infty f(y)f(x-y)\,dy\\\\ &=\begin{cases} 0&,x\le -2\\\\ \int_{-1}^{x+1}(1)\,dx=(x+2)&,-2<x<0\\\\ \int_{x-1}^1(1)\,dx=2-x&,x<2\\\\ 0&,x\ge 2 \end{cases} \end{align}$$
We can write $(f*f)(x)=2-|x|$ for $|x|<2$ and $0$ otherwise.
The Fourier Transform of $f(x)$ is
$$\begin{align} \mathscr{F}\{f\}(k)&=\int_{-\infty}^\infty f(x)e^{ikx}\,dx\\\\ &=\int_{-1}^1 e^{ikx}\,dx\\\\ &=2\frac{\sin(k)}{k} \end{align}$$
Finally, invoking the Convolution Theorem yields
$$\bbox[5px,border:2px solid #C0A000]{\mathscr{F}\{f*f\}(k)=\frac{4\sin^2(k)}{k^2}}$$