Question:

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
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Understanding the Concept
Use the substitution \(t=\log\tan\left(\dfrac{\pi}4+\dfrac x2\right)\).

Step 2: Find dt
\(dt=\dfrac{1}{\tan(\frac\pi4+\frac x2)}\cdot\sec^2\left(\dfrac\pi4+\dfrac x2\right)\cdot\dfrac12\,dx=\dfrac{1}{\sin(\frac\pi2+x)}dx=\sec x\,dx\).

Step 3: Integrate
\(\int\dfrac{\sec x\,dx}{\log\tan(\frac\pi4+\frac x2)}=\int\dfrac{dt}{t}=\log|t|+c\).

Step 4: Back-substitute
The result is \(\log\left|\log\left|\tan\left(\dfrac\pi4+\dfrac x2\right)\right|\right|+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
0