Class 12 Maths, Worked in Full Past papersGet updates
CBSE Board Examination 2023 · Section C · 3 marks

Q26: ∫0π/2[log⁡(sin⁡x)−log⁡(2cos⁡x)] dx\int_0^{\pi/2}[\log(\sin x) - \log(2\cos x)]\,dx

The question

Evaluate :

∫0π2[log⁡(sin⁡x)−log⁡(2cos⁡x)] dx.\int_0^{\frac{\pi}{2}}[\log(\sin x) - \log(2\cos x)]\,dx.
Exam answer

Let I be the given integral. Then

I=∫0π/2[log⁡sin⁡x−log⁡(2cos⁡x)] dx=∫0π/2log⁡(tan⁡x2)dx…(i)\begin{aligned} I &= \int_0^{\pi/2}[\log\sin x \\ &\qquad - \log(2\cos x)]\,dx \\ &= \int_0^{\pi/2}\log\left(\frac{\tan x}{2}\right)dx \quad\ldots(\text{i}) \end{aligned}
Why?

Combine the two logs with

log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}

Then

sin⁡x2cos⁡x=12⋅sin⁡xcos⁡x=tan⁡x2\frac{\sin x}{2\cos x} = \frac12\cdot\frac{\sin x}{\cos x} = \frac{\tan x}{2}

One log is easier to handle than two. Label this form (i), because it will be used again.

Using ∫0af(x) dx=∫0af(a−x) dx\displaystyle\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx⁠,

I=∫0π/2log⁡(tan⁡(π2−x)2)dx=∫0π/2log⁡(cot⁡x2)dx…(ii)\begin{aligned} I &= \int_0^{\pi/2}\log\left(\frac{\tan\left(\frac{\pi}{2} - x\right)}{2}\right)dx \\ &= \int_0^{\pi/2}\log\left(\frac{\cot x}{2}\right)dx \quad\ldots(\text{ii}) \end{aligned}
Why?

Here a=π2a = \frac{\pi}{2}⁠, so every xx is replaced by π2−x\frac{\pi}{2} - x⁠, and

tan⁡(π2−x)=cot⁡x\tan\left(\frac{\pi}{2} - x\right) = \cot x

This property is the right tool here. It turns tan⁡x\tan x into cot⁡x\cot x⁠, and tan⁡xcot⁡x=1\tan x\cot x = 1⁠, so adding (i) and (ii) will remove xx from the log.

Adding (i) and (ii),

2I=∫0π/2log⁡(tan⁡x2×cot⁡x2)dx=∫0π/2log⁡(14)dx=log⁡(14)[x]0π/2=π2log⁡14\begin{aligned} 2I &= \int_0^{\pi/2}\log\left(\frac{\tan x}{2}\times\frac{\cot x}{2}\right)dx \\ &= \int_0^{\pi/2}\log\left(\frac14\right)dx \\ &= \log\left(\frac14\right)\big[x\big]_0^{\pi/2} = \frac{\pi}{2}\log\frac14 \end{aligned}
Why?

Add the logs with log⁡a+log⁡b=log⁡(ab)\log a + \log b = \log(ab)⁠. The product inside is a constant:

tan⁡x2×cot⁡x2=tan⁡xcot⁡x4=14\begin{aligned} \frac{\tan x}{2}\times\frac{\cot x}{2} &= \frac{\tan x\cot x}{4} \\ &= \frac{1}{4} \end{aligned}

because tan⁡xcot⁡x=1\tan x\cot x = 1⁠. A constant comes outside the integral, and [x]0π/2\big[x\big]_0^{\pi/2} is π2−0\frac{\pi}{2} - 0⁠.

log⁡(14)(π2−0)=log⁡(14)×π2=π2log⁡14\begin{aligned} &\log\left(\frac14\right)\left(\frac{\pi}{2} - 0\right) \\ &= \log\left(\frac14\right) \times \frac{\pi}{2} \\ &= \frac{\pi}{2}\log\frac14 \end{aligned}

Dividing by 2,

Why?
I=12⋅π2log⁡14=1×π2×2log⁡14=π4log⁡14\begin{aligned} I &= \frac12\cdot\frac{\pi}{2}\log\frac14 \\ &= \frac{1 \times \pi}{2 \times 2}\log\frac14 \\ &= \frac{\pi}{4}\log\frac14 \end{aligned}

The second form uses

14=122=2−2log⁡14=log⁡2−2=−2log⁡2\begin{aligned} \frac14 &= \frac{1}{2^2} = 2^{-2} \\ \log\frac14 &= \log 2^{-2} = -2\log 2 \end{aligned}

(by the rule log⁡an=nlog⁡a\log a^n = n\log a⁠), so that π4×(−2log⁡2)=−π2log⁡2\frac{\pi}{4}\times(-2\log 2) = -\frac{\pi}{2}\log 2⁠. Either form is accepted.

π4×(−2log⁡2)=−2π4log⁡2=−π2log⁡2\begin{aligned} \frac{\pi}{4}\times(-2\log 2) &= -\frac{2\pi}{4}\log 2 \\ &= -\frac{\pi}{2}\log 2 \end{aligned}

∴ I=π4log⁡14\therefore\ I = \dfrac{\pi}{4}\log\dfrac14 or −π2log⁡2-\dfrac{\pi}{2}\log 2⁠.

Where this comes from

Chapter 7, Integrals: Definite integrals: the f(a − x) property.

Question type: Limits from 0 to aa

How to spot it: click to see

Type 12. Limits from 0 to aa⁠: the f(a−x)f(a - x) trick

Spot it: replacing xx by a−xa - x swaps the parts of the question, like sin and cos when aa is π2\frac{\pi}{2}⁠.

Here: After joining the logs into log⁡tan⁡x2\log\frac{\tan x}{2}⁠, the limits are 00 and π2\frac{\pi}{2}⁠, and replacing xx by π2−x\frac{\pi}{2} - x turns tan⁡x\tan x into cot⁡x\cot x⁠. Adding the two forms gives log⁡14\log\frac14⁠, a constant.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →