Integral Substitution Visualizer

Master u-substitution with 20+ fully worked examples across polynomial, exponential, trigonometric, and logarithmic integrals. Step through each solution at your own pace or reveal all steps at once.

21worked examples
5categories
5steps per example
Polynomial

Evaluate:

Substitution: u = x²+1Differential: du = 2x dx

Step 1: Choose u

Pick the inner expression of the power. The factor 2x outside is its derivative.

Reference Guide

The U-Substitution Method

U-substitution is the integral analogue of the chain rule. When an integrand contains a composite function, letting u=g(x)u = g(x) simplifies the integral into a standard form.

The recipe
  1. Identify a function u=g(x)u = g(x)
  2. Compute du=g(x)dxdu = g'(x)\,dx
  3. Replace every occurrence of xx and dxdx
  4. Integrate in terms of uu
  5. Substitute back u=g(x)u = g(x)
Core formula
f(g(x))g(x)dx=f(u)du\int f(g(x))\,g'(x)\,dx = \int f(u)\,du

Choosing U Wisely

The most important step is picking the right uu. A good choice makes dudu appear (possibly up to a constant factor) elsewhere in the integrand.

Patterns to look for
  • Inner function of a composite: sin(x2)\sin(x^2) - pick u=x2u=x^2
  • Exponent of ee: e3xe^{3x} - pick u=3xu=3x
  • Denominator when numerator is its derivative: 2xx2+1\frac{2x}{x^2+1} - pick u=x2+1u=x^2+1
  • Argument of a trig function: cos(x2)\cos(x^2) - pick u=x2u=x^2

If your choice forces a constant adjustment (like xdx=12dux\,dx = \tfrac{1}{2}du), that is fine. Only fail if xx cannot be eliminated entirely.

When U-Substitution Works

U-substitution works when you can write the integrand as f(g(x))g(x)f(g(x)) \cdot g'(x) for some functions ff and gg.

Standard forms unlocked
undu=un+1n+1+C\int u^n\,du = \tfrac{u^{n+1}}{n+1}+C
eudu=eu+C\int e^u\,du = e^u+C
duu=lnu+C\int \tfrac{du}{u} = \ln|u|+C
cos(u)du=sin(u)+C\int \cos(u)\,du = \sin(u)+C

When substitution fails (the remaining xx terms cannot be expressed in uu), try integration by parts, trig identities, or partial fractions instead.