Question
Question: The value of integral \[\int{\left( 1+x-\dfrac{1}{x} \right){{e}^{x+\dfrac{1}{x}}}dx}\] is equal to ...
The value of integral ∫(1+x−x1)ex+x1dx is equal to
& A.\left( x-1 \right){{e}^{x+\dfrac{1}{x}}}+c \\\ & B.x{{e}^{x+\dfrac{1}{x}}}+c \\\ & C.\left( x+1 \right){{e}^{x+\dfrac{1}{x}}}+c \\\ & D.-x{{e}^{x+\dfrac{1}{x}}}+c \\\ \end{aligned}$$Solution
To solve this question, we will use the formula of integral which is given as
\int{{{e}^{x}}}\left\\{ f\left( x \right)+f'\left( x \right) \right\\}dx={{e}^{x}}f\left( x \right)+c
Where, f'(x) is the derivative of f(x).
We will use the function f(x) as f(x)=xex1 and use the formula above to get answer. Also, we will use the product rule of differentiation as:
dxd(h(x)−g(x))=h(x)dxdg(x)+dxd(h(x))−g(x)
Complete step-by-step answer:
Given that, ∫(1+x−x1)ex+x1dx
Let I=∫(1+x−x1)ex+x1dx
Now, write ex+x1=exex1
Using this in above value of I, we get:
I=∫(1+x−x1)exex1dx
Now, taking ex common one and multiplying ex1 inside in all terms we get:
I=∫exex1+xex1−x1ex1dx . . . . . . . . . (i)
Now, assume f(x)=xex1
We will differentiate f(x) in respect to x. To do so, we will apply product rule of differentiation which says that,
dxd(h(x).g(x))=h(x)dxdg(x)+dxd(h(x)).g(x)
Using product rule of differentiation taking
h(x)=x and g(x)=ex1 we get