How to integrate by u-substitution

U-substitution reverses the chain rule to evaluate integrals of the form f(g(x))g(x)dx\int f(g(x))g'(x) dx. It applies when the integrand contains a composite function multiplied by the derivative of its inner function, up to a constant factor.

The setup

Identify the inner function u=g(x)u = g(x). Compute its differential du=g(x)dxdu = g'(x) dx. Determine if g(x)dxg'(x) dx or a constant multiple of it is present in the original integrand.

The steps

  1. Substitute uu and dudu into the integral to eliminate all instances of xx. 2. Evaluate the new integral with respect to uu. 3. For indefinite integrals, replace uu with the original expression g(x)g(x) and add the constant of integration CC. For definite integrals, either convert the limits of integration to uu-values or revert to xx before evaluating.

Checking the result

Differentiate the resulting antiderivative with respect to xx. The derivative must match the original integrand exactly. If it does not, verify the differential dudu and the antiderivative steps.

Common errors

Failing to substitute dxdx completely and mixing xx and uu variables in the same integral. Forgetting to update the limits of integration when evaluating a definite integral entirely in terms of uu. Choosing a uu whose derivative does not appear as a factor in the integrand.

Worked example

Evaluate x2ex3dx\int x^2 e^{x^3} dx.

Let u=x3u = x^3. Compute the differential: du=3x2dxdu = 3x^2 dx. Rearrange to isolate the terms in the integral: 13du=x2dx\frac{1}{3} du = x^2 dx. Substitute uu and dudu into the integral: eu(13du)\int e^u (\frac{1}{3} du). Factor out the constant: 13eudu\frac{1}{3} \int e^u du. Evaluate the integral: 13eu+C\frac{1}{3} e^u + C. Substitute back u=x3u = x^3: 13ex3+C\frac{1}{3} e^{x^3} + C.

FAQ

Run your own problem

References: Stewart, J. (2015). Calculus (8th ed.). Cengage Learning. · OpenStax. (2016). Calculus Volume 1. OpenStax. Chapter 5.5.

See also