I want to evaluate this integral $\int_{0}^\frac{\pi}{2} \ln(1-a^2\sin^2x)dx$, where $|a|<1.$
First, I differentiate with respect to $a.$ Then, it would become a terrible integral. That is $$\int_{0}^\frac{\pi}{2} \frac{-2a\sin^2x}{1-a^2\sin^2x}dx.$$ After that, I think it may be down by cosine since it is symmetric with respect to $\frac{\pi}{4}$. However, it fails. I think that this integral may be done like $\sin^2x$.
Hope that teachers here could give me some hints to crack this done.