Integration by Substitution

Integration by substitution reverses the chain rule: it transforms a hard integral into the easier by setting . It is the single most-used technique for evaluating integrals at the introductory level and works whenever the integrand contains a function and (a constant multiple of) its derivative. Also called u-substitution or the change of variables rule, formalized in the integral calculus of Leibniz (1670s) and Euler (1700s).

Integration by substitution is a method for finding antiderivatives by changing the variable of integration from to a new variable . It exploits the chain rule of differentiation in reverse: since , integrating both sides recovers from an integrand of the form . The technique matters because the vast majority of "non-obvious" integrals encountered in a first calculus course become trivial once the right inner function is identified. The surprising fact is that the differential symbol — often treated as a mere bookkeeping notation — behaves exactly like an algebraic quantity, and this "fiction" yields rigorously correct answers every time.

The Core Insight

A chain-rule derivative leaves a fingerprint in the integrand: a composite function multiplied by the derivative of its inner part. Spotting that fingerprint lets you "undo" the chain rule. Choose to be the inner function whose derivative you can find lurking elsewhere in the integrand; the integral collapses into one you already know.

Formal Statement

Integration by Substitution

Let be a differentiable function whose range is contained in an interval , and let be continuous on . If is an antiderivative of , then substitution gives the indefinite form

1
⟳set so that the symbolic differential replaces the entire factor .

Here:

  • is the original variable of integration,
  • is the new variable (the inner function),
  • is the derivative of the inner function,
  • is the differential,
  • is the outer function, continuous so an antiderivative exists,
  • is the constant of integration.

Substitution for Definite Integrals

If is continuous on and is continuous on the range of , then

2
⟳apply the Fundamental Theorem of Calculus to the antiderivative , then evaluate at the original limits — equivalently, change the limits to -values and .

The crucial feature is that the limits of integration change from -values to -values . If you instead keep the integral in indefinite form and back-substitute to , you use the original limits .

Why It Holds / Derivation

Substitution from the Chain Rule

We show that equation [1] follows directly from the chain rule.

Step 1. Let be an antiderivative of , so by definition. Step 2. Form the composite and differentiate using the chain rule:
3
⟳the chain rule says the derivative of a composite is the outer derivative evaluated at the inner, times the inner derivative.
Step 3. Equation [3] states that is an antiderivative of . By the definition of the indefinite integral,
4
⟳integrating both sides of [3] cancels the derivative, introducing the arbitrary constant .
Step 4. Substituting into gives , and since , the two expressions agree. This establishes [1].

For the definite case [2], apply the Fundamental Theorem of Calculus to [4]:

5
⟳evaluate the antiderivative at the endpoints; the values and are exactly the endpoints of the transformed integral in .

Gottfried Wilhelm Leibniz | 1646–1716

Leibniz invented the integral sign (an elongated "S" for summa) and the differential notation in the 1670s–1680s. His deliberate design of the symbols and as manipulable quantities is precisely what makes substitution feel so natural: the equation is Leibniz's notation working as intended. Where Newton thought in terms of fluxions and physical motion, Leibniz built a symbolic algebra of differentials that survives essentially unchanged today, and the chain rule in Leibniz form, , makes substitution look like cancelling fractions.

Building Intuition

Think of integration as accumulating area under a curve, with as an infinitesimal slice width. When you substitute , you are re-stretching the horizontal axis. The factor is exactly the local stretching rate: where changes quickly, a small corresponds to a large , and where changes slowly, the reverse. The term rewrites each slice's width in the new -ruler so that the total accumulated area is preserved. Substitution succeeds precisely when the integrand already supplies the stretching factor "for free" — then converting to costs nothing, and a tangled -integral untangles into a plain -integral.

Change of variables: the factor $g'(x)$ rescales slice widths so total area is preserved

∫ f(g(x)) g'(x) dx = ∫ f(u) du x f(g(x))g'(x) dx u=g(x) u f(u) du Equal shaded areas — only the horizontal ruler is re-stretched by g′(x).

Worked Examples

A clean fingerprint: $\int 2x\cos(x^2)\,dx$

Given. Evaluate . Step 1 — Identify inner function. The composite is , so let . Step 2 — Differential. . Notice appears exactly in the integrand. Step 3 — Substitute.
6
⟳replace and the whole factor .
Step 4 — Integrate. . Step 5 — Back-substitute. Replace .
Check. Differentiate: . ✓

Definite integral with adjusted constant and changed limits

Given. Evaluate . Step 1 — Inner function. Let . Step 2 — Differential. . Here the integrand has but we need a factor of ; we supply it explicitly. Step 3 — Change the limits. When ; when . Step 4 — Substitute.
7
⟳ and the -limits become the -limits .
Step 5 — Integrate and evaluate.
8
⟳antiderivative of is ; evaluate at the new limits and .

