1.5 Substitution

Introduction to Integration by Substitution

  • Learning Objectives

    • Use substitution to evaluate indefinite integrals.

    • Use substitution to evaluate definite integrals.

  • Motivation and Theoretical Context

    • The Fundamental Theorem of Calculus (FTC) provides a powerful mechanism for evaluating integrals without constructing Riemann sums.

    • The primary limitation of FTC is that it requires finding an antiderivative for the integrand, which can be difficult or impossible using basic antiderivative rules alone.

    • Integration by substitution provides a structured technique to find antiderivatives specifically when the integrand represents the output of a differential chain rule calculation.

  • Visual Pattern Recognition

    • Applying substitution is primarily a pattern-recognition task where the integrand reveals the appropriate choice of variable.

    • The target structure for integration by substitution is an integrand written in the form:     f(g(x))g′(x)f(g(x)) g'(x)

    • Example Structure Analysis:

    • Consider the integral:       ∫(x2−3)3(2x) dx\int (x^2 - 3)^3 (2x)\,dx

    • Decomposition of components:

      • Inner function: g(x)=x2−3g(x) = x^2 - 3

      • Derivative of inner function: g′(x)=2xg'(x) = 2x

      • Outer function: f(x)=x3f(x) = x^3

    • Combining these components shows that the integrand matches the required form:       f(g(x))g′(x)=(x2−3)3(2x)f(g(x)) g'(x) = (x^2 - 3)^3 (2x)

  • Terminology

    • Substitution: Refers to setting an algebraic sub-expression of the integrand equal to uu, and its corresponding differential equal to dudu.

    • Change of Variables: Refers to transforming the integral from being in terms of xx to being in terms of uu, resulting in a simplified form that directly matches standard integration rules.

Theorem 1.7: Substitution with Indefinite Integrals

Theorem 1.7: Substitution with Indefinite Integrals
  • Formal Statement of Theorem 1.7

    • Let u=g(x)u = g(x), where g′(x)g'(x) is continuous over an interval.

    • Let f(x)f(x) be continuous over the corresponding range of gg.

    • Let F(x)F(x) be an antiderivative of f(x)f(x).

    • Then:     ∫f(g(x))g′(x) dx=∫f(u) du=F(u)+C=F(g(x))+C\int f(g(x)) g'(x)\,dx = \int f(u)\,du = F(u) + C = F(g(x)) + C

Proof of Theorem 1.7

  • Step-by-Step Proof

    • Let ff, gg, uu, and FF be as specified in Theorem 1.7.

    • By the Chain Rule for differentiation, taking the derivative of F(g(x))F(g(x)) with respect to xx yields:     ddxF(g(x))=F′(g(x))g′(x)=f(g(x))g′(x)\frac{d}{dx} F(g(x)) = F'(g(x)) g'(x) = f(g(x)) g'(x)

    • Integrating both sides of this equation with respect to xx gives:     ∫f(g(x))g′(x) dx=F(g(x))+C\int f(g(x)) g'(x)\,dx = F(g(x)) + C

    • Substituting u=g(x)u = g(x) and du=g′(x) dxdu = g'(x)\,dx transforms the integral into:     ∫f(g(x))g′(x) dx=∫f(u) du=F(u)+C=F(g(x))+C\int f(g(x)) g'(x)\,dx = \int f(u)\,du = F(u) + C = F(g(x)) + C

  • Application to Introductory Example

    • Problem: Evaluate ∫(x2−3)3(2x) dx\int (x^2 - 3)^3 (2x)\,dx

    • Step 1: Set u=x2−3u = x^2 - 3 and calculate differential du=2x dxdu = 2x\,dx.

    • Step 2: Rewrite the integral entirely in terms of uu:     

      Substitution Diagram

          ∫(x2−3)3⏟u3(2x dx)⏟du=∫u3 du\int \underbrace{(x^2 - 3)^3}_{u^3} \underbrace{(2x\,dx)}_{du} = \int u^3\,du

    • Step 3: Apply the power rule for integration:     ∫u3 du=u44+C\int u^3\,du = \frac{u^4}{4} + C

    • Step 4: Substitute the original expression in xx back in place of uu:     u44+C=(x2−3)44+C\frac{u^4}{4} + C = \frac{(x^2 - 3)^4}{4} + C

