CALCULUS 2 • TECHNIQUES OF INTEGRATION

Integration by Substitution — Integrating Using Substitution

Reverse the chain rule to transform complex integrals into elementary antiderivatives.

Historical Context & Motivation

The development of integral calculus in the late seventeenth century gave mathematicians a powerful framework for computing areas, volumes, and accumulated quantities, but the practical challenge of evaluating integrals quickly became apparent. While differentiation follows straightforward algorithmic rules — the product rule, quotient rule, and chain rule — integration lacks a universal mechanical procedure. Early practitioners such as Isaac Newton and Gottfried Wilhelm Leibniz recognized that many integrals could be simplified by introducing a new variable to absorb a composite structure inside the integrand, effectively reversing the chain rule of differentiation. This insight evolved into what we now call integration by substitution, sometimes referred to as u-substitution, and it remains one of the most frequently employed techniques in all of calculus.

1669
Newton's Early Integration Methods
In De Analysi, Newton develops series-based integration techniques and implicitly uses variable changes to simplify integrands arising in geometric problems.
1684
Leibniz Publishes Differential Calculus
Leibniz introduces the dx notation and the integral sign ∫, making the formal manipulation of differentials — and thus substitution — notationally natural and algebraically transparent.
1742
Euler Systematizes Substitution
Leonhard Euler catalogues substitution strategies for rational, trigonometric, and irrational integrands in his textbooks, establishing the technique as a standard tool in the analyst's repertoire.
1823
Cauchy Formalizes the Definite Integral
Augustin-Louis Cauchy provides rigorous limit-based definitions of the integral and states precise conditions under which a change of variable in a definite integral is valid, including continuity and monotonicity requirements.
1854
Riemann's Integration Theory
Bernhard Riemann's formalization of integration via partitions and limits gives the substitution theorem its modern rigorous footing, connecting it to the broader framework of measure and analysis.

The central question that substitution addresses is deceptively simple: given an integrand that does not match any elementary antiderivative formula, can we introduce a new variable — typically called u — so that the transformed integral becomes one we already know how to evaluate? This technique is not merely a clever trick; it is the direct, systematic reversal of the chain rule, and mastering it unlocks the ability to handle a vast family of integrals that would otherwise appear intractable.

Core Principles & Definitions

Integration by substitution rests on a single foundational idea: if we recognize the integrand as the result of differentiating a composite function via the chain rule, we can reverse that process by introducing an intermediate variable. The technique converts a difficult integral in x into a simpler integral in u, evaluates the simpler integral, and then converts back. Understanding the following principles ensures that the method is applied correctly and confidently.

1

Chain Rule Reversal

Since d/dx[F(g(x))] = F′(g(x)) · g′(x), integrating f(g(x)) · g′(x) dx must yield F(g(x)) + C, where F′ = f. Substitution formalizes this observation by setting u = g(x).
2

The Differential Connection

If u = g(x), then du = g′(x) dx. The entire factor g′(x) dx in the original integral is replaced by du, reducing the integral to ∫ f(u) du — an expression in a single variable with a known antiderivative.
3

Choosing u Strategically

A good substitution identifies the 'inner function' of a composition whose derivative (or a constant multiple thereof) already appears elsewhere in the integrand. Common choices include arguments of exponentials, denominators of fractions, and expressions under radicals.
4

Adjusting for Constants

If the integrand contains g′(x) up to a constant factor, we may still proceed: multiply and divide by the necessary constant so that du matches the differential exactly. For example, if du = 3x² dx but only x² dx appears, write x² dx = (1/3) du.
5

Definite Integral Adjustment

For definite integrals, transform the limits of integration alongside the variable: if x goes from a to b, then u goes from g(a) to g(b). This eliminates the need to back-substitute and often simplifies the final arithmetic.
KEY TAKEAWAY
Think of substitution as a change of coordinates for your integral. Just as a surveyor might rotate a coordinate grid to align with a building's walls — making measurements trivial instead of trigonometric — choosing u = g(x) rotates the mathematical 'lens' so the integrand aligns with a known antiderivative formula. The key is recognizing that the derivative of the inner function is already present (up to a constant) in the integrand; this is your signal that the integral is a disguised chain-rule product.

