Calculus
U-Substitution: Finding the Inner Function
Substitution is the chain rule run backwards. The only genuinely difficult part is seeing which piece of the integrand is the inner function — everything after that is mechanical.
The idea
Differentiating a composite function produces a very specific shape. If is an antiderivative of , then the chain rule gives:
Reading that right to left is the whole technique:
So substitution is not really a method of integration. It is a method of recognition. Every integral that substitution solves was produced by the chain rule, and your job is to spot the fingerprints: an inner function, and its derivative loitering nearby as a factor.
Naming the inner function makes that pattern impossible to miss. With and , the integral collapses to — a problem in one letter, with no composition left in it. The substitution has not made the integral easier by magic; it has stripped away the layer that was hiding how easy it already was.
One consequence worth internalising early: the derivative has to be genuinely present. works because is exactly . Remove that factor and is a different animal entirely — no substitution touches it, and you would have to expand the bracket.
When you need it
The signal is a composition paired with a derivative. Scan for these four shapes:
- Bracket to a power, with the bracket's derivative outside: , where and .
- A fraction whose numerator is the derivative of its denominator: . These always integrate to a logarithm.
- An exponential or trig function with a non-trivial argument: , .
- Powers of a trig function multiplied by its derivative: , where .
Substitution also produces several results that are worth recognising on sight rather than deriving each time. becomes under , and becomes under .
If the integrand is a product of two unrelated functions — a polynomial times an exponential, say, with no derivative relationship between them — substitution has nothing to grip and you want integration by parts instead. The two techniques cover very different territory, and trying the wrong one first is the most common way to waste ten minutes of an exam.
The method
1. Choose u as the inner function. The inside of the bracket, the thing under the root, the exponent, the argument of the trig function, the denominator. When two candidates compete, pick the one whose derivative you can actually find in the integrand.
2. Differentiate and check. Write and compare it with what is available. A constant mismatch is fixable — if and you only have , then . A mismatch by a factor of is not fixable, because constants can leave an integral and variables cannot.
3. Convert the limits straight away, if there are any. Push each -limit through . Doing this at the moment you choose — rather than after the algebra — is what stops you from forgetting. It also means the new integral is entirely self-contained.
4. Rewrite the whole integral in u. Every and the must go. If a stray refuses to convert, rearrange your substitution to express in terms of and replace it that way. A rewritten integral containing both letters is a statement that means nothing.
5. Integrate, then finish in the correct variable. Definite integral with converted limits: evaluate in and you are done — no substituting back. Indefinite integral: replace with the original expression and add . Then differentiate your answer mentally. Substitution answers are unusually quick to check, because the chain rule should hand back the original integrand in one line.
Changing the limits on a definite integral
0 of 6 stepsWorked examples
Worked example
- 1
The bracket is raised to a power and its derivative, 2x, is sitting right there as a factor. Take the bracket as u.
- 2
Replace the bracket by u and the whole of 2x dx by du. Nothing is left over.
- 3
Integrate the power in u.
- 4
Substitute back, since this integral is indefinite. Differentiating the result returns 6(x²+1)⁵·2x/6 = 2x(x²+1)⁵, which confirms it.
Answer
Worked example
- 1
Take u as the expression under the root. Its derivative is 1, so du is just dx — but the stray x out front will not convert on its own.
- 2
Rearranging the substitution gives x in terms of u, so the leftover factor can be replaced too.
- 3
Expand into separate powers of u. This is why the substitution works: the product becomes a sum.
- 4
Integrate each power by adding one to the exponent and dividing.
- 5
Substitute x − 1 back for u. Differentiating gives (x−1)^{3/2} + (x−1)^{1/2}, which factors to x√(x−1) as required.
Answer
Worked example
- 1
The integrand is a power of sine multiplied by cosine, and cosine is the derivative of sine. That fixes the choice immediately.
- 2
Convert both limits through u = sin x before doing anything else.
- 3
Rewrite the integral. The cos x dx becomes du and the sin³x becomes u³.
- 4
Integrate and evaluate at the new limits. No substituting back is needed because the limits already travelled.
Answer
Try one of your own
Type an integral and the substitution will be chosen and justified before it is applied, with the limits converted explicitly if the integral is definite. The integral calculator with steps covers substitution, parts, and partial fractions, and the calculus solver will take the whole question at once if it has several parts.
Solve a calculus problem now
First solution freeWhere people go wrong
Substituting without checking that du is there
Setting in and hoping. There is no factor, so cannot be written in terms of and the substitution stalls halfway. Always differentiate your candidate and physically look for that derivative in the integrand before you commit a single line to paper.
Pulling a variable outside the integral
Writing to manufacture the missing factor. Constants can move across an integral sign; variables cannot, because the integral is summing over the very quantity you tried to treat as fixed. The legitimate move on this integral is , which pulls out a one-half and leaves everything else intact.
Leaving an x behind
A rewritten integral containing both and is not a valid statement, and integrating it gives nonsense. Either express the stray in terms of , as in the second worked example above, or accept that the substitution was wrong. Scan the line before you integrate it; one stray letter is easy to see and expensive to miss.
Limits that did not travel
Changing the variable but keeping the original limits. In the example above, evaluating at 1 and 3 instead of 2 and 10 gives rather than — a plausible looking answer that is simply wrong. Writing the new limits down at the moment you choose costs nothing and closes the gap. If you prefer to keep the old limits, you must substitute back to first, and then the original limits are correct again.
Practice
Two indefinite, one definite, one that needs you to spot a logarithm. Include the constant where the integral is indefinite.
Substitution practice
Answers are checked here — nothing is sent anywhere.
- 1
- 2
- 3
- 4