How to integrate complex exponential??

57.7k Views Asked by At

Consider $$\int^{\frac{1}{2}}_{-\frac{1}{2} } e^{i2\pi f} \,df = \int^{\frac{1}{2} }_{-\frac{1}{2} } \cos(2 \pi f)\, df$$

Why do we only look at the real part? What about the imaginary part $i\sin(2\pi f)$?

What is the reasoning behind this?

2

There are 2 best solutions below

2
On

Simply put, the reason is that it's an integral that is symmetric around $f=0$, and because sin is an odd function, the integral of the sin component must be zero.

1
On

$$\int\limits_{-1/2}^{1/2}e^{2\pi ix}\,dx=\left.\frac{1}{2\pi i}e^{2\pi ix}\right|_{-1/2}^{1/2}=\frac{1}{2\pi i}\left(e^{\pi i}-e^{-\pi i}\right)= \frac{1}{\pi}\sin\pi \\ \int\limits_{-1/2}^{1/2}\cos (2\pi x)\,dx=\frac{1}{2\pi}\sin(2\pi x)\Bigg|_{-1/2}^{1/2}=\frac{1}{2\pi}(\sin\pi-\sin(-\pi))=\frac{1}{\pi}\sin\pi $$