Question Number 90042 by abdomathmax last updated on 21/Apr/20
$${calculste}\:{I}\:=\int_{\mathrm{0}} ^{+\infty} \:\frac{{ch}\left({cos}\left(\mathrm{2}{x}\right)\right){dx}}{{x}^{\mathrm{2}} \:+\mathrm{4}} \\ $$$${and}\:{J}\:=\int_{\mathrm{0}} ^{\infty} \:\frac{{cos}\left(\mathrm{2}{chx}\right){dx}}{{x}^{\mathrm{2}} \:+\mathrm{4}} \\ $$$${compare}\:{I}\:{and}\:{J} \\ $$
Commented by mathmax by abdo last updated on 21/Apr/20
$${I}\:=\int_{\mathrm{0}} ^{\infty} \:\frac{{ch}\left({cos}\left(\mathrm{2}{x}\right)\right){dx}}{{x}^{\mathrm{2}} \:+\mathrm{4}}\:\Rightarrow\mathrm{2}{I}\:=\int_{−\infty} ^{+\infty} \:\frac{{ch}\left({cos}\left(\mathrm{2}{x}\right)\right){dx}}{{x}^{\mathrm{2}} \:+\mathrm{4}} \\ $$$${let}\:\varphi\left({z}\right)\:=\frac{{ch}\left({cos}\left(\mathrm{2}{z}\right)\right)}{{z}^{\mathrm{2}} \:+\mathrm{4}}\:\Rightarrow\varphi\left({z}\right)\:=\frac{{ch}\left({cos}\left(\mathrm{2}{z}\right)\right)}{\left({z}−\mathrm{2}{i}\right)\left({z}+\mathrm{2}{i}\right)} \\ $$$$\int_{−\infty} ^{+\infty} \:\varphi\left({z}\right){dz}\:=\mathrm{2}{i}\pi\:{Res}\left(\varphi,\mathrm{2}{i}\right)\:=\mathrm{2}{i}\pi×\frac{{ch}\left({cos}\left(\mathrm{4}{i}\right)\right)}{\mathrm{4}{i}} \\ $$$$=\frac{\pi}{\mathrm{2}}{ch}\left({ch}\left(−\mathrm{4}\right)\right)\:=\frac{\pi}{\mathrm{2}}{ch}\left({ch}\left(\mathrm{4}\right)\:=\frac{\pi}{\mathrm{4}}\left({e}^{{ch}\left(\mathrm{4}\right)} \:+{e}^{−{ch}\left(\mathrm{4}\right)} \right)\:\Rightarrow\right. \\ $$$${I}\:=\frac{\pi}{\mathrm{8}}\left(\:{e}^{{ch}\left(\mathrm{4}\right)} \:+{e}^{−{ch}\left(\mathrm{4}\right)} \right)\:{also}\:{we}\:{have} \\ $$$$\mathrm{2}{J}\:=\int_{−\infty} ^{+\infty} \:\frac{{cos}\left(\mathrm{2}{chx}\right){dx}}{{x}^{\mathrm{2}} \:+\mathrm{4}}\:={Re}\left(\int_{−\infty} ^{+\infty} \:\frac{{e}^{{i}\mathrm{2}{ch}\left({x}\right)} }{{x}^{\mathrm{2}} \:+\mathrm{4}}{dx}\right)\:{let} \\ $$$${g}\left({z}\right)\:=\frac{{e}^{{i}\mathrm{2}{ch}\left({z}\right)} }{{z}^{\mathrm{2}} \:+\mathrm{4}}\:\Rightarrow{g}\left({z}\right)\:=\frac{{e}^{{i}\mathrm{2}{ch}\left({z}\right)} }{\left({z}−\mathrm{2}{i}\right)\left({z}+\mathrm{2}{i}\right)} \\ $$$$\int_{−\infty} ^{+\infty} \:{g}\left({z}\right){dz}\:=\mathrm{2}{i}\pi\:{Res}\left({g},\mathrm{2}{i}\right)\:=\mathrm{2}{i}\pi×\frac{{e}^{{i}\mathrm{2}{ch}\left(\mathrm{2}{i}\right)} }{\mathrm{4}{i}} \\ $$$$=\frac{\pi}{\mathrm{2}}\:{e}^{\mathrm{2}{icos}\left(\mathrm{2}\right)} \:=\frac{\pi}{\mathrm{2}}\left\{\:{cos}\left(\mathrm{2}{cos}\mathrm{2}\right)\:+{isin}\left(\mathrm{2}{cos}\mathrm{2}\right)\right)\:\Rightarrow \\ $$$${J}\:=\frac{\pi}{\mathrm{4}}{cos}\left(\mathrm{2}{cos}\mathrm{2}\right) \\ $$