Problem-Solving Strategy for Integration by Substitution

Problem-Solving Strategy Box
  • Step 1: Select Expression for uu

    • Inspect the integrand and select an expression g(x)g(x) to set equal to uu.

    • Choose g(x)g(x) such that its derivative g′(x)g'(x) is also present as a factor in the integrand.

  • Step 2: Substitute Variables

    • Substitute u=g(x)u = g(x) and du=g′(x) dxdu = g'(x)\,dx into the original integral.

  • Step 3: Check Evaluability

    • Verify that the integrand contains only the variable uu.

    • If the integral cannot be evaluated in this form, restart and choose a different sub-expression for uu.

  • Step 4: Integration

    • Evaluate the simplified integral with respect to uu.

  • Step 5: Back-Substitution

    • Express the final result in terms of the original variable xx by replacing uu with g(x)g(x).

Worked Examples and Checkpoints for Indefinite Integrals

  • Example 1.30: Using Substitution to Find an Antiderivative

    • Problem: Use substitution to find the antiderivative:     ∫6x(3x2+4)4 dx\int 6x(3x^2 + 4)^4\,dx

    • Solution:

    • Step 1: Choose u=3x2+4u = 3x^2 + 4.

    • Step 2: Calculate differential du=6x dxdu = 6x\,dx. Note that 6x dx6x\,dx is present in the integrand.

    • Step 3: Rewrite the integral in terms of uu:       ∫6x(3x2+4)4 dx=∫u4 du\int 6x(3x^2 + 4)^4\,dx = \int u^4\,du

    • Step 4: Evaluate using the power rule:       ∫u4 du=u55+C=(3x2+4)55+C\int u^4\,du = \frac{u^5}{5} + C = \frac{(3x^2 + 4)^5}{5} + C

    • Analysis & Derivative Check:

    • To verify, compute the derivative of the result. Set C=1C = 1:       y=15(3x2+4)5+1y = \frac{1}{5}(3x^2 + 4)^5 + 1

    • Derivative calculation via chain rule:       y′=(15)5(3x2+4)4(6x)=6x(3x2+4)4y' = \left(\frac{1}{5}\right) 5(3x^2 + 4)^4 (6x) = 6x(3x^2 + 4)^4

    • The resulting derivative matches the integrand exactly.

  • Checkpoint 1.25

    • Problem: Use substitution to find the antiderivative:     ∫3x2(x3−3)2 dx\int 3x^2(x^3 - 3)^2\,dx

    • Solution:

    • Let u=x3−3u = x^3 - 3, then du=3x2 dxdu = 3x^2\,dx

    • Substitute into integral: ∫u2 du\int u^2\,du

    • Evaluate: u33+C\frac{u^3}{3} + C

    • Back-substitute: (x3−3)33+C\frac{(x^3 - 3)^3}{3} + C

  • Example 1.31: Using Substitution with Alteration

    • Problem: Use substitution to find:     ∫zz2−5 dz\int z\sqrt{z^2 - 5}\,dz

    • Solution:

    • Step 1: Rewrite radical using exponential notation:       ∫z(z2−5)1/2 dz\int z(z^2 - 5)^{1/2}\,dz

    • Step 2: Choose u=z2−5u = z^2 - 5, giving du=2z dzdu = 2z\,dz.

    • Step 3: Observe that the original integrand contains z dzz\,dz, but not the factor of 22. Alter the differential equation by multiplying both sides by 12\frac{1}{2}:       12 du=12(2z) dz=z dz\frac{1}{2}\,du = \frac{1}{2}(2z)\,dz = z\,dz

    • Step 4: Substitute into the integral and factor out constant factor 12\frac{1}{2}:       ∫z(z2−5)1/2 dz=12∫u1/2 du\int z(z^2 - 5)^{1/2}\,dz = \frac{1}{2} \int u^{1/2}\,du

    • Step 5: Integrate with respect to uu:       12∫u1/2 du=(12)u3/232+C=(12)(23)u3/2+C=13u3/2+C\frac{1}{2} \int u^{1/2}\,du = \left(\frac{1}{2}\right) \frac{u^{3/2}}{\frac{3}{2}} + C = \left(\frac{1}{2}\right) \left(\frac{2}{3}\right) u^{3/2} + C = \frac{1}{3} u^{3/2} + C

    • Step 6: Replace uu with z2−5z^2 - 5:       13(z2−5)3/2+C\frac{1}{3}(z^2 - 5)^{3/2} + C

  • Checkpoint 1.26

    • Problem: Use substitution to find:     ∫x2(x3+5)9 dx\int x^2(x^3 + 5)^9\,dx

    • Solution:

    • Let u=x3+5u = x^3 + 5, so du=3x2 dx  ⟹  13 du=x2 dxdu = 3x^2\,dx \implies \frac{1}{3}\,du = x^2\,dx

    • Substitute: 13∫u9 du\frac{1}{3} \int u^9\,du

    • Integrate: 13(u1010)+C=u1030+C\frac{1}{3} \left(\frac{u^{10}}{10}\right) + C = \frac{u^{10}}{30} + C

    • Back-substitute: (x3+5)1030+C\frac{(x^3 + 5)^{10}}{30} + C

  • Example 1.32: Using Substitution with Integrals of Trigonometric Functions

    • Problem: Use substitution to evaluate the integral:     ∫sin⁡(t)cos⁡3(t) dt\int \frac{\sin(t)}{\cos^3(t)}\,dt

    • Solution:

    • Step 1: Recall that derivative of cos⁡(t)\cos(t) is −sin⁡(t)-\sin(t). Set u=cos⁡(t)u = \cos(t).

    • Step 2: Differential calculation yields du=−sin⁡(t) dtdu = -\sin(t)\,dt, which implies −du=sin⁡(t) dt-du = \sin(t)\,dt

    • Step 3: Substitute into integral:       ∫sin⁡(t)cos⁡3(t) dt=−∫duu3\int \frac{\sin(t)}{\cos^3(t)}\,dt = -\int \frac{du}{u^3}

    • Step 4: Rewrite using negative exponents and integrate:       −∫duu3=−∫u−3 du=−(−12)u−2+C=12u2+C-\int \frac{du}{u^3} = -\int u^{-3}\,du = -\left(-\frac{1}{2}\right) u^{-2} + C = \frac{1}{2u^2} + C

    • Step 5: Express in terms of original variable tt:       12cos⁡2(t)+C\frac{1}{2\cos^2(t)} + C

  • Checkpoint 1.27

    • Problem: Use substitution to evaluate the integral:     ∫cos⁡(t)sin⁡2(t) dt\int \frac{\cos(t)}{\sin^2(t)}\,dt

    • Solution:

    • Let u=sin⁡(t)u = \sin(t), then du=cos⁡(t) dtdu = \cos(t)\,dt

    • Substitute: ∫duu2=∫u−2 du\int \frac{du}{u^2} = \int u^{-2}\,du

    • Integrate: −u−1+C=−1u+C-u^{-1} + C = -\frac{1}{u} + C

    • Back-substitute: −1sin⁡(t)+C=−csc⁡(t)+C-\frac{1}{\sin(t)} + C = -\csc(t) + C

  • Example 1.33: Finding an Antiderivative Using u-Substitution (Algebraic Manipulation)

    • Problem: Use substitution to find the antiderivative:     ∫xx−1 dx\int \frac{x}{\sqrt{x - 1}}\,dx

    • Solution:

    • Step 1: Let u=x−1u = x - 1, which gives du=dxdu = dx.

    • Step 2: Observe that du=dxdu = dx does not eliminate xx in numerator. Solve u=x−1u = x - 1 for xx in terms of uu:       x=u+1x = u + 1

    • Step 3: Rewrite integral entirely in terms of uu:       ∫xx−1 dx=∫u+1u du=∫(uu+1u) du=∫(u1/2+u−1/2) du\int \frac{x}{\sqrt{x - 1}}\,dx = \int \frac{u + 1}{\sqrt{u}}\,du = \int \left(\frac{u}{\sqrt{u}} + \frac{1}{\sqrt{u}}\right)\,du = \int (u^{1/2} + u^{-1/2})\,du

    • Step 4: Integrate term-by-term:       ∫(u1/2+u−1/2) du=23u3/2+2u1/2+C\int (u^{1/2} + u^{-1/2})\,du = \frac{2}{3} u^{3/2} + 2 u^{1/2} + C

    • Step 5: Replace uu with x−1x - 1:       23(x−1)3/2+2(x−1)1/2+C\frac{2}{3}(x - 1)^{3/2} + 2(x - 1)^{1/2} + C

    • Step 6: Factor and simplify algebraic expression:       =(x−1)1/2[23(x−1)+2]+C= (x - 1)^{1/2} \left[\frac{2}{3}(x - 1) + 2\right] + C       =(x−1)1/2(23x−23+63)+C= (x - 1)^{1/2} \left(\frac{2}{3}x - \frac{2}{3} + \frac{6}{3}\right) + C       =(x−1)1/2(23x+43)+C= (x - 1)^{1/2} \left(\frac{2}{3}x + \frac{4}{3}\right) + C       =23(x−1)1/2(x+2)+C= \frac{2}{3}(x - 1)^{1/2} (x + 2) + C

  • Checkpoint 1.28

    • Problem: Use substitution to evaluate the indefinite integral:     ∫cos⁡3(t)sin⁡(t) dt\int \cos^3(t) \sin(t)\,dt

    • Solution:

    • Let u=cos⁡(t)u = \cos(t), then du=−sin⁡(t) dt  ⟹  −du=sin⁡(t) dtdu = -\sin(t)\,dt \implies -du = \sin(t)\,dt

    • Substitute: −∫u3 du-\int u^3\,du

    • Integrate: −u44+C-\frac{u^4}{4} + C

    • Back-substitute: −cos⁡4(t)4+C-\frac{\cos^4(t)}{4} + C