Visual Explanation

The geometric essence of substitution becomes clear when we visualize what happens to the area under a curve during a change of variable. The diagram below illustrates the integral ∫ 2x · cos(x²) dx, where we set u = x². On the left, the integrand in the original x-domain appears as a rapidly oscillating, modulated curve. On the right, after substitution, the integrand in the u-domain is simply cos(u) — a clean cosine wave whose antiderivative is immediately recognizable. The shaded areas are equal; substitution has not changed the value of the integral, only the coordinate system in which we view it.

Left: the integrand 2x cos(x²) in the x-domain with the shaded region representing the definite integral from a to b. Right: after substituting u = x², the integrand becomes cos(u) in the u-domain, with limits transformed to g(a) and g(b). Both shaded regions have the same area.

Notice that the left-hand graph exhibits the modulation factor 2x, which makes the oscillations grow in amplitude as x increases. The substitution u = x² absorbs both the inner function x² (inside the cosine) and its derivative 2x (which combines with dx to become du). The result on the right is a pure trigonometric function whose antiderivative, sin(u), is immediate. This visual confirms a crucial insight: substitution does not change the value of the integral; it merely changes the coordinate system in which the computation is performed, converting a complex-looking integrand into a standard form.

Mathematical Framework

The formal justification of substitution follows directly from the chain rule. Suppose F is an antiderivative of f, meaning F′ = f. If g is a differentiable function of x, the chain rule gives d/dx[F(g(x))] = f(g(x)) · g′(x). Integrating both sides with respect to x immediately yields the substitution formula for indefinite integrals.

SUBSTITUTION RULE — INDEFINITE INTEGRAL
∫ f(g(x)) · g′(x) dx = ∫ f(u) du = F(u) + C = F(g(x)) + C
where u = g(x), du = g′(x) dx, and F′ = f. After evaluating ∫ f(u) du, replace u by g(x) to express the result in the original variable.

For definite integrals, the Fundamental Theorem of Calculus allows us to avoid back-substitution entirely by transforming the limits of integration. If g is continuously differentiable on [a, b] and f is continuous on the range of g, then:

SUBSTITUTION RULE — DEFINITE INTEGRAL
∫ₐᵇ f(g(x)) · g′(x) dx = ∫_{g(a)}^{g(b)} f(u) du
The lower limit becomes u = g(a) and the upper limit becomes u = g(b). No back-substitution is needed because the entire computation stays in the u-variable.

In practice, the procedure is mechanical. First, identify a candidate inner function g(x) and set u = g(x). Second, compute du = g′(x) dx and solve for dx if necessary. Third, rewrite every occurrence of x in the integrand in terms of u (if any x remains that cannot be expressed through u, the substitution may not work and a different choice of u should be tried). Fourth, integrate with respect to u. Finally, for indefinite integrals, substitute back u = g(x); for definite integrals, change the limits and evaluate directly.

DIFFERENTIAL RELATIONSHIP
du = g′(x) dx ⟹ dx = du / g′(x)
This relationship allows the replacement of dx in the integral. If g′(x) contains factors of x, those factors must cancel with or be expressible in terms of u for the substitution to succeed.
When Does Substitution Fail?
Substitution requires that the entire integrand — including the dx factor — be expressible in terms of u and du. If after choosing u = g(x) and computing du, residual x-terms remain that cannot be written as functions of u, the substitution is invalid for that choice of u. In such cases, try a different substitution, algebraic manipulation, or an altogether different technique (integration by parts, partial fractions, etc.).

Common Substitution Patterns

While substitution is conceptually straightforward, recognizing the right choice of u quickly is a skill honed through exposure to recurring patterns. The following table catalogues the most common structural patterns encountered in calculus courses, along with the natural substitution and the resulting simplified integral. Internalizing these patterns transforms substitution from a hunt-and-peck process into a nearly automatic reflex.

