Calculus I · Textbook draft · 17 minute reading

Substitution and Integral Structure

Reverse the chain rule, transform bounds correctly, and recognize when a proposed substitution has not simplified the integral.

Before you begin

  • Chain rule, antiderivatives, and both forms of the fundamental theorem.

Learning objectives

  • Derive substitution from the chain rule and FTC.
  • Transform an entire definite integral, including its bounds.
  • Verify antiderivatives and distinguish substitution from unsupported symbol cancellation.

The integral of 2xcos⁡(x2)2x\cos(x^2) contains a composition and the derivative of its inner function. The chain rule says d[sin⁡(x2)]/dx=2xcos⁡(x2)d[\sin(x^2)]/dx=2x\cos(x^2), so reversing it supplies an antiderivative. Substitution organizes that recognition.

The theorem behind the notation

If F′=fF'=f, then the chain rule gives (F∘g)′=f(g)g′(F\circ g)'=f(g)g'. Consequently,

∫f(g(x))g′(x) dx=F(g(x))+C.\int f(g(x))g'(x)\,dx=F(g(x))+C.

Under continuous integrand and continuously differentiable substitution hypotheses on [a,b][a,b], FTC yields

∫abf(g(x))g′(x) dx=∫g(a)g(b)f(u) du.\int_a^bf(g(x))g'(x)\,dx =\int_{g(a)}^{g(b)}f(u)\,du.

The substitution need not be one-to-one for this signed one-dimensional identity when these conditions hold: the chain-rule proof handles reversals automatically. More general change-of-variable theorems require their own conditions. The shorthand u=g(x)u=g(x) and du=g′(x)dxdu=g'(x)dx records this theorem; it is not permission to replace pieces of an integrand inconsistently.

Matching the differential factor

For ∫x1+x2 dx\int x\sqrt{1+x^2}\,dx, let u=1+x2u=1+x^2, giving du=2x dxdu=2x\,dx. Then

∫x1+x2 dx=12∫u1/2 du=13(1+x2)3/2+C.\int x\sqrt{1+x^2}\,dx =\frac12\int u^{1/2}\,du =\frac13(1+x^2)^{3/2}+C.

Differentiate the result: (1/3)(3/2)(1+x2)1/2(2x)=x1+x2(1/3)(3/2)(1+x^2)^{1/2}(2x)=x\sqrt{1+x^2}. This verifies the coefficient, the most common source of a substitution error.

For ∫3x2/(1+x3) dx\int 3x^2/(1+x^3)\,dx, use u=1+x3u=1+x^3, obtaining log⁡∣1+x3∣+C\log|1+x^3|+C on intervals avoiding x=−1x=-1. The absolute value and domain restriction remain necessary.

Definite bounds belong to the new variable

Evaluate ∫012xex2 dx\int_0^1 2x e^{x^2}\,dx. With u=x2u=x^2, the bounds transform from 0,10,1 to 0,10,1, so the result is ∫01eu du=e−1\int_0^1e^u\,du=e-1. For ∫122xex2 dx\int_1^2 2x e^{x^2}\,dx, the transformed bounds are 1,41,4, yielding e4−ee^4-e. The first example happens to preserve the numerical bounds; that coincidence is not a rule.

One may instead find an antiderivative in xx and then use the original bounds. What fails is evaluating a uu-antiderivative at bounds that still represent xx without transformation.

For ∫0π/2sin⁡xcos⁡x dx\int_0^{\pi/2}\sin x\cos x\,dx, let u=cos⁡xu=\cos x, du=−sin⁡x dxdu=-\sin x\,dx. Bounds become 11 and 00, so −∫10u du=1/2-\int_1^0u\,du=1/2. The negative sign and reversed bounds are two coordinated consequences of decreasing cosine; dropping both accidentally may conceal an error in a more complex problem.

Useful patterns and honest limits

The pattern g′/gg'/g integrates to log⁡∣g∣\log|g| on nonzero intervals. The pattern g′egg'e^g integrates to ege^g. The pattern g′/(1+g2)g'/(1+g^2) integrates to arctan⁡g\arctan g. Recognize the derivative factor, including constant multiples, rather than merely spotting a complicated inner expression.

For ∫ex2 dx\int e^{x^2}\,dx, choosing u=x2u=x^2 introduces dx=du/(2u)dx=du/(2\sqrt u) on a positive branch and does not produce the simple exponential integral. The missing factor 2x2x matters. A substitution that makes a formula longer is not progress, and not every elementary integrand has an elementary antiderivative. Definite integration and numerical approximation remain meaningful.

Exercises

  1. Integrate 6x(3x2+1)46x(3x^2+1)^4.
  2. Evaluate ∫02x/(1+x2) dx\int_0^2x/(1+x^2)\,dx.
  3. Evaluate ∫013x21+x3 dx\int_0^1 3x^2\sqrt{1+x^3}\,dx.
  4. Integrate cos⁡(5x)\cos(5x) and verify the factor.
  5. Evaluate ∫0πsin⁡xcos⁡x dx\int_0^\pi\sin x\cos x\,dx; explain why using u=sin⁡xu=\sin x is still consistent despite noninjectivity.
  6. Explain the missing factor in the incorrect assertion ∫ex2 dx=ex2+C\int e^{x^2}\,dx=e^{x^2}+C.
Worked solutions
  1. With u=3x2+1u=3x^2+1, the result is (3x2+1)5/5+C(3x^2+1)^5/5+C.
  2. [log⁡(1+x2)/2]02=(log⁡5)/2[\log(1+x^2)/2]_0^2=(\log5)/2.
  3. u=1+x3u=1+x^3 transforms the bounds to 1,21,2, giving [2u3/2/3]12=2(22−1)/3[2u^{3/2}/3]_1^2=2(2\sqrt2-1)/3.
  4. (1/5)sin⁡(5x)+C(1/5)\sin(5x)+C; the chain-rule factor 55 cancels 1/51/5 on differentiation.
  5. The integral is zero by [sin⁡2x/2]0π[\sin^2x/2]_0^\pi. The substitution identity gives ∫00u du=0\int_0^0u\,du=0 and accounts for the orientation reversal during the path.
  6. Differentiating the proposed answer gives 2xex22xe^{x^2}, which is a different integrand.