Question:

\[\int e^x\left(\frac{1+\sin x}{1+\cos x}\right) d x=\]

Show Hint

Rewrite the fraction as f(x) + f'(x) with f = tan(x/2), then use the formula for the integral of e^x[f + f'].
Updated On: Nov 17, 2026
  • \(e^{x}\mathrm{tan}\frac{x}{2}+c\)
  • \(e^{x}\mathrm{cot}\frac{x}{2}+c\)
  • \(e^{x}\mathrm{cos}\frac{x}{2}+c\)
  • \(e^{x}\mathrm{sin}\frac{x}{2}+c\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understanding the Concept
\(\int e^x[f(x)+f'(x)]\,dx=e^xf(x)+c\).

Step 2: Simplify the fraction
\(\dfrac{1+\sin x}{1+\cos x}=\dfrac{1+2\sin\frac{x}{2}\cos\frac{x}{2}}{2\cos^2\frac{x}{2}}=\dfrac12\sec^2\dfrac{x}{2}+\tan\dfrac{x}{2}\).

Step 3: Identify f
Let \(f=\tan\dfrac{x}{2}\). Then \(f'=\dfrac12\sec^2\dfrac{x}{2}\).

Step 4: Integrate
\(\int e^x(f+f')\,dx=e^x\tan\dfrac{x}{2}+c\)

Final Answer:
The integral equals e to the x times tan(x/2) plus c. \[ \boxed{\text{(A) }e^{x}\tan\dfrac{x}{2}+c} \]
Was this answer helpful?
0
0