01 · Name the correction
For ∫xeˣ dx with u = x and v′ = eˣ, what is u′v?
Hint
Differentiate x and integrate eˣ.
Worked solution
u′v = eˣ. Its integral is the correction to subtract from xeˣ.
Understand · explore · practise
Learn integration by parts from the product rule. Choose u and dv, integrate polynomial-exponential and trig products, handle ln x and evaluate definite integrals with original worked practice.
Before you startThe product rule, standard integrals and definite-integral notation.
01 / Reverse the product rule
∫u v′ dx = uv − ∫v u′ dx
Also written ∫u dv = uv − ∫v du.
Differentiating uv produces u′v as well as uv′. If uv′ is the integrand you want, subtract the integral of the extra term u′v. Parts is useful when that remaining integral is simpler.
The existing integration by parts interactive lesson is still available as a companion.
At x = 1: (uv)′ = 5.436564; u′v = 2.718282; uv′ = 2.718282.
Product derivative − extra term = 2.718282, matching the original integrand.
Start with the product rule, which creates two terms.
The numerical values illustrate the identity. The formula works throughout the stated domain; the logarithmic example uses x > 0.
02 / Derive the formula in three lines
(uv)′ = u′v + uv′
There are two contributions.
uv′ = (uv)′ − u′v
Isolate the wanted term.
∫uv′ dx = uv − ∫u′v dx
Integrate both sides. Include one arbitrary constant when evaluating the final primitive.
Pause, replay or seek freely. The notes explain the same idea and stay in view.
For ∫xeˣ dx with u = x and v′ = eˣ, what is u′v?
Differentiate x and integrate eˣ.
u′v = eˣ. Its integral is the correction to subtract from xeˣ.
03 / Differentiate one factor and integrate the other
u = x; v′ = eˣ
Differentiating x lowers its degree.
u′ = 1; v = eˣ
Write this short table before substituting.
xeˣ − ∫eˣ dx
Use uv minus the remaining integral.
xeˣ − eˣ + C
Differentiate: eˣ + xeˣ − eˣ = xeˣ.
Choosing u = eˣ and v′ = x is valid algebraically, but leaves an integral involving x²eˣ, which is harder. A useful choice simplifies the remainder.
For ∫x cos x dx, which factor is a useful choice for u?
Prefer the factor that simplifies when differentiated.
u = x, with v′ = cos x, so u′ = 1 and v = sin x.
If v′ = e²ˣ, what is v?
You need an antiderivative, not a derivative.
v = (1/2)e²ˣ.
04 / Keep the exponential scale factor
u = x; u′ = 1; v′ = e²ˣ; v = e²ˣ/2
Integrate e²ˣ with its factor 1/2.
(x/2)e²ˣ − (1/2)∫e²ˣ dx
The same v belongs in uv and the remaining integral.
(x/2)e²ˣ − (1/4)e²ˣ + C
The second integration supplies another factor 1/2.
Find ∫xe⁻ˣ dx.
v = −e⁻ˣ.
−xe⁻ˣ − e⁻ˣ + C = −(x + 1)e⁻ˣ + C.
Find ∫(3x + 2)eˣ dx.
Use u = 3x + 2, so u′ = 3.
(3x + 2)eˣ − 3eˣ + C = (3x − 1)eˣ + C.
05 / Track the trig signs
u = x; v′ = cos x; v = sin x
The derivative of u is 1.
x sin x − ∫sin x dx
Substitute into the parts formula.
x sin x + cos x + C
The integral of sin x is −cos x.
u = x; v = −cos x
Integrating sine creates a minus sign.
−x cos x + ∫cos x dx
Subtracting the negative v changes the sign.
−x cos x + sin x + C
Differentiate to check.
Find ∫x cos(2x) dx.
v = sin(2x)/2.
(x/2)sin(2x) + (1/4)cos(2x) + C.
Find ∫(x + 2)sin x dx.
Use u = x + 2 and v = −cos x.
−(x + 2)cos x + sin x + C.
06 / Write ln x as a product with 1
u = ln x; v′ = 1
The hidden second factor is 1.
u′ = 1/x; v = x
Both operations are straightforward.
x ln x − ∫x(1/x) dx
The remaining integrand simplifies to 1.
x ln x − x + C
Differentiate: ln x + 1 − 1 = ln x.
Find ∫5ln x dx for x > 0.
Keep the factor 5 outside.
5x ln x − 5x + C.
Find ∫ln|x| dx on either interval x < 0 or x > 0.
The derivative of ln|x| is 1/x on both intervals.
x ln|x| − x + C, with a separate constant permitted on each interval.
07 / Combine a power and a logarithm
u = ln x; v′ = x
Differentiating ln x turns it into a reciprocal.
u′ = 1/x; v = x²/2
The remaining product becomes x/2.
(x²/2)ln x − (1/2)∫x dx
Apply parts once.
(x²/2)ln x − x²/4 + C
Check by differentiating the whole expression.
Find ∫x²ln x dx for x > 0.
Use v = x³/3.
(x³/3)ln x − x³/9 + C.
08 / Use the definite parts formula
∫ₐᵇ u v′ dx = [uv]ₐᵇ − ∫ₐᵇ v u′ dx
[xeˣ]₀¹ − ∫₀¹ eˣ dx
Apply the bounds to both pieces.
e − (e − 1)
The remaining integral is upper minus lower.
1
Keep brackets until the subtraction is complete.
Evaluate ∫₀^(π/2) x cos x dx.
Use x sin x + cos x.
π/2 − 1.
Evaluate ∫₁ᵉ ln x dx.
Use x ln x − x.
0 − (−1) = 1.
09 / Subtract the entire remaining integral
[−x cos x]₀^(π/2) + ∫₀^(π/2) cos x dx
The v = −cos x sign has been carried through.
0 + [sin x]₀^(π/2)
The boundary term is zero at both endpoints.
1
The positive value agrees with the positive integrand.
For ∫₀¹ xe²ˣ dx, evaluate [(x/2)e²ˣ − e²ˣ/4]₀¹.
The lower endpoint contributes −1/4.
e²/4 − (−1/4) = (e² + 1)/4.
10 / Use differentiation to test the answer
If the derivative still contains an unwanted term, the correction is missing or has the wrong sign. For example, xeˣ alone differentiates to xeˣ + eˣ; subtracting eˣ is essential.
If one application leaves a similar but simpler product, apply parts again. The next lesson develops repeated parts, logarithmic powers and cases where the original integral returns.
A student gives ∫x cos x dx = x sin x − cos x + C. Correct it.
Differentiate: the two sine terms would add.
x sin x + cos x + C. Its derivative is sin x + x cos x − sin x.
With u = x² and v′ = eˣ, what remains after one application of parts?
u′ = 2x.
x²eˣ − 2∫xeˣ dx. One further application evaluates the remaining integral.
11 / Choose, tabulate, subtract and check
Find ∫(2x − 1)e³ˣ dx.
Use u = 2x − 1 and v = e³ˣ/3.
[(2x − 1)/3 − 2/9]e³ˣ + C = (6x − 5)e³ˣ/9 + C.
Section 1 of 11 · Reverse the product rule