I want to find the Fourier transform of the following function:
How would I integrate this function between $-\infty$ and $\infty$ multiplied by exp(-ikx)
$$ f(x) =\cases{ 1 &if 0 $\leq x \leq 1$\\ 0 &if $x>1$} $$
I thought of splitting the integral up into three separate integrals:
- between $-\infty$ and $0$
- between $0$ and $1$
- between $1$ and $\infty$
However the function isn't defined between $-\infty$ and $0$ so I'm not sure this would work?
Also, is it possible to change the integral from $-\infty$ to $\infty$ into twice the integral going from $0$ to $1$ with use of the fact that the function is even, or the integral is zero if the function is odd?
Although, I cant seem to calculate whether the function is odd or even.
Could someone give me some guidance? Thanks!