Integration by Parts
Evaluate I_n(b)=integral_0^b x^n exp(x) dx using the reduction formula.
By Riano · Published · Updated · Report a correction
Integration by Parts
Integration by parts is a powerful technique in calculus that is derived from the product rule for differentiation. It allows us to evaluate the integral of a product of functions by transforming it into another, hopefully simpler, integral.
Worked Example
Let's evaluate the definite integral I2(1) = ∫01 x2 ex dx. We use the formula: ∫ u dv = uv - ∫ v du.
- Let u = x2 and dv = ex dx.
Then du = 2x dx and v = ex. - Apply the formula:
I2 = [ x2 ex ]01 - ∫01 2x ex dx
I2 = (12 e1 - 0) - 2 ∫01 x ex dx
I2 = e - 2 I1 - Now, calculate I1(1):
Let u = x and dv = ex dx.
Then du = dx and v = ex. - Apply the formula again:
I1 = [ x ex ]01 - ∫01 ex dx
I1 = (1 · e1 - 0) - [ ex ]01
I1 = e - (e1 - e0) = e - e + 1 = 1 - Substitute I1 back into I2:
I2 = e - 2(1) = e - 2 ≈ 0.718281828459
Interactive Experiment
You can explore this reduction process using the Integration by Parts module.
- Set Power n to
2. - Set Upper bound b to
1. - Observe the full reduction ledger. It shows the calculated values for I2, I1, and I0 sequentially.
- Note how the boundary term bk eb and remainder term k Ik-1 dynamically update the value of Ik for each step.
- Set Power n to 0 and Upper bound b to 1. The single base row is e − 1, approximately 1.71828182846; no negative power is evaluated.
- Set Upper bound b to 0, then set Power n to 3. Every displayed integral is exactly 0 and the ledger still ends at I0.
- Keep Power n = 3 and set Upper bound b to 2. Read 2e2 + 6, approximately 20.7781121979.
- Clear Upper bound b to see its error and hidden reduction results. Restore 1, pan the curve, then choose Reset view; the two input values remain unchanged.
Model Limitations
This experiment is specifically bounded to integer powers n ∈ [0, 3] and decimal upper bounds b ∈ [0, 2]. The ledger shows the exact recursive reduction identity for the integral ∫0b xn ex dx. Numerically, positive integrated exponential-series terms avoid cancellation for small positive b; the displayed values are rounded, not symbolic exact decimals. The graph adapts to the current upper bound, so its pixel scale changes with b. Non-integer powers and upper bounds outside the specified domain are outside this experiment; no claim about their general integrability is made. Additionally, values are rendered using floating-point approximations with limited significant digits.
References
The mathematical formulas and approaches in this module are backed by the following resources:
- OpenStax Calculus Volume 2: 3.1 Integration by Parts — Derivation of the integration by parts formula from the product rule and its application to definite integrals.
Experience it interactively
Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Integration by Parts module.
Try Integration by Parts on Riano →