u-Substitution Formula

U-substitution is an integration technique where you substitute u = g(x) and du = g'(x) dx to transform a complicated integral into a simpler one.

The Formula

∫f(g(x)) g′(x) dx=∫f(u) duwhere u=g(x)
For definite integrals: change the bounds too! If u=g(x), then when x=a, u=g(a).

Ask yourself: Is there an inner function g(x) inside, with its derivative g′(x) also present as a factor?

Quick example

∫2xcos⁡(x2) dx Let u=x2, du=2x dx.
=∫cos⁡u du=sin⁡u+C=sin⁡(x2)+C

Notation

Let u=g(x), then du=g′(x) dx. After integrating in terms of u, substitute back to express the result in terms of x.

What this formula means

An integration technique where you substitute u=g(x) and du=g′(x) dx to transform a complicated integral into a simpler one. It is the reverse of the chain rule for differentiation.

Paying in euros for a price listed in dollars works only if you also convert with the exchange rate. In u-substitution, u=g(x) is the new currency and du=g′(x) dx is the exchange rate; forgetting to convert dx is like paying the dollar figure in euros. Unlike a fixed exchange rate, g′(x) changes from point to point, so it must already be in the integrand.

Formal view

If g is differentiable on [a,b] and f is continuous on the range of g, then ∫abf(g(x))⋅g′(x) dx=∫g(a)g(b)f(u) du where u=g(x).

Worked examples

Example 1

easy
Find ∫3x2(x3+1)4 dx.
Show solution

Answer

(x3+1)55+C

First step

1.
Let u=x3+1, so du=3x2 dx.

Full solution

  1. 2.
    Integral becomes ∫u4 du=u55+C.
  2. 3.
    Substitute back: (x3+1)55+C.
3x2 dx is exactly du, so the substitution is perfect. After substitution the integral reduces to a simple power rule.

Example 2

medium
Evaluate ∫01xex2 dx.

Example 3

medium
Evaluate ∫x2x3+1 dx.

Common mistakes

  • Forgetting to convert dx via du=g′(x) dx — you must replace dx too, not just the inner expression.
  • Leaving the answer in terms of u for an indefinite integral — substitute back to x at the end.
  • Not changing the bounds for a definite integral — either switch limits to u-values or convert back before evaluating.

Why this formula matters

Integrals that come from real formulas are rarely bare power rules: they contain (3x+1)5, xe−x2/2 or sin⁡(ωt). Substitution reduces them to integrals you already know, and it is why you can integrate any f(ax+b) once you can integrate f. Without it you would be expanding (3x+1)20 by hand, or guessing antiderivatives and hoping they differentiate back correctly.

Frequently asked questions

What is the u-Substitution formula?

An integration technique where you substitute u=g(x) and du=g′(x) dx to transform a complicated integral into a simpler one. It is the reverse of the chain rule for differentiation.

How do you use the u-Substitution formula?

Look for a function inside another function, such as (3x+1)5, ex2, 1+x3 or ln⁡(cos⁡x), together with the inner function's derivative as a factor, allowing a constant multiple. A fraction whose top is the derivative of its bottom, like 2xx2+1, is the same pattern and gives a logarithm. If the integrand is a product of unrelated functions like xex, use integration by parts. If nothing is nested, use a basic antiderivative rule.

What do the symbols mean in the u-Substitution formula?

Let u=g(x), then du=g′(x) dx. After integrating in terms of u, substitute back to express the result in terms of x.

Why is the u-Substitution formula important in Math?

Integrals that come from real formulas are rarely bare power rules: they contain (3x+1)5, xe−x2/2 or sin⁡(ωt). Substitution reduces them to integrals you already know, and it is why you can integrate any f(ax+b) once you can integrate f. Without it you would be expanding (3x+1)20 by hand, or guessing antiderivatives and hoping they differentiate back correctly.

What do students get wrong about u-Substitution?

The procedure for u-substitution is the easy part; the trap is forgetting to convert dx via du=g′(x) dx. Asking "Is there an inner function g(x) inside, with its derivative g′(x) also present as a factor?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the u-Substitution formula?

Before studying the u-Substitution formula, you should understand: integral, chain rule.

The full guide

This formula is covered in depth in How to Integrate Rational Functions: Long Division and Partial Fractions.