⇒I=2∫π20log(cosx)dx ........(5) adding (4) and (5) ⇒2I=2∫π20log(sinx⋅cosx)dx
⇒I=∫π20log(2sinx⋅cosx2)dx ⇒I=∫π20logsin(2x)dx−∫π20log2dx put 2x=t I=∫π0logsint⋅dt2−π2log2 I=12∫π0logsinx⋅dx−π2log2 using (3) I=12I−π2log2 ∴I=∫π0log(1+cosx)dx=∫π0logsinxdx=−πlog2