Intégration par parties — solved exercise (High school)
Statement
Compute the integral from 0 to 1 of x·e^x dx.
Strategy
Use integration by parts with $u=x$ and $dv=e^x\,dx$.
Step-by-step solution
1. Set up integration by parts
Let $u=x$, so $du=dx$, and let $dv=e^x\,dx$, so $v=e^x$.
📖 Integration by parts formula: $\int u\,dv=uv-\int v\,du$.
2. Find an antiderivative
$$\int x e^x\,dx=x e^x-\int e^x\,dx=x e^x-e^x=e^x(x-1).$$
📖 Since $\frac{d}{dx}(e^x)=e^x$.
3. Evaluate from 0 to 1
$$\int_0^1 x e^x\,dx=\left[e^x(x-1)\right]_0^1=e^1(1-1)-e^0(0-1)=0-(-1)=1.$$
📖 Apply the fundamental theorem of calculus.
Result
$$\int_0^1 x e^x\,dx=1.$$
Question-by-question check (two independent resolutions)
| Compute the integral from 0 to 1 of x·e^x dx. | 1 | ✔ |
Key concepts
Integration by partsDefinite integralExponential function
Tip
When integrating a product involving a polynomial and $e^x$, integration by parts usually reduces the polynomial degree.
Have a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise