How resolve $\int_{-\infty}^{\infty}\frac{\sin x}{x+i}dx$

115 Views Asked by At

How resolve $$\int_{-\infty}^{\infty}\frac{\sin x}{x+i}dx$$

The hint is use $$\sin x=\frac{e^{ix}-e^{-ix}}{2i}$$

Well, when i did that

$$\int_{-\infty}^{\infty}\frac{\sin x}{x+i}dx=\frac{1}{2i}\int_{-\infty}^{\infty}\frac{e^{ix}-e^{-ix}}{x+i}dx= \frac{1}{2i}\int_{-\infty}^{\infty}\frac{e^{ix}}{x+i}dx-\frac{1}{2i}\int_{-\infty}^{\infty}\frac{e^{-ix}}{x+i}dx$$. In the second integral I use $u=-x$, then $$\frac{1}{2i}\int_{-\infty}^{\infty}\frac{e^{-ix}}{x+i}dx=-\frac{1}{2i}\int_{\infty}^{-\infty}\frac{e^{iu}}{-u+i}du=-\frac{1}{2i}\int_{-\infty}^{\infty}\frac{e^{ix}}{-x+i}dx$$

Hence the integral principal is equal to

$$\frac{1}{2i}\int_{-\infty}^{\infty}e^{ix}\left(\frac{1}{x+i}+\frac{1}{-x+i}\right)dx=\frac{1}{2i}\int_{-\infty}^{\infty}e^{ix}\left(\frac{-x+i+x+i}{-1-x^2}\right)dx$$ $$=\int_{-\infty}^{\infty}\left(\frac{-e^{ix}}{1+x^2}\right)dx$$.

The next step is look like integrate by parts i guess, but i believe is more complicate when appear $\ln (1+x^2)$. I am not sure if my way is correct, or perhaps exist other way with the hint. Please somebody can to help me. Thank you!!

3

There are 3 best solutions below

3
On BEST ANSWER

Let $\gamma$ be the path along the real axis then circling back counter-clockwise through the upper half-plane, letting the circle get infinitely big. \begin{align} \left(\int_{-\infty}^\infty\frac{e^{ikx}}{x^2+a^2}\mathrm{d}x\right) &=\int_{\gamma}\frac{e^{ikx}}{x^2+a^2}\mathrm{d}x\\\\ &=2\pi i\,\mathrm{Res}\left(\frac{e^{ikx}}{x^2+a^2},ia\right)\\\\ &=2\pi i\,\lim_{z\to ia}\frac{e^{ikz}}{z+ia}\\\\ &=2\pi i\,\frac{e^{ik(ia)}}{2ia}\\\\ &=\frac{\pi}{a}e^{-ka} \end{align} Now , differentiating under the integral sign w.r.t $k$ , you get \begin{align} \int_{-\infty}^{\infty} \frac{e^{ikx}\cdot ix}{x^2+a^2}\mathrm{d}x = \frac{\pi}{a}e^{-ka} \cdot (-a) \end{align}

Setting $k=a=1$ and rearranging terms , you get \begin{align} \int_{-\infty}^{\infty} \frac{e^{ix}\cdot x}{x^2+1}\mathrm{d}x = -\frac{1}{i}\pi e^{-1}=i \frac{\pi }{e} \end{align}

1
On

Let $\gamma$ be the path along the real axis then circling back counter-clockwise through the upper half-plane, letting the circle get infinitely big. \begin{align} \left(\int_{-\infty}^\infty\frac{e^{ikx}}{x^2+a^2}\mathrm{d}x\right) &=\int_{\gamma}\frac{e^{ikx}}{x^2+a^2}\mathrm{d}x\\\\ &=2\pi i\,\mathrm{Res}\left(\frac{e^{ikx}}{x^2+a^2},ia\right)\\\\ &=2\pi i\,\lim_{z\to ia}\frac{e^{ikz}}{z+ia}\\\\ &=2\pi i\,\frac{e^{ik(ia)}}{2ia}\\\\ &=\frac{\pi}{a}e^{-ka} \end{align} Setting $k=a=1$ and rearranging terms , you get \begin{align} \int_{-\infty}^{\infty} \frac{-e^{ix}}{x^2+1}\mathrm{d}x = -\frac{\pi}{e} \end{align}

3
On

Without complex analysis, you can quite easily compute $$I=\int_{-\infty}^{+\infty} \frac{\sin (a x)}{x+i b}\,dx$$ Let $t=x+i b$ which makes the numerator to be $$\sin (a t-i a b)=\cosh (a b) \sin (a t)-i \sinh (a b) \cos (a t)$$ Now, you are just left with two standard integrals

$$I_S=\int \frac{\sin (a t)}{t}\,dt=\int\frac{\sin (u)}{u}\,du=\text{Si}(u)$$ $$I_C=\int \frac{\cos (a t)}{t}\,dt=\int\frac{\cos (u)}{u}\,du=\text{Ci}(u)$$ So, back to $x$

$$\int\frac{\sin (a x)}{x+i b}\,dx=\cosh (a b) \text{Si}(a (x+i b))-i \sinh (a b) \text{Ci}(a (x+i b))$$ Assuming $a>0$ and using the bounds

$$I=\int_{-\infty}^{+\infty} \frac{\sin (a x)}{x+i b}\,dx=\pi\,e^{-ab }\qquad \text{if} \qquad b>0$$ $$I=\int_{-\infty}^{+\infty} \frac{\sin (a x)}{x+i b}\,dx=\pi\,e^{+ab }\qquad \text{if} \qquad b<0$$