U-substitution is the most fundamental integration technique after the basic antiderivative rules. The idea: replace a complicated expression inside an integral with a single variable \(u\), solve the simpler integral, then substitute back.
It works because integration and differentiation are inverses — and u-sub is precisely the chain rule read backwards. When you see an integral of the form \(\int f(g(x)) \cdot g'(x)\,dx\), that's a signal: let \(u = g(x)\), find \(du\), and the integral simplifies to \(\int f(u)\,du\).
The key skill is choosing the right u — usually the inner function of a composition, or the expression whose derivative also appears in the integrand.
The chain rule says \(\frac{d}{dx}[F(g(x))] = F'(g(x)) \cdot g'(x)\). U-substitution reads this backwards: if you see \(F'(g(x)) \cdot g'(x)\) inside an integral, you know its antiderivative is \(F(g(x))\). The \(g'(x)\,dx\) piece becomes \(du\), and the whole integral collapses.
You need two things: a function \(g(x)\) and its derivative \(g'(x)\) both appearing in the integral (sometimes with a constant factor). The inner function \(g(x)\) becomes \(u\). Its derivative \(g'(x)dx\) becomes \(du\). If \(g'\) is missing, u-sub might not work — try a different method.
For \(\displaystyle\int x\,e^{x^2}\,dx\): let \(u = x^2\), so \(du = 2x\,dx\), meaning \(x\,dx = \frac{du}{2}\).
Then \(\displaystyle\int x\,e^{x^2}\,dx = \int e^u \cdot \frac{du}{2} = \frac{1}{2}e^u + C = \frac{1}{2}e^{x^2} + C\).
You can always factor out a constant — just never a variable.
\(= \frac{1}{3}\displaystyle\int \cos u\,du\)
\(= \frac{1}{3}\sin(3x)+C\)
\(= \displaystyle\int \frac{du}{u} = \ln|u|+C\)
\(= \ln(x^2+1)+C\)
\(=\displaystyle\int_1^2 u^3\,du = \left[\frac{u^4}{4}\right]_1^2 = \frac{15}{4}\)
\(= \displaystyle\int u\,du = \frac{u^2}{2}+C\)
\(= \frac{\sin^2 x}{2}+C\)
Ready to test your knowledge?
U-substitution is the most-used integration technique in Calculus II on BUders.
Go to Calculus II Quizzes →