Question:medium

The value of the integral \(\int \frac{1}{\cos x\cdot \log \left(\tan \left(\frac{\pi }{4}+\frac{x}{2}\right)\right)}dx\) is....

Show Hint

Substitute t equal to the logarithm; its derivative is sec x.
Updated On: Nov 12, 2026
  • \(\csc \left(\frac{x}{2}\right)+\cot \left(\frac{x}{2}\right)+c\)
  • \(\sec ^{2}(2x)+\log x+c\)
  • \(\log |\log |\tan \left(\frac{\pi }{4}+\frac{x}{2}\right)||+c\)
  • \(\tan \left[\log |\sec \left(\frac{\pi }{4}+\frac{x}{2}\right)|\right]+c\)
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Rewrite
$\dfrac1{\cos x\,\log\tan(\ldots)}=\dfrac{\sec x}{\log\tan(\ldots)}$.

Step 2: Recognise the derivative
We know $\dfrac{d}{dx}\log\tan\left(\dfrac\pi4+\dfrac x2\right)=\sec x$.

Step 3: Use the standard form
The integrand has the form $\dfrac{g'(x)}{g(x)}$, so the integral is $\log|g(x)|+c$.

Final Answer:
The integral is $\log|\log|\tan(\frac\pi4+\frac x2)||+c$. \[ \boxed{\text{(C) }\log |\log |\tan \left(\dfrac{\pi }{4}+\dfrac{x}{2}\right)||+c} \]
Was this answer helpful?
0