$$\int_0^{\pi/2} \log(\cos x)\,dx$$ Evaluate using contour integration.
Tarun Kumar Yadav, AIR 49, 2025
let $I = \int_0^{\pi/2} \log(\cos x)\,dx$
then $-I = \int_0^{\pi/2} \log(\sec x)\,dx$
and $-2I = \int_0^{\pi/2} 2\log(\sec x)\,dx$
$-2I = \int_0^{\pi/2} \log(\sec^2 x)\,dx$
$-2I = \int_0^{\pi/2} \log(1+\tan^2 x)\,dx$
let $\tan x = t$ then $\sec^2 x\,dx = dt$
or $(1+t^2)dx = dt$
[?]
or
Consider