The chain rule leaves a factor
Differentiate by the chain rule. The outside power gives , and the inside has derivative 2x, which multiplies the result: the derivative is .
So whenever an integral is a function of some inside expression, multiplied by the derivative of that inside, it is a chain-rule result waiting to be run backwards. Substitution is the method for running it backwards.
Spot the factor, name the inside
Take . The bracket is an inside expression, and its derivative 2x stands beside it as a factor. That pairing is the signal.
Name the inside u: let . The bracket becomes , an ordinary power.
Trade 2x dx for du
Differentiating gives , which as differentials is du = 2x dx. The integral holds exactly 2x dx, so it can be replaced by du, and every x is gone: .
Integrate the power: . Then write back in place of u, because u was only a name: .
Check by differentiating. The chain rule gives , the integrand.
du = 2x dx: the u-line stretches the interval by 2x = 2.4, which is why ∫ 2x cos(x²) dx becomes ∫ cos u du with the 2x used up
Slide the interval to where du and dx have the same length
x along the top line and along the bottom. The interval from x = 1.2 to 1.4, 0.2 wide, lands on u from 1.44 to 1.96, which is 0.52 wide: 2.6 times as wide, close to . That stretch is the factor du = 2x dx uses up. Slide the interval to x = 0.4, where the two widths match.
Three more
For , let . Then , which is exactly the factor present, so the integral is . Check: .
A factor that is out by a constant still works. In , du = 2x dx but only x dx is present. Since x dx = ½ du, the integral is . Check: .
A root is a power too. In , let , so du = 2x dx and the integral is , the integral of u to the power ½. Raising the power to and dividing by gives . Check: the derivative of the power brings down , which cancels the ⅔, and leaves times the inside derivative 2x.
When substitution fails
In there is no factor 2x. Letting still gives du = 2x dx, so , and that leaves an x inside an integral in u. An x left over means the substitution does not work; here the bracket has to be multiplied out instead.
Choosing the wrong part as u fails the same way. In , u = 2x gives du = 2 dx, and the bracket is still written in x.
A definite integral, two ways
Find the integral of from x = 0 to x = 1. The lesson’s way is to finish in x, then evaluate: from 0 to 1 is .
The other way changes the limits into values of u and never returns to x. At x = 0, ; at x = 1, . So the integral is the integral of from u = 2 to u = 3, which is again.
Check it by strips: 1000 midpoint rectangles from 0 to 1 add to 42.19994.
The usual mistakes
Taking the inside’s derivative as u. In the 2x becomes part of du; u is the bracket .
Leaving an x beside the bracket. keeps the 2x that du = 2x dx has already used up.
Skipping the divide. differentiates to , six times the integrand.
Keeping the x limits once the integral is in u. The integral of from 0 to 1 is ; the limits in u are 2 and 3.
A sluice gate
In the application below, the flow through a sluice has under a root. Substituting for it turns the root into a power, and the limits are carried into the new variable, where they come out as whole-number square roots.
Worked example: A Sluice Gate Winched Open: A Volume From a Substitution That Turns a Root Into a Power
Question A sluice gate is winched open at a steady rate, and the flow through it builds up as q = 30n√n2 + 144 cubic meters per minute, where n is the number of minutes after winching starts. (a) How much water passes through the sluice in the first five minutes? (b) How much passes between the fifth minute and the ninth?
1.The volume is ∫ q dn. The awkward part is n2 + 144 under the root, so put u = n2 + 144. Its differential is du = 2n dn, so n dn = 12du, and an n dn is precisely what the numerator offers.
Put u = n2 + 144. Then du = 2n dn, so n dn = 12du, and the numerator offers exactly that. 2.The integral becomes ∫30√u × 12du = 15∫ u−12du = 15 × 2u12 = 30√u = 30√n2 + 144.
The integral becomes 15∫ u−12du = 30√u: the same area, drawn here against u instead of against the minutes. 3.Carry the limits over rather than changing back. At n = 0, u = 144; at n = 5, u = 169; at n = 9, u = 225. Their square roots are 12, 13 and 15, all whole numbers.
The limits travel with the substitution: n = 0, 5, 9 become u = 144, 169, 225, whose roots are 12, 13 and 15. 4.(a) ∫05 q dn = 30(√169 − √144) = 30(13 − 12) = 30 cubic meters.
(a) ∫05 q dn = 30(13 − 12) = 30 cubic meters, the gold area on either axis. 5.(b) ∫59 q dn = 30(√225 − √169) = 30(15 − 13) = 60 cubic meters, twice as much in four minutes as in the first five, because the gate stands further open. Check: 30 + 60 = 90, and ∫09 q dn = 30(15 − 12) = 90 cubic meters, so the two parts add to the whole.
(b) ∫59 q dn = 30(15 − 13) = 60 cubic meters, twice as much in four minutes as in the first five.
Answer: (a) 30 cubic meters; (b) 60 cubic meters, and 90 cubic meters over the nine minutes altogether
Common mistakes
- Setting u = n2 + 144 and then integrating 30n√u with the n still standing in the numerator. An integral may carry only one variable: the n dn has to become 12du before anything is integrated, and that half is where the 15 comes from.
- Keeping the limits 0 and 5 after changing to u. They are values of n, not of u; in u the limits are 144 and 169. Using 0 and 5 gives 30√5 = 67.1, which is the volume of nothing at all.
More techniques of integration problems, worked step by step →