Question Number 39633 by abdo mathsup 649 cc last updated on 09/Jul/18
$${find}\:{the}\:{value}\:{of}\: \\ $$$${f}\left({x}\right)\:=\:\int_{\mathrm{0}} ^{\pi} {ln}\left({x}^{\mathrm{2}} \:−\mathrm{2}{x}\:{cos}\theta\:+\mathrm{1}\right){d}\theta\:\:{with}\:{x}\:{fromR}. \\ $$
Commented by math khazana by abdo last updated on 09/Jul/18
$${we}\:{have}\:\:{f}^{'} \left({x}\right)=\:\int_{\mathrm{0}} ^{\pi} \:\:\:\frac{\mathrm{2}{x}−\mathrm{2}{cos}\theta}{{x}^{\mathrm{2}\:} \:−\mathrm{2}{xcos}\theta\:+\mathrm{1}}{d}\theta \\ $$$$=_{\theta=\mathrm{2}{t}} \:\:\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\:\:\frac{\mathrm{2}{x}−\mathrm{2}{cos}\left(\mathrm{2}{t}\right)}{{x}^{\mathrm{2}} \:−\mathrm{2}{xcos}\left(\mathrm{2}{t}\right)\:+\mathrm{1}}\:\mathrm{2}{dt} \\ $$$$=\:\mathrm{4}\:\:\int_{\mathrm{0}} ^{\mathrm{2}\pi} \:\:\:\frac{{x}−{cos}\left(\mathrm{2}{t}\right)}{{x}^{\mathrm{2}} \:\:−\mathrm{2}{xcos}\left(\mathrm{2}{t}\right)+\mathrm{1}}{dt}\:\:{changement} \\ $$$${e}^{{it}} ={z}\:{give} \\ $$$${f}^{'} \left({x}\right)=\mathrm{4}\:\int_{\mid{z}\mid=\mathrm{1}} \:\frac{{x}−\frac{{z}^{\mathrm{2}} \:+{z}^{−\mathrm{2}} }{\mathrm{2}}}{{x}^{\mathrm{2}} \:−\mathrm{2}{x}\:\frac{{z}^{\mathrm{2}} \:+{z}^{−\mathrm{2}} }{\mathrm{2}}\:+\mathrm{1}}\:\frac{{dz}}{{iz}} \\ $$$$=\mathrm{4}\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\frac{\mathrm{2}{x}−{z}^{\mathrm{2}} \:−{z}^{−\mathrm{2}} }{{iz}\left({x}^{\mathrm{2}} \:−{xz}^{\mathrm{2}} \:−{xz}^{−\mathrm{2}} +\mathrm{1}\right)}{dz} \\ $$$$=\mathrm{4}\:\int_{\mid{z}\mid=\mathrm{1}} \:\frac{\mathrm{2}{xz}^{\mathrm{2}} \:−{z}^{\mathrm{4}} \:−\mathrm{1}}{{iz}\left({x}^{\mathrm{2}} \:{z}^{\mathrm{2}} \:−{x}\:{z}^{\mathrm{4}} \:−{x}\:+{z}^{\mathrm{2}} \right)}{dz} \\ $$$$=−\mathrm{4}{i}\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\frac{−{z}^{\mathrm{4}} \:+\mathrm{2}{xz}^{\mathrm{2}} \:−\mathrm{1}}{{z}\left(−{xz}^{\mathrm{4}} \:+\left(\mathrm{1}+{x}^{\mathrm{2}} \right){z}^{\mathrm{2}} \:−{x}\right)}{dz} \\ $$$$=−\mathrm{4}{i}\:\int_{\mid{z}\mid=\mathrm{1}} \:\:\:\frac{{z}^{\mathrm{4}} \:−\mathrm{2}{xz}^{\mathrm{2}} \:+\mathrm{1}}{{z}\left\{{xz}^{\mathrm{4}} \:−\left(\mathrm{1}+{x}^{\mathrm{2}} \right){z}^{\mathrm{2}} \:+{x}\right\}}{dz} \\ $$$${let}\:\varphi\left({z}\right)\:=\:\frac{{z}^{\mathrm{4}} \:−\mathrm{2}{xz}^{\mathrm{2}} \:+\mathrm{1}}{{z}\left\{\:{xz}^{\mathrm{4}} \:−\left(\mathrm{1}+{x}^{\mathrm{2}} \right){z}^{\mathrm{2}} \:+{x}\right\}}\:.{poles}\:{of}\:\varphi \\ $$$${roots}\:{of}\:\:{xz}^{\mathrm{4}} \:−\left(\mathrm{1}+{x}^{\mathrm{2}} \right){z}^{\mathrm{2}} \:+{x}\: \\ $$$$\Delta\:=\left(\mathrm{1}+{x}^{\mathrm{2}} \right)^{\mathrm{2}} \:−\mathrm{4}{x}^{\mathrm{2}} \:=\mathrm{1}+\mathrm{2}{x}^{\mathrm{2}} \:+{x}^{\mathrm{4}} \:−\mathrm{4}{x}^{\mathrm{2}} \\ $$$$=\mathrm{1}−\mathrm{2}{x}^{\mathrm{2}} \:+{x}^{\mathrm{4}} \:=\left(\mathrm{1}−{x}^{\mathrm{2}} \right)^{\mathrm{2}} \:\Rightarrow \\ $$$${z}^{\mathrm{2}} \:=\frac{\mathrm{1}+{x}^{\mathrm{2}} \:+\mid\mathrm{1}−{x}^{\mathrm{2}} \mid}{\mathrm{2}{x}}\:\:\:{and}\:\:{z}^{\mathrm{2}} \:=\frac{\mathrm{1}+{x}^{\mathrm{2}} \:−\mid\mathrm{1}−{x}^{\mathrm{2}} \mid}{\mathrm{2}{x}} \\ $$$$\left({we}\:{suppose}\:{that}\:{x}\neq\mathrm{0}\right) \\ $$$${case}\:\mathrm{1}\:\:\mid{x}\mid<\mathrm{1}\:\Rightarrow{z}^{\mathrm{2}} \:\:=\frac{\mathrm{1}+{x}^{\mathrm{2}} \:+\mathrm{1}−{x}^{\mathrm{2}} }{\mathrm{2}{x}}\:=\:\frac{\mathrm{1}}{{x}} \\ $$$${or}\:{z}^{\mathrm{2}} \:=\frac{\mathrm{1}+{x}^{\mathrm{2}} \:−\mathrm{1}+{x}^{\mathrm{2}} }{\mathrm{2}{x}}\:={x}\:\:{so}\:{if}\:\:\:\mathrm{0}<{x}<\mathrm{1}\:{we}\:{get} \\ $$$${z}\:=\overset{−} {+}\:\frac{\mathrm{1}}{\:\sqrt{{x}}}\:\:{and}\:\:{z}\:=\overset{−} {+}\:\sqrt{{x}}\:\:\:,\mathrm{0}\:{are}\:{poles}\:{of}\:\varphi \\ $$$$\varphi\left({z}\right)\:=\:\:\frac{{z}^{\mathrm{4}} \:−\mathrm{2}{xz}^{\mathrm{2}} \:+\mathrm{1}}{{xz}\left(\:{z}−\frac{\mathrm{1}}{\:\sqrt{{x}}}\right)\left({z}+\frac{\mathrm{1}}{\:\sqrt{{x}}}\right)\left({z}−\sqrt{{x}}\right)\left({z}+\sqrt{{x}}\right)} \\ $$$$\int_{\mid{z}\mid=\mathrm{1}} \:\varphi\left({z}\right){dz}\:=\mathrm{2}{i}\pi\:\left\{\:{Res}\left(\varphi,\mathrm{0}\right)\:+{Res}\left(\varphi,\sqrt{{x}}\right)\right. \\ $$$$\left.+{Res}\left(\varphi,−\sqrt{{x}}\right)\right\} \\ $$$${Res}\left(\varphi,\mathrm{0}\right)\:=\:\frac{\mathrm{1}}{{x}} \\ $$$${Res}\left(\varphi,\sqrt{{x}}\right)\:=\:\frac{{x}^{\mathrm{2}} \:−\mathrm{2}{x}^{\mathrm{2}} \:+\mathrm{1}}{{x}\sqrt{{x}}\left({x}−\frac{\mathrm{1}}{{x}}\right)\mathrm{2}\sqrt{{x}}}\:=\frac{\mathrm{1}−{x}^{\mathrm{2}} }{\mathrm{2}{x}^{\mathrm{2}} \left(\frac{{x}^{\mathrm{2}} \:−\mathrm{1}}{{x}}\right)} \\ $$$$=\:\frac{−\mathrm{1}}{\mathrm{2}{x}} \\ $$$${Res}\left(\varphi,−\sqrt{{x}}\right)\:=\frac{{x}^{\mathrm{2}} \:−\mathrm{2}{x}^{\mathrm{2}} \:+\mathrm{1}}{−{x}\sqrt{{x}}\left({x}−\frac{\mathrm{1}}{{x}}\right)\left(−\mathrm{2}\sqrt{{x}}\right)} \\ $$$$=\frac{\mathrm{1}−{x}^{\mathrm{2}} }{\mathrm{2}{x}^{\mathrm{2}} \left(\frac{{x}^{\mathrm{2}} \:−\mathrm{1}}{{x}}\right)}\:=\frac{−\mathrm{1}}{\mathrm{2}{x}}\:\Rightarrow \\ $$$$\int_{\mid{z}\mid=\mathrm{1}} \varphi\left({z}\right){dz}\:=\mathrm{2}{i}\pi\left\{\:\frac{\mathrm{1}}{{x}}\:−\frac{\mathrm{1}}{\mathrm{2}{x}}\:−\frac{\mathrm{1}}{\mathrm{2}{x}}\right\}=\mathrm{0}\:\Rightarrow \\ $$$${f}^{'} \left({x}\right)\:=\mathrm{0}\:\Rightarrow\:{f}\left({x}\right)={c}\:=\:{f}\left(\mathrm{0}\right)=\mathrm{0}\:{and}\:{we}\:{get}\:{the} \\ $$$${same}\:{result}\:{if}\:\:−\mathrm{1}<{x}<\mathrm{0} \\ $$$${case}\:\mathrm{2}\:\:\mid{x}\mid>\mathrm{1}\:{we}\:{have} \\ $$$${f}\left({x}\right)\:=\:\int_{\mathrm{0}} ^{\pi} \:{ln}\left({x}^{\mathrm{2}} \left(\mathrm{1}\:−\frac{\mathrm{2}}{{x}}\:{cos}\theta\:\:+\:\frac{\mathrm{1}}{{x}^{\mathrm{2}} }\right)\right){d}\theta \\ $$$$=\mathrm{2}\pi\:{ln}\mid{x}\mid\:\:+\:\int_{\mathrm{0}} ^{\pi} \:\:{ln}\left(\:{X}^{\mathrm{2}} \:−\mathrm{2}{X}\:{cos}\theta\:+\mathrm{1}\right){d}\theta\: \\ $$$$=\mathrm{2}\pi\:{ln}\mid{x}\mid\:+\mathrm{0}\:\:{because}\:\mid{X}\mid\:=\:\frac{\mathrm{1}}{\mid{x}\mid}<\mathrm{1}\:\Rightarrow \\ $$$${f}\left({x}\right)\:=\mathrm{2}\pi{ln}\mid{x}\mid\:{if}\:\:\mid{x}\mid>\mathrm{1}\:\:{and}\:{f}\left({x}\right)=\mathrm{0}\:{if}\mid{x}\mid<\mathrm{1}\:. \\ $$
Commented by tanmay.chaudhury50@gmail.com last updated on 09/Jul/18
$${x}^{\mathrm{2}} −\mathrm{2}{xcos}\theta+\mathrm{1} \\ $$$$\left({x}−{cos}\theta\right)^{\mathrm{2}} +{sin}^{\mathrm{2}} \theta \\ $$$$\left({x}−{cos}\theta+{isin}\theta\right)\left({x}−{cos}\theta−{isin}\theta\right) \\ $$$$\left({x}−{e}^{−{i}\theta} \right)\left({x}−{e}^{{i}\theta} \right) \\ $$$${f}\left({x}\right)=\int_{\mathrm{0}} ^{\Pi} \left\{{ln}\left({x}−{e}^{−{i}\theta} \right)+{ln}\left({x}−{e}^{{i}\theta} \right)\right\}{d}\theta \\ $$$$\frac{{dI}}{{dx}}=\int_{\mathrm{0}} ^{\Pi} \frac{\mathrm{1}}{{x}−{e}^{−{i}\theta} }+\frac{\mathrm{1}}{{x}−{e}^{{i}\theta} }\:\:{d}\theta \\ $$$$=\int_{\mathrm{0}} ^{\Pi} \frac{{e}^{{i}\theta} }{{xe}^{{i}\theta} −\mathrm{1}}{d}\theta+\int_{\mathrm{0}} ^{\Pi} \frac{{e}^{−{i}\theta} }{{xe}^{−{i}\theta} −\mathrm{1}}{d}\theta \\ $$$$=\frac{\mathrm{1}}{{x}}\int_{\mathrm{0}} ^{\Pi} \frac{{e}^{{i}\theta} }{{e}^{{i}\theta} −\frac{\mathrm{1}}{{x}}}{d}\theta+\frac{\mathrm{1}}{{x}}\int_{\mathrm{0}} ^{\Pi} \frac{{e}^{−{i}\theta} }{{e}^{−{i}\theta} −\frac{\mathrm{1}}{{x}}}{d}\theta \\ $$$$=\mid\frac{\mathrm{1}}{{ix}}{ln}\left({e}^{{i}\theta} −\frac{\mathrm{1}}{{x}}\right)+\frac{\mathrm{1}}{−{ix}}{ln}\left({e}^{−{i}\theta} −\frac{\mathrm{1}}{{x}}\right)\mid_{\mathrm{0}} ^{\Pi} \\ $$$$=\frac{\mathrm{1}}{{ix}}\mid{ln}\left(\frac{{e}^{{i}\theta} −\frac{\mathrm{1}}{{x}}}{{e}^{−{i}\theta} −\frac{\mathrm{1}}{{x}}}\right)\mid_{\mathrm{0}} ^{\Pi} \:\:\:{e}^{{i}\Pi} ={cos}\Pi+{isin}\Pi=−\mathrm{1} \\ $$$$\frac{\mathrm{1}}{{ix}}\left\{{ln}\left(\frac{−\mathrm{1}−\frac{\mathrm{1}}{{x}}}{−\mathrm{1}−\frac{\mathrm{1}}{{x}}}\right)−{ln}\left(\frac{\mathrm{1}−\frac{\mathrm{1}}{{x}}}{\mathrm{1}−\frac{\mathrm{1}}{{x}}}\right)\right\}=\mathrm{0} \\ $$$$\frac{{dI}}{{dx}}=\mathrm{0} \\ $$$${I}={constant} \\ $$$${pls}\:{check}\:{my}\:{steps}…{whether}\:{any}\:{mistake}… \\ $$$$ \\ $$$$ \\ $$
Commented by maxmathsup by imad last updated on 09/Jul/18
$${sir}\:{Tanmay}\:\:{the}\:{function}\:{ln}\:\:{at}\:\:{C}\:{is}\:{not}\:{like}\:{ln}\:{at}\:\:{R}\:\:{look}\:\:{ln}\left(−\mathrm{1}\right){in}\:{R} \\ $$$${don}\:{t}\:{exist}\:{but}\:\:{in}\:\:{C}\:{ln}\left(−\mathrm{1}\right)={ln}\left({e}^{{i}\pi} \right)={i}\pi\:\:{so}\:{you}\:{have}\:{commited}\:{a}\:{error} \\ $$$${in}\:{the}\:{final}\:{lines}\:\:{you}\:{must}\:{extract}\:\:{Re}\:\left(\int\right)\:{and}\:{Im}\left(\:\int\right)\:{to}\:{have}\:{a}\:{correct} \\ $$$${answer}\:… \\ $$