Question Number 96495 by abdomathmax last updated on 01/Jun/20
$$\mathrm{calculateI}\:=\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \mathrm{ln}\left(\mathrm{cosx}\:+\mathrm{sinx}\right)\mathrm{dx} \\ $$$$\mathrm{and}\:\mathrm{J}\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \mathrm{ln}\left(\mathrm{cosx}−\mathrm{sinx}\right)\mathrm{dx} \\ $$
Answered by Sourav mridha last updated on 02/Jun/20
$$\boldsymbol{{J}}−\mathrm{I}=\int_{\mathrm{0}} ^{\frac{\boldsymbol{\pi}}{\mathrm{2}}} \boldsymbol{{ln}}\left[\boldsymbol{{tan}}\left(\frac{\boldsymbol{\pi}}{\mathrm{4}}−\boldsymbol{{x}}\right)\right]\boldsymbol{{dx}}…\left(\boldsymbol{{i}}\right) \\ $$$$\boldsymbol{{and}}\:\boldsymbol{{also}}\:\boldsymbol{{J}}−{I}=\int_{\mathrm{0}} ^{\frac{\boldsymbol{\pi}}{\mathrm{2}}} \boldsymbol{{ln}}\left[\boldsymbol{{cot}}\left(\frac{\boldsymbol{\pi}}{\mathrm{4}}−\boldsymbol{{x}}\right)\right]\boldsymbol{{dx}} \\ $$$$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:………\left(\boldsymbol{{ii}}\right) \\ $$$$\left(\boldsymbol{{i}}\right)+\left(\boldsymbol{{ii}}\right)\boldsymbol{{we}}\:\boldsymbol{{get}}..\boldsymbol{{J}}−{I}=\mathrm{0},\boldsymbol{{J}}=\boldsymbol{{I}}….\left(\boldsymbol{{g}}\right) \\ $$$$\boldsymbol{{now}}\:\mathrm{J}+\boldsymbol{{I}}=\int_{\mathrm{0}} ^{\frac{\boldsymbol{\pi}}{\mathrm{2}}} \boldsymbol{{ln}}\left(\boldsymbol{{cos}}\mathrm{2}\boldsymbol{{x}}\right)\boldsymbol{{dx}}…\left(\boldsymbol{{v}}\right) \\ $$$$\boldsymbol{{now}}\:\mathrm{2}\boldsymbol{{x}}=\boldsymbol{{t}},\boldsymbol{{then}} \\ $$$$\mathrm{2}\boldsymbol{{J}}=\frac{\mathrm{1}}{\mathrm{2}}\int_{\mathrm{0}} ^{\boldsymbol{\pi}} \boldsymbol{{ln}}\left(\boldsymbol{{cost}}\right)\boldsymbol{{dt}}\:\boldsymbol{{we}}\:\boldsymbol{{can}}\:\boldsymbol{{also}} \\ $$$$\boldsymbol{{write}}\:\boldsymbol{{this}}\:\boldsymbol{{as}}\:−− \\ $$$$\mathrm{2}\boldsymbol{{J}}=\int_{\mathrm{0}} ^{\frac{\boldsymbol{\pi}}{\mathrm{2}}} \boldsymbol{{ln}}\left(\boldsymbol{{cost}}\right)\boldsymbol{{dt}}….\left(\boldsymbol{{a}}\right) \\ $$$$\boldsymbol{{so}},\:\mathrm{2}\boldsymbol{{J}}=\int_{\mathrm{0}} ^{\frac{\boldsymbol{\pi}}{\mathrm{2}}} \boldsymbol{{ln}}\left(\boldsymbol{{sint}}\right)\boldsymbol{{dt}}….\left(\boldsymbol{{b}}\right) \\ $$$$\left(\boldsymbol{{a}}\right)+\left(\boldsymbol{{b}}\right)\:\mathrm{4J}=\frac{\boldsymbol{\pi}}{\mathrm{2}}\boldsymbol{{ln}}\left(\frac{\mathrm{1}}{\mathrm{2}}\right)+\int_{\mathrm{0}} ^{\frac{\boldsymbol{\pi}}{\mathrm{2}}} \boldsymbol{{ln}}\left(\boldsymbol{{sin}}\left(\mathrm{2}\boldsymbol{{t}}\right)\right)\boldsymbol{{dt}} \\ $$$$\boldsymbol{{by}}\:\boldsymbol{{apply}}:\:\mathrm{the}\:\boldsymbol{{same}}\:\boldsymbol{{approch}}\:\boldsymbol{{like}}\: \\ $$$$\boldsymbol{{eq}}^{\boldsymbol{{n}}} \:\left(\boldsymbol{{v}}\right)\boldsymbol{{we}}\:\boldsymbol{{get}},\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \boldsymbol{{ln}}\left(\boldsymbol{{sin}}\mathrm{2}\boldsymbol{{t}}\right)\boldsymbol{{dt}}=\mathrm{2}\boldsymbol{{J}} \\ $$$$\:\mathrm{so},\mathrm{4}\boldsymbol{{J}}=\frac{\boldsymbol{\pi}}{\mathrm{2}}\boldsymbol{{ln}}\left(\frac{\mathrm{1}}{\mathrm{2}}\right)+\mathrm{2}\boldsymbol{{J}} \\ $$$$\mathrm{so}\:,\mathrm{2}\boldsymbol{{J}}=\frac{\boldsymbol{\pi}}{\mathrm{2}}\mathrm{ln}\left(\frac{\mathrm{1}}{\mathrm{2}}\right) \\ $$$$\mathrm{now}\:\boldsymbol{{from}}\:\left(\boldsymbol{{g}}\right)\:\boldsymbol{{I}}=\boldsymbol{{J}}=\frac{\boldsymbol{\pi}}{\mathrm{4}}\boldsymbol{{ln}}\left(\frac{\mathrm{1}}{\mathrm{2}}\right) \\ $$
Commented by abdomathmax last updated on 02/Jun/20
$$\mathrm{thanks}\:\mathrm{sir}. \\ $$
Commented by Sourav mridha last updated on 02/Jun/20
welcome....
Answered by mathmax by abdo last updated on 02/Jun/20
$$\mathrm{let}\:\mathrm{f}\left(\mathrm{a}\right)\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\mathrm{ln}\left(\mathrm{cosx}\:+\mathrm{asinx}\right)\mathrm{dx}\:\:\:\mathrm{we}\:\mathrm{have}\:\mathrm{f}^{'} \left(\mathrm{a}\right)\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\frac{\mathrm{sinx}}{\mathrm{cosx}\:+\mathrm{asinx}}\mathrm{dx} \\ $$$$=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\frac{\mathrm{dx}}{\mathrm{a}\:+\frac{\mathrm{1}}{\mathrm{tanx}}}\:=_{\mathrm{tanx}\:=\mathrm{u}} \:\:\:\:\:\int_{\mathrm{0}} ^{\infty} \:\:\:\frac{\mathrm{du}}{\left(\mathrm{1}+\mathrm{u}^{\mathrm{2}} \right)\left(\mathrm{a}+\frac{\mathrm{1}}{\mathrm{u}}\right)}\:=\int_{\mathrm{0}} ^{\infty} \:\:\:\frac{\mathrm{udu}}{\left(\mathrm{au}+\mathrm{1}\right)\left(\mathrm{u}^{\mathrm{2}} \:+\mathrm{1}\right)} \\ $$$$\mathrm{let}\:\mathrm{decompose}\:\mathrm{F}\left(\mathrm{u}\right)\:=\frac{\mathrm{u}}{\left(\mathrm{au}+\mathrm{1}\right)\left(\mathrm{u}^{\mathrm{2}} \:+\mathrm{1}\right)}\:\Rightarrow\mathrm{F}\left(\mathrm{u}\right)\:=\frac{\alpha}{\mathrm{au}+\mathrm{1}}\:+\frac{\beta\mathrm{u}\:+\lambda}{\mathrm{u}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$$\alpha\:=\frac{−\mathrm{1}}{\mathrm{a}\left(\frac{\mathrm{1}}{\mathrm{a}^{\mathrm{2}} }+\mathrm{1}\right)}\:=\frac{−\mathrm{a}^{\mathrm{2}} }{\mathrm{a}\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)}\:=\frac{−\mathrm{a}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} } \\ $$$$\mathrm{lim}_{\mathrm{u}\rightarrow+\infty} \:\mathrm{uF}\left(\mathrm{u}\right)\:=\mathrm{0}\:=\frac{\alpha}{\mathrm{a}}\:+\beta\:\Rightarrow\beta\:=−\frac{\alpha}{\mathrm{a}}\:=\frac{\mathrm{1}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} } \\ $$$$\mathrm{F}\left(\mathrm{0}\right)\:=\mathrm{0}\:=\alpha\:+\lambda\:\Rightarrow\lambda\:=\frac{\mathrm{a}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} }\:\Rightarrow\mathrm{F}\left(\mathrm{u}\right)\:=−\frac{\mathrm{a}}{\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)\left(\mathrm{au}+\mathrm{1}\right)}\:+\frac{\mathrm{1}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} }×\frac{\mathrm{u}+\mathrm{a}}{\mathrm{u}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$$\Rightarrow\int_{\mathrm{0}} ^{\infty} \:\mathrm{F}\left(\mathrm{u}\right)\mathrm{du}\:=−\frac{\mathrm{a}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} }\int_{\mathrm{0}} ^{\infty} \:\frac{\mathrm{du}}{\mathrm{au}+\mathrm{1}}\:+\frac{\mathrm{1}}{\mathrm{2}\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)}\int_{\mathrm{0}} ^{\infty} \:\frac{\mathrm{2u}}{\mathrm{u}^{\mathrm{2}} \:+\mathrm{1}}\:+\frac{\mathrm{a}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} }\:\int_{\mathrm{0}} ^{\infty} \:\frac{\mathrm{du}}{\mathrm{u}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$$=\frac{\mathrm{1}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} }\left[\mathrm{ln}\sqrt{\mathrm{u}^{\mathrm{2}} +\mathrm{1}}−\mathrm{ln}\left(\mathrm{au}+\mathrm{1}\right)\right]_{\mathrm{0}} ^{\infty} \:+\frac{\pi\mathrm{a}}{\mathrm{2}\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)} \\ $$$$=\frac{\mathrm{1}}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} }\left[\mathrm{ln}\left(\frac{\sqrt{\mathrm{1}+\mathrm{u}^{\mathrm{2}} }}{\mathrm{au}\:+\mathrm{1}}\right)\right]_{\mathrm{0}} ^{\infty} \:+\frac{\pi\mathrm{a}}{\mathrm{2}\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)}\:=−\frac{\mathrm{ln}\left(\mathrm{a}\right)}{\mathrm{1}+\mathrm{a}^{\mathrm{2}} }\:+\frac{\pi\mathrm{a}}{\mathrm{2}\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)}\:\Rightarrow \\ $$$$\mathrm{f}\left(\mathrm{a}\right)\:=−\int_{\mathrm{0}} ^{\mathrm{a}} \:\:\frac{\mathrm{lnt}}{\mathrm{1}+\mathrm{t}^{\mathrm{2}} }\mathrm{dt}\:+\frac{\pi}{\mathrm{4}}\mathrm{ln}\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)\:+\mathrm{c}\:\mathrm{but} \\ $$$$\mathrm{f}\left(\mathrm{0}\right)\:=\mathrm{c}\:=−\frac{\pi}{\mathrm{2}}\mathrm{ln}\left(\mathrm{2}\right)\:\Rightarrow\mathrm{f}\left(\mathrm{a}\right)\:=\frac{\pi}{\mathrm{4}}\mathrm{ln}\left(\mathrm{1}+\mathrm{a}^{\mathrm{2}} \right)−\frac{\pi}{\mathrm{2}}\mathrm{ln}\left(\mathrm{2}\right)−\int_{\mathrm{0}} ^{\mathrm{a}} \:\frac{\mathrm{lnt}}{\mathrm{1}+\mathrm{t}^{\mathrm{2}} }\mathrm{dt} \\ $$$$\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\mathrm{ln}\left(\mathrm{cosx}\:+\mathrm{sinx}\right)\mathrm{dx}\:=\mathrm{f}\left(\mathrm{1}\right)\:=\frac{\pi}{\mathrm{4}}\mathrm{ln}\left(\mathrm{2}\right)−\frac{\pi}{\mathrm{2}}\mathrm{ln}\left(\mathrm{2}\right)−\int_{\mathrm{0}} ^{\mathrm{1}} \:\frac{\mathrm{lnt}}{\mathrm{1}+\mathrm{t}^{\mathrm{2}} }\mathrm{dt}\:\left(\rightarrow\mathrm{t}\:=\mathrm{tan}\theta\right) \\ $$$$=−\frac{\pi}{\mathrm{4}}\mathrm{ln}\left(\mathrm{2}\right)−\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\mathrm{ln}\left(\mathrm{tan}\theta\right)\mathrm{d}\theta\:=−\frac{\pi}{\mathrm{4}}\mathrm{ln}\left(\mathrm{2}\right)−\mathrm{0}\:\left(\mathrm{because}\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\mathrm{ln}\left(\mathrm{cos}\theta\right)\mathrm{d}\theta=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \mathrm{ln}\left(\mathrm{sin}\theta\right)\mathrm{d}\theta\right)\Rightarrow \\ $$$$\Rightarrow\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\mathrm{ln}\left(\mathrm{cosx}\:−\mathrm{sinx}\right)\mathrm{dx}\:=−\frac{\pi}{\mathrm{4}}\mathrm{ln}\left(\mathrm{2}\right) \\ $$$$ \\ $$$$ \\ $$
Commented by mathmax by abdo last updated on 02/Jun/20
$$\mathrm{error}\:\mathrm{of}\:\mathrm{typo}\:\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \mathrm{ln}\left(\mathrm{cosx}\:+\mathrm{sinx}\right)\mathrm{dx}\:=−\frac{\pi}{\mathrm{4}}\mathrm{ln2} \\ $$