u-Substitution
u-substitution is the chain rule run backwards. Look for a function inside another function whose derivative also shows up (up to a constant) somewhere in the integrand.
The method
- Pick \(u\) to be the inner function: the thing inside a power, root, exponential or trig function, or a denominator.
- Compute \(du = u'(x)\,dx\).
- Rewrite the whole integral in terms of \(u\). No \(x\) should be left over.
- Integrate, then substitute \(u\) back.
If an \(x\) is still left after step 3, either try a different \(u\) or solve \(u = g(x)\) for \(x\) and substitute that in too.
Example: \(x \cos{\left(x^{2} \right)}\)
The inner function is \(x^2\), and its derivative \(2x\) is already there, up to the factor 2.
1Substitution (u-sub)technique▶
Let \(u = x^{2}\). Then \(du = 2 x\,dx\). Rewriting the integral in terms of \(u\):
1Pull out the constant▶
Constants factor out of an integral: move \(\frac{1}{2}\) outside.
1Integral of cosine▶
The antiderivative of cosine is sine.
2Multiply back by the constant▶
2Substitute back▶
Replace \(u\) with \(x^{2}\):
Example: \(\frac{x}{x^{2} + 1}\)
The numerator is (half of) the derivative of the denominator, so the answer is a logarithm.
1Pull out the constant▶
Constants factor out of an integral: move \(\frac{1}{2}\) outside.
1Substitution (u-sub)technique▶
Let \(u = x^{2} + 1\). Then \(du = 2 x\,dx\). Rewriting the integral in terms of \(u\):
1Reciprocal rule▶
The integral of \(\frac{1}{u}\) is \(\ln\left|u\right|\).
2Substitute back▶
Replace \(u\) with \(x^{2} + 1\):
2Multiply back by the constant▶
Example: \(x^{3} \sqrt{x^{2} + 1}\)
Let \(u = 1+x^2\). The leftover \(x^2\) becomes \(u - 1\). This is a classic exam problem.
1Substitution (u-sub)technique▶
Let \(u = x^{2} + 1\). Then \(du = 2 x\,dx\). Any leftover \(x^2\) becomes \(u - 1\). The integral becomes:
1Pull out the constant▶
Constants factor out of an integral: move \(\frac{1}{2}\) outside.
1Substitution (u-sub)technique▶
Let \(u = \sqrt{u}\). Then \(du = \frac{1}{2 \sqrt{u}}\,du\). Rewriting the integral in terms of \(u\):
1Pull out the constant▶
Constants factor out of an integral: move \(2\) outside.
1Expandtechnique▶
Multiply out the integrand:
1Split into separate integrals▶
The integral of a sum is the sum of the integrals. Integrate each term:
1Power rule▶
Use \(\int x^{n}\,dx = \frac{x^{n+1}}{n+1}\) with \(n = 4\).
2Pull out the constant▶
Constants factor out of an integral: move \(-1\) outside.
1Power rule▶
Use \(\int x^{n}\,dx = \frac{x^{n+1}}{n+1}\) with \(n = 2\).
2Multiply back by the constant▶
3Add the results▶
2Multiply back by the constant▶
2Substitute back▶
Replace \(u\) with \(\sqrt{u}\):
2Multiply back by the constant▶
2Substitute back▶
Replace \(u\) with \(x^{2} + 1\):
Definite integrals
With bounds, either change the bounds to \(u\)-values (\(u(a)\) and \(u(b)\)) and never go back to \(x\), or substitute back to \(x\) and use the original bounds. Don't mix the two.
How to spot it
- A composite function \(f(g(x))\) next to \(g'(x)\).
- A fraction whose numerator is roughly the derivative of its denominator. That gives \(\ln|\cdot|\).
- \(\sin^n x\cos x\) or \(\tan^n x\sec^2 x\): let \(u\) be the trig function.
Try your own
Paste any integral into the integral calculator to get the full step-by-step solution and a graph.