Common u-substitution patterns and their simplifications
Integrand PatternSubstitutionResulting Integral
∫ f(ax + b) dxu = ax + b, du = a dx(1/a) ∫ f(u) du
∫ xⁿ⁻¹ · f(xⁿ) dxu = xⁿ, du = nxⁿ⁻¹ dx(1/n) ∫ f(u) du
∫ eˣ · f(eˣ) dxu = eˣ, du = eˣ dx∫ f(u) du
∫ f(ln x) · (1/x) dxu = ln x, du = (1/x) dx∫ f(u) du
∫ f(sin x) · cos x dxu = sin x, du = cos x dx∫ f(u) du
∫ f(tan x) · sec²x dxu = tan x, du = sec²x dx∫ f(u) du
A decision flowchart for applying u-substitution. Begin by identifying whether the integrand contains a composite structure whose inner derivative is present. If residual x-terms persist after substitution, try a different u or switch to another integration technique.

A useful heuristic for choosing u is the "inside-out" rule: look for the innermost function in a nested composition and check whether its derivative appears as a factor in the integrand. If the integrand involves √(3x + 1), try u = 3x + 1. If it involves esin x · cos x, the inner function of the exponential is sin x, and indeed cos x = d/dx(sin x) is present, so u = sin x works perfectly. Another valuable guideline: if a linear expression ax + b appears inside a more complex function (exponential, logarithm, trigonometric, or radical), setting u = ax + b almost always succeeds because du = a dx introduces only a constant factor.

Worked Example

Let us work through a complete example that demonstrates the substitution procedure for a definite integral, including the transformation of limits.

Evaluate ∫₀² x · √(x² + 1) dx
1
Step 1 — Identify the Inner FunctionThe integrand is x · √(x² + 1). The expression under the radical, x² + 1, is a composite inner function, and its derivative 2x appears in the integrand (up to the constant factor 2). This signals a natural substitution.
Let u = x² + 1
2
Step 2 — Compute du and Solve for x dxDifferentiate: du = 2x dx. We need x dx in our integral, so we solve: x dx = du/2. This constant factor 1/2 will be pulled out front.
x dx = (1/2) du
3
Step 3 — Transform the Limits of IntegrationWhen x = 0: u = 0² + 1 = 1. When x = 2: u = 2² + 1 = 5. The definite integral's limits change from [0, 2] in x to [1, 5] in u.
New limits: u ∈ [1, 5]
4
Step 4 — Rewrite and IntegrateSubstituting: ∫₀² x · √(x² + 1) dx = ∫₁⁵ √u · (1/2) du = (1/2) ∫₁⁵ u1/2 du. Apply the power rule for integration: ∫ u1/2 du = (2/3) u3/2. Therefore the integral becomes (1/2) · (2/3) u3/2 evaluated from 1 to 5.
(1/3) u^(3/2) |₁⁵
5
Step 5 — Evaluate at the LimitsPlugging in: (1/3)[53/2 − 13/2] = (1/3)[5√5 − 1]. Numerically, 5√5 ≈ 11.180, so the result is approximately (1/3)(10.180) ≈ 3.393.
∫₀² x√(x² + 1) dx = (5√5 − 1)/3 ≈ 3.393
Verification Tip
You can always verify a substitution result by differentiating your answer using the chain rule. For the indefinite version, d/dx[(1/3)(x² + 1)3/2] = (1/3) · (3/2)(x² + 1)1/2 · 2x = x√(x² + 1), which matches the original integrand. This back-check is an excellent habit.

Strengths, Limitations & Comparisons

U-substitution is the most broadly applicable single integration technique, but it is not omnipotent. Understanding when substitution excels and when it falls short helps you allocate your problem-solving effort wisely and transition efficiently to alternative methods when needed.

