Question
Question: How do you integrate \(\int_{0}^{1}{{{x}^{2}}{{e}^{x}}dx}\) by integration by parts?...
How do you integrate ∫01x2exdx by integration by parts?
Solution
Now we know that according to integration by parts we have ∫u.vdx=u∫vdx−∫u′(∫vdx)dx . Hence considering x2 as u and ex as v we can easily solve the integration. Now we will again solve the integral obtained by the same method and hence will find the solution of the equation.
Complete step by step solution:
Now we are given with the integral ∫01x2exdx .
To solve the integral we will use Integration by parts.
Now integration by parts tells us that the integration of ∫u.vdx=u∫vdx−∫u′(∫vdx)dx
Now first let us understand the ILATE rule.
ILATE is an acronym for Inverse, Logarithmic, Algebraic, Trigonometric and Exponential. The rule gives us order in which the first function must be chosen.
Now in the given integral we have two functions one is x2 and ex . Now according to ILATE rule we must take the first function as x2 and second function as ex as algebraic functions are preferred before exponential.
Now substituting the functions in the formula for Integration by parts we get,
⇒∫x2exdx=x2∫exdx−∫(x2)′(∫exdx)dx
Now we know that the integration of the function ex is ex and the differentiation of the function x2 is 2x. Hence we get the integration as,
⇒∫x2exdx=x2ex−∫2xexdx
Now taking the constant out from the integration we get,
⇒∫x2exdx=x2ex−2∫xexdx......................(1)
Now we will again use Integration by parts to solve ∫xexdx
Hence we get,
⇒∫xexdx=xex−∫exdx⇒∫xexdx=xex−ex
Now substituting the value of ∫xexdx in equation (1) we get,
⇒∫x2exdx=x2ex−2(xex−ex)+C
Hence putting the limits we get,
⇒∫01x2ex=[x2ex−2(xex−ex)]01⇒∫01x2ex=[e1−2(e1−e1)]−[0−2(0−e0)]⇒∫01x2ex=e1−[2]⇒∫01x2ex=e−2
Hence the solution of the given integral is e – 2.
Note: Now note that the integral by parts can also be written as ∫udv=uv−∫vdu . Also note that whenever we have functions multiplied to each other we can always use integration by parts.