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

$\int\left(1+x-\frac{1}{x}\right) \mathrm{e}^{x+\frac{1}{x}} \mathrm{~d} x$ is equal to
  1. $(x-1) \mathrm{e}^{x+\frac{1}{x}}+\mathrm{c}$, where c is a constant of integration.
  2. $x \mathrm{e}^{x+\frac{1}{x}}+\mathrm{c}$, where c is a constant of integration.
  3. $(x+1) \mathrm{e}^{x+\frac{1}{x}}+\mathrm{c}$, where c is a constant of integration.
  4. $-x \mathrm{e}^{x+\frac{1}{x}}+\mathrm{c}$, where c is a constant of integration.

Solution

$\begin{aligned} & \int\left(1+x-x^{-1}\right) \mathrm{e}^{x+x^{-1}} \mathrm{~d} x \\ & =\int\left[x \mathrm{e}^{x+x^{-1}}\left(1-\frac{1}{x^2}\right)+\mathrm{e}^{x+x^{-1}}\right] \mathrm{d} x \\ & =x \mathrm{e}^{x+x^{-1}} \cdot+\mathrm{c} \quad \ldots \cdot\left[\because \int\left[x \mathrm{f}^{\prime}(x)+\mathrm{f}(x)\right] \mathrm{d} x=x \mathrm{f}(x)+\mathrm{c}\right]\end{aligned}$

Asked in: MHT CET 2024 (15 May Shift 2)

Practice more Indefinite Integration questions on Aicharya