Substitution vs. Integration by Parts
CriterionSubstitutionIntegration by Parts
Best suited forComposite functions f(g(x)) · g′(x) where the inner derivative is presentProducts of unrelated function types (e.g., x · eˣ, x² · sin x)
Underlying rule reversedChain ruleProduct rule
Typical complexityUsually one application suffices; low cognitive overheadMay require repeated application or tabular method
Failure modeResidual x-terms that cannot be expressed in uIntegral of dv is harder than the original integral
Definite integral handlingLimits transform directly; no back-substitution neededBoundary terms evaluated in original variable
WHEN TO SWITCH TECHNIQUES
If you spend more than a minute trying different choices of u without success, step back and ask: is the integrand a product of two unrelated function families (suggesting integration by parts), a rational function (suggesting partial fractions), or does it contain √(a² − x²) or similar (suggesting trigonometric substitution)? Substitution is your first-line tool, but knowing when to pivot is equally important.

Connection to Advanced Theory

The substitution formula you have learned for single-variable integrals is the prototype for a family of powerful change-of-variable theorems that appear throughout advanced mathematics. In multivariable calculus, the Jacobian determinant generalizes the role played by g′(x) when transforming double or triple integrals from one coordinate system to another — for instance, converting a difficult Cartesian integral into polar, cylindrical, or spherical coordinates. The structural logic is identical: replace the old variables, adjust the differential element, and transform the domain of integration.

From single-variable substitution to multivariable change of variables
FeatureSingle-Variable SubstitutionMultivariable Change of Variables
Substitutionu = g(x)(u, v) = T(x, y) or similar
Differential adjustmentdu = g′(x) dxdu dv = |det(J_T)| dx dy
Domain transformation[a, b] → [g(a), g(b)]Region R → Region T(R)
Regularity requirementg continuously differentiableT is a C¹ diffeomorphism
Classic applicationEvaluating ∫ f(g(x))g′(x) dxPolar coordinates: dx dy = r dr dθ

Beyond multivariable calculus, the substitution principle appears in differential equations (transforming variables to separate or reduce order), probability theory (the change-of-variable formula for probability density functions), and differential geometry (pullbacks of differential forms). In each setting, the core idea remains the same: a well-chosen change of variable can transform a complicated expression into one whose structure is transparent. Mastering u-substitution in the single-variable context builds the intuition and mechanical fluency you will rely on in all of these more advanced applications.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why the integral ∫ cos(x³) dx cannot be evaluated by a simple u-substitution u = x³, even though the integrand contains a composite function. What structural element is missing from the integrand?
PROBLEM 2BASIC CALCULATION
Evaluate the indefinite integral ∫ (2x + 3)7 dx.
PROBLEM 3INTERMEDIATE
Evaluate the definite integral ∫₀^(π/2) sin³(x) · cos(x) dx.
PROBLEM 4APPLIED
A particle moves along the x-axis with velocity v(t) = t · e^(−t²) meters per second. Find the total displacement of the particle from t = 0 to t = 2 seconds.
PROBLEM 5CRITICAL THINKING
Prove that for any continuous function f and constants a and b with a + b = 0 (i.e., b = −a), the identity ∫₋ₐᵃ f(x²) dx = 2 ∫₀ᵃ f(x²) dx holds. Then use a substitution argument to show that ∫₀¹ √(−ln x) dx = √π / 2.

Lesson Summary

Integration by substitution is the systematic reversal of the chain rule. When an integrand has the form f(g(x)) · g′(x), we set u = g(x) and du = g′(x) dx, transforming the integral into ∫ f(u) du — a simpler expression whose antiderivative is typically a standard form. For definite integrals, the limits of integration transform as well, from [a, b] to [g(a), g(b)], eliminating the need for back-substitution.

The technique succeeds whenever the derivative of the inner function appears (up to a constant multiple) as a factor in the integrand. Recognizing common substitution patterns — linear arguments, power-function compositions, exponential and logarithmic structures, and trigonometric chains — accelerates problem solving. When substitution fails (residual x-terms that cannot be expressed in u), alternative techniques such as integration by parts, partial fractions, or trigonometric substitution should be considered. The single-variable substitution formula generalizes naturally to multivariable settings via the Jacobian determinant, making it one of the most foundational tools in all of analysis.

Varsity Tutors • Calculus 2 • Integration by Substitution — Integrating Using Substitution