Question Number 70262 by mathmax by abdo last updated on 02/Oct/19
$${calculate}\:\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({cosx}\right){dx}\:\:{and}\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({sinx}\right){dx} \\ $$
Commented by mathmax by abdo last updated on 06/Oct/19
$${let}\:{I}\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({cosx}\right){dx}\:{and}\:{J}=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({sinx}\right){dx} \\ $$$${I}+{J}\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({cosx}\:+{sinx}\right){dx}\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left(\sqrt{\mathrm{2}}{cos}\left({x}−\frac{\pi}{\mathrm{4}}\right)\right){dx} \\ $$$$=\frac{\pi}{\mathrm{8}}{ln}\left(\mathrm{2}\right)\:+\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} \:{ln}\left({cos}\left(\frac{\pi}{\mathrm{4}}−{x}\right)\right){dx}\:\:{but} \\ $$$$\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({cos}\left(\frac{\pi}{\mathrm{4}}−{x}\right)\right){dx}\:=_{\frac{\pi}{\mathrm{4}}−{x}={t}} \:\:\:\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({cost}\right){dt}\:={I}\:\Rightarrow \\ $$$${I}\:+{J}\:=\frac{\pi}{\mathrm{8}}{ln}\left(\mathrm{2}\right)\:+{I}\:\Rightarrow{J}=\frac{\pi}{\mathrm{8}}{ln}\left(\mathrm{2}\right) \\ $$$${I}\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({cosx}\right){dx}\:=_{{x}=\frac{{t}}{\mathrm{2}}} \:\:\:\frac{\mathrm{1}}{\mathrm{2}}\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({cos}\left(\frac{{t}}{\mathrm{2}}\right)\right){dt}\:\Rightarrow \\ $$$$\mathrm{2}{I}=\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({sin}\left(\frac{\pi}{\mathrm{2}}−\frac{{t}}{\mathrm{2}}\right)\right){dt}\:=_{\frac{\pi−{t}}{\mathrm{2}}={u}} \:\:\:\int_{\frac{\pi}{\mathrm{2}}} ^{\frac{\pi}{\mathrm{4}}} {ln}\left({sinu}\right)\left(−\mathrm{2}\right){du} \\ $$$$=\mathrm{2}\:\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\pi}{\mathrm{2}}} \:{ln}\left({sinu}\right){du}\:=\mathrm{2}\left\{\:\int_{\frac{\pi}{\mathrm{4}}} ^{\mathrm{0}} {ln}\left({sinu}\right){du}\:+\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({sinu}\right){du}\right\} \\ $$$$=\mathrm{2}\left\{−{J}\:−\frac{\pi}{\mathrm{2}}{ln}\left(\mathrm{2}\right)\right\}\:=−\mathrm{2}{J}\:−\pi{ln}\left(\mathrm{2}\right)=−\frac{\pi}{\mathrm{4}}{ln}\left(\mathrm{2}\right)−\pi{ln}\left(\mathrm{2}\right) \\ $$$$=−\frac{\mathrm{5}\pi}{\mathrm{4}}{ln}\left(\mathrm{2}\right)\:\Rightarrow{I}\:=−\frac{\mathrm{5}\pi}{\mathrm{8}}{ln}\left(\mathrm{2}\right) \\ $$$$ \\ $$