Question
Question: The integral \(\int{\dfrac{x{{e}^{x}}}{{{(1+x)}^{2}}}dx}\) is equal to (a) \(\dfrac{-{{e}^{x}}}{x...
The integral ∫(1+x)2xexdx is equal to
(a) x+1−ex+C
(b) x+1ex+C
(c) x+1xex+C
(d) x+1−xex+C
(e) (x+1)2ex+C
Solution
We will rearrange the given function in order to simplify it. Adding and subtracting the same number in the numerator will not change the original function. We will use this fact to simplify the given function. We will integrate the simplified function using the method of integration by parts. The formula for integration by parts for functions u and v with respect to x is as follows,
∫uvdx=u∫vdx−∫(dxdu⋅∫vdx)dx .
Complete step-by-step answer:
The function that we have to integrate is (1+x)2xex . Now, we will add and subtract 1 to x in the numerator, since it will not affect the original function. So, our function will look like (1+x)2xex=(1+x)2(x+1−1)ex . Next, we will split our function as follows,
(1+x)2(x+1−1)ex=(1+x)2(x+1)ex−(1+x)2ex=(1+x)ex−(1+x)2ex .
We will now integrate this simplified version of the function. The function is integrated in the following manner,
∫(1+x)2xexdx=∫[(1+x)ex−(1+x)2ex]dx=∫(1+x)exdx−∫(1+x)2exdx
Now, let us consider the first term of the above equation and integrate it. As it involves two types of functions, the exponential function and an algebraic function, we will have to use the method of integration by parts. The formula for integration by parts for functions u and v with respect to x is given as follows,
∫uvdx=u∫vdx−∫(dxdu⋅∫vdx)dx .
Substituting u=1+x1 and v=ex in the above formula, we get
∫(1+x)exdx=1+x1∫exdx−∫[dxd(1+x1)∫exdx]dx
Simplifying this equation, we have the following,
∫(1+x)exdx=1+x1ex−∫[−(1+x)21ex]dx=1+xex+∫(1+x)2exdx
Now, we will substitute the above value in place of the integration of the first term in the integration of the original function. Therefore we get, ∫(1+x)2xexdx=1+xex+∫(1+x)2exdx−∫(1+x)2exdx.
Cancelling out the terms with integrals, we get the answer as ∫(1+x)2xexdx=1+xex+C where C is the integration constant.
So, the correct answer is “Option (b)”.
Note: We need to understand by observing the function how it should be simplified. The simplification should help us realize which method of integration needs to be used. Application of the formula for integration by parts needs to be done carefully since the second term in it has an integral inside an integral.