I am trying to calculate this integral.I only know that i should use the symmetry of the integrand.what can we do? $$\int_0^\pi \ln\cos x~dx$$
thank you for hint.
I am trying to calculate this integral.I only know that i should use the symmetry of the integrand.what can we do? $$\int_0^\pi \ln\cos x~dx$$
thank you for hint.
Ok well I think that integral should be
$$I=\int_0^{\Large\frac{\pi}{2}} \ln \cos x\ dx$$ because $\cos x$ is negative over $\frac{\pi}{2}$ to $\pi$. Note that we can make the transform $x=\dfrac{\pi}{2}-y$ to see that $$I=\int_0^{\Large\frac{\pi}{2}} \ln \sin x\ dx$$ to evaluate this last we set $x=2z$ to get
$$I=2\int_0^{\Large\frac{\pi}{4}} \ln \sin (2z)\ dz=\frac{\pi}{2}\ln 2 + 2\int_0^{\Large\frac{\pi}{4}} \ln \cos (z)\ dz+ 2\int_0^{\Large\frac{\pi}{4}} \ln \sin (z)\ dz$$ and by the same substitution as at the beginning, $$\int_0^{\Large\frac{\pi}{4}} \ln \cos (z)\ dz=\int_{\Large\frac{\pi}{4}}^{\Large\frac{\pi}{2}} \ln \sin (z)\ dz$$
So
$$I=\frac{\pi}{2}\ln 2 + 2\int_{\Large\frac{\pi}{4}}^{\Large\frac{\pi}{2}} \ln \sin (z)\ dz+ 2\int_0^{\Large\frac{\pi}{4}} \ln \sin (z)\ dz$$ Thus $$I=\frac{\pi}{2}\ln 2 +2I$$ and $$I=-\frac{\pi}{2}\ln 2$$
If you then insist of integrating over $0$ to $\pi$ you get $-\pi \ln 2 +\dfrac{\pi}{2} \ln (-1)$
$$I = \int_{0}^\pi \ln\cos x~dx = -\dfrac{\pi\cdot \ln2}{2} + \int_{\pi/2}^{\pi} \ln\cos x~dx = -\frac{\pi\cdot \ln 2}{2} + J$$ Then let $u = x - \pi/2$.So: $\ln\cos x = \ln\sin u$,and: $J = \displaystyle \int_0^{\pi/2} \ln\sin u~du = -\dfrac{\pi\cdot \ln2}{2}$. Thus: $I = -\pi\cdot \ln2$