Theorem 1.8: Substitution with Definite Integrals

Theorem 1.8 Box
  • Key Concept: Changing Limits of Integration

    • When evaluating a definite integral using substitution, changing the variable of integration requires changing the limits of integration accordingly.

  • Formal Statement of Theorem 1.8

    • Let u=g(x)u = g(x) and let g′g' be continuous over an interval [a,b][a, b].

    • Let ff be continuous over the range of u=g(x)u = g(x).

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

Justification of Theorem 1.8

  • Mathematical Derivation

    • Let F(x)F(x) be an antiderivative of f(x)f(x), such that:     ∫f(g(x))g′(x) dx=F(g(x))+C\int f(g(x)) g'(x)\,dx = F(g(x)) + C

    • Applying the Fundamental Theorem of Calculus to the left side:     ∫abf(g(x))g′(x) dx=F(g(x))∣x=ax=b=F(g(b))−F(g(a))\int_a^b f(g(x)) g'(x)\,dx = \left. F(g(x)) \right|_{x=a}^{x=b} = F(g(b)) - F(g(a))

    • Applying Fundamental Theorem of Calculus to transformed integral in uu over changed limits [g(a),g(b)][g(a), g(b)]:     F(u)∣u=g(a)u=g(b)=F(g(b))−F(g(a))=∫g(a)g(b)f(u) du\left. F(u) \right|_{u=g(a)}^{u=g(b)} = F(g(b)) - F(g(a)) = \int_{g(a)}^{g(b)} f(u)\,du

    • Both expressions equal F(g(b))−F(g(a))F(g(b)) - F(g(a)), confirming the validity of changing limits of integration.

