Skip to content
Worked Examples · Example 34

Q.Evaluate ∫0π/2log⁡sin⁡x dx\int_0^{\pi/2} \log \sin x\, dx

Yanam CbseNCERTSubjective· 3mImportance★★★★★
62% · 233/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This classic integral is solved using the symmetry property of definite integrals. By substituting x→π2−xx \to \frac{\pi}{2} - x and adding the two forms, we transform the product sin⁡xcos⁡x\sin x \cos x into 12sin⁡2x\frac{1}{2}\sin 2x, leading to a simple equation whose solution is ∫0π/2log⁡sin⁡x dx=−π2log⁡2\int_0^{\pi/2} \log \sin x\, dx = -\frac{\pi}{2}\log 2.

The integral I=∫0π/2log⁡sin⁡x dxI = \int_0^{\pi/2} \log \sin x \, dx is a famous one — it appears in many contexts, from probability to number theory. The trick is not to integrate directly (the antiderivative involves the dilogarithm), but to exploit symmetry.

Why symmetry works: The interval [0,π/2][0, \pi/2] is symmetric about π/4\pi/4. The function log⁡sin⁡x\log \sin x is not symmetric itself, but if we replace xx by π2−x\frac{\pi}{2} - x, we get log⁡cos⁡x\log \cos x. Adding the two forms gives log⁡(sin⁡xcos⁡x)=log⁡(12sin⁡2x)\log(\sin x \cos x) = \log(\frac{1}{2}\sin 2x), which splits into a constant term and a scaled version of the original integral. This creates an equation we can solve for II.

Let’s walk through it step by step.

  1. Define the integral and apply the substitution x→π2−xx \to \frac{\pi}{2} - x. Let I=∫0π/2log⁡sin⁡x dxI = \int_0^{\pi/2} \log \sin x \, dx. Substitute x=π2−tx = \frac{\pi}{2} - t. Then dx=−dtdx = -dt, and when x=0x=0, t=π/2t=\pi/2; when x=π/2x=\pi/2, t=0t=0. So:

I=∫π/20log⁡sin⁡(π2−t)(−dt)=∫0π/2log⁡cos⁡t dt.I = \int_{\pi/2}^{0} \log \sin\left(\frac{\pi}{2} - t\right) (-dt) = \int_0^{\pi/2} \log \cos t \, dt.

Renaming the dummy variable back to xx, we have:

I=∫0π/2log⁡cos⁡x dx.I = \int_0^{\pi/2} \log \cos x \, dx.

So the integral of log⁡sin⁡x\log \sin x equals the integral of log⁡cos⁡x\log \cos x over the same interval.

  1. Add the two expressions for II.

2I=∫0π/2log⁡sin⁡x dx+∫0π/2log⁡cos⁡x dx=∫0π/2log⁡(sin⁡xcos⁡x) dx.2I = \int_0^{\pi/2} \log \sin x \, dx + \int_0^{\pi/2} \log \cos x \, dx = \int_0^{\pi/2} \log(\sin x \cos x) \, dx.

Using the identity sin⁡xcos⁡x=12sin⁡2x\sin x \cos x = \frac{1}{2} \sin 2x, we get:

2I=∫0π/2log⁡(12sin⁡2x)dx=∫0π/2(log⁡12+log⁡sin⁡2x)dx.2I = \int_0^{\pi/2} \log\left(\frac{1}{2} \sin 2x\right) dx = \int_0^{\pi/2} \left( \log \frac{1}{2} + \log \sin 2x \right) dx.

The constant log⁡(1/2)=−log⁡2\log(1/2) = -\log 2 factors out:

2I=−log⁡2∫0π/21 dx+∫0π/2log⁡sin⁡2x dx=−π2log⁡2+∫0π/2log⁡sin⁡2x dx.2I = -\log 2 \int_0^{\pi/2} 1\, dx + \int_0^{\pi/2} \log \sin 2x \, dx = -\frac{\pi}{2} \log 2 + \int_0^{\pi/2} \log \sin 2x \, dx.

  1. Handle the integral ∫0π/2log⁡sin⁡2x dx\int_0^{\pi/2} \log \sin 2x \, dx with another substitution. Let u=2xu = 2x. Then dx=du/2dx = du/2, and when x=0x=0, u=0u=0; when x=π/2x=\pi/2, u=πu=\pi. So:

∫0π/2log⁡sin⁡2x dx=12∫0πlog⁡sin⁡u du.\int_0^{\pi/2} \log \sin 2x \, dx = \frac{1}{2} \int_0^{\pi} \log \sin u \, du.

Now, the integral from 00 to π\pi of log⁡sin⁡u\log \sin u can be split at π/2\pi/2:

∫0πlog⁡sin⁡u du=∫0π/2log⁡sin⁡u du+∫π/2πlog⁡sin⁡u du.\int_0^{\pi} \log \sin u \, du = \int_0^{\pi/2} \log \sin u \, du + \int_{\pi/2}^{\pi} \log \sin u \, du. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.