Integration by Substitution Notes

Integration by Substitution

Change of Variable of Integration

  • Goal: Simplify the integral into a familiar form using a table of known integrals.
  • Example: Indefinite integral of (12x)2(1 - 2x)^2.
    • Let u=12xu = 1 - 2x.
    • Find dudu in terms of dxdx:
      • dudx=2\frac{du}{dx} = -2
      • du=2dxdu = -2 \, dx
      • dx=du2dx = \frac{du}{-2}
    • Substitute uu and dxdx into the integral:
      • I=(12x)2dx=u2du2=12u2duI = \int (1 - 2x)^2 \, dx = \int u^2 \, \frac{du}{-2} = -\frac{1}{2} \int u^2 \, du
    • Integrate with respect to uu:
      • 12u2du=12u33+C=16u3+C- \frac{1}{2} \int u^2 du = -\frac{1}{2} \cdot \frac{u^3}{3} + C = -\frac{1}{6} u^3 + C
    • Substitute back u=12xu = 1 - 2x:
      • I=16(12x)3+CI = -\frac{1}{6} (1 - 2x)^3 + C
  • Key Points:
    • Express the original integral in terms of the new variable uu.
    • Ensure all xx terms are replaced with uu terms.
    • If xx terms remain, re-evaluate the substitution.

Definite Integrals

  • Method 1: Use the antiderivative found via substitution and apply the Fundamental Theorem of Calculus using the original limits of integration.
  • Method 2: Change the limits of integration to correspond to the new variable uu.
    • If the original limits are x=ax = a to x=bx = b, find the corresponding uu limits u(a)u(a) and u(b)u(b).
    • Integrate with respect to uu using the new limits.
  • Example: Definite integral of (12x)2(1 - 2x)^2 from x=0x = 0 to x=1x = 1.
    • Using the antiderivative: 16(12x)3+C-\frac{1}{6}(1 - 2x)^3 + C
      • Evaluate at x=1x = 1: 16(12(1))3+C=16+C-\frac{1}{6}(1 - 2(1))^3 + C = \frac{1}{6} + C
      • Evaluate at x=0x = 0: 16(12(0))3+C=16+C-\frac{1}{6}(1 - 2(0))^3 + C = -\frac{1}{6} + C
      • Subtract: (16+C)(16+C)=13(\frac{1}{6} + C) - (-\frac{1}{6} + C) = \frac{1}{3}
    • Changing the limits:
      • Let u=12xu = 1 - 2x.
      • du=2dxdu = -2 \, dx
      • When x=0x = 0, u=12(0)=1u = 1 - 2(0) = 1
      • When x=1x = 1, u=12(1)=1u = 1 - 2(1) = -1
      • I=<em>01(12x)2dx=</em>11u2du2=1211u2duI = \int<em>{0}^{1} (1 - 2x)^2 \, dx = \int</em>{1}^{-1} u^2 \, \frac{du}{-2} = -\frac{1}{2} \int_{1}^{-1} u^2 \, du
      • Swap the limits and change the sign: I=1211u2duI = \frac{1}{2} \int_{-1}^{1} u^2 \, du
      • Integrate: I=12u33<em>11=16[u3]</em>11=16[(1)3(1)3]=16[1(1)]=16(2)=13I = \frac{1}{2} \cdot \frac{u^3}{3} \Big|<em>{-1}^{1} = \frac{1}{6} [u^3]</em>{-1}^{1} = \frac{1}{6} [(1)^3 - (-1)^3] = \frac{1}{6} [1 - (-1)] = \frac{1}{6} (2) = \frac{1}{3}
        Note: When changing variables in definite integrals, you must either revert back to the original variable xx with the original limits, or convert the limits to the new variable uu.

Reversing the Chain Rule

  • Chain Rule: If ff and gg are differentiable, then ddx[f(g(x))]=f(g(x))g(x)\frac{d}{dx} [f(g(x))] = f'(g(x)) \cdot g'(x).
  • Analogy: Peeling an orange, layer by layer.
  • Example: Derivative of sin(cos(x))\sin(\cos(x)).
    • Let f(x)=sin(x)f(x) = \sin(x) and g(x)=cos(x)g(x) = \cos(x).
    • ddx[sin(cos(x))]=cos(cos(x))(sin(x))=sin(x)cos(cos(x))\frac{d}{dx} [\sin(\cos(x))] = \cos(\cos(x)) \cdot (-\sin(x)) = -\sin(x) \cos(\cos(x))
  • Reversing the process:
    • If ddx[sin(cos(x))]=sin(x)cos(cos(x))\frac{d}{dx} [\sin(\cos(x))] = -\sin(x) \cos(\cos(x)), then sin(x)cos(cos(x))dx=sin(cos(x))+C\int -\sin(x) \cos(\cos(x)) \, dx = \sin(\cos(x)) + C
  • General Formula: f(g(x))g(x)dx=f(g(x))+C\int f'(g(x)) \cdot g'(x) \, dx = f(g(x)) + C

Method of Substitution (Reversing the Chain Rule)

  • Combine the change of variable with reversing the chain rule.
  • Inner Function: g(x)g(x) (the function inside another function).
  • Outer Function: f(x)f'(x) (the derivative of the outer function).
  • Steps:
    • Let u=g(x)u = g(x) (inner function).
    • Find dudx=g(x)\frac{du}{dx} = g'(x).
    • Solve for dx=dug(x)dx = \frac{du}{g'(x)}.
    • Substitute uu and dxdx into the integral.
    • Simplify and integrate with respect to uu.
    • Substitute back u=g(x)u = g(x) to get the final answer in terms of xx.
  • General Form: f(g(x))g(x)dx=f(u)du=f(u)+C=f(g(x))+C\int f'(g(x)) \cdot g'(x) \, dx = \int f'(u) \, du = f(u) + C = f(g(x)) + C
  • Example: 2xcos(x27)dx\int 2x \cos(x^2 - 7) \, dx
    • Let u=x27u = x^2 - 7
    • dudx=2x\frac{du}{dx} = 2x
    • dx=du2xdx = \frac{du}{2x}
    • 2xcos(u)du2x=cos(u)du=sin(u)+C=sin(x27)+C\int 2x \cos(u) \frac{du}{2x} = \int \cos(u) \, du = \sin(u) + C = \sin(x^2 - 7) + C
  • Example: xx2+1dx\int x \sqrt{x^2 + 1} \, dx
    • Let u=x2+1u = x^2 + 1
    • dudx=2x\frac{du}{dx} = 2x
    • dx=du2xdx = \frac{du}{2x}
    • xudu2x=12u12du=12u3232+C=13u32+C=13(x2+1)32+C\int x \sqrt{u} \frac{du}{2x} = \frac{1}{2} \int u^{\frac{1}{2}} \, du = \frac{1}{2} \frac{u^{\frac{3}{2}}}{\frac{3}{2}} + C = \frac{1}{3} u^{\frac{3}{2}} + C = \frac{1}{3} (x^2 + 1)^{\frac{3}{2}} + C

Exercise

  • Evaluate the definite integral:
    1e(lnx)3xdx\int_{1}^{e} \frac{(\ln x)^3}{x} \, dx