Question:hard

Find the value of: \(\displaystyle\int_0^{\pi/2}\log\sin x\,dx\).

Show Hint

Use the King's rule (property P4) to relate I to log cos x, add, use sin2x, and self-reference the same integral.
Updated On: Sep 23, 2026
Show Solution

Solution and Explanation

Step 1: Restate the problem using the definite-integral symmetry property with a clean substitution \(x\to\pi/2-x\):
$I=\int_0^{\pi/2}\log\sin x\,dx=\int_0^{\pi/2}\log\cos x\,dx$ (the integrand transforms via co-function identity).

Step 2: Instead of adding immediately, first combine inside a single log using the product-to-double-angle identity:
$\sin x\cos x=\tfrac12\sin2x$, so $2I=\int_0^{\pi/2}\log(\sin x\cos x)\,dx=\int_0^{\pi/2}[\log\sin2x-\log2]\,dx=\int_0^{\pi/2}\log\sin2x\,dx-\tfrac\pi2\log2$.

Step 3: Handle the remaining integral with the substitution \(u=2x\), splitting the resulting range at \(u=\pi/2\) using symmetry of $\log\sin u$ around $u=\pi/2$ on $[0,\pi]$:
$\int_0^{\pi/2}\log\sin2x\,dx=\frac12\int_0^\pi\log\sin u\,du=\frac12\left[\int_0^{\pi/2}\log\sin u\,du+\int_{\pi/2}^\pi\log\sin u\,du\right]=\frac12[I+I]=I$ (the second piece equals $I$ by the same $u\to\pi-u$ symmetry).

Step 4: Substitute back into the equation for $2I$ and solve the resulting linear equation in $I$:
$2I=I-\tfrac\pi2\log2\Rightarrow I=-\tfrac\pi2\log2$.

Final Answer:
\[ \boxed{I=-\dfrac{\pi}{2}\log2} \]
Was this answer helpful?
0