6.2 Integration by Substitution (Indefinite)

Key Takeaways

  • Integration by substitution (u-substitution) is the inverse operation of the Chain Rule, transforming composite integrands int f(g(x))*g'(x) dx into elementary integrals int f(u) du.
  • The core strategy is identifying an inner function u = g(x) whose exact or scalar derivative g'(x) dx appears in the integrand.
  • When the derivative g'(x) differs from the existing integrand by a constant factor k, balance the integral by multiplying inside by k and outside by 1/k (or solving dx = du/g'(x)).
  • Advanced algebraic substitution resolves remaining linear powers of x by solving u = g(x) for x = h(u) and substituting directly into residual terms.
  • Substitution provides the derivations for fundamental trigonometric integrals such as int tan(x) dx = ln|sec x| + C and int cot(x) dx = ln|sin x| + C.
Last updated: August 2026

6.2 Integration by Substitution (Indefinite)

Core CLEP Concept: Integration by substitution—commonly called $u$-substitution—is the single most important analytical technique for evaluating non-basic integrals on the CLEP Calculus exam. It operates as the reverse of the differential Chain Rule. Whenever an integrand contains a composite function multiplied by the derivative of its inside expression, $u$-substitution simplifies the expression into a standard elementary integral.


1. Conceptual Foundation: Inverting the Chain Rule

Recall the Chain Rule for differentiation: if $F(u)$ is an antiderivative of $f(u)$, and $u = g(x)$ is a differentiable function, then:

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

Integrating both sides with respect to $x$ yields the Substitution Rule for Indefinite Integrals:

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

By defining the substitution variable $u = g(x)$, the differential is $du = g'(x) , dx$. Substituting $u$ and $du$ transforms the integral into:

f(u)du=F(u)+C=F(g(x))+C\int f(u) \, du = F(u) + C = F(g(x)) + C

   Original Integral:    /  f( g(x) )  *  g'(x) dx
                         |     ^^^^       ^^^^^^^^
                         /      u            du
                                 |
                                 v
   Transformed Integral: /  f(u) du  =  F(u) + C  =  F(g(x)) + C
                         /

2. The 5-Step Master Protocol for $u$-Substitution

To ensure complete accuracy under timed exam conditions, follow this structured 5-step method:

Step 1: Identify the Inner Function $u = g(x)$

Look for an expression inside parentheses, under a radical, in a denominator, or in an exponent whose derivative is present elsewhere in the integrand (up to a constant scalar factor).

Step 2: Compute the Differential $du$

Differentiate $u$ with respect to $x$ to calculate $du = g'(x) , dx$. Isolate the differential expression: $dx = \frac{du}{g'(x)}$.

Step 3: Rewrite the Entire Integral in Terms of $u$ and $du$

