TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › Integration by Substitution: The u = g(x) Paper Method

Integration by Substitution: The u = g(x) Paper Method

Many functions that appear inside integrals are not simple powers like x4x^4 or pure trigonometric functions like sin⁡x\sin x. Instead, they are composite functions—expressions nested inside other expressions, such as cos⁡(x2)⋅2x\cos(x^2) \cdot 2x or 3x+1\sqrt{3x + 1}.

Trying to expand high powers by hand or guess antiderivatives directly is exhausting and unreliable. The uu-substitution method (also called integration by substitution) is the calculus technique designed to reverse the Chain Rule. By packing an intricate inner expression into a single variable uu, you transform a seemingly impossible integral into an elementary one.


1. Concepts & Paper Visuals

Reversing the Chain Rule

Recall how the Chain Rule differentiates a composite function F(g(x))F(g(x)):

ddx[F(g(x))]=F′(g(x))⋅g′(x)\frac{d}{dx} \Big[ F(g(x)) \Big] = F'(g(x)) \cdot g'(x)

If we let f(u)=F′(u)f(u) = F'(u), then:

ddx[F(g(x))]=f(g(x))⋅g′(x)\frac{d}{dx} \Big[ F(g(x)) \Big] = f(g(x)) \cdot g'(x)

Taking the antiderivative of both sides with respect to xx yields the Substitution Formula:

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

The uu and dudu Package Concept

Look at the integrand as two interacting parts:

  1. An inner function u=g(x)u = g(x) trapped inside an outer function f(□)f(\square).
  2. An external factor g′(x) dxg'(x) \, dx that matches the differential of the inner function!
                  ┌───────── Inner function: u = g(x)
                  │
        ⌠         ▼          ▼ ─── External factor: du = g'(x) dx
        │    f( g(x) )  ·  g'(x) dx   =   ⌠ f(u) du   =   F(u) + C
        ⌡                                 ⌡

By substituting u=g(x)u = g(x) and du=g′(x) dxdu = g'(x) \, dx, all traces of xx vanish, leaving only an elementary integral in terms of uu.

[!IMPORTANT] What can be balanced? You can multiply and divide by constants (numbers like 22, −13-\frac{1}{3}, or π\pi) to match g′(x) dxg'(x) \, dx. You can never pull a variable (like xx or x2x^2) outside the integral sign! The derivative's variable part must already be present in the integrand.


2. Formula Box & Substitution Rules

┌─────────────────────────────────────────────────────────────────────────────┐
│                    THE u-SUBSTITUTION PAPER BLUEPRINT                       │
│                                                                             │
│  The Core Identity:                                                         │
│      ∫ f(g(x)) · g'(x) dx  =  ∫ f(u) du  =  F(u) + C  =  F(g(x)) + C        │
│                                                                             │
│  The Differential Link:                                                     │
│      u = g(x)  ==>  du = g'(x) dx  ==>  dx = du / g'(x)                     │
│                                                                             │
│  Constant Multiple Balancing:                                               │
│      ∫ f(g(x)) · xⁿ dx   where g'(x) = k · xⁿ                               │
│      ==> Multiply inside by k, divide outside by k:                         │
│          (1 / k) ∫ f(u) du                                                  │
│                                                                             │
│  Golden Rule:                                                               │
│      Never evaluate the integral until EVERY SINGLE x has been converted   │
│      into u. A mixed integral containing both x and u is invalid!           │
└─────────────────────────────────────────────────────────────────────────────┘

3. Step-by-Step Paper Notebook Method

Structure your paper calculations into five disciplined steps:

[ Step 1: Choose the Candidate for u ]
  Look for:
  - The expression inside a root: √( ... )
  - The expression raised to a large power: ( ... )ⁿ
  - The denominator of a fraction: 1 / ( ... )
  - The exponent of an exponential: e^( ... )
  - The argument of a trigonometric function: sin( ... )

[ Step 2: Differentiate on Paper to Find du ]
  - Write: u = g(x)
  - Compute the derivative: du / dx = g'(x)
  - Express the differential: du = g'(x) dx   ==>   dx = du / g'(x)

