Maths › Integration › Integration by substitution and by parts
Integration by substitution and by parts
The chain rule and the product rule each run backwards into a method. Substitution relabels an integral until it looks like something the shelf recognises, and parts trades one integral for a hopefully easier one, with the logarithm's own integral as its most famous conquest.
Builds on Integrating standard functions and The product, quotient and chain rules.
IN THIS TOPIC
- Spot reverse chain rule patterns, f'/f and f' times a power of f, at sight.
- Run full substitutions, converting integrand, dx and limits together.
- Integrate by parts, choosing which factor to differentiate, including ∫ln x dx.
WHAT YOU PROBABLY THINK
∫uv dx = ∫u dx × ∫v dx.
Reverse chain patterns
The chain rule leaves fingerprints. When an integrand contains a function and its derivative standing alongside, the integral undoes a chain in one step, and three patterns cover most exam appearances,
together with f' times a power of f reversing to the next power up, and the famous special case ∫tan x dx = −ln|cos x| + c, which is the first pattern with sin and cos named.
WORKED EXAMPLE
A full substitution, limits and all
Use the substitution u = 2x + 1 to find ∫x√(2x + 1) dx.
From u = 2x + 1: x = (u − 1)/2 and dx = du/2, so the integral becomes ∫((u − 1)/2)√u (du/2) = ¼∫(u3/2 − u1/2) du.
Integrating: ¼((2/5)u5/2 − (2/3)u3/2) = u5/2/10 − u3/2/6.
Back in x: (2x + 1)5/2/10 − (2x + 1)3/2/6 + c.
Three things convert or nothing does: the integrand, the dx, and, on definite integrals, the limits. Forgetting the dx factor of ½ is this method's signature casualty.
YOUR TURN
Spot, do not substitute
Find ∫sin3 x cos x dx by inspection, before opening the working.
Show the working
cos x is the derivative of sin x, standing right beside its powers: the f' fⁿ pattern.
Reverse the chain: ¼ sin4 x + c, and differentiating back confirms it in one line.
A formal substitution u = sin x reaches the same place; inspection is the same route, travelled lighter.
Integration by parts
The product rule reverses into parts, printed in the booklet as
a trade: one factor gets differentiated, the other integrated, and the original integral becomes a new one that had better be easier. Choose to differentiate the factor that simplifies, x becoming 1, ln x becoming 1/x. And the opening lie dies by counter example: integrating x and ex separately gives (x2/2)ex, whose derivative is nowhere near xex.
WORKED EXAMPLE
The standard parts question
Find ∫xex dx.
Differentiate the x (it simplifies to 1) and integrate the ex (it costs nothing): parts gives xex − ∫ex dx.
∫xex dx = (x − 1)ex + c.
The trade turned a product integral into the easiest integral in the course. When the roles are chosen the other way round, the new integral is harder than the old, which is the diagnostic for a wrong choice.
TRY IT UNSEEN
The logarithm's own integral
Find ∫ln x dx.
Show the working
Write the integrand as 1 × ln x, then differentiate the ln x and integrate the 1.
Parts gives x ln x − ∫x × (1/x) dx = x ln x − ∫1 dx.
∫ln x dx = x ln x − x + c, and differentiating back, x/x + ln x − 1 = ln x, seals it.
The invisible factor of 1 is the whole trick, and the specification names this integral because the trick generalises to arcsin and friends beyond this course.
THE EXAM BIT
- Scan for a function and its derivative side by side before reaching for substitution; the patterns are faster and carry the same marks.
- In a substitution convert integrand, dx and limits together, and say so; unconverted limits are the classic definite-integral casualty.
- In parts differentiate the factor that simplifies; if the new integral is harder, the roles were backwards.
- ∫tan x dx = −ln|cos x| + c is quotable, and its one-line derivation from f'/f is worth knowing cold.
- Check every antiderivative by differentiating; substitution and parts both reverse cleanly and instantly.
CHECK YOURSELF
Find the exact value of ∫01 xex dx.
Show a hint
Parts, then substitute both limits into (x − 1)ex.
Show the answer
Parts gives the antiderivative (x − 1)ex.
Evaluating: (1 − 1)e − (0 − 1) × 1 = 0 + 1 = 1.
An area of exactly 1 under xex from 0 to 1, and every step exact; the bracket at the lower limit is where the sign errors hide.
A function beside its own derivative is a reversed chain; relabel or just read it off.
Parts trades one integral for another: differentiate what simplifies, and 1 × ln x is fair game.
CHECK YOUR PROGRESS
Rate how confident you feel with each objective for this lesson. Ratings are saved in this browser, on this device only.
- Spot reverse chain rule patterns, f'/f and f' times a power of f, at sight.
- Run full substitutions, converting integrand, dx and limits together.
- Integrate by parts, choosing which factor to differentiate, including ∫ln x dx.
No animated video for this topic yet; these notes stand alone.