Question Number 36197 by prof Abdo imad last updated on 30/May/18
$${find}\:{the}\:{value}\:{of}\:\:\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\:\:\frac{{dx}}{{cos}^{\mathrm{2}} {x}\:+\mathrm{3}\:{sin}^{\mathrm{2}} {x}} \\ $$
Commented by maxmathsup by imad last updated on 14/Aug/18
$${let}\:\:{A}\:=\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\:\frac{{dx}}{{cos}^{\mathrm{2}} {x}\:+\mathrm{3}{sin}^{\mathrm{2}} {x}} \\ $$$${A}\:=\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\frac{{dx}}{\frac{\mathrm{1}+{cos}\left(\mathrm{2}{x}\right)}{\mathrm{2}}+\frac{\mathrm{1}−{sin}\left(\mathrm{2}{x}\right)}{\mathrm{2}}}\:=\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\:\frac{\mathrm{2}{dx}}{\mathrm{2}\:\:+{cos}\left(\mathrm{2}{x}\right)−{sin}\left(\mathrm{2}{x}\right)} \\ $$$$=_{\mathrm{2}{x}={t}} \:\:\:\:\int_{\mathrm{0}} ^{\mathrm{4}\pi} \:\:\:\:\frac{{dt}}{\mathrm{2}+{cost}\:−{sint}}\:=\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\frac{{dt}}{\mathrm{2}+{cost}\:−{sint}}\:+\:\int_{\mathrm{2}\pi} ^{\mathrm{4}\pi} \:\:\:\:\frac{{dt}}{\mathrm{2}+{cost}−{sint}} \\ $$$${but}\:\int_{\mathrm{2}\pi} ^{\mathrm{4}\pi} \:\:\:\:\frac{{dt}}{\mathrm{2}+{cost}\:−{sint}}\:=_{{t}=\mathrm{2}\pi\:+\alpha} \:\:\:\:\:\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\frac{{d}\alpha}{\mathrm{2}+{cos}\alpha−{sin}\alpha}\:\Rightarrow \\ $$$${A}\:=\:\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\:\:\frac{\mathrm{2}{dt}}{\mathrm{2}+{cost}\:−{sint}}\:\:{changement}\:{e}^{{it}} \:={z}\:{give} \\ $$$${A}\:=\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\frac{\mathrm{2}}{\mathrm{2}\:+\frac{{z}+{z}^{−\mathrm{1}} }{\mathrm{2}}\:+\frac{{z}−{z}^{−\mathrm{1}} }{\mathrm{2}{i}}}\:\frac{{dz}}{{iz}} \\ $$$$=\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\:\:\frac{\mathrm{4}{dz}}{{iz}\left(\mathrm{4}\:+{z}\:+{z}^{−\mathrm{1}} \:−{i}\left({z}−{z}^{−} \right)\right)}\:=\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\frac{−\mathrm{4}{idz}}{\mathrm{4}{z}\:+{z}^{\mathrm{2}} \:+\mathrm{1}\:−{iz}^{\mathrm{2}} \:+{i}} \\ $$$$=\:\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\:\frac{−\mathrm{4}{iz}}{\left(\mathrm{1}−{i}\right){z}^{\mathrm{2}} \:+\mathrm{4}{z}\:+\mathrm{1}+{i}}\:\:{let}\:{consider}\:{the}\:{compolex}\:{function} \\ $$$$\varphi\left({z}\right)\:=\:\frac{−\mathrm{4}{i}}{\left(\mathrm{1}−{i}\right){z}^{\mathrm{2}} \:+\mathrm{4}{z}\:+\mathrm{1}+{i}}\:\:{poles}\:{of}\:\varphi? \\ $$$$\Delta^{'} \:=\mathrm{4}\:−\left(\mathrm{1}−{i}\right)\left(\mathrm{1}+{i}\right)\:=\mathrm{4}−\mathrm{2}=\mathrm{2}\:\Rightarrow\:{z}_{\mathrm{1}} =\frac{−\mathrm{2}\:+\sqrt{\mathrm{2}}}{\mathrm{1}−{i}}\:=\frac{\sqrt{\mathrm{2}}\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)}{\:\sqrt{\mathrm{2}}{e}^{−\frac{{i}\pi}{\mathrm{4}}} }\:=\left(\mathrm{1}−\sqrt{\mathrm{2}}\right){e}^{\frac{{i}\pi}{\mathrm{4}}} \\ $$$${z}_{\mathrm{2}} =\:\frac{−\mathrm{2}−\sqrt{\mathrm{2}}}{\mathrm{1}−{i}}\:=\frac{\sqrt{\mathrm{2}}\left(−\mathrm{1}−\sqrt{\mathrm{2}}\right)}{\:\sqrt{\mathrm{2}}{e}^{−\frac{{i}\pi}{\mathrm{4}}} }\:=\left(−\mathrm{1}−\sqrt{\mathrm{2}}\right)\:{e}^{\frac{{i}\pi}{\mathrm{4}}} \\ $$$$\mid{z}_{\mathrm{1}} \mid\:=\sqrt{\mathrm{2}}−\mathrm{1}<\mathrm{1}\:\:{and}\:\:\mid{z}_{\mathrm{2}} \mid\:=\sqrt{\mathrm{2}}+\mathrm{1}\:>\mathrm{1}\:\left({to}\:{eliminate}\:{from}\:{residus}\right)\:\Rightarrow \\ $$$$\int_{\mid{z}\mid=\mathrm{1}} \:\varphi\left({z}\right){dz}\:=\mathrm{2}{i}\pi\:{Res}\left(\varphi,{z}_{\mathrm{1}} \right)\:\:{but}\:\:\varphi\left({z}\right)\:=\frac{−\mathrm{4}{i}}{\left(\mathrm{1}−{i}\right)\left({z}−{z}_{\mathrm{1}} \right)\left({z}−{z}_{\mathrm{2}} \right)} \\ $$$${Res}\left(\varphi,{z}_{\mathrm{1}} \right)\:=\frac{−\mathrm{4}{i}}{\left(\mathrm{1}−{i}\right)\left({z}_{\mathrm{1}} −{z}_{\mathrm{2}} \right)}\:=\:\frac{−\mathrm{4}{i}}{\left(\mathrm{1}−{i}\right)\mathrm{2}\:{e}^{{i}\frac{\pi}{\mathrm{4}}} }\:=\:\frac{−\mathrm{2}{i}}{\:\sqrt{\mathrm{2}}}\:=\frac{−{i}}{\:\sqrt{\mathrm{2}}}\:\Rightarrow \\ $$$$\int_{\mid{z}\mid=\mathrm{1}\:} \:\:\varphi\left({z}\right){dz}\:=\mathrm{2}{i}\pi\left(\frac{−{i}}{\:\sqrt{\mathrm{2}}}\right)\:=\frac{\mathrm{2}\pi}{\:\sqrt{\mathrm{2}}}\:\Rightarrow\:{A}\:=\:\frac{\mathrm{2}\pi}{\:\sqrt{\mathrm{2}}}\:\:\Rightarrow\:{A}\:=\pi\sqrt{\mathrm{2}}. \\ $$