Answer: Integral of ln(sin x)
Key Idea / Intuition
The trick is a beautiful symmetry + duplication argument. Write I using the substitution x↦π/2−x to get I=∫0π/2ln(cosx)dx as well. Then add the two copies of I together and use the product-to-sum identity sinxcosx=21sin(2x). A single substitution then reduces the resulting integral back to I itself, giving a clean equation to solve.
Formal Proof / Solution
Step 1: Symmetry.
By the substitution x↦2π−x,
I=∫0π/2ln(cosx)dx.
Step 2: Add the two copies.
2I=∫0π/2ln(sinx)dx+∫0π/2ln(cosx)dx=∫0π/2ln(sinxcosx)dx.
Use the identity sinxcosx=2sin2x:
2I=∫0π/2ln(2sin2x)dx=∫0π/2ln(sin2x)dx−∫0π/2ln2dx.
Step 3: Substitute u=2x in the first piece.
∫0π/2ln(sin2x)dx=21∫0πln(sinu)du.
Now use the symmetry of sin about π/2:
∫0πln(sinu)du=2∫0π/2ln(sinu)du=2I.
So ∫0π/2ln(sin2x)dx=21⋅2I=I.
Step 4: Solve for I.
2I=I−2πln2
I=−2πln2.
Result:
∫0π/2ln(sinx)dx=−2πln2.
Why it's surprising: The integral of a function that diverges to −∞ at the endpoint x=0 gives a clean closed form involving π and ln2 — two of the most fundamental constants in mathematics, linked here by a symmetry argument rather than any residue or special-function machinery.
Written to: questions/2025-07-18-PM.md | Answer: questions/2025-07-18-PM-answer.md