Put x=a−t
dx=−dt
when x=0;t=a
x=a;t=0
LHS ∫a0f(x)dx=∫0af(a−t)(−dt)=∫a0f(a−t)dt=∫a0f(a−x)dx
I=2∫π/20log(sinx)dx−∫π/20log(2sinxcosx)dx
=2∫π/20log(sinx)dx−∫π/20log2dx−∫π/20log(sinx)dx−∫π/20log(cosx)dx
=∫π/20log(sinx)dx−∫π/20log(cos(π2−x))dx−(log2)π2dx
⇒I=−π2log2=π2log12