[ Step 3: Substitute and Cancel All x-Terms ]
  - Replace the inner function with u.
  - Replace dx with du / g'(x).
  - Cancel the remaining x terms algebraically.
  - Factor any resulting numerical constants outside the integral.

[ Step 4: Integrate with Respect to u ]
  - Use basic integration formulas from your master table.
  - Write "+ C" immediately.

[ Step 5: Back-Substitute u = g(x) ]
  - Replace every u with the original x-expression g(x).
  - Verify your final answer by differentiating mentally!

4. Step-by-Step Notebook Examples

Example 1: Composite Power with Constant Balancing

Problem: Evaluate the indefinite integral on paper:

∫x2x3+7 dx\int x^2 \sqrt{x^3 + 7} \, dx

Solution:

Step 1: Choose uu The expression inside the square root is x3+7x^3 + 7. Its derivative involves x2x^2, which perfectly matches the outside factor x2x^2. Let:

u=x3+7u = x^3 + 7

Step 2: Calculate dudu and isolate dxdx

dudx=3x2  ⟹  du=3x2 dx  ⟹  dx=du3x2\frac{du}{dx} = 3x^2 \implies du = 3x^2 \, dx \implies dx = \frac{du}{3x^2}

Step 3: Substitute into the integral

∫x2u⋅(du3x2)\int x^2 \sqrt{u} \cdot \left(\frac{du}{3x^2}\right)

Notice that x2x^2 cancels out completely:

=∫u3 du=13∫u1/2 du= \int \frac{\sqrt{u}}{3} \, du = \frac{1}{3} \int u^{1/2} \, du

All xx's have vanished!

Step 4: Integrate with respect to uu Using the power rule ∫un du=un+1n+1\int u^n \, du = \frac{u^{n+1}}{n+1}:

13(u1/2+112+1)=13(u3/232)=13⋅23u3/2+C=29u3/2+C\frac{1}{3} \left( \frac{u^{1/2 + 1}}{\frac{1}{2} + 1} \right) = \frac{1}{3} \left( \frac{u^{3/2}}{\frac{3}{2}} \right) = \frac{1}{3} \cdot \frac{2}{3} u^{3/2} + C = \frac{2}{9} u^{3/2} + C

Step 5: Back-substitute u=x3+7u = x^3 + 7

=29(x3+7)3/2+C=29(x3+7)3+C= \frac{2}{9} (x^3 + 7)^{3/2} + C = \frac{2}{9} \sqrt{(x^3 + 7)^3} + C

Example 2: Trigonometric and Exponential Substitutions

Problem: Evaluate:

  1. ∫cos⁡xsin⁡4x dx\int \frac{\cos x}{\sin^4 x} \, dx
  2. ∫xe−x2 dx\int x e^{-x^2} \, dx

Solution 1: ∫cos⁡xsin⁡4x dx\int \frac{\cos x}{\sin^4 x} \, dx

  • Step 1: Choose uu: The denominator contains (sin⁡x)4(\sin x)^4. The derivative of sin⁡x\sin x is cos⁡x\cos x, which sits in the numerator. Let u=sin⁡xu = \sin x.
  • Step 2: Differential:
    du=cos⁡x dx  ⟹  dx=ducos⁡xdu = \cos x \, dx \implies dx = \frac{du}{\cos x}
  • Step 3: Substitute:
    ∫cos⁡xu4(ducos⁡x)=∫1u4 du=∫u−4 du\int \frac{\cos x}{u^4} \left(\frac{du}{\cos x}\right) = \int \frac{1}{u^4} \, du = \int u^{-4} \, du
  • Step 4: Integrate:
    ∫u−4 du=u−4+1−4+1+C=u−3−3+C=−13u3+C\int u^{-4} \, du = \frac{u^{-4 + 1}}{-4 + 1} + C = \frac{u^{-3}}{-3} + C = -\frac{1}{3u^3} + C
  • Step 5: Back-substitute u=sin⁡xu = \sin x:
    =−13sin⁡3x+C=−13csc⁡3x+C= -\frac{1}{3\sin^3 x} + C = -\frac{1}{3}\csc^3 x + C