(The result is a pure number — a definite integral has no units unless and carry physical units, in which case the answer carries units of .)

Common Misconceptions

The differential is not optional

A frequent error is to substitute in the integrand but forget to replace . Writing is meaningless — you must convert via . If does not cancel cleanly (i.e. leftover 's remain that cannot be expressed in ), the substitution has failed and you need a different method. A second classic error: for definite integrals, changing the variable to but keeping the original -limits. Either change the limits to or back-substitute to before evaluating — never mix the two.

When the fingerprint is missing

Consider (note: no factor of ). Tempting as it is to set , we get , so , giving

9
⟳solving for reintroduces , leaving a square root in the denominator.

This new integral is no simpler — in fact has no elementary antiderivative at all (it is the Fresnel integral). Substitution does not create antiderivatives that do not exist; it only reorganizes ones that do. The lesson: substitution works only when is genuinely present (up to a constant) in the integrand.

Connections

Substitution is the integral counterpart of the Chain Rule, which it directly inverts. It is one of two pillars of integration technique, the other being Integration by Parts (the inverse of the product rule); many integrals need both. It is a special case of the more general Change of Variables Theorem used in multiple integrals, where generalizes to the Jacobian determinant. Trigonometric substitution — using or — is substitution run "backwards" (substituting into rather than reading off the integrand). Finally, substitution underlies the derivation of standard forms in the Fundamental Theorem of Calculus and many entries in integral tables.

Real-World Applications

  1. Kinematics. Computing displacement when velocity depends on a nested function of time, e.g. for a damped oscillator.
  2. Radioactive decay & pharmacokinetics. Integrating exponential rates like to find total decayed mass or drug clearance.
  3. Probability theory. Normalizing the Gaussian: the substitution reduces to a standard normal integral.
  4. Electromagnetism. Field and potential calculations such as along a charged rod or wire, solved with .
  5. Fluid flow & heat transfer. Substitutions linearize integrals arising from Bernoulli's equation and conduction profiles.
  6. Economics. Discounting continuous cash flows, , with substitution on the exponent.
  7. Signal processing. Time-scaling and frequency-shift identities in the Fourier and Laplace transforms are substitutions in disguise.

Historical Development

  • 1670s — Leibniz introduces the integral sign and differential , designing notation that makes manipulable.
  • 1684 — Leibniz publishes the differential calculus (Nova Methodus), giving the chain rule that substitution inverts.
  • 1690s — The Bernoulli brothers (Jakob and Johann) systematically apply changes of variable to solve early differential equations.
  • 1748 — Euler's Introductio in analysin infinitorum and later Institutiones calculi integralis (1768–70) codify substitution as a standard integration technique with worked examples.
  • 1820s — Cauchy places integration on rigorous footing with the definite integral as a limit of sums, clarifying when substitution is valid (continuity of ).
  • 1854 — Riemann's formal definition of the integral makes precise the conditions under which the change-of-variables formula holds.
  • Late 1800s — Generalization to multiple integrals via the Jacobian (Jacobi's determinant, 1841) extends substitution to higher dimensions.
  • 20th century — Lebesgue integration and measure theory provide the most general change-of-variables theorems, validating substitution far beyond the continuous case.

Subtleties & Limits

Where substitution gets delicate

Substitution is elementary but has genuine pitfalls worth flagging. (1) Monotonicity for definite integrals: if is not one-to-one over (it doubles back), the naive limit-change can give wrong signs unless handled carefully — the rigorous theorem still holds, but interpretation requires care. (2) Existence of antiderivatives: substitution never manufactures an elementary antiderivative where none exists; functions like , , and are provably non-elementary (Liouville's theorem, 1830s–40s, settled which integrals can be expressed in closed form). (3) Improper integrals: when limits are infinite or the integrand is unbounded, substitution must be combined with limit arguments. (4) Choosing remains an art, not an algorithm — there is no general procedure that always finds the right inner function, which is why symbolic-integration algorithms (the Risch algorithm, 1968) are surprisingly intricate.

See Also

Chain Rule · Integration by Parts · Trigonometric Substitution · Fundamental Theorem of Calculus · Change of Variables Theorem · Antiderivatives · Differentials

Before this

  • Chain Rule — substitution is its exact inverse; you must recognize composite-function derivatives.
  • Antiderivatives — you need the basic library $\int u^n\,du$, $\int e^u\,du$, $\int\cos u\,du$, etc.
  • Definite Integral — required for the limit-changing version and the area interpretation.
  • Differentials — the notation $du = g'(x)\,dx$ is the engine of the method.
  • Fundamental Theorem of Calculus — connects antiderivatives to definite-integral evaluation.

Where this leads