Question Number 89324 by 174 last updated on 16/Apr/20
Commented by mathmax by abdo last updated on 16/Apr/20
$$\:\:{let}\:\:{f}\left({a}\right)=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({a}+{cos}^{\mathrm{2}} {x}\right){dx}\:\:{with}\:{a}>\mathrm{0} \\ $$$${f}^{'} \left({a}\right)\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\:\frac{{dx}}{{a}\:+{cos}^{\mathrm{2}} {x}}{dx}\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\:\frac{{dx}}{{a}+\frac{\mathrm{1}}{\mathrm{1}+{tan}^{\mathrm{2}} {x}}} \\ $$$$=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\frac{\mathrm{1}+{tan}^{\mathrm{2}} {x}}{{a}\:+{atan}^{\mathrm{2}} {x}\:+\mathrm{1}}{dx}\:=_{{tanx}\:={t}} \:\:\:\int_{\mathrm{0}} ^{\infty} \:\:\frac{\mathrm{1}+{t}^{\mathrm{2}} }{{at}^{\mathrm{2}} \:+{a}+\mathrm{1}}\:\:\frac{{dt}}{\mathrm{1}+{t}^{\mathrm{2}} } \\ $$$$=\int_{\mathrm{0}} ^{\infty} \:\frac{{dt}}{{at}^{\mathrm{2}} \:+{a}+\mathrm{1}}\:=\frac{\mathrm{1}}{{a}}\int_{\mathrm{0}} ^{\infty} \:\:\frac{{dt}}{{t}^{\mathrm{2}} \:+\frac{{a}+\mathrm{1}}{{a}}}\:=_{{t}\:=\sqrt{\frac{{a}+\mathrm{1}}{{a}}}{u}} \\ $$$$\frac{\mathrm{1}}{{a}}\int_{\mathrm{0}} ^{\infty} \:\:\:\frac{\mathrm{1}}{\frac{{a}+\mathrm{1}}{{a}}\left(\mathrm{1}+{u}^{\mathrm{2}} \right)}×\sqrt{\frac{{a}+\mathrm{1}}{{a}}}{du} \\ $$$$=\frac{\mathrm{1}}{\:\sqrt{{a}}\sqrt{{a}+\mathrm{1}}}×\frac{\pi}{\mathrm{2}}\:=\frac{\pi}{\mathrm{2}\sqrt{{a}}\sqrt{{a}+\mathrm{1}}}\:\Rightarrow{f}\left({a}\right)\:=\frac{\pi}{\mathrm{2}}\int\:\frac{{da}}{\:\sqrt{{a}}\sqrt{{a}+\mathrm{1}}} \\ $$$${we}\:{have}\:\:\int\:\:\frac{{da}}{\:\sqrt{{a}}\sqrt{{a}+\mathrm{1}}}\:=_{\sqrt{{a}}={z}} \:\:\:\:\int\:\:\frac{\mathrm{2}{zdz}}{{z}\sqrt{{z}^{\mathrm{2}} +\mathrm{1}}}\:=\mathrm{2}\:\int\:\frac{{dz}}{\:\sqrt{{z}^{\mathrm{2}} \:+\mathrm{1}}} \\ $$$$=\mathrm{2}{ln}\left({z}+\sqrt{\mathrm{1}+{z}^{\mathrm{2}} }\right)\:\:+{c}\:=\mathrm{2}{ln}\left(\sqrt{{a}}+\sqrt{\mathrm{1}+{a}}\right)\:+{c} \\ $$$$\Rightarrow{f}\left({a}\right)\:=\pi{ln}\left(\sqrt{{a}}+\sqrt{{a}+\mathrm{1}}\right)\:+{C} \\ $$$${lim}_{{a}\rightarrow\mathrm{0}^{+} } \:\:{f}\left({a}\right)\:={C}\:=\mathrm{2}\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({cosx}\right){dx}\:=\mathrm{2}\left(−\frac{\pi}{\mathrm{2}}{ln}\left(\mathrm{2}\right)\right) \\ $$$$=−\pi{ln}\mathrm{2}\:\Rightarrow{f}\left({a}\right)\:=\pi{ln}\left(\sqrt{{a}}+\sqrt{{a}+\mathrm{1}}\right)−\pi{ln}\left(\mathrm{2}\right) \\ $$$$\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left(\mathrm{1}+{cos}^{\mathrm{2}} {x}\right){dx}\:={f}\left(\mathrm{1}\right)\:=\pi{ln}\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)−\pi{ln}\left(\mathrm{2}\right) \\ $$$$=\pi\left\{{ln}\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)−{ln}\left(\mathrm{2}\right)\right\} \\ $$