Question:

\(\int\left(1+x-\frac{1}{x}\right) \mathrm{e}^{x+\frac{1}{x}} \mathrm{~d} x\) is equal to

Show Hint

Look for a function whose derivative is the given integrand, using the product rule.
Updated On: Nov 16, 2026
  • \((x-1)\mathrm{e}^{x+\frac{1}{x}}+\mathrm{c}\), where c is a constant of integration.
  • \(x\mathrm{e}^{x+\frac{1}{x}}+c\), where \(c\) is a constant of integration.
  • \((x+1)\mathrm{e}^{x+\frac{1}{x}}+\mathrm{c}\), where c is a constant of integration.
  • \(-xe^{x+\frac{1}{x}}+c\), where \(c\) is a constant of integration.
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
Try \(\dfrac{d}{dx}\left[x\,e^{x+\frac{1}{x}}\right]\) and see whether it matches the integrand.

Step 2: Differentiate
\(\dfrac{d}{dx}\left[x\,e^{x+\frac{1}{x}}\right]=e^{x+\frac{1}{x}}+x\,e^{x+\frac{1}{x}}\left(1-\dfrac{1}{x^2}\right)\).

Step 3: Simplify
\(=e^{x+\frac{1}{x}}\left(1+x-\dfrac{1}{x}\right)\), which is exactly the integrand.

Step 4: Result
Therefore the integral is \(x\,e^{x+\frac{1}{x}}+c\).

Final Answer:
The integral equals x times e to the power x plus 1/x, plus a constant. \[ \boxed{\text{(B) }x\,\mathrm{e}^{x+\frac{1}{x}}+c} \]
Was this answer helpful?
0
0