Solution 2: ∫xe−x2 dx\int x e^{-x^2} \, dx

  • Step 1: Choose uu: The exponent of ee is −x2-x^2. Let u=−x2u = -x^2.
  • Step 2: Differential:
    du=−2x dx  ⟹  x dx=−12 dudu = -2x \, dx \implies x \, dx = -\frac{1}{2} \, du
  • Step 3: Substitute:
    ∫eu(−12 du)=−12∫eu du\int e^u \left(-\frac{1}{2} \, du\right) = -\frac{1}{2} \int e^u \, du
  • Step 4: Integrate:
    =−12eu+C= -\frac{1}{2} e^u + C
  • Step 5: Back-substitute u=−x2u = -x^2:
    =−12e−x2+C= -\frac{1}{2} e^{-x^2} + C

Example 3: The "Solving for xx" Algebraic Substitution

Problem: Evaluate the indefinite integral:

∫xx+3 dx\int x \sqrt{x + 3} \, dx

Solution:

Here, if we let u=x+3u = x + 3, its derivative is du=dxdu = dx. The factor of xx out front does not cancel! What should we do on paper?

We solve for xx in terms of uu!

Step 1: Define uu and express xx

u=x+3  ⟹  x=u−3u = x + 3 \implies x = u - 3

Step 2: Differential

dudx=1  ⟹  dx=du\frac{du}{dx} = 1 \implies dx = du

Step 3: Substitute both uu and xx

∫xx+3 dx=∫(u−3)u du=∫(u−3)u1/2 du\int x \sqrt{x + 3} \, dx = \int (u - 3) \sqrt{u} \, du = \int (u - 3) u^{1/2} \, du

Notice that every single xx has been successfully replaced by uu!

Step 4: Distribute u1/2u^{1/2} across the parentheses

=∫(u⋅u1/2−3u1/2) du=∫(u3/2−3u1/2) du= \int \left( u \cdot u^{1/2} - 3 u^{1/2} \right) \, du = \int \left( u^{3/2} - 3u^{1/2} \right) \, du

Step 5: Integrate term by term

=u3/2+132+1−3(u1/2+112+1)+C=u5/252−3(u3/232)+C=25u5/2−3⋅23u3/2+C=25u5/2−2u3/2+C\begin{aligned} &= \frac{u^{3/2 + 1}}{\frac{3}{2} + 1} - 3 \left( \frac{u^{1/2 + 1}}{\frac{1}{2} + 1} \right) + C \\ &= \frac{u^{5/2}}{\frac{5}{2}} - 3 \left( \frac{u^{3/2}}{\frac{3}{2}} \right) + C \\ &= \frac{2}{5} u^{5/2} - 3 \cdot \frac{2}{3} u^{3/2} + C \\ &= \frac{2}{5} u^{5/2} - 2 u^{3/2} + C \end{aligned}

Step 6: Back-substitute u=x+3u = x + 3

=25(x+3)5/2−2(x+3)3/2+C= \frac{2}{5} (x + 3)^{5/2} - 2 (x + 3)^{3/2} + C

(Optionally, factor out the common term 2(x+3)3/22(x+3)^{3/2}):

=2(x+3)3/2[15(x+3)−1]+C=25(x+3)3/2(x−2)+C= 2(x + 3)^{3/2} \left[ \frac{1}{5}(x + 3) - 1 \right] + C = \frac{2}{5}(x + 3)^{3/2} (x - 2) + C

5. Common Mistakes & Paper Traps

[!CAUTION] Trap 1: Trying to move variables outside the integral. When trying to solve ∫x2+1 dx\int \sqrt{x^2 + 1} \, dx, students sometimes let u=x2+1  ⟹  du=2x dxu = x^2 + 1 \implies du = 2x \, dx, and then write:

12x∫u du<— FATAL ERROR!\frac{1}{2x} \int \sqrt{u} \, du \quad \text{<--- FATAL ERROR!}

