Calculus

U-Substitution in Integration: Step-by-Step Method

U-substitution is the most important integration technique after basic antiderivatives. Learn the step-by-step method, how to choose the right u, and work through examples for both indefinite and definite integrals.

Frequently asked questions

How do you choose u in u-substitution?

Choose u to be the inner function, usually the part inside parentheses, a root, a power, or an exponent, whose derivative also appears in the integrand. For ∫2x cos(x²) dx, let u = x², so du = 2x dx. The integral becomes ∫cos u du = sin(x²) + C.

Do you change the limits of integration with u-substitution?

Yes, if you stay in terms of u. Replace the x-limits with the matching u-values. For ∫₀¹ 2x e^(x²) dx, let u = x². The limits become u = 0 and u = 1, so the integral is ∫₀¹ eᵘ du = e − 1. No back-substitution is needed.

What if du is only off by a constant factor?

Adjust with a constant. For ∫x cos(x²) dx, let u = x², so du = 2x dx and x dx = du/2. The integral becomes ½∫cos u du = ½ sin(x²) + C. Constants can be moved outside the integral, but a leftover variable cannot.

When does u-substitution not work?

It fails when no inner function has its derivative sitting in the integrand. For ∫x eˣ dx, setting u = x or u = eˣ leaves a leftover x or eˣ that you cannot rewrite. Integration by parts works there. Partial fractions or trig identities help with other integrals.

Why do you add + C after substituting back?

An indefinite integral stands for a whole family of antiderivatives that differ by a constant, so you add + C. Also remember to replace u with its expression in x before finishing. A definite integral does not need + C, since the constants cancel when you subtract.

Try these solvers

Calculus11 min read

Chain Rule vs Product Rule: When to Use Which in Calculus

Chain rule or product rule? Learn how to instantly identify which differentiation rule to apply, avoid common pitfalls, and work through examples that combine both.

Calculus10 min read

Integration by Parts: Formula, Strategy, and Examples

Master integration by parts with the complete formula, the LIATE strategy for choosing u and dv, detailed worked examples from simple to advanced, and practice problems.

Calculus11 min read

How to Find Limits Algebraically: Techniques and Examples

Master the essential algebraic techniques for evaluating limits: direct substitution, factoring, rationalizing, special trig limits, and limits at infinity with worked examples.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.