Hi I was trying to solve this integral:
$\int_{0}^{\infty}e^{ix}dx$
When I integrate it normally and apply limits, I get an undefined answer as $e^{\infty}=\infty$
But if I take $i$ as $-\frac{1}{i}$, I get:
$\int_{0}^{\infty}e^{-\frac{1}{i}x}dx= \frac{1}{i}[e^{-\frac{1}{i}x}]_0^\infty = \frac{1}{i}[0-1]=i$
So, which one is the right answer ?