Skip to content
NCERT Exemplar · Q47

Q.∫−π/4π/4log⁡(sin⁡x+cos⁡x) dx\int_{-\pi/4}^{\pi/4} \log(\sin x+\cos x)\,dx

Odisha ChseLong· 5mImportance★★★★★
94% · 349/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 symmetry property ∫−aaf(x) dx=∫0a[f(x)+f(−x)] dx\int_{-a}^{a} f(x) \, dx = \int_{0}^{a} [f(x) + f(-x)] \, dx, the integrand simplifies to log⁡(cos⁡2x)\log(\cos 2x) after combining f(x)f(x) and f(−x)f(-x). The integral then becomes ∫0π/4log⁡(cos⁡2x) dx\int_{0}^{\pi/4} \log(\cos 2x) \, dx, which evaluates to −π4log⁡2-\frac{\pi}{4} \log 2.

The key insight here is that the limits are symmetric about zero, from −π/4-\pi/4 to π/4\pi/4. When you see symmetric limits, your first instinct should be to check if the integrand has any symmetry — even, odd, or something that simplifies when you replace xx with −x-x. Here, the integrand is log⁡(sin⁡x+cos⁡x)\log(\sin x + \cos x), which is neither even nor odd. But the symmetry trick still works: we can rewrite the integral as half the sum of the function and its reflection.

Let’s walk through it.

  1. Apply the symmetry property for definite integrals. For any function f(x)f(x) integrated over [−a,a][-a, a], we have:

∫−aaf(x) dx=∫0a[f(x)+f(−x)] dx.\int_{-a}^{a} f(x) \, dx = \int_{0}^{a} [f(x) + f(-x)] \, dx.

This is because the integral from −a-a to 00 can be transformed by substituting x→−xx \to -x, and then adding it to the integral from 00 to aa.

Here, a=π/4a = \pi/4 and f(x)=log⁡(sin⁡x+cos⁡x)f(x) = \log(\sin x + \cos x). So:

I=∫−π/4π/4log⁡(sin⁡x+cos⁡x) dx=∫0π/4[log⁡(sin⁡x+cos⁡x)+log⁡(sin⁡(−x)+cos⁡(−x))]dx.I = \int_{-\pi/4}^{\pi/4} \log(\sin x + \cos x) \, dx = \int_{0}^{\pi/4} \left[ \log(\sin x + \cos x) + \log(\sin(-x) + \cos(-x)) \right] dx.

  1. Simplify f(−x)f(-x). Since sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x and cos⁡(−x)=cos⁡x\cos(-x) = \cos x, we get:

f(−x)=log⁡(−sin⁡x+cos⁡x)=log⁡(cos⁡x−sin⁡x).f(-x) = \log(-\sin x + \cos x) = \log(\cos x - \sin x).

So the sum inside the integral becomes:

log⁡(sin⁡x+cos⁡x)+log⁡(cos⁡x−sin⁡x)=log⁡[(sin⁡x+cos⁡x)(cos⁡x−sin⁡x)].\log(\sin x + \cos x) + \log(\cos x - \sin x) = \log\left[ (\sin x + \cos x)(\cos x - \sin x) \right].

  1. Use the identity (sin⁡x+cos⁡x)(cos⁡x−sin⁡x)=cos⁡2x−sin⁡2x=cos⁡2x(\sin x + \cos x)(\cos x - \sin x) = \cos^2 x - \sin^2 x = \cos 2x. This is a standard double-angle identity. So:

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

Tip

Notice how the symmetry turned a sum of two logs into a single log of a product, and that product collapsed into a simple trigonometric function. This is the power of the f(x)+f(−x)f(x)+f(-x) trick — it often reveals hidden simplifications.

  1. Substitute to simplify further. Let t=2xt = 2x. Then dx=dt/2dx = dt/2, and when x=0x = 0, t=0t = 0; when x=π/4x = \pi/4, t=π/2t = \pi/2. So:

I=∫0π/2log⁡(cos⁡t)⋅dt2=12∫0π/2log⁡(cos⁡t) dt.I = \int_{0}^{\pi/2} \log(\cos t) \cdot \frac{dt}{2} = \frac{1}{2} \int_{0}^{\pi/2} \log(\cos t) \, dt.

  1. Recall the standard result for ∫0π/2log⁡(cos⁡t) dt\int_{0}^{\pi/2} \log(\cos t) \, dt. This is a well-known integral. One way to derive it is to use the identity ∫0π/2log⁡(sin⁡t) dt=∫0π/2log⁡(cos⁡t) dt\int_{0}^{\pi/2} \log(\sin t) \, dt = \int_{0}^{\pi/2} \log(\cos t) \, dt (by substituting t→π/2−tt \to \pi/2 - t), and then note that:

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

But the left side, with u=2tu = 2t, becomes 12∫0πlog⁡(sin⁡u) du\frac{1}{2} \int_{0}^{\pi} \log(\sin u) \, du, and using symmetry, that equals ∫0π/2log⁡(sin⁡t) dt\int_{0}^{\pi/2} \log(\sin t) \, dt. Solving gives:

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

›Proof

Derivation of ∫0π/2log⁡(cos⁡t) dt=−π2log⁡2\int_{0}^{\pi/2} \log(\cos t) \, dt = -\frac{\pi}{2} \log 2: …

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.