Fourier Analysis – Convolution of a Function with Itself

convolutionfourier analysis

Function $\phi (x)$ is defined as:
$$\phi(x) = \begin{cases} 1 & \text{ if } 0 \leq x \leq 1\\0 & \text{otherwise} \end{cases} $$
How do I find the convolution of $\phi(x)$ with itself? I tried to take the Fourier transform of $\phi(x)$ and square it, then take the inverse Fourier transform. However, in the latter step I couldn't figure out what the limits on the integral are (I think it would be integral in all space, but I'm not sure). More importantly, I don't know how to do that integral for the inverse Fourier step. Thank you!

Best Answer

Simply apply the definition. So $$\phi * \phi (x) = \int_{-\infty}^{+\infty} \phi(x-y)\phi(y) \ dy$$ The integrand is $\neq 0$ only in the case that $y, x-y \in [0,1]$, i.e. $$0 \leq y \leq 1$$ $$x-1 \leq y \leq x$$

In the case that $x \leq 0$ or $x \geq 2$, the integrand must be $0$, so $\phi * \phi (x) = 0$.

In the case that $0 \leq x \leq 1$ you have

$$\phi * \phi (x) = \int_{0}^{x} \ dy = x$$

In the case that $1 \leq x \leq 2$ you have

$$\phi * \phi (x) = \int_{x-1}^{1} \ dy = 2-x$$

So

$$\phi * \phi (x) = \begin{cases} x & \text{ if } 0 \leq x \leq 1\\ 2-x & \text{ if } 1 \leq x \leq 2\\ 0 & \text{ otherwise} \end{cases} $$