The Integration by Substitution Method
Most students learn u-substitution as "reverse chain rule," which is technically true but doesn't help you actually solve the integral when you're staring at it during an exam. The real skill is pattern recognition, and that comes from doing enough problems until your eyes start automatically spotting the structure.How To Do U Substitution
Here is what the process actually looks like in practice, not the textbook version: Take an integral. Look at it. Identify a function inside another function, or a composite expression where the inner part's derivative appears somewhere else in the integrand, even if only up to a constant factor. That inner part is your u. Set u equal to it. Compute du/dx and solve for dx, or rearrange as du = g(x)dx depending on how the problem is written. Substitute everything. You should end up with an integral in terms of u alone. Integrate. Substitute back x for u. Add C for indefinite integrals. Check your answer by differentiating it — this takes ten seconds and catches about eighty percent of errors before you even hand in the paper. The hardest part is step two. Picking the right u. Everything else is mechanical.
I spent a whole semester watching students pick the wrong u and then waste twenty minutes trying to force it. The classic mistake is choosing u to be the outer function instead of the inner one. If you have the integral of 2x times cos(x²) dx, picking u = cos(x²) means du = -2x sin(x²) dx, and now you have a worse integral. Pick u = x², get du = 2x dx, and the whole thing collapses into the integral of cos(u) du in three seconds. There is one edge case that tripped me up repeatedly in early courses. Definite integrals where the substitution creates a bounds problem. Say you are evaluating the integral from 0 to 1 of 6x times (3x² + 1) dx. If you switch to u = 3x² + 1, your new bounds go from u(0) = 1 to u(1) = 4. You can either change the bounds and evaluate in u-space, or you can substitute back and evaluate at the original x-bounds. Both work. The first is usually faster because it saves a substitution step at the end. I used to always switch back and forth between methods depending on my mood, which is inefficient. Now I just always change the bounds. It took me three midterms to stop second-guessing myself on this. Another thing nobody warns you about: sometimes the substitution requires an algebraic move that isn't obvious. Consider the integral of x / (x² + 1)² dx. You set u = x² + 1, get du = 2x dx, but your numerator is just x dx, not 2x dx. You need to multiply and divide by 2, or rewrite as (1/2) du = x dx. This is a small step but it is easy to miss under time pressure. I would estimate that about one in five u-substitution problems in a standard calculus course requires this kind of constant adjustment.
When It Breaks Down
U-substitution does not work for everything. It fails silently, which is worse than failing loudly. If after substituting you still have x terms mixed in with u terms and you cannot algebraically eliminate them, the substitution was wrong or the integral doesn't have an elementary antiderivative through this method. Examples include integrals like the integral of e^(x²) dx or the integral of sin(x)/x dx. These have no closed-form solution in terms of standard functions, no matter how many substitutions you try. That is not a failure on your part. It is a structural property of those functions. For products of functions that aren't composites, u-substitution won't help. The integral of x times e^x dx requires integration by parts, not substitution. Confusing the two is common and wastes time. The rule of thumb: if the integrand is f(g(x)) times g'(x), or can be algebraically rearranged into that form, use substitution. If it is a product of two unrelated functions, look at parts. There is also a class of problems where u-substitution works but leads to a partial fraction decomposition afterward, making the whole process longer than alternative approaches. For rational functions, sometimes it is faster to do polynomial long division first or use a trigonometric substitution directly rather than a naive algebraic u. I learned this the hard way on a practice exam when I spent twelve minutes on a u-sub that ended with a messy partial fraction problem, when a straightforward trig sub would have taken three minutes.
Get the Full Details

Tricks That Actually Matter
One useful technique is recognizing when the derivative is already present up to a constant. The integral of 4x³ times e^(x) dx doesn't need any algebraic manipulation beyond noticing that du = 4x³ dx exactly matches the prefactor. Another is handling square roots and rational exors. The integral of x / (1 + x²) dx becomes much cleaner with u = 1 + x², giving du = 2x dx, which reduces to (1/2) times the integral of u^(-1/2) du. The answer is (1 + x²) + C. Quick, clean, correct. For trigonometric integrals, u-substitution often pairs with Pythagorean identities. The integral of sin(x) cos²(x) dx becomes trivial with u = cos(x), since du = -sin(x) dx. You get negative the integral of u² du immediately. The key is knowing your derivatives well enough that you spot these pairings without writing anything down. Here is a less commonly taught insight: sometimes you need to do a substitution, integrate, and then realize you need another substitution on the resulting expression. This happens with nested composites. Take the integral of x times sin(x²) times e^(cos(x²)) dx. One u-sub doesn't solve it. You set u = x² first, get (1/2) the integral of sin(u) e^(cos(u)) du, then a second substitution v = cos(u) handles the rest. Two substitutions in sequence. This pattern shows up regularly in later calculus courses and on the AP Calculus exam, and students who only know single-substitution problems freeze when it appears.
The single most effective study habit for mastering this is not doing more problems blindly. It is doing ten problems, checking each answer by differentiation, and writing down exactly where you got stuck on each one. The stuck points tell you what patterns you haven't internalized yet. Most people skip the verification step and repeat the same mistakes for weeks.