Integration by Substitution#
Method of Integration by Substitution#
Method of Integration by Substitution
Write the given integral in one of the following two forms:
\[\int [g(x)]^n g'(x) ~dx \qquad \text{or} \qquad \int e^{g(x)} g'(x) ~dx\]Let \(u=g(x)\) and compute the corresponding differential \(du = g'(x) dx\).
Rewrite the integral in terms of \(u\) and \(du\). To complete the substitution, it may be helpful to divide both sides of \(du= g'(x) ~dx\) by a constant and/or to solve for \(x\) in terms of \(u\) in the equation \(u=g(x)\).
Evaluate the integral in terms of the variable \(u\).
Replace \(u\) with \(g(x)\).
Example 1#
Integration by substitution
Compute \(\displaystyle \int 20x^3 \sqrt{5x^4+7} ~dx\).
Step 1: Identify a suitable substitution.
Based on rewriting the integral in the following form
Let \(u=5x^4 + 7\) and therefore, \(du = 20x^3 ~dx\).
Step 2: Rewrite the integral in terms of \(u\) and \(du\).
Step 3: Evaluate the integral in terms of \(u\).
Step 4: Replace \(u\) with \(5x^4 + 7\).
Example 2#
Integration by substitution
Compute \(\displaystyle \int 7x^2e^{4x^3+5} ~dx\).
Step 1: Identify a suitable substitution.
Based on rewriting the integral in the following form
Let \(u=4x^3 + 5\) and therefore, \(du = 12x^2 ~dx\), or equivalently \(\dfrac{1}{12}du = x^2 ~dx\).
Step 2: Rewrite the integral in terms of \(u\) and \(du\).
Step 3: Evaluate the integral in terms of \(u\).
Step 4: Replace \(u\) with \(4x^3 + 5\).
Example 3#
Integration by substitution
Compute \(\displaystyle \int \frac{(\ln x)^2}{x}~dx\).
Step 1: Identify a suitable substitution.
Based on rewriting the integral in the following form
Let \(u=\ln x\) and therefore, \(du = \dfrac{1}{x} ~dx\).
Step 2: Rewrite the integral in terms of \(u\) and \(du\).
Step 3: Evaluate the integral in terms of \(u\).
Step 4: Replace \(u\) with \(\ln x\).
Example 4#
Integration by substitution
Compute \(\displaystyle \int \frac{x}{x+4} ~dx\).
Step 1: Identify a suitable substitution.
Based on rewriting the integral in the following form
Let \(u=x+4\) and therefore, \(du = dx\).
Step 2: Rewrite the integral in terms of \(u\) and \(du\).
In this case, it is necessary to solve for \(x\) in terms of \(u\) in the equation \(u = x+4\) (i.e., \(x = u-4\)) to complete the substitution.
Step 3: Evaluate the integral in terms of \(u\).
Step 4: Replace \(u\) with \(x+4\).
Observation
The last line follows from the observation that if \(C\) is an arbitrary constant, then so is \(C+4\). In other words, the \(+4\) can be absorbed into the arbitrary constant \(C\), and is not needed. We can verify this final answer by computing its derivative.
Therefore, \(x - 4\ln|x+4|\) is an antiderivative of \(\dfrac{x}{x+4}\).