Calculating the Fourier Transform of f(x) = 1 if -1<x<1, f(x) = 0 otherwise

leopard
Messages
123
Reaction score
0

Homework Statement



Find the Fourier transform of the function f(x) = 1 if -1<x<1, f(x) = 0 otherwise

2. The attempt at a solution

\hat{f}(w) = \frac{1}{\sqrt{2 \pi}} \int ^{1}_{-1}e^{-iwx}dx = \frac{1}{\sqrt{2 \pi}} [\frac{e^{-iwx}}{-iw}]^{1}_{-1} = \frac{1}{-iw \sqrt{2 \pi}}(e^{-iw} - e{iw}) = \sqrt{\frac{2}{\pi}} \frac{sinw}{w}

According to my book, the correct answer is \sqrt{\frac{\pi}{2}} \frac{sinw}{w}

Who is right?
 
Physics news on Phys.org
I can't find any mistakes in your solution.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top