Question
Question: How do you integrate \(\int {{x^2}{e^{ - x}}dx} \) using integration by parts?...
How do you integrate ∫x2e−xdx using integration by parts?
Solution
Integration by parts means that one needs to break the function into two parts and then solve it by the formula of integration by parts which is as follows:
∫(u⋅v)dx=u∫vdx−∫(dxdu)⋅(∫vdx)dx where ‘u’ and ‘v’ are both functions of ‘x’.
Also, while selecting ‘u’ and ‘v’ we follow the ILATE convention.
Formula Used:
∫(u⋅v)dx=u∫vdx−∫(dxdu)⋅(∫vdx)dx where ‘u’ and ‘v’ are both functions of ‘x’.
Complete step by step solution:
When doing integration by parts, we need to select two functions such that when combined, they complete the equation, as such, becoming parts of the equation. Of them, one becomes the first function, represented by ‘u’ and the other becomes the second function represented by ‘v’
For selecting the first and second function, we follow the ILATE convention wherein I stand for inverse, L stands for logarithmic function, A stands for arithmetic function, T stands for trigonometric function and E stands for an exponential function. We check the original equation and assign the first and second functions on the basis of the order in which they appear in ILATE.
The original equation is ∫x2e−xdx which can be broken into two parts which are x2 and e−x. Here x2 being an arithmetic function comes before e−x which is an exponential function, making it the first function and e−x becomes the second function.
Putting it into the equation, ∫(u⋅v)dx=u∫vdx−∫(dxdu)⋅(∫vdx)dx it becomes
∫x2e−xdx=x2∫e−xdx−∫(dxd(x2))⋅(∫e−xdx)dx =−x2e−x−∫2x(−e−x)dx =−x2e−x+∫2x⋅e−xdx
Applying integration by parts on the second half of the equation again, it becomes