Integral: $$\int \ln(\cos^2 x) dx$$
I applied parts technique twice, first by expressing it as $-2\int1\cdot\ln(\sec x)$, which is
$$I = -2x\ln(\sec x)+2\int x\tan (x)dx$$
Now the second term can be integrated by parts to give:
$$I = x\ln(\cos^2 x) + 2\left(x\ln(\sec x)-\int\ln(\sec x)dx\right)$$ But second term of the bracket itself is $\dfrac{I}{2}$, so
$$I = x\ln(\cos^2 x) + 2x\ln(\sec x)+I$$
Now the I cancels out! I am not getting anywhere with this approach.
also use the defintion of dilogarithm function
– tired Jul 25 '16 at 12:50