How to tackle
$$I=\int_0^{\pi/2}x^2\frac{\ln(\sin x)}{\sin x}dx\ ?$$ This integral popped up in my solution ( see the integral $\mathcal{I_3}\ $ at the end of the solution.)
My attempt: By Weierstrass substitution we have
$$I=2\int_0^1\frac{\arctan^2(x)}{x}\ln\left(\frac{2x}{1+x^2}\right)dx$$
$$=2\int_0^1\frac{\ln(2)+\ln x}{x}\arctan^2(x)dx-2\int_0^1\frac{\ln(1+x^2)}{x}\arctan^2(x)dx$$
The first integral simplifies to known harmonic series using the identity
$$\arctan^2(x)=\frac12\sum_{n=1}^\infty\frac{(-1)^n\left(H_n-2H_{2n}\right)}{n}x^{2n}$$
But using this series expansion in the second integral yields very complicated harmonic series. Also integrating by parts, yields the integrand $\frac{\text{Li}_2(-x^2)\arctan(x)}{1+x^2}$ which complicates the problem. Any thought how to approach any of these two integrals?
Thank you.
We have
So
Also one have
So
So