Question Number 59991 by selimatas01 last updated on 16/May/19
Commented by Mr X pcx last updated on 16/May/19
$${let}\:\:{I}\:=\int_{\mathrm{0}} ^{\infty} \:\:\frac{{cosx}}{\left({x}^{\mathrm{2}} \:+\mathrm{1}\right)^{\mathrm{2}} }\:{dx}\:\Rightarrow \\ $$$$\mathrm{2}{I}\:=\int_{−\infty} ^{+\infty} \:\:\frac{{cosx}}{\left({x}^{\mathrm{2}} \:+\mathrm{1}\right)^{\mathrm{2}} }\:{dx}= \\ $$$${Re}\left(\:\int_{−\infty} ^{+\infty} \:\:\frac{{e}^{{ix}} }{\left({x}^{\mathrm{2}} \:+\mathrm{1}\right)^{\mathrm{2}} }\:{dx}\right)\:{let}\:{consider} \\ $$$${the}\:{complexe}\:{function} \\ $$$$\varphi\left({z}\right)\:=\frac{{e}^{{iz}} }{\left({z}^{\mathrm{2}} \:+\mathrm{1}\right)^{\mathrm{2}} }\:\Rightarrow\varphi\left({z}\right)=\frac{{e}^{{iz}} }{\left({z}−{i}\right)^{\mathrm{2}} \left({z}+{i}\right)^{\mathrm{2}} } \\ $$$${so}\:{the}\:{poles}\:{of}\:\varphi\:{are}\:{i}\:{and}\:−{i}\left({doubles}\right) \\ $$$${redidus}\:{theorem}\:{give} \\ $$$$\int_{−\infty} ^{+\infty} \:\varphi\left({z}\right){dz}\:=\mathrm{2}{i}\pi{Res}\left(\varphi,{i}\right) \\ $$$${Res}\left(\varphi,{i}\right)={lim}_{{z}\rightarrow{i}} \left\{\left({z}−{i}\right)^{\mathrm{2}} \varphi\left({z}\right)\right\}^{\left(\mathrm{1}\right)} \\ $$$$={lim}_{{z}\rightarrow{i}} \:\:\left\{\frac{{e}^{{iz}} }{\left({z}+{i}\right)^{\mathrm{2}} }\right\}^{\left(\mathrm{1}\right)} \\ $$$$={lim}_{{z}\rightarrow{i}} \:\:\:\:\frac{{i}\:{e}^{{iz}} \left({z}+{i}\right)^{\mathrm{2}} −\mathrm{2}\left({z}+{i}\right){e}^{{iz}} }{\left({z}+{i}\right)^{\mathrm{4}} } \\ $$$$={lim}_{{z}\rightarrow{i}} \:\:\:\frac{{ie}^{{iz}} \left({z}+{i}\right)−\mathrm{2}{e}^{{iz}} }{\left({z}+{i}\right)^{\mathrm{3}} } \\ $$$$=\frac{−\mathrm{2}\:{e}^{−\mathrm{1}} −\mathrm{2}{e}^{−\mathrm{1}} }{\left(\mathrm{2}{i}\right)^{\mathrm{3}} }\:=\frac{−\mathrm{4}\:{e}^{−\mathrm{1}} }{−\mathrm{8}{i}}\:=\frac{{e}^{−\mathrm{1}} }{\mathrm{2}{i}}\:\Rightarrow \\ $$$$\int_{−\infty} ^{+\infty} \:\varphi\left({z}\right){dz}\:=\mathrm{2}{i}\pi\frac{{e}^{−\mathrm{1}} }{\mathrm{2}{i}}\:=\pi{e}^{−\mathrm{1}} \:\Rightarrow \\ $$$$\mathrm{2}{I}\:=\frac{\pi}{{e}}\:\Rightarrow\bigstar{I}\:=\frac{\pi}{\mathrm{2}{e}}\:\bigstar \\ $$
Commented by selimatas01 last updated on 17/May/19
$${thank}\:{you}\:{very}\:{much} \\ $$