Question Number 62145 by maxmathsup by imad last updated on 16/Jun/19
$${calculate}\:\:\int_{\mathrm{0}} ^{\pi} {ln}\left({x}^{\mathrm{2}} −\mathrm{2}{xsin}\theta\:+\mathrm{1}\right){d}\theta \\ $$
Commented by maxmathsup by imad last updated on 17/Jun/19
$${let}\:{f}\left({x}\right)\:=\int_{\mathrm{0}} ^{\pi} {ln}\left({x}^{\mathrm{2}} −\mathrm{2}{xsin}\theta\:+\mathrm{1}\right){d}\theta\:\Rightarrow{f}^{'} \left({x}\right)\:=\int_{\mathrm{0}} ^{\pi} \:\frac{\mathrm{2}{x}−\mathrm{2}{sin}\theta}{{x}^{\mathrm{2}} −\mathrm{2}{xsin}\theta+\mathrm{1}}\:{d}\theta\:\Rightarrow \\ $$$$\frac{{f}^{'} \left({x}\right)}{\mathrm{2}}\:=\int_{\mathrm{0}} ^{\pi} \:\:\frac{{x}−{sin}\theta}{{x}^{\mathrm{2}} −\mathrm{2}{xsin}\theta\:+\mathrm{1}}{d}\theta\:=_{\theta=\frac{{t}}{\mathrm{2}}} \:\:\:\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\frac{{x}−{sin}\left(\frac{{t}}{\mathrm{2}}\right)}{{x}^{\mathrm{2}} −\mathrm{2}{x}\:{sin}\left(\frac{{t}}{\mathrm{2}}\right)+\mathrm{1}}\:\frac{{dt}}{\mathrm{2}} \\ $$$$\Rightarrow\:{f}^{'} \left({x}\right)\:=_{{z}\:={e}^{\frac{{it}}{\mathrm{2}}} } \:\:\:\:\:\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\:\frac{{x}−\frac{{z}−{z}^{−\mathrm{1}} }{\mathrm{2}{i}}}{{x}^{\mathrm{2}} −\mathrm{2}{x}\frac{{z}−{z}^{−\mathrm{1}} }{\mathrm{2}{i}}}\:\frac{\mathrm{2}{dz}}{{iz}} \\ $$$$=\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\:\:\frac{\mathrm{2}{ix}−{z}+{z}^{−\mathrm{1}} }{−{z}\left\{\:\mathrm{2}{ix}^{\mathrm{2}} −\mathrm{2}{xz}\:+\mathrm{2}{xz}^{−\mathrm{1}} \right\}}\:\left(\mathrm{2}{i}\right){dz} \\ $$$$=−\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\frac{−\mathrm{4}{x}−\mathrm{2}{iz}\:+\mathrm{2}{iz}^{−\mathrm{1}} }{\mathrm{2}{ix}^{\mathrm{2}} {z}−\mathrm{2}{xz}^{\mathrm{2}} \:+\mathrm{2}{x}}{dz} \\ $$$$=\int\:\frac{\mathrm{4}{x}+\mathrm{2}{iz}−\mathrm{2}{iz}^{−\mathrm{1}} }{−\mathrm{2}{xz}^{\mathrm{2}} \:+\mathrm{2}{ix}^{\mathrm{2}} {z}\:+\mathrm{2}{x}}{dz}\:=\frac{\mathrm{1}}{{x}}\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\:\frac{\mathrm{4}{xz}\:+\mathrm{2}{iz}^{\mathrm{2}} \:−\mathrm{2}{i}}{{z}\left(−\mathrm{2}{xz}^{\mathrm{2}} \:+\mathrm{2}{ix}^{\mathrm{2}} {z}\:+\mathrm{2}{x}\right\}}{dz}\:\:\:\left({x}\neq\mathrm{0}\right) \\ $$$$=−\frac{\mathrm{1}}{{x}}\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:\:\frac{{iz}^{\mathrm{2}} \:+\mathrm{2}{xz}\:−{i}}{{z}\left\{{z}^{\mathrm{2}} −{ixz}\:−\mathrm{1}\right\}}{dz}\:\:{let}\:{w}\left({z}\right)=\frac{{iz}^{\mathrm{2}} \:+\mathrm{2}{xz}\:−{i}}{{z}\left\{{z}^{\mathrm{2}} −{ixz}\:−\mathrm{1}\right\}}\:\:{poles}\:{of}\:{w}? \\ $$$${z}^{\mathrm{2}} −{ixz}\:−\mathrm{1}\:=\mathrm{0}\rightarrow\Delta^{'} \:=\left(−{ix}\right)^{\mathrm{2}} +\mathrm{1}\:=\mathrm{1}−{x}^{\mathrm{2}} \\ $$$${case}\:\mathrm{1}\:\:\:{x}>\mathrm{1}\:\Rightarrow\:\Delta^{'} \:=\left({i}\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\right)^{\mathrm{2}} \:\Rightarrow{z}_{\mathrm{1}} ={ix}+{i}\sqrt{{x}^{\mathrm{2}} −\mathrm{1}} \\ $$$${z}_{\mathrm{2}} ={ix}−{i}\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\:{and}\:{w}\left({z}\right)=\frac{{iz}^{\mathrm{2}} +\mathrm{2}{xz}−{i}}{{z}\left({z}−{z}_{\mathrm{1}} \right)\left({z}−{z}_{\mathrm{2}} \right)} \\ $$$$\mid{z}_{\mathrm{1}} \mid\:−\mathrm{1}=\mid{x}+\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\mid\:={x}+\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}−\mathrm{1}\:={x}−\mathrm{1}\:+\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}>\mathrm{0}\:\left({z}_{\mathrm{1}} {is}\:{out}\:{of}\:{circle}\right) \\ $$$$\mid{z}_{\mathrm{2}} \mid−\mathrm{1}\:=\mid{x}−\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\mid−\mathrm{1}\:={x}−\mathrm{1}−\sqrt{{x}^{\mathrm{2}} −\mathrm{1}} \\ $$$$\left({x}−\mathrm{1}\right)^{\mathrm{2}} −\left({x}^{\mathrm{2}} −\mathrm{1}\right)\:={x}^{\mathrm{2}} −\mathrm{2}{x}\:+\mathrm{1}−{x}^{\mathrm{2}} +\mathrm{1}\:=\mathrm{2}−\mathrm{2}{x}\:=\mathrm{2}\left(\mathrm{1}−{x}\right)<\mathrm{0}\:\Rightarrow\mid{z}_{\mathrm{2}} \mid<\mathrm{1} \\ $$$$\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\:{w}\left({z}\right){dz}\:=\mathrm{2}{i}\pi\:\left\{\:{Res}\left({w},{o}\right)\:+{Res}\left({w},{z}_{\mathrm{2}} \right)\right\} \\ $$$${Res}\left({w},\mathrm{0}\right)\:={lim}_{{z}\rightarrow\mathrm{0}} {zw}\left({z}\right)\:=\frac{−{i}}{{z}_{\mathrm{1}} {z}_{\mathrm{2}} }\:=\frac{−{i}}{−\mathrm{1}}\:={i}\: \\ $$$${Res}\left({w},{z}_{\mathrm{2}} \right)\:={lim}_{{z}\rightarrow{z}_{\mathrm{2}} } \:\:\:\left({z}−{z}_{\mathrm{2}} \right){w}\left({z}\right)\:=\frac{{iz}_{\mathrm{2}} ^{\mathrm{2}} \:+\mathrm{2}{xz}_{\mathrm{2}} −{i}}{{z}_{\mathrm{2}} \left({z}_{\mathrm{2}} −{z}_{\mathrm{1}} \right)}\:=\frac{{iz}_{\mathrm{2}} ^{\mathrm{2}} \:+\mathrm{2}{xz}_{\mathrm{2}} −{i}}{\left({ix}−{i}\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\right)^{\mathrm{2}} +\mathrm{1}} \\ $$$$=\frac{{i}\left({ix}−{i}\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\right)^{\mathrm{2}} \:+\mathrm{2}{x}\left({ix}−\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\right)\:−{i}}{\mathrm{1}−\left({x}+\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\right)^{\mathrm{2}} } \\ $$$$=\frac{−{i}\left({x}+\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}\right)^{\mathrm{2}} \:+\mathrm{2}{ix}^{\mathrm{2}} \:−\mathrm{2}{x}\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}−{i}}{\mathrm{1}−\left({x}^{\mathrm{2}} \:+\mathrm{2}{x}\sqrt{{x}^{\mathrm{2}} −\mathrm{1}}+{x}^{\mathrm{2}} −\mathrm{1}\right)}\:=….\:{be}\:{continued}… \\ $$$$ \\ $$$${m} \\ $$
Answered by perlman last updated on 16/Jun/19
$${let}\:{A}\left(\theta\right)=\int_{\mathrm{0}} ^{\pi} {ln}\left({x}^{\mathrm{2}} −\mathrm{2}{xcos}\left(\theta\right)+\mathrm{1}\right){d}\theta \\ $$$$\theta\in{IR}\backslash\left\{\mathrm{2}{k}\pi,{k}\in{IZ}\right\} \\ $$$${A}\left(\theta\right)=\left[{xln}\left({x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}\right)\right]_{\mathrm{0}} ^{\pi} −\int\frac{\mathrm{2}{x}^{\mathrm{2}} −\mathrm{2}{xcos}\left(\theta\right)}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}{dx} \\ $$$$=\pi{ln}\left(\pi^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right)\pi+\mathrm{1}\right)−\mathrm{2}\int_{\mathrm{0}} ^{\pi} \frac{{x}^{\mathrm{2}} −{xcos}\left(\theta\right)}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}{dx} \\ $$$$\frac{{x}^{\mathrm{2}} −{xcos}\left(\theta\right)}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}=\mathrm{1}+\frac{{xcos}\left(\theta\right)−\mathrm{1}}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}} \\ $$$${A}\left(\theta\right)=\pi{ln}\left(\pi^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right)\pi+\mathrm{1}\right)−\mathrm{2}\int_{\mathrm{0}} ^{\pi} \mathrm{1}+\frac{{xcos}\left(\theta\right)−\mathrm{1}}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}{dx} \\ $$$${the}\:\mathrm{2}\:{nd}\:{integral}\: \\ $$$$=−\mathrm{2}\pi\:−\mathrm{2}\int_{\mathrm{0}} ^{\pi} \frac{{xcos}\left(\theta\right)−\mathrm{1}}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}{dx}=−\mathrm{2}\pi−\int_{\mathrm{0}} ^{\pi} \frac{{cos}\left(\theta\right)\left[\mathrm{2}{x}−\mathrm{2}{cos}\left(\theta\right)\right]−\mathrm{2}+\mathrm{2}{cos}^{\mathrm{2}} \left(\theta\right)}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}{dx} \\ $$$$=−\mathrm{2}\pi−{cos}\left(\theta\right)\int_{\mathrm{0}} ^{\pi} \frac{\mathrm{2}{x}−\mathrm{2}{cos}\left(\theta\right)}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}{dx}+\mathrm{2}\int\frac{{sin}^{\mathrm{2}} \left(\theta\right)}{{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}}{dx} \\ $$$$=−\mathrm{2}\pi−{cos}\left(\theta\right)\left[{ln}\left[{x}^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}\rceil_{\mathrm{0}} ^{\pi} +\mathrm{2}{sin}^{\mathrm{2}} \theta\int_{\mathrm{0}} ^{\pi} \frac{\mathrm{1}}{\left({x}−{cos}\left(\theta\right)\right)^{\mathrm{2}} +\mathrm{sin}\:^{\mathrm{2}} \left(\theta\right)}{dx}\right.\right. \\ $$$$=\mathrm{2}\pi−{cos}\left(\theta\right){ln}\left(\pi\mathrm{2}−\mathrm{2}{cos}\left(\theta\right)\pi+\mathrm{1}\right)+\mathrm{2}\int_{\mathrm{0}} ^{\pi} \frac{\mathrm{1}}{\left(\frac{{x}}{\mathrm{sin}\left(\theta\right)}−\mathrm{cot}\:\left(\theta\right)\right)^{\mathrm{2}} +\mathrm{1}}{dx}\:{if}\:{sin}\neq\mathrm{0} \\ $$$$=−\mathrm{2}\pi−{cos}\left(\theta\right){ln}\left(\pi^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right)\pi+\mathrm{1}\right)+\mathrm{2}{sin}\left(\theta\right)\left\{\mathrm{tan}^{−\mathrm{1}} \left\{\frac{{x}}{{sin}\theta}−\mathrm{cot}\:\left(\theta\right)\right\}_{\mathrm{0}} ^{\pi} \right\} \\ $$$$=−\mathrm{2}\pi−{cos}\left(\theta\right){ln}\left\{\pi^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right)\pi+\mathrm{1}\right\}+\mathrm{2}{sin}\left(\theta\right)\left\{\mathrm{tan}^{−\mathrm{1}} \left\{\frac{\pi}{{sin}\left(\theta\right)}−\mathrm{cot}\:\left(\theta\right)\right\}−\mathrm{tan}^{−\mathrm{1}} \left\{\mathrm{cot}\:\left(−\theta\right)\right\}\right. \\ $$$$=−\mathrm{2}\pi−{cos}\left(\theta\right){ln}\left\{\pi^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right)\pi+\mathrm{1}\right\}+\mathrm{2}{sin}\left(\theta\right)\left\{{arctan}\left\{\frac{\pi}{{sin}\left(\theta\right)}−{cot}\left(\theta\right)\right\}−{arctan}\left({tg}\left(\frac{\pi}{\mathrm{2}}+\theta\right)\right)\right. \\ $$$${A}\left(\theta\right)=−\mathrm{2}\pi+\left(\pi−{cos}\left(\theta\right)\right){ln}\left(\pi^{\mathrm{2}} −\mathrm{2}{cos}\left(\theta\right){x}+\mathrm{1}\right)+\mathrm{2}{sin}\left(\theta\right){arctan}\left(\frac{\pi−{cos}\left(\theta\right)}{{sin}\left(\theta\right)}\right)−\mathrm{2}{sin}\left(\theta\right){arctan}\left({tan}\left(\frac{\pi}{\mathrm{2}}+\theta\right)\right) \\ $$$$\left.{arctan}\left({tg}\left({a}\right)\right)={a}\:{if}\:{a}\in\right]\frac{−\pi}{\mathrm{2}}.\frac{\pi}{\mathrm{2}}\left[\right. \\ $$$$\left.{if}\:{a}\in\right]−\frac{\pi}{\mathrm{2}}+{k}\pi.\frac{\pi}{\mathrm{2}}+{k}\pi\left[\right. \\ $$$${arctantg}\left({a}\right)={a}−{k}\pi \\ $$$$ \\ $$