I need to evaluate this integral.
$$\int_{- \frac{\pi}{2}} ^{\frac{\pi}{2}} \ln( |1 + 2 \sin{x} |) ~ \mathrm{d} x$$
By using Wolfram, the answer is 0.
How do I solve this algebraically?
My progress -
\begin{align} I = \int _{-\frac{\pi}{2}} ^{\frac{\pi}{2}} \ln |1+2 \sin{x}| \, dx &= \int _0 ^{\frac{\pi}{2}} \ln |1-4 \sin ^2 {x}| \, dx \\\\ &= \int _0 ^{\frac{\pi}{4}} \ln |1-4 \sin ^2 {x}| \, dx + \int _{\frac{\pi}{2}} ^{\frac{\pi}{2}} \ln |1-4 \sin ^2 {x}| \, dx \\\\ &= \int _{0} ^{\frac{\pi}{4}} \ln |1 - 2 \sin{2x}| \, dx + \int _{\frac{\pi}{4}} ^{\frac{\pi}{2}} \ln |1+2 \sin{2x}| \, dx \end{align}
The motivation for the last step is to somehow get similar looking integrals so that I can finally get an expression of the type $I = k I$
Thank you for all the comments, I have edited the post to include my progress.