Solveeit Logo

Question

Question: Integration of the expression \(\int{(x-1)}{{e}^{-x}}dx\) is equal to (A) \(-x{{e}^{x}}+C\) (B) ...

Integration of the expression (x1)exdx\int{(x-1)}{{e}^{-x}}dx is equal to
(A) xex+C-x{{e}^{x}}+C
(B) xex+Cx{{e}^{x}}+C
(C) xex+C-x{{e}^{-x}}+C
(D) xex+Cx{{e}^{-x}}+C

Explanation

Solution

First expand the integral by multiplying through the bracket by ex{{e}^{-x}}. Now integrate the two terms that is xexdx\int{x{{e}^{-x}}}dx and exdx\int{-{{e}^{-x}}dx} so obtained separately. For integrating xexdx\int{x{{e}^{-x}}}dx , integrate using by parts method because xexx{{e}^{-x}} is the product of two functions xx and ex{{e}^{-x}}. If uvuv is the product of two functions uu and vv then integral of uvuv is given by \int{(uv)}dx=[u.\int{vdx]-\int{\left\\{ \dfrac{du}{dx}.\int{vdx} \right\\}}}dx where u and v are functions of x.

Complete step by step answer:
In the given question we have to integrate the expression (x1)exdx\int{(x-1)}{{e}^{-x}}dx . So, let us take that term as I, that is,
I=(x1)exdxI=\int{(x-1)}{{e}^{-x}}dx
Now we will expand the expression by multiplying ex{{e}^{-x}} to the terms inside the bracket. Then the expression becomes,
I=(xexex)dx........(1)I=\int{(x}{{e}^{-x}}-{{e}^{-x}})dx........(1)
We know that (f(x)+g(x))dx=f(x)dx+g(x)dx\int{(f(x)+g(x))dx=\int{f(x)dx+\int{g(x)dx}}} where f(x) and g(x) are functions of x. Then the above equation (1) can be written as
I=xexdxexdxI=\int{x{{e}^{-x}}dx-\int{{{e}^{-x}}dx}}
We will integrate the two terms separately so let I1=xexdx{{I}_{1}}=\int{x{{e}^{-x}}}dx and I2=exdx{{I}_{2}}=\int{{{e}^{-x}}dx} . The above integral becomes,
I=I1I2........(2)I={{I}_{1}}-{{I}_{2}}........(2)
After solving I1{{I}_{1}}and I2{{I}_{2}} we will substitute these values in equation (2). So first we have to solve I1{{I}_{1}},
I1=xexdx{{I}_{1}}=\int{x{{e}^{-x}}}dx
Since xx and ex{{e}^{-x}} are two functions of xx so we will integrate this whole expression using by parts method, which states that if integral is expressed as product of two functions then it is equal to
( 1st{{1}^{st}} function) x (integral of 2nd{{2}^{nd}} function)-\int{{}}{( derivative of 1st{{1}^{st}} function) x (integral of 2nd{{2}^{nd}} function)}dx which mathematically can be expressed as \int{(uv)}dx=[u.\int{vdx]-\int{\left\\{ \dfrac{du}{dx}.\int{vdx} \right\\}}}dx where u and v are functions of x. We will use ILATE (Inverse, Logarithmic, Algebraic, Trigonometric and Exponent) rule for choosing u and v. Herexx is an algebraic term and ex{{e}^{-x}} is an exponential term. According to ILATE rule preference is given to algebraic terms so here u=xu=x and v=exv={{e}^{-x}} .
So now after using by parts, expression becomes,
=x\int{{{e}^{-x}}}dx-\int{\left\\{ \dfrac{d(x)}{dx}\int{{{e}^{-x}}dx} \right\\}}dx
Integral of ex{{e}^{-x}} is ex-{{e}^{-x}} and derivative of x is 1 so the above expression becomes,
=-x{{e}^{-x}}-\int{\left\\{ (1)\int{{{e}^{-x}}}dx \right\\}}dx
=xex(ex)dx=-x{{e}^{-x}}-\int{(-{{e}^{-x}})dx}
=xex+exdx=-x{{e}^{-x}}+\int{{{e}^{-x}}dx}
=xex+(1)ex=-x{{e}^{-x}}+(-1){{e}^{-x}} as integral of ex{{e}^{-x}} is ex-{{e}^{-x}}.
=xexex+C1........(3)=-x{{e}^{-x}}-{{e}^{-x}}+{{C}_{1}}........(3) where C1{{C}_{1}} is the integral constant
Now we have to integrate I2{{I}_{2}}.
I2=exdx{{I}_{2}}=\int{{{e}^{-x}}dx}
We know that the integral of ex{{e}^{-x}} is ex-{{e}^{-x}}. So the above expression becomes,
=ex+C2.........(4)=-{{e}^{-x}}+{{C}_{2}}.........(4) where C2{{C}_{2}}is the integral constant
We will now put the values of equation (3) and (4) in (2), we get
I=(xexex+C1)(ex+C2) =xexex+C1+exC2 =xex+(C1C2) \begin{aligned} & I=(-x{{e}^{-x}}-{{e}^{-x}}+{{C}_{1}})-(-{{e}^{-x}}+{{C}_{2}}) \\\ & =-x{{e}^{-x}}-{{e}^{-x}}+{{C}_{1}}+{{e}^{-x}}-{{C}_{2}} \\\ & =-x{{e}^{-x}}+({{C}_{1}}-{{C}_{2}}) \\\ \end{aligned}
=xex+C=-x{{e}^{-x}}+C , where C=C1C2C={{C}_{1}}-{{C}_{2}}
Therefore, the integral of (x1)exdx\int{(x-1)}{{e}^{-x}}dx is xex+C-x{{e}^{-x}}+C.

So, the correct answer is “Option C”.

Note: Care should be taken while evaluating the integral I1=xexdx{{I}_{1}}=\int{x{{e}^{-x}}}dx using by parts, this integral should be evaluated as x\int{{{e}^{-x}}}dx-\int{\left\\{ \dfrac{d(x)}{dx}\int{{{e}^{-x}}dx} \right\\}}dx , there is a minus sign between the terms xexdxx\int{{{e}^{-x}}}dx and \int{\left\\{ \dfrac{d(x)}{dx}\int{{{e}^{-x}}dx} \right\\}}dx, it should not be mistakenly written as plus sign. And in integral \int{\left\\{ \dfrac{d(x)}{dx}\int{{{e}^{-x}}dx} \right\\}}dx there are two integral signs so first integrate the term which is inside the bracket and then multiply this result to the derivative of x then again integrate the result so obtained.