Worked Examples and Checkpoints for Definite Integrals

  • Example 1.34: Using Substitution to Evaluate a Definite Integral

    • Problem: Use substitution to evaluate:     ∫01x2(1+2x3)5 dx\int_0^1 x^2(1 + 2x^3)^5\,dx

    • Solution:

    • Step 1: Set u=1+2x3u = 1 + 2x^3, then du=6x2 dx  ⟹  16 du=x2 dxdu = 6x^2\,dx \implies \frac{1}{6}\,du = x^2\,dx

    • Step 2: Adjust limits of integration:

      • Lower limit: when x=0x = 0, u=1+2(0)3=1u = 1 + 2(0)^3 = 1

      • Upper limit: when x=1x = 1, u=1+2(1)3=3u = 1 + 2(1)^3 = 3

    • Step 3: Rewrite integral with new variable and new limits:       ∫01x2(1+2x3)5 dx=16∫13u5 du\int_0^1 x^2(1 + 2x^3)^5\,dx = \frac{1}{6} \int_1^3 u^5\,du

    • Step 4: Evaluate expression:       16∫13u5 du=(16)(u66)∣13=136[(3)6−(1)6]=136[729−1]=72836=1829\frac{1}{6} \int_1^3 u^5\,du = \left(\frac{1}{6}\right) \left. \left(\frac{u^6}{6}\right) \right|_1^3 = \frac{1}{36} \left[(3)^6 - (1)^6\right] = \frac{1}{36} [729 - 1] = \frac{728}{36} = \frac{182}{9}

  • Checkpoint 1.29

    • Problem: Use substitution to evaluate the definite integral:     ∫−10y(2y2−3)5 dy\int_{-1}^0 y(2y^2 - 3)^5\,dy

    • Solution:

    • Let u=2y2−3u = 2y^2 - 3, then du=4y dy  ⟹  14 du=y dydu = 4y\,dy \implies \frac{1}{4}\,du = y\,dy

    • Calculate new limits:

      • Lower limit (y=−1y = -1): u=2(−1)2−3=2−3=−1u = 2(-1)^2 - 3 = 2 - 3 = -1

      • Upper limit (y=0y = 0): u=2(0)2−3=−3u = 2(0)^2 - 3 = -3

    • Rewrite and evaluate:       14∫−1−3u5 du=14(u66)∣−1−3=124[(−3)6−(−1)6]=124[729−1]=72824=913\frac{1}{4} \int_{-1}^{-3} u^5\,du = \frac{1}{4} \left. \left(\frac{u^6}{6}\right) \right|_{-1}^{-3} = \frac{1}{24} \left[(-3)^6 - (-1)^6\right] = \frac{1}{24} [729 - 1] = \frac{728}{24} = \frac{91}{3}

  • Example 1.35: Using Substitution with an Exponential Function

    • Problem: Use substitution to evaluate:     ∫01xe4x2+3 dx\int_0^1 x e^{4x^2 + 3}\,dx

    • Solution:

    • Step 1: Let u=4x2+3u = 4x^2 + 3, then du=8x dx  ⟹  18 du=x dxdu = 8x\,dx \implies \frac{1}{8}\,du = x\,dx

    • Step 2: Adjust limits of integration:

      • Lower limit: when x=0x = 0, u=4(0)2+3=3u = 4(0)^2 + 3 = 3

      • Upper limit: when x=1x = 1, u=4(1)2+3=7u = 4(1)^2 + 3 = 7

    • Step 3: Substitute and evaluate integral:       ∫01xe4x2+3 dx=18∫37eu du=18eu∣37=e7−e38≈134.568\int_0^1 x e^{4x^2 + 3}\,dx = \frac{1}{8} \int_3^7 e^u\,du = \frac{1}{8} \left. e^u \right|_3^7 = \frac{e^7 - e^3}{8} \approx 134.568

  • Checkpoint 1.30

    • Problem: Use substitution to evaluate:     ∫01x2cos⁡(π2x3) dx\int_0^1 x^2 \cos\left(\frac{\pi}{2} x^3\right)\,dx

    • Solution:

    • Let u=π2x3u = \frac{\pi}{2} x^3, then du=3π2x2 dx  ⟹  23π du=x2 dxdu = \frac{3\pi}{2} x^2\,dx \implies \frac{2}{3\pi}\,du = x^2\,dx

    • Calculate new limits:

      • Lower limit (x=0x = 0): u=π2(0)3=0u = \frac{\pi}{2}(0)^3 = 0

      • Upper limit (x=1x = 1): u=π2(1)3=π2u = \frac{\pi}{2}(1)^3 = \frac{\pi}{2}

    • Substitute and evaluate:       23π∫0π/2cos⁡(u) du=23πsin⁡(u)∣0π/2=23π[sin⁡(π2)−sin⁡(0)]=23π[1−0]=23π\frac{2}{3\pi} \int_0^{\pi/2} \cos(u)\,du = \frac{2}{3\pi} \left. \sin(u) \right|_0^{\pi/2} = \frac{2}{3\pi} \left[\sin\left(\frac{\pi}{2}\right) - \sin(0)\right] = \frac{2}{3\pi} [1 - 0] = \frac{2}{3\pi}

  • Combining Multiple Techniques in Definite Integrals

    • Substitution can be combined with algebraic transformations or trigonometric identities.

    • Alternative procedure: An alternative to changing integration limits is to calculate the indefinite integral first, express the result in terms of original variable xx, and then evaluate over original limits [a,b][a, b].

  • Example 1.36: Using Substitution to Evaluate a Trigonometric Integral

    • Problem: Use substitution to evaluate:     ∫0π/2cos⁡2(θ) dθ\int_0^{\pi/2} \cos^2(\theta)\,d\theta

    • Solution:

    • Step 1: Rewrite integrand using half-angle trigonometric identity:       cos⁡2(θ)=1+cos⁡(2θ)2\cos^2(\theta) = \frac{1 + \cos(2\theta)}{2}       ∫0π/2cos⁡2(θ) dθ=∫0π/21+cos⁡(2θ)2 dθ\int_0^{\pi/2} \cos^2(\theta)\,d\theta = \int_0^{\pi/2} \frac{1 + \cos(2\theta)}{2}\,d\theta

    • Step 2: Split expression into two separate integrals:       ∫0π/2(12+12cos⁡(2θ)) dθ=12∫0π/2dθ+12∫0π/2cos⁡(2θ) dθ\int_0^{\pi/2} \left(\frac{1}{2} + \frac{1}{2}\cos(2\theta)\right)\,d\theta = \frac{1}{2} \int_0^{\pi/2} d\theta + \frac{1}{2} \int_0^{\pi/2} \cos(2\theta)\,d\theta

    • Step 3: Evaluate first integral directly and set up substitution for second integral:

      • For second integral, let u=2θu = 2\theta, so du=2 dθ  ⟹  12 du=dθdu = 2\,d\theta \implies \frac{1}{2}\,du = d\theta

      • Adjust limits for uu: when θ=0\theta = 0, u=0u = 0; when θ=π/2\theta = \pi/2, u=πu = \pi

    • Step 4: Perform substitution and evaluate both parts:       12∫0π/2dθ+12(12)∫0πcos⁡(u) du\frac{1}{2} \int_0^{\pi/2} d\theta + \frac{1}{2} \left(\frac{1}{2}\right) \int_0^\pi \cos(u)\,du       =θ2∣θ=0θ=π/2+14sin⁡(u)∣u=0u=π= \left. \frac{\theta}{2} \right|_{\theta=0}^{\theta=\pi/2} + \left. \frac{1}{4} \sin(u) \right|_{u=0}^{u=\pi}       =(π4−0)+(0−0)=π4= \left(\frac{\pi}{4} - 0\right) + (0 - 0) = \frac{\pi}{4}