Skip to content

When do you use u-substitution

Use u‑substitution when the integrand contains a function and (up to a constant) its derivative, allowing the integral to be rewritten in terms of a single variable. This turns a complicated expression into a basic antiderivative that you can evaluate directly.

Calculus · Integration


U‑substitution is the integration analogue of the chain rule for differentiation. You look for a composite function where an inner function’s derivative appears elsewhere in the integrand. When that pattern exists, setting uu equal to the inner function simplifies the integral, often reducing it to a standard form you already know how to integrate.

Recognizing the pattern

The key is spotting a factor that is the derivative of another factor. For example, in 3x2sin(x3)dx\int 3x^2\sin(x^3)\,dx, the inner function x3x^3 has derivative 3x23x^2, which is present as a multiplicative factor. If the derivative is off by a constant, you can adjust it by factoring that constant out. This recognition step saves time and prevents trial‑and‑error attempts with integration by parts.

Typical forms that suggest u‑substitution:

  • A product of a function and its derivative, e.g., f(x)g(f(x))f'(x)\,g(f(x))
  • A rational function where the denominator’s derivative appears in the numerator
  • Trigonometric integrals like sin(u)u\sin(u)\,u' or cos(u)u\cos(u)\,u'
  • Exponential expressions of the form euue^{u}\,u'

Apply u‑substitution with these steps:

  1. 1Identify uu as a function whose derivative appears in the integrand
  2. 2Compute du=udxdu = u'\,dx and solve for dxdx
  3. 3Rewrite the integral entirely in terms of uu and dudu
  4. 4Integrate with respect to uu
  5. 5If the original integral is definite, change the limits to uu-values; otherwise, substitute back u=original expressionu = \text{original expression}

Worked example: evaluate 2xcos(x2)dx\int 2x\cos(x^2)\,dx. Let u=x2u = x^2; then du=2xdxdu = 2x\,dx. The integral becomes cos(u)du\int \cos(u)\,du, whose antiderivative is sin(u)+C\sin(u) + C. Substituting back gives sin(x2)+C\sin(x^2) + C. This demonstrates how the derivative 2x2x matches the extra factor, making the substitution straightforward.

Before and after substitution:

OriginalAfter u‑substitution
2xcos(x2)dx\int 2x\cos(x^2)\,dxcos(u)du\int \cos(u)\,du
3xx2+1dx\int \frac{3x}{x^2+1}\,dx321udu\int \frac{3}{2}\cdot\frac{1}{u}\,du

After you finish the substitution, always verify by differentiating your result; you should recover the original integrand. For definite integrals, adjust the limits before integrating, which avoids the extra back‑substitution step. Mastering the pattern‑recognition stage makes u‑substitution a quick tool for many seemingly complex integrals.

Check yourself

In the integral 5e3xdx\int 5\,e^{3x}\,dx, which choice of uu leads to a correct substitution?

Get this as a lesson built for you

Describe what you are studying and Lernex writes the lesson and the questions around it. Free, and it takes about a minute.

Try it

No account needed to try it.

What people ask next