Suppose you want to compute ∫012x(x2+1)3dx. Expanding (x2+1)3 and integrating term by term is possible but tedious. The key observation is that 2x is exactly the derivative of x2+1, so the integrand has the form f(φ(t))φ′(t) with φ(t)=t2+1 and f(x)=x3. The change of variables (or substitution) rule says you can replace the variable of integration to get ∫12x3dx, which is immediate. This checkpoint makes that manoeuvre precise and proves it.
Formal statement
Let φ:[α,β]→R be continuously differentiable (i.e., φ∈C1[α,β]), with φ([α,β])⊆[a,b]. Let f:[a,b]→R be continuous. Then
∫αβf(φ(t))φ′(t)dt=∫φ(α)φ(β)f(x)dx.
Note that the limits on the right are φ(α) and φ(β), not necessarily a and b; and φ need not be injective. The only requirements are that φ maps [α,β] into [a,b], that φ is C1, and that f is continuous.
Proof via the chain rule
Since f is continuous on [a,b], by the Newton–Leibniz formula it has a primitive F satisfying F′(x)=f(x) for all x∈[a,b].
Consider the composite function H(t):=F(φ(t)). By the chain rule,
H′(t)=F′(φ(t))φ′(t)=f(φ(t))φ′(t).
Since φ is C1 and f is continuous, the product f(φ(t))φ′(t) is continuous on [α,β], so H is a primitive of f(φ(t))φ′(t) on [α,β]. Applying Newton–Leibniz to the left-hand side:
∫αβf(φ(t))φ′(t)dt=H(β)−H(α)=F(φ(β))−F(φ(α)).
Applying Newton–Leibniz to the right-hand side:
∫φ(α)φ(β)f(x)dx=F(φ(β))−F(φ(α)).
The two sides are equal. □
The proof is strikingly short once you have Newton–Leibniz and the chain rule: the entire content of the substitution rule is just the chain rule applied to a composite involving a primitive.
Indefinite form and the “substitute back” step
For indefinite integrals, the change-of-variables rule takes the form
∫f(φ(t))φ′(t)dt=∫f(x)dxx=φ(t)=F(φ(t))+C,
where F is a primitive of f. In practice, you perform the substitution x=φ(t), dx=φ′(t)dt, evaluate ∫f(x)dx in the new variable to get F(x)+C, and then substitute backx=φ(t) to express the answer in terms of t.
For definite integrals you do not need to substitute back, because the limits are transformed directly: t=α gives the lower limit x=φ(α), and t=β gives the upper limit x=φ(β).
Substitution patterns
Linear substitution
For integrals involving ax+b, set x=φ(t)=at+b, so φ′(t)=a and dx=adt. This gives
∫f(ax+b)dx=a1∫f(u)duu=ax+b.
For example, ∫e2x+3dx=21e2x+3+C.
Trigonometric substitution
When the integrand involves a2−x2, set x=asinθ (with θ∈[−π/2,π/2]). Then
a2−x2=a2−a2sin2θ=acosθ(since cosθ≥0),
and dx=acosθdθ. The radical is eliminated entirely.
Similarly, for a2+x2 use x=atanθ, and for x2−a2 use x=a/cosθ=asecθ.
Inverse substitution (t-substitution)
Sometimes it is more natural to let x=φ(t) be an explicit function of a new variable t — for example, to rationalize an expression or handle a rational integrand. As long as φ is C1 and the range condition is satisfied, the same formula applies with the roles of the two sides swapped: you compute the integral in t and substitute back t=φ−1(x) if needed.
Worked examples
Example 1: ∫012x(x2+1)3dx
Set u=x2+1, so du=2xdx. When x=0, u=1; when x=1, u=2. The integral transforms to
∫012x(x2+1)3dx=∫12u3du=[4u4]12=416−41=415.
Example 2: ∫011−x2dx
This is the area of a quarter unit circle, which you know to be π/4. Let us confirm using trigonometric substitution. Set x=sinθ, so dx=cosθdθ and 1−x2=cosθ. When x=0, θ=0; when x=1, θ=π/2. The integral becomes