Example
Choose u, convert to du, integrate in u, and back-substitute.
highlighted = computed this step
Step 1 — Set up
Set up the composite integral.
∫2xcos(x2)dx
Step 2 — Choose u
Let u equal the inside function.
u=x2
Step 3 — Compute du
Differentiate u to get du.
du=2xdx
Step 4 — Integrate in u
Integrate cosine u to get sine u plus C.
∫cosudu=sinu+C
Step 5 — Back-substitute
Back-substitute x squared for u.
sin(x2)+C
u-substitution
U-substitution reverses the chain rule: let u = g(x), du = g'(x) dx, then ∫f(g(x))g'(x) dx = ∫f(u) du. Back-substitute u = g(x) to get the final answer.