Question:hard

If \(\int _{0}^{\pi }\log (\sin x)dx=k\), then the value of \(\int _{0}^{\frac{\pi }{4}}\log (1+\tan x)dx\) in terms of \(k\) is...

Show Hint

Use the king property to evaluate the integral as pi by 8 times log 2, and relate k to pi times log 2.
Updated On: Nov 12, 2026
  • \(\frac{k}{8}\)
  • \(-\frac{k}{2}\)
  • \(-\frac{k}{8}\)
  • \(\frac{k}{2}\)
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Known result
The standard value is $\int_{0}^{\pi/2}\log\sin x\,dx=-\frac{\pi}{2}\log2$, and by symmetry $k=2\times\left(-\frac{\pi}{2}\log2\right)=-\pi\log2$.

Step 2: Other integral
By the property $\int_{0}^{a}f(x)dx=\int_{0}^{a}f(a-x)dx$ with $a=\frac{\pi}{4}$, the integral is half of $\frac{\pi}{4}\log2$, i.e. $\frac{\pi}{8}\log2$.

Step 3: Compare
$\frac{\pi}{8}\log2=\frac{-k}{8}$, the third option.

Final Answer:
The required value is −k/8. \[ \boxed{\text{(C) }-\dfrac{k}{8}} \]
Was this answer helpful?
0