You can never pull a variable like 12x\frac{1}{2x} out of the integral! If the required variable factor is missing from the integrand, standard uu-substitution is the wrong tool (you will need trigonometric substitution or integration by parts).

[!WARNING] Trap 2: Forgetting to back-substitute in indefinite integrals. An indefinite integral given in terms of xx MUST have its final answer written in terms of xx. Leaving your final answer as 29u3/2+C\frac{2}{9} u^{3/2} + C leaves the problem unfinished.

[!WARNING] Trap 3: Mixing variables (xx and uu) during integration. Writing ∫x⋅u4 du\int x \cdot u^4 \, du and treating xx as a constant is completely false. All variables must be converted to uu before applying any integration rule.


6. Pencil & Paper Practice

Solve these problems on paper before reading the full solutions below.

Practice 1

Evaluate the indefinite integral on paper:

∫6x22x3−5 dx\int \frac{6x^2}{2x^3 - 5} \, dx

Practice 2

Evaluate the indefinite integral on paper:

∫sin⁡3xcos⁡x dx\int \sin^3 x \cos x \, dx

Solutions to Practice Problems

Solution to Practice 1:

  1. Choose uu: The denominator is 2x3−52x^3 - 5. Its derivative is 6x26x^2, which exactly matches the numerator! Let u=2x3−5u = 2x^3 - 5.
  2. Compute differential:
    du=6x2 dx  ⟹  dx=du6x2du = 6x^2 \, dx \implies dx = \frac{du}{6x^2}
  3. Substitute:
    ∫6x2u(du6x2)=∫1u du\int \frac{6x^2}{u} \left(\frac{du}{6x^2}\right) = \int \frac{1}{u} \, du
  4. Integrate:
    ∫1u du=ln⁡∣u∣+C\int \frac{1}{u} \, du = \ln|u| + C
  5. Back-substitute u=2x3−5u = 2x^3 - 5:
    =ln⁡∣2x3−5∣+C= \ln|2x^3 - 5| + C

Solution to Practice 2:

  1. Choose uu: The integrand is (sin⁡x)3cos⁡x(\sin x)^3 \cos x. The base is sin⁡x\sin x, whose derivative is cos⁡x\cos x. Let u=sin⁡xu = \sin x.
  2. Compute differential:
    du=cos⁡x dx  ⟹  dx=ducos⁡xdu = \cos x \, dx \implies dx = \frac{du}{\cos x}
  3. Substitute:
    ∫u3cos⁡x(ducos⁡x)=∫u3 du\int u^3 \cos x \left(\frac{du}{\cos x}\right) = \int u^3 \, du
  4. Integrate:
    ∫u3 du=u44+C\int u^3 \, du = \frac{u^4}{4} + C
  5. Back-substitute u=sin⁡xu = \sin x:
    =14sin⁡4x+C= \frac{1}{4} \sin^4 x + C

Test yourself

What is the best choice of substitution uu to evaluate ∫x3(2x4+1)5 dx\int x^3 (2x^4 + 1)^5 \, dx?

  1. u=x3u = x^3
  2. u=(2x4+1)5u = (2x^4 + 1)^5
  3. u=2x4+1u = 2x^4 + 1
  4. u=x4u = x^4

Evaluate ∫e3x−1 dx\int e^{3x - 1} \, dx.

  1. 3e3x−1+C3e^{3x - 1} + C
  2. 13e3x−1+C\frac{1}{3} e^{3x - 1} + C
  3. e3x−1+Ce^{3x - 1} + C
  4. 13e3x+C\frac{1}{3} e^{3x} + C

What is the result of evaluating ∫2x+3x2+3x−7 dx\int \frac{2x + 3}{x^2 + 3x - 7} \, dx?

  1. ln⁡∣x2+3x−7∣+C\ln|x^2 + 3x - 7| + C
  2. 12ln⁡∣x2+3x−7∣+C\frac{1}{2}\ln|x^2 + 3x - 7| + C
  3. (2x+3)22+C\frac{(2x+3)^2}{2} + C
  4. ln⁡∣2x+3∣+C\ln|2x + 3| + C