Module 3: Integration By Substitution
The chain rule says that
dF(G(x))dx=F′(G(x))⋅G′(x),
so that
∫F′(G(x))⋅G′(x)dx=F(G(x))+C.
We are going to rewrite this with notation you may be more familiar with.
Let's set u=G(x), and agree to write
du=G′(x)dx
∫F′(G(x))G′(x)dx=∫F′(u)du=F(u)+C=F(G(x))+C
2.1 A Few Examples
1. Compute ∫(1−3x)47dx This integral currently does not have the form of any of the basic integrals that we mentioned in the introduction section.
If we replace 1−3x by
u, we have:
u=1−3x⇒du=(−3)dx⇒dx=du−3
∫(1−3x)47dx=∫u47du−3=−13∫u47du
∫u47du is in the form we know how to compute.
\(\int (1-3x)^{47}dx=\frac{-1}{3}\int u^{47}du=\frac{-1}{3}\cdot\frac{1}{48}u^{48}+C=\frac{-1}{3}\cdot\frac{1}{48}(1-3x)^{48}+C\\)
2. Compute ∫lnxxdx.
If we set u=lnx, then we will have
du=1xdx and
dx=xdu. Therefore,
\(\int \frac{\ln x}{x} \; dx=\int \frac{u}{x}\;x\;du=\int u\; du=\frac{1}{2}u^2+C=\frac{1}{2}\ln^2(x)+C\\)
3. Compute ∫((x2−1)(x+1)−23)dx.
a) Here is one approach. Let's first do some algebraic manipulation and rewrite the integral.
∫((x2−1)(x+1)−23)dx=∫((x−1)(x+1)(x+1)−23)dx=∫((x−1)(x+1)13)dx
If we let u=x−1 then
du=dx and
x+1=u+2.
∫((x−1)(x+1)13)dx=∫u(u+2)13du.
Let v=u+2 then
dv=du and
u=v−2.
∫((x−1)(x+1)13)dx=∫u(u+2)13du.=∫(v−2)v13dv=∫v43−2v13dv=143+1v43+1−213+1v13+1+C=143+1(u+2)43+1−213+1(u+2)13+1+C=143+1(x+1)43+1−213+1(x+1)13+1+C
Remark: The power of 13 of
(x+1) added complexity to our solution and required us to use substitution twice. Check out the next approach.
b) If we let u=x+1 then
du=dx and
x−1=u−2.
∫((x−1)(x+1)13)dx=∫(u−2)(u)13du=∫u43−2u13du=143+1u43+1−213+1u13+1+C=143+1(x+1)43+1−213+1(x+1)13+1+C
Remark: Both approaches are equally valid and correct. One has fewer steps. How do we decide on the choice of u? It takes practice, experience, and not being afraid of trying different options. Check out the next approach for the same problem!
c) If u=1x+1 then
du=(−1)(1+x)−2dx=−u2dx. Hence
dx=−1u2du.
∫((x2−1)(x+1)−23)dx=∫(x−1)(x+1)13dx=∫(1u−2)1u13(−1u2)du=−∫(u−103−2u−73)du=−((1−103+1)u−103+1−2(1−73+1)u−73+1)+C=−((1−103+1)(1x+1)−103+1−2(1−73+1)(1x+1)−73+1)+C
Remark: We do NOT need any further simplification. However, in order to convince ourselves that the third approach gives us the same answer as the first two tries, let's do some algebraic manipulations.
−((1−103+1)(1x+1)−103+1−2(1−73+1)(1x+1)−73+1)+C=−((1−73)(1x+1)−73−2(1−43)(1x+1)−43)+C=173(x+1)73−2143(x+1)43+C=143+1(x+1)43+1−213+1(x+1)13+1+C.
Remark: Let's reemphasize that this algebraic manipulations was not needed to compute the integral. This third approach was chosen to show, there are multiple ways of doing a u−substitution problem and some of them are not obvious at all, like the last one.
4. Compute ∫sin(2x)√1+cos(2x)dx
a) We let u=sin(2x), then
du=2cos(2x)dx
∫sin(2x)√1+cos(2x)dx=∫u√1+cos(2x)du2cos(2x)
It is hard to imagine what to do next to get rid of x. So we will try another approach!
b) We let u=cos(2x), then
du=−2sin(2x)dx.
∫sin(2x)√1+cos(2x)dx=−12∫−2sin(2x)dx√1+cos(2x)=−12∫du√1+u
The expression on the line above is not exactly of the forms we know. So once again we use substitution. We let v=1+u. Then
dv=du and we have
∫sin(2x)√1+cos(2x)dx=−12∫1√1+udu=−12∫1√vdv=−12∫v−12dv=(−12)(1−12+1)v−12+1+C=(−12)(1−12+1)(1+u)−12+1+C=(−12)(1−12+1)(1+cos(2x))−12+1+C
With a bit of reflection on this solution, we may notice a streamlined solution as described below.
c) We let u=1+cos(2x). Then
du=−2sin(2x)dx.
∫sin(2x)√1+cos(2x)dx=∫sin(2x)√u−du2sin(2x)=−12∫1√udu=−12∫u−12du=(−12)(1−12+1)u−12+1+C=(−12)(1−12+1)(1+cos(2x))−12+1+C