Question:

\[\int \frac{1+\sin (\log x)}{1+\cos (\log x)} d x=\]

Show Hint

Substitute log x = t and use the e^t (f + f') form.
Updated On: Nov 16, 2026
  • \(x^{2}\mathrm{tan}(\frac{\mathrm{log}x}{2})+c\), where \(c\) is a constant of integration.
  • \(x\mathrm{tan}(\mathrm{log}(\frac{x}{2}))+\mathrm{c}\), where c is a constant of integration.
  • \(x^{3}\mathrm{log}(\frac{\mathrm{tan}x}{2})+\mathrm{c}\), where c is a constant of integration.
  • \(x\cdot \mathrm{tan}(\frac{\mathrm{log}x}{2})+\mathrm{c}\), where c is a constant of integration.
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
Put \(\log x=t\), so \(x=e^t\) and \(dx=e^t\,dt\).

Step 2: Rewrite
\(\frac{1+\sin t}{1+\cos t}=\frac{1+2\sin\frac t2\cos\frac t2}{2\cos^2\frac t2}=\frac12\sec^2\frac t2+\tan\frac t2\).

Step 3: Use the pattern
With \(f=\tan\frac t2\), \(f'=\frac12\sec^2\frac t2\), so the integral is \(\int e^t(f+f')dt\).

Step 4: Calculation
\(\int e^t(f+f')dt=e^tf+c=x\tan\frac{\log x}{2}+c\).

Final Answer:
The integral equals x tan((log x)/2) + c. \[ \boxed{\text{(D) }x\cdot\tan\left(\frac{\log x}{2}\right)+\text{c}} \]
Was this answer helpful?
0
0