When a Bigger U-Substitution Makes Calculus Easier
Four integrals, each worked both ways, and the chain-rule test that tells you when to reach for the larger chunk.

A calculus student facing ∫ f(g(h(x))) dx has a choice to make. They can substitute the innermost piece, u = h(x), or a larger chunk, u = g(h(x)). The textbook habit is to take the inside function, which usually means the smallest one. The question is whether reaching one layer further out ever leaves an integral that is closer to something you already know how to do.
That is the question an instructor put to Mathematics Stack Exchange. The goal was to show students that substitution is partly an art. In general form, the small choice leaves ∫ f(g(u)) / h′(h⁻¹(u)) du. The big choice leaves ∫ f(u) / [g′(g⁻¹(u)) · h′(h⁻¹(g⁻¹(u)))] du. On paper the second expression looks worse. The examples below show cases where it is actually the easier one to finish.
It is a soft-question in the sense that no algorithm settles it. What the answers do offer is a single test you can apply every time, plus four concrete integrals where the test clearly favours the bigger piece.
The test: is the chunk's derivative already sitting there?
Substitution runs the chain rule backwards. As one answer frames it, the clean cases are the ones where you can spot g′(h)·h′ explicitly in the integrand. What remains should then be a function of g(h) with a commonly known antiderivative.
So choosing between the small and the big substitution is not about which chunk looks more 'inside'. It comes down to two checks. First, is the derivative of this candidate present as a factor, up to a constant? Second, once that factor is used up, does the leftover land on a standard form? The ugly denominators in the general formulas are exactly what you get when the first check fails, and they cancel completely when it passes.
f( g( h(x) ) )
│ │ └─ small chunk: u = h(x)
│ │ needs h′(x) in the integrand
│ │ leaves f(g(u)) to deal with
│ └──── big chunk: u = g(h(x))
│ needs g′(h(x))·h′(x) in the integrand
│ leaves only f(u)
└──────── the outer function you want to
finish with a known antiderivativeSquare root of the log, not the log
The accepted answer gives the cleanest example: ∫ x⁻¹ exp(√(ln x)) dx. The reflex move is u = ln x, since dx/x is right there. That produces ∫ exp(√u) du, which still has a root inside an exponential and needs another substitution.
Take the bigger piece instead, u = √(ln x). Then u² = ln x and 2u du = dx/x, so the integral becomes 2∫ u eᵘ du. That is a standard integration-by-parts exercise, giving 2(u − 1)eᵘ + C. Substituting back gives 2(√(ln x) − 1)e^√(ln x) + C. The squaring trick is the key step here, because it lets the derivative of the bigger chunk appear without being written out explicitly.
Reading sin²x off the numerator
Consider ∫ sin x cos x / (1 + sin⁴x) dx. The cos x factor invites u = sin x, which gives ∫ u / (1 + u⁴) du. That is still not a form most students know on sight.
Now notice that d/dx sin²x = 2 sin x cos x, which is the numerator up to a factor of 2. Taking u = sin²x turns sin⁴x into u² and gives ½ ∫ du / (1 + u²). That evaluates to ½ arctan(sin²x) + C. Both choices pass the derivative check. Only the bigger one passes the second check, because its leftover is a table integral.
Spending the +C: x³ + 1 instead of x³
For ∫ x⁵ √(x³ + 1) dx, splitting x⁵ = x³ · x² suggests u = x³. This gives ⅓ ∫ u √(u + 1) du, which needs more work. Taking the whole radicand, u = x³ + 1, has the same derivative 3x². The leftover x³ becomes u − 1, and the result is ⅓ ∫ (u^(3/2) − u^(1/2)) du. You can integrate that term by term to get (2/15)(x³ + 1)^(5/2) − (2/9)(x³ + 1)^(3/2) + C.
The answer makes a point worth giving students directly. Adding a constant to u leaves du unchanged. That makes it free to move the '+1' outside the radical, where it no longer gets in the way.
| Integrand | Small u | Leaves | Bigger u | Leaves |
|---|---|---|---|---|
x⁻¹ exp(√(ln x)) | ln x | ∫ exp(√u) du | √(ln x) | 2∫ u eᵘ du |
sin x cos x / (1 + sin⁴x) | sin x | ∫ u/(1 + u⁴) du | sin²x | ½∫ du/(1 + u²) |
x⁵ √(x³ + 1) | x³ | ⅓∫ u√(u + 1) du | x³ + 1 | ⅓∫ (u^(3/2) − u^(1/2)) du |
1 / ((1 + x)√(1 − x²)) | x = sin θ | ∫ dθ/(1 + sin θ) | (1 − x)/(1 + x) | −½∫ u^(−1/2) du |
When the bigger piece needs a rewrite first
The last row of the table is not a literal g(h(x)) nesting, but it uses the same test. For ∫ dx / ((1 + x)√(1 − x²)), the usual trig substitution x = sin θ gives ∫ dθ / (1 + sin θ). One of the answers calls that tedious because of the +1.
Instead, factor √(1 − x²) = √(1 + x)√(1 − x) and rewrite the integrand as [1/(1 + x)²] · √((1 + x)/(1 − x)). Since d/dx[(1 − x)/(1 + x)] = −2/(1 + x)², the substitution u = (1 − x)/(1 + x) follows naturally. The result is −½ ∫ u^(−1/2) du = −√((1 − x)/(1 + x)) + C. Here the algebra had to come first to make the derivative visible.
Where grabbing more does not help
The bigger chunk is not automatically better. Its required derivative, g′(h(x))·h′(x), is a stricter condition than h′(x) alone. When that factor is missing, you are left with the denominators from the general formula. Those involve g⁻¹, which may not be pleasant or even well-defined over the interval you care about.
- Check for the chunk's derivative before committing. The examples above work because
2 sin x cos x,3x²anddx/x(after squaring) are already present. - The small substitution is rarely wrong. In every example it still leads to an answer, just with a second substitution or more algebra on the way.
- Some wins only appear after rewriting the integrand, as in the
(1 − x)/(1 + x)case. No mechanical rule will tell a student when to try that. - Shifting
uby a constant costs nothing. It is worth trying whenever a '+1' is stuck inside a root.
Candidate u chosen │ ├─ Is du (up to a constant) a factor of the integrand? │ no → try a smaller chunk, or rewrite first │ yes ↓ ├─ After substituting, is the leftover a known antiderivative? │ no → try a bigger chunk, or u + constant │ yes ↓ └─ Integrate, then substitute back
This article draws on Examples for a calculus student: When grabbing a bigger piece makes U-substitution easier and answers to it (1, 2), on the Stack Exchange network, licensed under CC BY-SA 4.0.
- #calculus
- #chain rule
- #integration techniques
- #soft-question
- #substitution
- #u-substitution


Comments