Question
Question: How do you integrate \[\int {\dfrac{{x{e^x}}}{{{{\left( {x + 1} \right)}^2}}}} dx\] using integratio...
How do you integrate ∫(x+1)2xexdx using integration by parts?
Solution
We have to find ∫(x+1)2xexdx using integration by parts. As we know, integration by parts or partial integration is a process that finds the integral of a product of function in terms of the integral of the product of their derivative and antiderivative. We will first write the x in the numerator as (x+1−1), then we will divide the numerator with the denominator. We will apply integration by parts on ∫(x+1)exdx and then we will cancel the common terms to find the result.
Complete answer:
As we know, integration by parts or partial integration is a process that finds the integral of a product of function in terms of the integral of the product of their derivative and antiderivative.
The rule can be thought of as an integral version of the product rule of differentiation.
The integration by parts formula states:
∫u(x)v′(x)dx=u(x)v(x)−∫u′(x)v(x)dx
Let, I=∫(x+1)2xexdx
We can write the x in the numerator as (x+1−1).
So, we get
⇒I=∫(x+1)2(x+1−1)exdx
On dividing, we get
⇒I=∫[(x+1)2x+1−(x+1)21]exdx
Cancelling the common terms from the numerator and the denominator,
⇒I=∫[(x+1)1−(x+1)21]exdx
On multiplying the terms, we get
⇒I=∫(x+1)exdx−∫(x+1)2exdx
Applying integration by parts in first integral i.e., ∫(x+1)exdx, we get
⇒I=((x+1)1×∫exdx)−∫(dxd((x+1)1)×∫exdx)dx−∫(x+1)2exdx+C
As we know that ∫exdx=ex and dxd((x+1)1)=(x+1)2−1, putting this we get
⇒I=((x+1)1×ex)−∫((−(x+1)21)×ex)dx−∫(x+1)2exdx+C
On simplifying, we get
⇒I=(x+1)ex+∫(x+1)2exdx−∫(x+1)2exdx+C
As we can see that the second term and the third term are the same with opposite signs. Therefore, we can cancel them. So, we get
⇒I=(x+1)ex+C
Therefore, we get ∫(x+1)2xexdx using integration by parts as (x+1)ex+C.
Note:
Here, we get a constant of integration ′C′ because this is a case of indefinite integration. In the case of definite integration where lower and upper limits are given, integration by parts formula can be written as: a∫bu(x)v′(x)dx=[u(x)v(x)]ab−a∫bu′(x)v(x)dx i.e., a∫bu(x)v′(x)dx=u(b)v(b)−u(a)v(a)−a∫bu′(x)v(x)dx where a is the lower limit and b is the upper limit.