Question:

The integral \(\displaystyle\int\left(1+x-\frac1x\right)e^{x+\frac1x}\,dx\) is equal to :

Show Hint

Try \(x\,e^{x+1/x}\): its derivative is exactly the integrand.
Updated On: Nov 11, 2026
  • \((x+1)e^{x+\frac1x}+c\)
  • \(-x\,e^{x+\frac1x}+c\)
  • \((x-1)e^{x+\frac1x}+c\)
  • \(x\,e^{x+\frac1x}+c\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Let \(h=x+\frac1x\), so \(h'=1-\frac1{x^2}\).
\(\frac{d}{dx}\left(x\,e^{h}\right)=e^{h}+x\left(1-\frac1{x^2}\right)e^{h}=\left(1+x-\frac1x\right)e^{h}\), which is the integrand.
So the integral is \(x\,e^{x+\frac1x}+c\).
Answer: (4) \(x\,e^{x+\frac1x}+c\)
Was this answer helpful?
0
0