5.8 The Substitution Rule and Change of Variables
In mathematics, the art of proposing a question must be held of higher value than solving it; change of perspective is often the very essence of discovery.
Georg Cantor
In differential calculus, the chain rule is the engine that unlocks derivatives of composite functions:
Because integration reverses differentiation, every differentiation rule must have an integral counterpart. Reversing the chain rule yields the Substitution Rule, also known as the method of change of variables.
Just as the chain rule accounts for the inner rate of change , the substitution rule accounts for the local stretching or compressing of the coordinate axis when we transition from an old variable to a new variable .
5.8.1 Inverting the Chain Rule: Indefinite Integrals
Let be any antiderivative of a continuous function , so that . If is a differentiable function whose range is contained in the domain of , the chain rule gives
Translating this identity into the language of indefinite integrals (5.7.5) yields
To reveal the structure of the above equation, setting the new variable to be the inner function,
the corresponding differential represents the linear approximation of the change in :
Substituting these formal expressions into (5.9) transforms the integral into
The method replaces an intricate integral with respect to by a simpler integral with respect to . Once an antiderivative is found, replacing by restores the final result in terms of the original variable .
Writing is not merely formal shorthand; it accurately reflects the distortion of scale between coordinate systems. If , a tiny step of length on the -axis produces a change that is five times as large on the -axis. The factor inside the integrand compensates for this coordinate re-scaling.
To execute a successful substitution, the integrand must contain not only a composite expression , but also the derivative of the inner function as an algebraic factor, at least up to a non-zero multiplicative constant.
To evaluate an indefinite integral using the Substitution Rule:
-
1.
Identify the inner target: Inspect the integrand for a composite structure where a constant multiple of appears elsewhere in the product. Set .
-
2.
Compute the differential: Differentiate to find , and isolate the remaining -terms in terms of .
-
3.
Transform and integrate: Re-express the entire integrand in terms of and , ensuring that no remnants of the old variable survive. Compute the resulting integral .
-
4.
Back-substitute: Express the final antiderivative in terms of by substituting back in place of .
A common error is to substitute while leaving some appearances of inside the integrand. An intermediate expression such as is completely invalid: an integral cannot be evaluated with respect to while treating remaining functions of as constants. Every single and must be transformed into and before proceeding.
Evaluate the following indefinite integrals and verify each result by differentiation.
-
(i)
.
Solution. The composite power has inner function . Differentiating yields , which appears as a factor in the integrand. Substituting directly:
Check: .
-
(ii)
.
Solution. The exponential has inner function , giving . Thus,
Check: .
Find the following indefinite integrals.
-
(i)
.
Solution. The inner function of is , with derivative . The factor is present in the integrand, lacking only the scalar factor . We write
Applying the substitution rule and factoring out the constant scalar:
-
(ii)
.
Solution. Rewriting the integrand as , we identify . Then , which implies . Substituting gives
Choosing the appropriate substitution often requires trial and error, guided by two primary heuristics:
-
•
If an expression appears in the integrand and a constant multiple of its derivative also appears as an algebraic factor multiplying the differential, test .
-
•
If a complicated expression is trapped inside an algebraic root, an exponential, a trigonometric argument, or a denominator, test that inner expression as .
5.8.2 Substitution for Definite Integrals
When evaluating a definite integral , there are two distinct conceptual approaches:
-
(I)
Antiderivative first, limits second: Use substitution to find the indefinite antiderivative , and then apply the Fundamental Theorem of Calculus directly to the original limits:
-
(II)
Transforming the limits simultaneously: Change the limits of integration from -values to -values at the exact moment the substitution is executed:
Once the limits are updated, one evaluates the new -integral directly, with no need to back-substitute into .
The second approach is more streamlined and significantly less prone to sign errors.
Let be a function whose derivative is continuous on , and let be continuous on the range of . Then
Let be an antiderivative of on the range of , so that . By the chain rule,
Since and are continuous, is continuous on . By Part 2 of the Fundamental Theorem of Calculus (Theorem 5.7.1 (ii)), the left-hand side evaluates to
Now consider the right-hand side of (5.11). Since , Part 2 of the Fundamental Theorem applies directly with respect to the variable :
Both sides evaluate to , establishing the equality.∎
Evaluate the following definite integrals.
-
(i)
.
Solution. Set , so that . We transform the limits of integration:
The integral becomes
-
(ii)
.
Solution. Set , so , which gives . Updating the limits:
Applying the reciprocal antiderivative formula from Proposition 5.7.13 (ii):
-
(iii)
.
Solution. Set , so . Updating the limits:
Evaluating the polynomial integral in :
5.8.3 Geometric Meaning of the Change of Variables
The analytical proof of Theorem 5.8.3 via Part 2 of the Fundamental Theorem is concise, but it obscures the underlying geometric mechanism. To see what change of variables actually does to area, we examine Riemann sums directly.
Suppose that the coordinate map has a strictly positive derivative on , so that is strictly increasing. It maps the interval on the -axis bijectively onto the interval on the -axis, where and .
Subdivide into subintervals via partition points
Because is strictly increasing, applying to these points creates an induced partition of :
By the Mean Value Theorem of differential calculus applied to on , there exists an intermediate point such that
Equation (5.12) shows that the derivative acts as a local stretching factor between the two coordinate axes (Figure 5.14).
Now compare the approximating Riemann sums for the integrals on both sides of (5.11):
-
•
For the integral on the -axis, we evaluate at the tagged sample points :
-
•
For the integral on the -axis, we evaluate the composite integrand at the tags :
Substituting the stretching relation (5.12) reveals that these two Riemann sums are algebraically identical term by term:
Because is uniformly continuous on , refining the partition on the -axis simultaneously refines the partition on the -axis. Passing to the limit as the mesh norm tends to zero establishes that
A rectangular strip on the -axis of height and width corresponds to a strip on the -axis of height and width . The factor adjusts the base width of each approximating rectangle so that the accumulated area is preserved under the coordinate distortion.
The geometric utility of Theorem 5.8.3 becomes especially clear when is an affine linear map:
where and are real constants. Differentiating gives . Applying the Substitution Rule:
This single identity captures two fundamental geometric invariances of the integral:
-
(i)
Translation invariance (): Setting gives and , which yields
equation (5.13) (5.13)Shifting a function horizontally by units and shifting the integration limits by the same amount leaves the accumulated area unchanged.
-
(ii)
Dilation and scaling (): Setting gives and , which yields
equation (5.14) (5.14)Compressing the domain horizontally by a factor of must be balanced by multiplying the integral by to preserve the total area.
-
(i)
Evaluate .
-
(ii)
Evaluate by updating the limits of integration.
-
(iii)
Use the linear substitution to prove the reflection identity:
-
(iv)
Apply the identity from part (c) to evaluate without finding an explicit antiderivative.
-
(i)
Indefinite integral with an algebraic radical inside an exponential.
We evaluate
The power appears in the exponent. Choosing , its differential is
Substituting into the integral:
Check: Differentiating the result via the chain rule gives
confirming the computation.
-
(ii)
Definite integral via transformation of limits.
We evaluate
The quantity under the square root is . Setting , the differential is
We transform the integration limits directly from to :
By the Substitution Rule for definite integrals (Theorem 5.8.3) and the orientation convention (Definition 5.6.1 (ii)):
-
(iii)
Proof of the reflection identity.
We establish that for any integrable function on ,
Consider the right-hand side. We apply the affine linear substitution
The derivative is , yielding the differential relation
Next, we map the boundary endpoints:
Applying Theorem 5.8.3:
Because is a dummy variable of integration (5.3.1), renaming back to yields
as claimed.
-
(iv)
Evaluation without an explicit antiderivative.
We compute
Here and , so . By the co-function trigonometric identities:
Applying the reflection identity proved in part (c) to :
Adding these two expressions for together eliminates the non-trivial trigonometric denominator entirely:
Dividing by produces the exact value:
Finding an antiderivative for using classical methods requires either tangent half-angle substitutions or clever algebraic decomposition into symmetric and antisymmetric pieces ().
The reflection substitution bypasses antidifferentiation entirely. By reflecting the integrand across the midpoint of the interval , it demonstrates that the sine and cosine components contribute equally to the total area, allowing us to evaluate the integral strictly through functional symmetry.