How do you choose a u-substitution?

You choose a u-substitution by looking for a specific pattern inside the integral: a function and its derivative. The goal is to pick a part of the expression to be 'uu' so that its derivative, 'dudu', exactly matches the remaining parts of the integral (give or take a constant number).

Think of it like finding a matched pair in a game of memory. You are scanning the problem for an 'inner' function (the first card) whose exact rate of change is sitting right next to it (the matching card). Once you spot this pair, you can swap them out for uu and dudu, turning a complicated mess into a simple, basic integral.

What is u-substitution?

In calculus, u-substitution is the reverse of the Chain Rule for derivatives. When you take the derivative of a composite function like f(g(x))f(g(x)), you get f(g(x))g(x)f'(g(x)) \cdot g'(x).

Integration runs that process backwards. You are given an expression that looks like f(g(x))g(x)dx\int f'(g(x)) g'(x) dx, and you need to bundle it back up. By substituting u=g(x)u = g(x) and du=g(x)dxdu = g'(x)dx, the integral simplifies down to f(u)du\int f'(u) du. This transforms an unrecognizable integral into one of the basic formulas you already know.

The "Inner Function" Strategy

Your first instinct should always be to look for "inner" functions. If part of the expression is trapped inside parentheses, stuck under a square root, or sitting up in the exponent of ee, that trapped part is your prime candidate for uu.

For example, in the integral (3x+1)5dx\int (3x+1)^5 dx, the expression 3x+13x+1 is trapped inside the fifth power. Letting u=3x+1u = 3x+1 is the best first step. It cleans up the messy inside, leaving you with a simple u5u^5 to integrate.

The "Derivative Match" Strategy

Once you have a suspect for uu, do a quick mental check: what is its derivative? The derivative of your chosen uu needs to appear elsewhere in the integral, multiplying the rest of the expression.

It is perfectly fine if the derivative is off by a constant multiplier. For instance, if you need 2xdx2x dx but only have xdxx dx, you can easily multiply and divide by 2 to fix it. However, if your derivative needs an x2x^2 and you only have an xx, that u-substitution will not work, and you will need a different strategy.

Where students slip up

The most common mistake is forgetting to substitute the dxdx. You cannot just change the xx terms to uu terms and leave the dxdx hanging around. The differential dxdx must be fully replaced by dudu using the relationship you found when taking the derivative.

Another frequent trap is choosing a uu that is too large. If you pick the entire denominator or an entire function with its power, the derivative often becomes a massive chain rule mess that isn't anywhere else in the problem. If your dudu doesn't match the leftovers, back up and try a smaller piece for uu.

Worked through

Evaluate the indefinite integral 2xcos(x2)dx\int 2x \cos(x^2) dx.

First, we look for an inner function. The x2x^2 is trapped inside the cosine function, so it is a great candidate for uu.

Let u=x2u = x^2.

Next, we take the derivative of uu with respect to xx to find dudu: du=2xdxdu = 2x dx.

We check our integral to see if we have a match. We have cos(x2)\cos(x^2) and we have 2xdx2x dx. It matches perfectly! Now we substitute uu and dudu into the integral: cos(u)du\int \cos(u) du.

This is a basic integral. The antiderivative of cos(u)\cos(u) is sin(u)+C\sin(u) + C.

Finally, we replace uu with our original expression to get the answer in terms of xx: sin(x2)+C\sin(x^2) + C.

Questions students ask

Ask about this topic

Where this comes from: OpenStax Calculus Volume 1, Chapter 5: Integration · Stewart Calculus: Early Transcendentals, Chapter 5 · Khan Academy: Integration unit, u-substitution

See also