Question Number 35061 by math khazana by abdo last updated on 14/May/18
$${find}\:\:\:\int_{\mathrm{0}} ^{\infty} \:\:\:\:\:\:\:\frac{{x}^{\mathrm{2}} \:+\mathrm{3}}{\left({x}^{\mathrm{4}} \:+\mathrm{1}\right)^{\mathrm{2}} }{dx} \\ $$
Commented by math khazana by abdo last updated on 15/May/18
$${let}\:{put}\:{I}\:=\:\int_{\mathrm{0}} ^{\infty} \:\:\frac{{x}^{\mathrm{2}} +\mathrm{3}}{\left({x}^{\mathrm{4}} \:+\mathrm{1}\right)^{\mathrm{2}} }{dx} \\ $$$$\mathrm{2}{I}\:\:=\int_{−\infty} ^{+\infty} \:\:\:\:\frac{{x}^{\mathrm{2}} \:+\mathrm{3}}{\left({x}^{\mathrm{4}} \:+\mathrm{1}\right)^{\mathrm{2}} }{dx}\:{let}\:{consider}\:{the}\:{complex} \\ $$$${function}\:{f}\left({z}\right)\:=\:\frac{{z}^{\mathrm{2}} \:+\mathrm{3}}{\left({z}^{\mathrm{4}} \:+\mathrm{1}\right)^{\mathrm{2}} } \\ $$$${f}\left({z}\right)\:=\:\frac{{z}^{\mathrm{2}} +\mathrm{3}}{\left({z}^{\mathrm{2}} −{i}\right)^{\mathrm{2}} \left({z}^{\mathrm{2}} +{i}\right)^{\mathrm{2}} }\:=\:\frac{{z}^{\mathrm{2}} \:+\mathrm{3}}{\left({z}−\sqrt{{i}}\right)^{\mathrm{2}} \left({z}+\sqrt{{i}}\right)^{\mathrm{2}} \left({z}−\sqrt{−{i}}\right)^{\mathrm{2}} \left({z}\:+\sqrt{−{i}}\right)^{\mathrm{2}} } \\ $$$$=\:\frac{{z}^{\mathrm{2}} \:+\mathrm{3}}{\left({z}−{e}^{{i}\frac{\pi}{\mathrm{4}}} \right)^{\mathrm{2}} \left({z}\:+{e}^{{i}\frac{\pi}{\mathrm{4}}} \right)^{\mathrm{2}} \left({z}\:−{e}^{−{i}\frac{\pi}{\mathrm{4}}} \right)^{\mathrm{2}} \left({z}\:+{e}^{−{i}\frac{\pi}{\mathrm{4}}} \right)^{\mathrm{2}} } \\ $$$${all}\:{poles}\:{of}\:{f}\:{are}\:{doubles} \\ $$$$\int_{−\infty} ^{+\infty} {f}\left({z}\right){dz}\:=\mathrm{2}{i}\pi\left\{\:{Res}\left({f}\:,{e}^{{i}\frac{\pi}{\mathrm{4}}} \right)\:+{Res}\left({f},\:−{e}^{−{i}\frac{\pi}{\mathrm{4}}} \right)\right\} \\ $$$${Res}\left({f}\:,{e}^{{i}\frac{\pi}{\mathrm{4}}} \right)\:={lim}_{{z}\rightarrow{e}^{{i}\frac{\pi}{\mathrm{4}}} } \:\:\:\:\frac{\mathrm{1}}{\left(\mathrm{2}−\mathrm{1}\right)!}\:\left\{\:\left({z}−{e}^{{i}\frac{\pi}{\mathrm{4}}} \right)^{\mathrm{2}} {f}\left({z}\right)\right\}^{'} \\ $$$$={lim}_{{z}\rightarrow{e}^{{i}\frac{\pi}{\mathrm{4}}} } \:\:\:\:\:\left(\:\frac{{z}^{\mathrm{2}} \:+\mathrm{3}}{\left({z}\:+\sqrt{{i}}\right)^{\mathrm{2}} \left({z}^{\mathrm{2}} \:+{i}\right)^{\mathrm{2}} }\right)^{'} \:\:\: \\ $$$$=\:{lim}_{{z}\rightarrow{e}^{{i}\frac{\pi}{\mathrm{4}}} } \:\:\:\frac{\mathrm{2}{z}\:\left({z}\:+\sqrt{{i}}\right)^{\mathrm{2}} \left({z}^{\mathrm{2}} \:+{i}\right)^{\mathrm{2}} \:−\:\left({z}^{\mathrm{2}} +\mathrm{3}\right)\left(\:\mathrm{2}\left({z}+\sqrt{{i}}\right)\left({z}^{\mathrm{2}} +{i}\right)^{\mathrm{2}} \:+\mathrm{4}{z}\left({z}^{\mathrm{2}} +{i}\right)\left({z}+\sqrt{{i}}\right)^{\mathrm{2}} \right)}{\left({z}+\sqrt{{i}}\right)^{\mathrm{4}} \left({z}^{\mathrm{2}} \:+{i}\right)^{\mathrm{4}} } \\ $$$$={lim}_{{z}\rightarrow{e}^{{i}\frac{\pi}{\mathrm{4}}} } \:\:\frac{\mathrm{2}{z}\left({z}+\sqrt{{i}}\right)\left({z}^{\mathrm{2}} \:+{i}\right)\:−\mathrm{2}\left({z}^{\mathrm{2}} +\mathrm{3}\right)\left({z}^{\mathrm{2}} \:+{i}\:+\mathrm{4}{z}\left({z}+\sqrt{{i}}\right)\right)}{\left({z}\:+\sqrt{{i}}\right)^{\mathrm{3}} \left({z}^{\mathrm{2}} \:+{i}\right)^{\mathrm{3}} } \\ $$$$=\:\frac{\mathrm{2}{e}^{{i}\frac{\pi}{\mathrm{4}}} \:\mathrm{2}{e}^{{i}\frac{\pi}{\mathrm{4}}} \left(\mathrm{2}{i}\right)\:−\mathrm{2}\left({i}+\mathrm{3}\right)\left(\mathrm{2}{i}\:+\mathrm{4}{e}^{{i}\frac{\pi}{\mathrm{4}}} \left(\mathrm{2}{e}^{{i}\frac{\pi}{\mathrm{4}}} \right)\right.}{\left(\mathrm{2}{e}^{{i}\frac{\pi}{\mathrm{4}}} \right)^{\mathrm{2}} \left(\mathrm{2}{i}\right)^{\mathrm{3}} } \\ $$$$=\frac{−\mathrm{8}\:−\mathrm{2}\left({i}+\mathrm{3}\right)\left(\mathrm{10}{i}\right)}{−\mathrm{8}{i}\:.\mathrm{4}{i}}\:=\:\frac{\mathrm{8}\:\:+\mathrm{20}{i}\left({i}+\mathrm{3}\right)}{−\mathrm{32}} \\ $$$$=\:−\frac{\mathrm{8}\:−\mathrm{20}\:+\mathrm{60}{i}}{\mathrm{32}}\:=−\frac{−\mathrm{12}\:+\mathrm{60}{i}}{\mathrm{32}}\:=\frac{−\mathrm{3}\:+\mathrm{15}{i}}{\mathrm{8}} \\ $$$${for}\:{Res}\left({f}\:,−{e}^{−{i}\frac{\pi}{\mathrm{4}}} \right)\:\:{wefolow}\:\:{the}\:{same}\:{method}… \\ $$$${be}\:{continued}… \\ $$
Answered by tanmay.chaudhury50@gmail.com last updated on 16/May/18
$$=\int_{\mathrm{0}} ^{\infty} \frac{{x}^{\mathrm{2}} +\mathrm{3}}{{x}^{\mathrm{4}} \left({x}^{\mathrm{2}} +\frac{\mathrm{1}}{{x}^{\mathrm{2}} \:}\right)^{\mathrm{2}} } \\ $$$$=\int_{\mathrm{0}} ^{\infty} \frac{\frac{\mathrm{1}}{{x}^{\mathrm{2}\:} }}{\left({x}^{\mathrm{2}} +\frac{\mathrm{1}}{{x}^{\mathrm{2}\:} \:\:}\right)^{\mathrm{2}\:} }+\int_{\mathrm{0}} ^{\infty} \frac{\frac{\mathrm{3}}{{x}^{\mathrm{4}} }}{\left({x}^{\mathrm{2}} +\frac{\mathrm{1}}{{x}^{\mathrm{2}} \:\:}\right)^{\mathrm{2}} } \\ $$$${I}_{\mathrm{1}} =\frac{\mathrm{1}}{\mathrm{2}}\int_{\mathrm{0}} ^{\infty} \frac{\left(\mathrm{1}+\frac{\mathrm{1}}{{x}^{\mathrm{2}} \:\:}\right)−\left(\mathrm{1}−\frac{\mathrm{1}}{{x}^{\mathrm{2}} \:}\right)}{\left({x}^{\mathrm{2}} +\frac{\mathrm{1}}{{x}^{\mathrm{2}} }\:\right)^{\mathrm{2}\:} }{dx} \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}}\int_{\mathrm{0}} ^{\infty} \frac{\left(\mathrm{1}+\frac{\mathrm{1}}{{x}^{\mathrm{2}} \:}\right)\:{dx}}{\left\{\left({x}−\frac{\mathrm{1}}{{x}}\right)^{\mathrm{2}} +\mathrm{2}\right\}^{\mathrm{2}} \:}\:−\frac{\mathrm{1}}{\mathrm{2}}\int_{\mathrm{0}} ^{\infty} \frac{\left(\mathrm{1}−\frac{\mathrm{1}}{{x}^{\mathrm{2}} \:}\right)\:{dx}}{\left\{\left({x}+\frac{\mathrm{1}}{{x}}\right)^{\mathrm{2}} −\mathrm{2}\right\}^{\mathrm{2}} } \\ $$$${contd} \\ $$$${z}_{\mathrm{1}} ={x}−\frac{\mathrm{1}}{{x}}\:\:\:\:\:\:\:{z}_{\mathrm{2}\:} ={x}+\frac{\mathrm{1}}{{x}}\:\: \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int_{−\infty} ^{\infty} \frac{{dz}_{\mathrm{1}} }{\left({z}_{\mathrm{1}} ^{\mathrm{2}} +\mathrm{2}\right)^{\mathrm{2}\:} }\:\:\:\:\:\:−\frac{\mathrm{1}}{\mathrm{2}}\int_{\infty} ^{\infty} \frac{{dz}_{\mathrm{2}} }{\left({z}_{\mathrm{2}} ^{\mathrm{2}} −\mathrm{2}\right)^{\mathrm{2}} }\rightarrow{its}\:{value}\:\mathrm{0} \\ $$$${z}_{\mathrm{1}} =\sqrt{\mathrm{2}}\:{tan}\theta \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int_{−\Pi/\mathrm{2}} ^{\Pi/\mathrm{2}} \frac{\sqrt{\mathrm{2}}\:{sec}^{\mathrm{2}} \theta}{\mathrm{2}^{\mathrm{2}} {sec}^{\mathrm{4}} \theta}\:{d}\theta \\ $$$$\frac{\sqrt{\mathrm{2}}}{\mathrm{8}}\int_{−\Pi/\mathrm{2}} ^{\Pi/\mathrm{2}} \frac{\mathrm{1}+{cos}\mathrm{2}\theta}{\mathrm{2}}{d}\theta \\ $$$$=\frac{\sqrt{\mathrm{2}}}{\mathrm{16}}\left(\Pi\right)+\frac{\sqrt{\mathrm{2}}\:}{\mathrm{16}}×\mid\frac{{sin}\mathrm{2}\theta}{\mathrm{2}}\mid_{−\Pi/\mathrm{2}} ^{\Pi/\mathrm{2}} \\ $$$$=\frac{\sqrt{\mathrm{2}}\left(\Pi\right)}{\mathrm{16}}+\frac{\sqrt{\mathrm{2}\:}\:}{\mathrm{32}}\left\{{sin}\Pi−{sin}\left(−\Pi\right)\right\} \\ $$$$=\sqrt{\mathrm{2}}\:\frac{\Pi}{\mathrm{16}} \\ $$$${pls}\:{check} \\ $$$$ \\ $$
Answered by MJS last updated on 15/May/18
$$\int\frac{{x}^{\mathrm{2}} +\mathrm{3}}{\left({x}^{\mathrm{4}} +\mathrm{1}\right)^{\mathrm{2}} }{dx}={i} \\ $$$$\:\:\:\:\:\:\:\:\:\:\begin{bmatrix}{\mathrm{Ostrogradski}'\mathrm{s}\:\mathrm{Method}}\\{\int\frac{{p}\left({x}\right)}{{q}\left({x}\right)}{dx}=\frac{{p}_{\mathrm{1}} \left({x}\right)}{{q}_{\mathrm{1}} \left({x}\right)}+\int\frac{{p}_{\mathrm{2}} \left({x}\right)}{{q}_{\mathrm{2}} \left({x}\right)}{dx}}\\{{q}_{\mathrm{1}} \left({x}\right)=\mathrm{gcd}\left({q}\left({x}\right),{q}'\left({x}\right)\right)}\\{{q}_{\mathrm{2}} \left({x}\right)=\frac{{q}\left({x}\right)}{{q}_{\mathrm{1}} \left({x}\right)}}\\{{p}\left({x}\right)={x}^{\mathrm{2}} +\mathrm{3};\:{q}\left({x}\right)=\left({x}^{\mathrm{4}} +\mathrm{1}\right)^{\mathrm{2}} }\\{{q}'\left({x}\right)=\mathrm{8}{x}^{\mathrm{3}} \left({x}^{\mathrm{4}} +\mathrm{1}\right);\:{q}_{\mathrm{1}} \left({x}\right)={q}_{\mathrm{2}} \left({x}\right)={x}^{\mathrm{4}} +\mathrm{1}}\\{\mathrm{now}\:\mathrm{we}\:\mathrm{calculate}\:\mathrm{the}\:\mathrm{factors}\:\mathrm{of}}\\{{p}_{\mathrm{1}} \left({x}\right)\:\mathrm{and}\:{p}_{\mathrm{2}} \left({x}\right)\:\mathrm{with}\:\mathrm{degree}\left({p}_{{n}} \right)<\mathrm{degree}\left({q}_{{n}} \right)}\\{\mathrm{using}\:\mathrm{this}\:\mathrm{equation}\:\left(\mathrm{comparing}\:\mathrm{factors}\right)}\\{\frac{{p}\left({x}\right)}{{q}\left({x}\right)}=\frac{{d}}{{dx}}\left[\frac{{p}_{\mathrm{1}} \left({x}\right)}{{q}_{\mathrm{1}} \left({x}\right)}\right]+\frac{{p}_{\mathrm{2}} \left({x}\right)}{{q}_{\mathrm{2}} \left({x}\right)}}\\{{p}_{\mathrm{1}} \left({x}\right)={a}_{\mathrm{1}} {x}^{\mathrm{3}} +{b}_{\mathrm{1}} {x}^{\mathrm{2}} +{c}_{\mathrm{1}} {x}+{d}_{\mathrm{1}} }\\{{p}_{\mathrm{2}} \left({x}\right)={a}_{\mathrm{2}} {x}^{\mathrm{3}} +{b}_{\mathrm{2}} {x}^{\mathrm{2}} +{c}_{\mathrm{2}} {x}+{d}_{\mathrm{2}} }\\{\Rightarrow\:{p}_{\mathrm{1}} \left({x}\right)=\frac{\mathrm{1}}{\mathrm{4}}\left({x}^{\mathrm{3}} +\mathrm{3}{x}\right);\:{p}_{\mathrm{2}} \left({x}\right)=\frac{\mathrm{1}}{\mathrm{4}}\left({x}^{\mathrm{2}} +\mathrm{9}\right)}\end{bmatrix} \\ $$$$=\frac{{x}\left({x}^{\mathrm{2}} +\mathrm{3}\right)}{\mathrm{4}\left({x}^{\mathrm{4}} +\mathrm{1}\right)}+\frac{\mathrm{1}}{\mathrm{4}}\int\frac{{x}^{\mathrm{2}} +\mathrm{9}}{{x}^{\mathrm{4}} +\mathrm{1}}{dx}= \\ $$$$ \\ $$$$\:\:\:\:\:\:\:\:\:\:\int\frac{{x}^{\mathrm{2}} +\mathrm{9}}{{x}^{\mathrm{4}} +\mathrm{1}}{dx}=\int\frac{{x}^{\mathrm{2}} +\mathrm{9}}{\left({x}^{\mathrm{2}} +\sqrt{\mathrm{2}}{x}+\mathrm{1}\right)\left({x}^{\mathrm{2}} −\sqrt{\mathrm{2}}{x}+\mathrm{1}\right)}{dx}= \\ $$$$\:\:\:\:\:\:\:\:\:\:=\frac{\sqrt{\mathrm{2}}}{\mathrm{4}}\int\left(\frac{\mathrm{8}{x}+\mathrm{9}\sqrt{\mathrm{2}}}{{x}^{\mathrm{2}} +\sqrt{\mathrm{2}}{x}+\mathrm{1}}−\frac{\mathrm{8}{x}−\mathrm{9}\sqrt{\mathrm{2}}}{{x}^{\mathrm{2}} −\sqrt{\mathrm{2}}{x}+\mathrm{1}}\right){dx}= \\ $$$$\:\:\:\:\:\:\:\:\:\:=\frac{\sqrt{\mathrm{2}}}{\mathrm{4}}\int\left(\mathrm{4}\frac{\mathrm{2}{x}+\sqrt{\mathrm{2}}}{{x}^{\mathrm{2}} +\sqrt{\mathrm{2}}{x}+\mathrm{1}}+\mathrm{5}\sqrt{\mathrm{2}}\frac{\mathrm{1}}{{x}^{\mathrm{2}} +\sqrt{\mathrm{2}}{x}+\mathrm{1}}−\mathrm{4}\frac{\mathrm{2}{x}−\sqrt{\mathrm{2}}}{{x}^{\mathrm{2}} −\sqrt{\mathrm{2}}{x}+\mathrm{1}}+\mathrm{5}\sqrt{\mathrm{2}}\frac{\mathrm{1}}{{x}^{\mathrm{2}} −\sqrt{\mathrm{2}}{x}+\mathrm{1}}\right){dx}= \\ $$$$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\begin{bmatrix}{\mathrm{the}\:\mathrm{1}^{\mathrm{st}} \:\mathrm{and}\:\mathrm{3}^{\mathrm{rd}} \:\mathrm{terms}\:\mathrm{are}\:\mathrm{of}\:\mathrm{the}\:\mathrm{form}}\\{{F}\left({x}\right)=\int{a}\frac{{f}'\left({x}\right)}{{f}\left({x}\right)}{dx}\:\Rightarrow\:{F}\left({x}\right)={a}\mathrm{ln}\left({f}\left({x}\right)\right)}\\{\mathrm{the}\:\mathrm{2}^{\mathrm{nd}} \:\mathrm{and}\:\mathrm{4}^{\mathrm{th}} \:\mathrm{terms}\:\mathrm{can}\:\mathrm{be}\:\mathrm{solved}\:\mathrm{using}}\\{{u}=\sqrt{\mathrm{2}}{x}\pm\mathrm{1}\:\rightarrow\:{dx}=\frac{{du}}{\:\sqrt{\mathrm{2}}}\:\mathrm{and}\:\mathrm{lead}\:\mathrm{to}}\\{{F}\left({x}\right)=\sqrt{\mathrm{2}}\int\frac{{du}}{{u}^{\mathrm{2}} +\mathrm{2}}\:\Rightarrow\:{F}\left({x}\right)=\sqrt{\mathrm{2}}\mathrm{arctan}\left({u}\right)}\end{bmatrix} \\ $$$$\:\:\:\:\:\:\:\:\:\:=\sqrt{\mathrm{2}}\left(\mathrm{ln}\left({x}^{\mathrm{2}} +\sqrt{\mathrm{2}}{x}+\mathrm{1}\right)−\mathrm{ln}\left({x}^{\mathrm{2}} −\sqrt{\mathrm{2}}{x}+\mathrm{1}\right)\right)+\frac{\mathrm{5}\sqrt{\mathrm{2}}}{\mathrm{2}}\left(\mathrm{arctan}\left(\sqrt{\mathrm{2}}{x}+\mathrm{1}\right)+\mathrm{arctan}\left(\sqrt{\mathrm{2}}{x}−\mathrm{1}\right)\right) \\ $$$$ \\ $$$$=\frac{{x}\left({x}^{\mathrm{2}} +\mathrm{3}\right)}{\mathrm{4}\left({x}^{\mathrm{4}} +\mathrm{1}\right)}+\frac{\sqrt{\mathrm{2}}}{\mathrm{4}}\mathrm{ln}\left(\frac{\mid{x}^{\mathrm{2}} +\sqrt{\mathrm{2}}{x}+\mathrm{1}\mid}{\mid{x}^{\mathrm{2}} −\sqrt{\mathrm{2}}{x}+\mathrm{1}\mid}\right)+\frac{\mathrm{5}\sqrt{\mathrm{2}}}{\mathrm{8}}\left(\mathrm{arctan}\left(\sqrt{\mathrm{2}}{x}+\mathrm{1}\right)+\mathrm{arctan}\left(\sqrt{\mathrm{2}}{x}−\mathrm{1}\right)\right)+{C} \\ $$$$ \\ $$$$\underset{\mathrm{0}} {\overset{\infty} {\int}}\frac{{x}^{\mathrm{2}} +\mathrm{3}}{\left({x}^{\mathrm{4}} +\mathrm{1}\right)^{\mathrm{2}} }{dx}=\frac{\mathrm{5}\sqrt{\mathrm{2}}}{\mathrm{8}}\pi \\ $$