Replace $g(x)$ with $u$ and $dx$ with $\frac{du}{g'(x)}$. Cancel all factors of $x$. Critical Rule: The resulting integral must contain only the variable $u$. If any $x$ variables remain, the substitution is either incomplete or an alternative technique is required.

Step 4: Evaluate the Integral with Respect to $u$

Apply fundamental power, exponential, logarithmic, or trigonometric integration rules to compute $\int f(u) , du = F(u) + C$.

Step 5: Back-Substitute $u = g(x)$

Replace every instance of $u$ with the original function $g(x)$ to express the final answer purely in terms of $x$, and append $+ C$.


3. Handling Constant Multipliers and Scaling Factors

In most CLEP problems, the derivative $g'(x)$ will not match the integrand's outer factor exactly, but will differ by a constant numerical multiplier.

Step-by-Step Worked Example: Constant Adjustment

Problem: Evaluate $\int x^2 \left( 2x^3 + 5 \right)^7 , dx$.

Step 1: Choose $u$. The inner composite expression is $u = 2x^3 + 5$.

Step 2: Differentiate to find $du$. du=6x2dx    x2dx=16dudu = 6x^2 \, dx \implies x^2 \, dx = \frac{1}{6} \, du

Step 3: Substitute into the integral. (2x3+5)7(x2dx)=u7(16du)=16u7du\int \left( 2x^3 + 5 \right)^7 \cdot \left( x^2 \, dx \right) = \int u^7 \cdot \left( \frac{1}{6} \, du \right) = \frac{1}{6} \int u^7 \, du

Step 4: Integrate with respect to $u$. 16(u88)+C=148u8+C\frac{1}{6} \left( \frac{u^8}{8} \right) + C = \frac{1}{48} u^8 + C

Step 5: Back-substitute $u = 2x^3 + 5$. 148(2x3+5)8+C\frac{1}{48} \left( 2x^3 + 5 \right)^8 + C

Step-by-Step Worked Example: Logarithmic Form $\int \frac{g'(x)}{g(x)} , dx$

Problem: Evaluate $\int \frac{x^3}{x^4 + 9} , dx$.

  • Let $u = x^4 + 9$, so $du = 4x^3 , dx \implies x^3 , dx = \frac{1}{4} , du$.
  • Substitute: $\int \frac{1}{u} \cdot \left(\frac{1}{4} , du\right) = \frac{1}{4} \int \frac{1}{u} , du = \frac{1}{4} \ln|u| + C$.
  • Back-substitute: $\frac{1}{4} \ln(x^4 + 9) + C$ (since $x^4 + 9 > 0$ for all real $x$, absolute value bars can be simplified to parentheses).

4. Advanced Algebraic Substitution (Residual $x$ Method)

On higher-difficulty CLEP questions, substituting $u = g(x)$ does not immediately cancel all $x$ terms because the outer factor has a higher degree than the differential. In these cases, use algebraic inversion: solve the substitution equation $u = g(x)$ explicitly for $x$ in terms of $u$, and substitute that expression into the leftover $x$ factors.

Rigorous Worked Example: Radical with Linear Residual

Problem: Evaluate $\int x \sqrt{x + 3} , dx$.

Step 1: Define $u$ and isolate $x$. Let $u = x + 3 \implies x = u - 3$.

Step 2: Differentiate. du=dxdu = dx

Step 3: Substitute all terms into the integral. xx+3dx=(u3)udu=(u3)u1/2du\int x \sqrt{x + 3} \, dx = \int (u - 3) \sqrt{u} \, du = \int (u - 3) u^{1/2} \, du

Step 4: Distribute $u^{1/2}$ across the binomial. (u3/23u1/2)du\int \left( u^{3/2} - 3u^{1/2} \right) du

Step 5: Integrate term by term using the Power Rule. =u5/25/23(u3/23/2)+C=25u5/22u3/2+C= \frac{u^{5/2}}{5/2} - 3\left(\frac{u^{3/2}}{3/2}\right) + C = \frac{2}{5} u^{5/2} - 2 u^{3/2} + C

Step 6: Back-substitute $u = x + 3$. =25(x+3)5/22(x+3)3/2+C= \frac{2}{5}(x + 3)^{5/2} - 2(x + 3)^{3/2} + C

(Factored Alternative: $\frac{2}{15}(x + 3)^{3/2}[3(x+3) - 15] + C = \frac{2}{15}(x + 3)^{3/2}(3x - 6) + C = \frac{2}{5}(x + 3)^{3/2}(x - 2) + C$.)


5. Trigonometric, Exponential, and Logarithmic Substitutions

$u$-substitution is essential for evaluating integrals involving transcendental functions.

Derivation of the Tangent and Cotangent Integrals

The standard formulas for $\int \tan x , dx$ and $\int \cot x , dx$ are derived directly via substitution:

tanxdx=sinxcosxdx\int \tan x \, dx = \int \frac{\sin x}{\cos x} \, dx

  • Let $u = \cos x \implies du = -\sin x , dx \implies \sin x , dx = -du$.
  • The integral becomes $\int \frac{-du}{u} = -\ln|u| + C = -\ln|\cos x| + C = \ln|(\cos x)^{-1}| + C = \ln|\sec x| + C$.

Similarly: cotxdx=cosxsinxdx=lnsinx+C(using u=sinx)\int \cot x \, dx = \int \frac{\cos x}{\sin x} \, dx = \ln|\sin x| + C \quad (\text{using } u = \sin x)

Trigonometric Powers

When evaluating $\int \sin^n(x) \cos(x) , dx$ or $\int \tan^n(x) \sec^2(x) , dx$, the substitution is immediate:

sin4(x)cos(x)dx    Let u=sinx,du=cosxdx    u4du=u55+C=sin5(x)5+C\int \sin^4(x) \cos(x) \, dx \implies \text{Let } u = \sin x, \, du = \cos x \, dx \implies \int u^4 \, du = \frac{u^5}{5} + C = \frac{\sin^5(x)}{5} + C sec3(x)tan(x)dx=sec2(x)(secxtanx)dx    Let u=secx,du=secxtanxdx    sec3(x)3+C\int \sec^3(x) \tan(x) \, dx = \int \sec^2(x) (\sec x \tan x) \, dx \implies \text{Let } u = \sec x, \, du = \sec x \tan x \, dx \implies \frac{\sec^3(x)}{3} + C

Exponential and Logarithmic Composites

  • Logarithmic Numerators: $\int \frac{(\ln x)^3}{x} , dx$. Let $u = \ln x, , du = \frac{1}{x} , dx \implies \int u^3 , du = \frac{(\ln x)^4}{4} + C$.
  • Exponential Exponents: $\int \frac{e^{1/x}}{x^2} , dx$. Let $u = \frac{1}{x} = x^{-1}, , du = -x^{-2} , dx \implies -\int e^u , du = -e^{1/x} + C$.

6. Common CLEP Pitfalls & Traps

  1. Leaving Mixed Variables in the Integrand: Writing an expression like $\int x u^5 , du$ is mathematically meaningless. You cannot integrate with respect to $u$ until all $x$ variables have been completely eliminated.
  2. Pulling Non-Constant Variables Outside the Integral: Moving $x$ outside the integral sign (e.g., $\int x f(x) , dx = x \int f(x) , dx$) violates the fundamental linearity properties of calculus. Only constant numbers may be factored out.
  3. Forgetting to Adjust for Negative Signs: For substitutions involving $\cos x$, $e^{-x}$, or $(a - x)$, forgetting the negative sign in $du$ produces an immediate sign error in the final answer.
  4. Omitting Back-Substitution: In an indefinite integral, leaving the answer in terms of $u$ (such as $\frac{1}{4}u^4 + C$) rather than $x$ is incomplete.
Loading diagram...
U-Substitution Decision Tree
Test Your Knowledge

Evaluate the indefinite integral: int x^3 * sqrt(x^4 + 7) dx.

A
B
C
D
Test Your Knowledge

Evaluate the indefinite integral: int (sec^2(ln x) / x) dx.

A
B
C
D
Test Your Knowledge

Using algebraic substitution, evaluate int x*(x - 4)^5 dx.

A
B
C
D
Test Your Knowledge

Evaluate the indefinite integral: int (e^x / (3 + 2*e^x)) dx.

A
B
C
D