Question Number 199368 by sonukgindia last updated on 02/Nov/23
Answered by qaz last updated on 02/Nov/23
$$\int_{−\infty} ^{+\infty} \frac{{x}^{\mathrm{2}} }{\left({x}^{\mathrm{2}} +\mathrm{1}\right)\left({x}^{\mathrm{2}} +\mathrm{4}\right)}{dx} \\ $$$$=\mathrm{2}\pi{i}\left(\left[\left({z}−{i}\right)^{−\mathrm{1}} \right]+\left[\left({z}−\mathrm{2}{i}\right)^{−\mathrm{1}} \right]\right)\frac{{z}^{\mathrm{2}} }{\left({z}^{\mathrm{2}} +\mathrm{1}\right)\left({z}^{\mathrm{2}} +\mathrm{4}\right)} \\ $$$$=\mathrm{2}\pi{i}\left[{z}^{\mathrm{0}} \right]\left(\frac{\left({z}+{i}\right)^{\mathrm{2}} }{\left({z}+\mathrm{2}{i}\right)\left(\left({z}+{i}\right)^{\mathrm{2}} +\mathrm{4}\right)}+\frac{\left({z}+\mathrm{2}{i}\right)^{\mathrm{2}} }{\left(\left({z}+\mathrm{2}{i}\right)^{\mathrm{2}} +\mathrm{1}\right)\left({z}+\mathrm{4}{i}\right)}\right) \\ $$$$=\frac{\pi}{\mathrm{3}} \\ $$
Answered by mr W last updated on 02/Nov/23
$$\frac{{x}^{\mathrm{2}} }{\left({x}^{\mathrm{2}} +\mathrm{1}\right)\left({x}^{\mathrm{2}} +\mathrm{4}\right)}=\frac{{A}}{{x}^{\mathrm{2}} +\mathrm{1}}+\frac{{B}}{{x}^{\mathrm{2}} +\mathrm{4}}=\frac{\left({A}+{B}\right){x}^{\mathrm{2}} +\mathrm{4}{A}+{B}}{\left({x}^{\mathrm{2}} +\mathrm{1}\right)\left({x}^{\mathrm{2}} +\mathrm{4}\right)} \\ $$$${A}+{B}=\mathrm{1} \\ $$$$\mathrm{4}{A}+{B}=\mathrm{0} \\ $$$$\Rightarrow{A}=−\frac{\mathrm{1}}{\mathrm{3}},\:{B}=\frac{\mathrm{4}}{\mathrm{3}} \\ $$$$\int_{−\infty} ^{+\infty} \frac{{x}^{\mathrm{2}} }{\left({x}^{\mathrm{2}} +\mathrm{1}\right)\left({x}^{\mathrm{2}} +\mathrm{4}\right)}{dx} \\ $$$$=\mathrm{2}\int_{\mathrm{0}} ^{+\infty} \frac{{x}^{\mathrm{2}} }{\left({x}^{\mathrm{2}} +\mathrm{1}\right)\left({x}^{\mathrm{2}} +\mathrm{4}\right)}{dx} \\ $$$$=\mathrm{2}\left\{−\frac{\mathrm{1}}{\mathrm{3}}\int_{\mathrm{0}} ^{+\infty} \frac{{dx}}{{x}^{\mathrm{2}} +\mathrm{1}}+\frac{\mathrm{4}}{\mathrm{3}}\int_{\mathrm{0}} ^{+\infty} \frac{{dx}}{{x}^{\mathrm{2}} +\mathrm{4}}\right\} \\ $$$$=\mathrm{2}\left\{−\frac{\mathrm{1}}{\mathrm{3}}\left[\mathrm{tan}^{−\mathrm{1}} {x}\right]_{\mathrm{0}} ^{\infty} +\frac{\mathrm{4}}{\mathrm{3}}\left[\frac{\mathrm{1}}{\mathrm{2}}\mathrm{tan}^{−\mathrm{1}} \frac{{x}}{\mathrm{2}}\underset{\mathrm{0}} {\right]}^{\infty} \right\} \\ $$$$=\mathrm{2}\left\{−\frac{\mathrm{1}}{\mathrm{3}}×\frac{\pi}{\mathrm{2}}+\frac{\mathrm{4}}{\mathrm{3}}×\frac{\mathrm{1}}{\mathrm{2}}×\frac{\pi}{\mathrm{2}}\right\} \\ $$$$=\frac{\pi}{\mathrm{3}}\:\checkmark \\ $$