Question:

If \(I_{1}=\int \frac{e^{x}}{e^{2x}+e^{x}+1}dx\) and \(I_{2}=\int \frac{1}{e^{-2x}+e^{-x}+1}dx\), then \(I_{1}-I_{2}=\)

Show Hint

Rewrite I2 with e^(2x) in the numerator, subtract, and substitute t = e^x.
Updated On: Nov 12, 2026
  • \(-\frac{1}{2}\log |e^{2x}+e^{x}+1|+\sqrt{3}\tan ^{-1}\left(\frac{2e^{x}+1}{\sqrt{3}}\right)+c\)
  • \(-\frac{1}{2}\log |e^{2x}+e^{x}+1|+\frac{\sqrt{3}}{2}\log |\frac{2e^{x}+1-\sqrt{3}}{2e^{x}+1+\sqrt{3}}|+c\)
  • \(-\frac{1}{2}\log |e^{2x}+e^{x}+1|-\sqrt{3}\tan ^{-1}\left(\frac{2e^{x}+1}{\sqrt{3}}\right)+c\)
  • \(-\frac{1}{2}\log |e^{2x}+e^{x}+1|-\frac{\sqrt{3}}{2}\log |\frac{2e^{x}+1-\sqrt{3}}{2e^{x}+1+\sqrt{3}}|+c\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understanding the Concept
Multiply the numerator and denominator of \(I_2\) by \(e^{2x}\): \(I_{2}=\int \dfrac{e^{2x}}{1+e^{x}+e^{2x}}dx\).

Step 2: Subtract
\(I_{1}-I_{2}=\int \dfrac{e^{x}-e^{2x}}{e^{2x}+e^{x}+1}dx\).
Put \(t=e^{x}\), \(dx=\dfrac{dt}{t}\), giving \(\int \dfrac{1-t}{t^{2}+t+1}dt\).

Step 3: Split
Write \(1-t=-\dfrac{1}{2}(2t+1)+\dfrac{3}{2}\).
Then the integral is \(-\dfrac{1}{2}\log (t^{2}+t+1)+\dfrac{3}{2}\int \dfrac{dt}{\left(t+\frac{1}{2}\right)^{2}+\frac{3}{4}}\).

Step 4: Integrate
The last integral gives \(\dfrac{3}{2}\cdot \dfrac{2}{\sqrt{3}}\tan ^{-1}\dfrac{2t+1}{\sqrt{3}}=\sqrt{3}\tan ^{-1}\dfrac{2t+1}{\sqrt{3}}\).

Final Answer:
The result is \(-\dfrac{1}{2}\log |e^{2x}+e^{x}+1|+\sqrt{3}\tan ^{-1}\left(\dfrac{2e^{x}+1}{\sqrt{3}}\right)+c\). \[ \boxed{\text{(A) }-\dfrac{1}{2}\log |e^{2x}+e^{x}+1|+\sqrt{3}\tan ^{-1}\left(\dfrac{2e^{x}+1}{\sqrt{3}}\right)+c} \]
Was this answer helpful?
0
0