While practicing definite integration I stumbled upon following question:
Q.) If $\int_{0}^{π/2}\ln(\sin x)dx=k$ then, find $\int_{0}^{π/2}\frac{x²}{(\sin x)²}dx$, in terms of $k$
My attempt: I have memorised the first integral answer as
$\int_{0}^{π/2}\ln(\sin x)dx$=$-\frac{π}{2}\ln 2$=$k$
For second integral I did following:
Let $$I=\int_{0}^{π/2}\frac{x²}{(\sin x)²}dx$$
$$I=\int_{0}^{π/2}\frac{(\frac{π}{2}-x)²}{(\cos x)²}dx$$
$$[\int_{b}^{a}f(x)dx=\int_{b}^{a}f(a+b-x)dx]$$
and then i did by parts, but things become only more complicated. So please help if you can solve the second integral easily. THANKS IN ADVANCE
'ANSWER IS $-2k$'