Skip to content
Exercise 7.10 · Q16

Q.By using the properties of definite integrals, evaluate the integral ∫0πlog⁡(1+cos⁡x) dx\int_{0}^{\pi}\log(1+\cos x)\,dx

Odisha ChseTextbookSubjective· 3mImportance★★★★★est
67% · 249/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 →

Using the property ∫0af(x) dx=∫0af(a−x) dx\int_{0}^{a} f(x)\,dx = \int_{0}^{a} f(a-x)\,dx and the identity 1+cos⁡(π−x)=1−cos⁡x1+\cos(\pi - x) = 1 - \cos x, we add the two forms to simplify the integral to ∫0πlog⁡(sin⁡2x) dx\int_{0}^{\pi} \log(\sin^2 x)\,dx, which evaluates to −πlog⁡2-\pi\log 2.

The trick here is that the integrand log⁡(1+cos⁡x)\log(1+\cos x) doesn't have a nice antiderivative you can write down easily. But definite integrals have symmetry properties that let us transform the problem into something simpler. The key property is:

∫0af(x) dx=∫0af(a−x) dx\int_{0}^{a} f(x)\,dx = \int_{0}^{a} f(a-x)\,dx

This works because as xx runs from 00 to aa, the quantity a−xa-x runs from aa to 00, covering the same interval in reverse. The area under the curve doesn't care about direction.

Let's apply this to our integral.

  1. Write the original integral. Let

I=∫0πlog⁡(1+cos⁡x) dx.I = \int_{0}^{\pi} \log(1+\cos x)\,dx.

  1. Apply the symmetry property with a=πa = \pi. Replace xx by π−x\pi - x:

I=∫0πlog⁡(1+cos⁡(π−x)) dx.I = \int_{0}^{\pi} \log\bigl(1+\cos(\pi - x)\bigr)\,dx.

Now cos⁡(π−x)=−cos⁡x\cos(\pi - x) = -\cos x, so

I=∫0πlog⁡(1−cos⁡x) dx.I = \int_{0}^{\pi} \log(1 - \cos x)\,dx.

  1. Add the two expressions for II. We now have two different-looking integrals that are actually equal. Adding them gives:

2I=∫0π[log⁡(1+cos⁡x)+log⁡(1−cos⁡x)] dx.2I = \int_{0}^{\pi} \bigl[\log(1+\cos x) + \log(1-\cos x)\bigr]\,dx.

Using log⁡A+log⁡B=log⁡(AB)\log A + \log B = \log(AB):

2I=∫0πlog⁡((1+cos⁡x)(1−cos⁡x)) dx.2I = \int_{0}^{\pi} \log\bigl((1+\cos x)(1-\cos x)\bigr)\,dx.

  1. Simplify the product. (1+cos⁡x)(1−cos⁡x)=1−cos⁡2x=sin⁡2x(1+\cos x)(1-\cos x) = 1 - \cos^2 x = \sin^2 x. So

2I=∫0πlog⁡(sin⁡2x) dx.2I = \int_{0}^{\pi} \log(\sin^2 x)\,dx.

And log⁡(sin⁡2x)=2log⁡∣sin⁡x∣\log(\sin^2 x) = 2\log|\sin x|. Since sin⁡x≥0\sin x \ge 0 on [0,π][0,\pi], we can drop the absolute value:

2I=2∫0πlog⁡(sin⁡x) dx.2I = 2\int_{0}^{\pi} \log(\sin x)\,dx.

Cancel the factor of 2:

I=∫0πlog⁡(sin⁡x) dx.I = \int_{0}^{\pi} \log(\sin x)\,dx.

Watch out

A common mistake is to forget that log⁡(sin⁡2x)=2log⁡∣sin⁡x∣\log(\sin^2 x) = 2\log|\sin x|, not 2log⁡(sin⁡x)2\log(\sin x) — but on [0,π][0,\pi], sin⁡x\sin x is non-negative, so it's safe.

  1. Evaluate the standard integral ∫0πlog⁡(sin⁡x) dx\int_{0}^{\pi} \log(\sin x)\,dx. This is a classic result. One elegant way uses the same symmetry trick again. Let

J=∫0πlog⁡(sin⁡x) dx.J = \int_{0}^{\pi} \log(\sin x)\,dx.

Replace xx by π−x\pi - x: since sin⁡(π−x)=sin⁡x\sin(\pi - x) = \sin x, we get J=JJ = J — that doesn't help directly. Instead, use the substitution x=2tx = 2t:

J=∫0π/2log⁡(sin⁡2t)⋅2 dt=2∫0π/2log⁡(2sin⁡tcos⁡t) dt.J = \int_{0}^{\pi/2} \log(\sin 2t) \cdot 2\,dt = 2\int_{0}^{\pi/2} \log(2\sin t \cos t)\,dt. …

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.