Fiveable

โˆซCalculus I Unit 5 Review

QR code for Calculus I practice questions

5.5 Substitution

5.5 Substitution

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
โˆซCalculus I
Unit & Topic Study Guides

Substitution Method for Integration

Integration by substitution reverses the chain rule. Where the chain rule lets you differentiate composite functions, substitution lets you anti-differentiate them. It works by swapping out a messy piece of the integrand for a single new variable, turning a hard integral into a simpler one.

Substitution for Indefinite Integrals

The core idea: if you spot a composite function f(g(x))f(g(x)) multiplied by (or closely related to) gโ€ฒ(x)g'(x), you can substitute u=g(x)u = g(x) and rewrite everything in terms of uu.

Here's the process, step by step:

  1. Choose uu. Pick the "inner function" or the piece of the integrand whose derivative also appears (up to a constant). For example, in โˆซsinโก(3x+1)โ€‰dx\int \sin(3x+1)\, dx, let u=3x+1u = 3x + 1.

  2. Find dudu. Differentiate your choice: du=3โ€‰dxdu = 3\,dx, so dx=13โ€‰dudx = \frac{1}{3}\,du.

  3. Rewrite the integral in terms of uu. Replace every xx-expression and dxdx: โˆซsinโก(3x+1)โ€‰dx=โˆซsinโก(u)โ‹…13โ€‰du\int \sin(3x+1)\, dx = \int \sin(u) \cdot \frac{1}{3}\, du

  4. Integrate with respect to uu using formulas you already know: 13โˆซsinโก(u)โ€‰du=โˆ’13cosโก(u)+C\frac{1}{3}\int \sin(u)\, du = -\frac{1}{3}\cos(u) + C

  5. Substitute back. Replace uu with the original expression: โˆ’13cosโก(3x+1)+C-\frac{1}{3}\cos(3x+1) + C

A common mistake is forgetting to convert every part of the integrand to uu. If any xx is left over after substitution, something went wrong. Either your choice of uu needs adjusting, or the leftover xx can be solved for using your substitution equation.

Substitution for indefinite integrals, calculus - Steps in evaluating infinite integral - Mathematics Stack Exchange

Substitution in Definite Integrals

The process is the same, with one key difference: you convert the limits of integration to uu-values so you never have to substitute back.

  1. Choose uu and find dudu exactly as before.

  2. Transform the limits. If u=3x+1u = 3x + 1 and the original limits are x=0x = 0 to x=2x = 2:

    • Lower limit: u(0)=3(0)+1=1u(0) = 3(0) + 1 = 1
    • Upper limit: u(2)=3(2)+1=7u(2) = 3(2) + 1 = 7
  3. Rewrite and evaluate: โˆซ02sinโก(3x+1)โ€‰dx=13โˆซ17sinโก(u)โ€‰du=13[โˆ’cosโก(u)]17=13(โˆ’cosโก7+cosโก1)\int_0^2 \sin(3x+1)\, dx = \frac{1}{3}\int_1^7 \sin(u)\, du = \frac{1}{3}\Big[-\cos(u)\Big]_1^7 = \frac{1}{3}\big(-\cos 7 + \cos 1\big)

Because you already plugged in uu-limits, the answer is a number. No back-substitution needed.

Watch out: If you forget to change the limits and still evaluate from 0 to 2 using the uu-antiderivative, you'll get the wrong answer. Either change the limits or substitute back to xx before evaluating. Don't mix the two.

Substitution for indefinite integrals, calculus - Integration by substitution, why do we change the limits? - Mathematics Stack Exchange

Recognizing When to Use Substitution

Substitution works best when part of the integrand is a function of a simpler expression, and the derivative of that expression is also present (possibly off by a constant factor). Here are the most common patterns:

  • Powers of linear terms: โˆซ(2xโˆ’3)5โ€‰dx\int (2x-3)^5\, dx. Let u=2xโˆ’3u = 2x - 3, so du=2โ€‰dxdu = 2\,dx. The integral becomes 12โˆซu5โ€‰du\frac{1}{2}\int u^5\, du.
  • Trig functions of linear terms: โˆซcosโก(4x+2)โ€‰dx\int \cos(4x+2)\, dx. Let u=4x+2u = 4x + 2, so du=4โ€‰dxdu = 4\,dx. You get 14โˆซcosโก(u)โ€‰du\frac{1}{4}\int \cos(u)\, du.
  • Exponentials of linear terms: โˆซeโˆ’5x+1โ€‰dx\int e^{-5x+1}\, dx. Let u=โˆ’5x+1u = -5x + 1, so du=โˆ’5โ€‰dxdu = -5\,dx. This gives โˆ’15โˆซeuโ€‰du-\frac{1}{5}\int e^u\, du.
  • Roots of linear terms: โˆซx+7โ€‰dx\int \sqrt{x+7}\, dx. Let u=x+7u = x + 7, so du=dxdu = dx. Rewrite as โˆซu1/2โ€‰du\int u^{1/2}\, du and use the power rule.
  • Non-linear inner functions: โˆซ2xcosโก(x2)โ€‰dx\int 2x\cos(x^2)\, dx. Let u=x2u = x^2, so du=2xโ€‰dxdu = 2x\,dx. The 2x2x already sitting in the integrand is exactly dudu, giving โˆซcosโก(u)โ€‰du\int \cos(u)\, du.

That last example shows the real power of substitution beyond simple linear terms. The key question to ask yourself: Is there a function and its derivative both present in the integrand? If yes, substitution is almost certainly the right move.

Beyond Basic Substitution

Substitution is your first tool for integrals that aren't straightforward. Later in calculus, you'll encounter integration by parts (for products of unrelated functions like xโ€‰exx\,e^x) and trigonometric substitution (for expressions like a2โˆ’x2\sqrt{a^2 - x^2}). Substitution also shows up frequently when solving differential equations. Building strong pattern recognition here pays off throughout the rest of the course.

2,589 studying โ†’