Solved Exercises on Integrating with U-Substitution in Calculus 2

Master u-substitution: polynomial, exponential, trigonometric, and composite functions through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Polynomial Substitution
Exercise 1
Evaluate: \(\displaystyle\int x(x^2 + 1)^3 dx\) using u-substitution
Definition:

U-Substitution: Let \(u = g(x)\), then \(du = g'(x)dx\). Replace \(g(x)\) with \(u\) and \(g'(x)dx\) with \(du\).

U-substitution method:
  1. Identify the substitution: Look for a function and its derivative
  2. Set \(u = x^2 + 1\), so \(du = 2x dx\)
  3. Adjust for the coefficient: \(x dx = \frac{1}{2}du\)
  4. Substitute and integrate
  5. Substitute back to get the final answer
Original
\(\int x(x^2 + 1)^3 dx\)
Substitution
\(u = x^2 + 1, du = 2x dx\)
Result
\(\frac{(x^2 + 1)^4}{8} + C\)
Step 1: Choose substitution

Let \(u = x^2 + 1\), then \(du = 2x dx\)

Step 2: Adjust for coefficient

Since we have \(x dx\) in the integral, we need: \(x dx = \frac{1}{2}du\)

Step 3: Substitute

\(\displaystyle\int x(x^2 + 1)^3 dx = \int (x^2 + 1)^3 \cdot x dx = \int u^3 \cdot \frac{1}{2} du\)

Step 4: Integrate with respect to u

\(\displaystyle\frac{1}{2}\int u^3 du = \frac{1}{2} \cdot \frac{u^4}{4} + C = \frac{u^4}{8} + C\)

Step 5: Substitute back

\(\displaystyle\frac{u^4}{8} + C = \frac{(x^2 + 1)^4}{8} + C\)

\(\displaystyle\int x(x^2 + 1)^3 dx = \frac{(x^2 + 1)^4}{8} + C\)
Final answer:

\(\displaystyle\int x(x^2 + 1)^3 dx = \frac{(x^2 + 1)^4}{8} + C\)

Applied rules:

• U-Substitution: Replace complex expression with simpler variable

• Chain Rule in Reverse: Integration pattern matches derivative of composite function

• Power Rule: \(\int u^n du = \frac{u^{n+1}}{n+1} + C\)

2 Exponential Substitution
Exercise 2
Evaluate: \(\displaystyle\int e^{2x} dx\) using u-substitution
Definition:

Exponential Integration: When integrating \(e^{g(x)}\), let \(u = g(x)\) and use \(du = g'(x)dx\).

Original
\(\int e^{2x} dx\)
Substitution
\(u = 2x, du = 2 dx\)
Result
\(\frac{e^{2x}}{2} + C\)
Step 1: Choose substitution

Let \(u = 2x\), then \(du = 2 dx\)

Step 2: Adjust for coefficient

Since we have \(dx\) in the integral, we need: \(dx = \frac{1}{2}du\)

Step 3: Substitute

\(\displaystyle\int e^{2x} dx = \int e^u \cdot \frac{1}{2} du\)

Step 4: Integrate with respect to u

\(\displaystyle\frac{1}{2}\int e^u du = \frac{1}{2}e^u + C\)

Step 5: Substitute back

\(\displaystyle\frac{1}{2}e^u + C = \frac{e^{2x}}{2} + C\)

Step 6: Verify by differentiation

\(\displaystyle\frac{d}{dx}\left(\frac{e^{2x}}{2} + C\right) = \frac{1}{2} \cdot 2e^{2x} = e^{2x}\) ✓

\(\displaystyle\int e^{2x} dx = \frac{e^{2x}}{2} + C\)
Final answer:

\(\displaystyle\int e^{2x} dx = \frac{e^{2x}}{2} + C\)

Applied rules:

• U-Substitution: Linear substitution for exponential functions

• Exponential Integration: \(\int e^u du = e^u + C\)

• Linear Coefficient: Adjust for the derivative of the linear function

3 Trigonometric Substitution
Exercise 3
Evaluate: \(\displaystyle\int \sin(x)\cos(x) dx\) using u-substitution
Definition:

Trigonometric Substitution: Look for a function and its derivative. Here, \(\frac{d}{dx}[\sin(x)] = \cos(x)\).

Original
\(\int \sin(x)\cos(x) dx\)
Substitution
\(u = \sin(x), du = \cos(x) dx\)
Result
\(\frac{\sin^2(x)}{2} + C\)
Step 1: Choose substitution

Notice that \(\cos(x) dx\) is the derivative of \(\sin(x)\), so let \(u = \sin(x)\)

Then \(du = \cos(x) dx\)

Step 2: Substitute

\(\displaystyle\int \sin(x)\cos(x) dx = \int u \cdot du\)

Step 3: Integrate with respect to u

\(\displaystyle\int u du = \frac{u^2}{2} + C\)

Step 4: Substitute back

\(\displaystyle\frac{u^2}{2} + C = \frac{\sin^2(x)}{2} + C\)

Step 5: Verify by differentiation

\(\displaystyle\frac{d}{dx}\left(\frac{\sin^2(x)}{2} + C\right) = \frac{1}{2} \cdot 2\sin(x)\cos(x) = \sin(x)\cos(x)\) ✓

\(\displaystyle\int \sin(x)\cos(x) dx = \frac{\sin^2(x)}{2} + C\)
Final answer:

\(\displaystyle\int \sin(x)\cos(x) dx = \frac{\sin^2(x)}{2} + C\)

Applied rules:

• U-Substitution: Use when integrand contains a function and its derivative

• Trigonometric Derivatives: \(\frac{d}{dx}[\sin(x)] = \cos(x)\)

• Power Rule: \(\int u du = \frac{u^2}{2} + C\)

U-Substitution Integration Properties
\(\displaystyle\int f(g(x))g'(x)dx = \int f(u)du\)
U-Substitution Formula
Basic Pattern
\(\int [g(x)]^n g'(x)dx = \frac{[g(x)]^{n+1}}{n+1} + C\)
Power function
Exponential
\(\int e^{g(x)}g'(x)dx = e^{g(x)} + C\)
Exponential function
Trigonometric
\(\int \sin(g(x))g'(x)dx = -\cos(g(x)) + C\)
Sine function
Logarithmic
\(\int \frac{g'(x)}{g(x)}dx = \ln|g(x)| + C\)
Reciprocal pattern
Key definitions:

U-Substitution: A technique for integration that reverses the chain rule. If \(u = g(x)\), then \(du = g'(x)dx\), and \(\int f(g(x))g'(x)dx = \int f(u)du\).

Composite Function: A function of the form \(f(g(x))\) where the inner function \(g(x)\) is composed with the outer function \(f\).

Pattern Recognition: Identifying when an integrand contains a function and its derivative, which signals that u-substitution may be applicable.

U-substitution methodology:
  1. Identify the pattern: Look for a function and its derivative in the integrand
  2. Choose u: Set \(u\) equal to the inner function of the composite
  3. Find du: Compute the differential \(du = g'(x)dx\)
  4. Substitute: Replace all occurrences of the original variable with \(u\) and \(du\)
  5. Integrate: Integrate the simpler expression in terms of \(u\)
  6. Back-substitute: Replace \(u\) with the original expression in terms of \(x\)
Tip 1: Look for the derivative of the inner function in the integrand.
Tip 2: Don't forget to adjust for constant coefficients when computing \(du\).
Tip 3: Verify your answer by differentiating the result.
Solution: Exercises 4 to 5
4 Rational Function Substitution
Exercise 4
Evaluate: \(\displaystyle\int \frac{x}{x^2 + 4} dx\) using u-substitution
Definition:

Rational Substitution: When the numerator is the derivative of the denominator (up to a constant), use u-substitution.

Original
\(\int \frac{x}{x^2 + 4} dx\)
Substitution
\(u = x^2 + 4, du = 2x dx\)
Result
\(\frac{1}{2}\ln(x^2 + 4) + C\)
Step 1: Identify the substitution

Notice that the derivative of \(x^2 + 4\) is \(2x\), and we have \(x\) in the numerator.

Let \(u = x^2 + 4\), then \(du = 2x dx\)

Step 2: Adjust for coefficient

Since we have \(x dx\) but need \(2x dx\), we have: \(x dx = \frac{1}{2}du\)

Step 3: Substitute

\(\displaystyle\int \frac{x}{x^2 + 4} dx = \int \frac{1}{x^2 + 4} \cdot x dx = \int \frac{1}{u} \cdot \frac{1}{2} du\)

Step 4: Integrate with respect to u

\(\displaystyle\frac{1}{2}\int \frac{1}{u} du = \frac{1}{2}\ln|u| + C\)

Step 5: Substitute back

\(\displaystyle\frac{1}{2}\ln|u| + C = \frac{1}{2}\ln|x^2 + 4| + C\)

Step 6: Simplify (since \(x^2 + 4 > 0\))

\(\displaystyle\frac{1}{2}\ln(x^2 + 4) + C\)

\(\displaystyle\int \frac{x}{x^2 + 4} dx = \frac{1}{2}\ln(x^2 + 4) + C\)
Final answer:

\(\displaystyle\int \frac{x}{x^2 + 4} dx = \frac{1}{2}\ln(x^2 + 4) + C\)

Applied rules:

• U-Substitution: For rational functions with derivative relationship

• Logarithmic Integration: \(\int \frac{1}{u} du = \ln|u| + C\)

• Positive Expression: \(x^2 + 4 > 0\), so absolute value can be omitted

5 Composite Trigonometric Substitution
Exercise 5
Evaluate: \(\displaystyle\int \tan(x) dx\) using u-substitution
Definition:

Tangent Integration: Rewrite \(\tan(x) = \frac{\sin(x)}{\cos(x)}\) and use u-substitution with the denominator.

Original
\(\int \tan(x) dx\)
Rewrite
\(\int \frac{\sin(x)}{\cos(x)} dx\)
Result
\(-\ln|\cos(x)| + C\)
Step 1: Rewrite tangent

\(\displaystyle\tan(x) = \frac{\sin(x)}{\cos(x)}\), so \(\int \tan(x) dx = \int \frac{\sin(x)}{\cos(x)} dx\)

Step 2: Choose substitution

Let \(u = \cos(x)\), then \(du = -\sin(x) dx\), so \(\sin(x) dx = -du\)

Step 3: Substitute

\(\displaystyle\int \frac{\sin(x)}{\cos(x)} dx = \int \frac{1}{\cos(x)} \cdot \sin(x) dx = \int \frac{1}{u} \cdot (-du)\)

Step 4: Integrate with respect to u

\(\displaystyle-\int \frac{1}{u} du = -\ln|u| + C\)

Step 5: Substitute back

\(\displaystyle-\ln|u| + C = -\ln|\cos(x)| + C\)

Step 6: Alternative form

\(\displaystyle-\ln|\cos(x)| + C = \ln|\cos(x)|^{-1} + C = \ln|\sec(x)| + C\)

\(\displaystyle\int \tan(x) dx = -\ln|\cos(x)| + C\)
Final answer:

\(\displaystyle\int \tan(x) dx = -\ln|\cos(x)| + C\)

Applied rules:

• U-Substitution: For functions with derivative relationship

• Trigonometric Identity: \(\tan(x) = \frac{\sin(x)}{\cos(x)}\)

• Logarithmic Property: \(-\ln|a| = \ln|a^{-1}| = \ln|\frac{1}{a}|\)

U-Substitution Integration: Comprehensive Summary
\(\displaystyle\int f(g(x))g'(x)dx = \int f(u)du\)
U-Substitution Formula
Key definitions:

U-Substitution: A technique for integration that reverses the chain rule. If we have an integral of the form \(\int f(g(x))g'(x)dx\), we substitute \(u = g(x)\) and \(du = g'(x)dx\) to obtain \(\int f(u)du\).

Composite Function Integration: U-substitution is particularly useful when integrating composite functions where the integrand contains both a function and its derivative (or a scalar multiple of its derivative).

Change of Variables: The process of replacing the original variable of integration with a new variable to make the integral easier to solve.

Complete U-substitution methodology:
  1. Pattern Recognition: Identify if the integrand has the form \(f(g(x))g'(x)\) or can be manipulated to this form
  2. Choose Substitution: Select \(u = g(x)\) where \(g(x)\) is the "inner" function
  3. Compute Differential: Find \(du = g'(x)dx\)
  4. Substitute: Replace all instances of \(x\) with \(u\) and \(dx\) with the appropriate expression involving \(du\)
  5. Integrate: Evaluate the simpler integral in terms of \(u\)
  6. Back-Substitute: Replace \(u\) with the original expression in terms of \(x\)
  7. Verify: Differentiate the result to confirm it matches the original integrand
Tip 1: Look for the derivative of the inner function in the integrand. If it's missing a constant factor, adjust by multiplying/dividing appropriately.
Tip 2: Common patterns include: \(\int [g(x)]^n g'(x)dx\), \(\int e^{g(x)}g'(x)dx\), \(\int \frac{g'(x)}{g(x)}dx\).
Tip 3: For definite integrals, change the limits of integration to match the new variable.
Tip 4: Always verify your answer by differentiating the result.
Tip 5: If the derivative is not exactly present, try algebraic manipulation or alternative substitutions.
Common errors: Forgetting to adjust for constant coefficients, not properly substituting all variables, failing to change integration limits in definite integrals, choosing the wrong substitution.
Exam preparation: Practice pattern recognition, memorize common substitution patterns, master the substitution process, work with various function types.
Essential U-substitution formulas and patterns:

• Power Rule Pattern: \(\int [g(x)]^n g'(x)dx = \frac{[g(x)]^{n+1}}{n+1} + C\) (for \(n \neq -1\))

• Exponential Pattern: \(\int e^{g(x)}g'(x)dx = e^{g(x)} + C\)

• Logarithmic Pattern: \(\int \frac{g'(x)}{g(x)}dx = \ln|g(x)| + C\)

• Trigonometric Patterns: \(\int \sin(g(x))g'(x)dx = -\cos(g(x)) + C\), \(\int \cos(g(x))g'(x)dx = \sin(g(x)) + C\)

• Linear Substitution: \(\int f(ax + b)dx = \frac{1}{a}F(ax + b) + C\) where \(F'(u) = f(u)\)

• For Definite Integrals: \(\int_a^b f(g(x))g'(x)dx = \int_{g(a)}^{g(b)} f(u)du\)

Common function types and their u-substitutions:
Polynomial Powers: For \(\int [g(x)]^n g'(x)dx\), use \(u = g(x)\), then \(\int u^n du = \frac{u^{n+1}}{n+1} + C\)
Exponential: For \(\int e^{g(x)}g'(x)dx\), use \(u = g(x)\), then \(\int e^u du = e^u + C\)
Rational Functions: For \(\int \frac{g'(x)}{g(x)}dx\), use \(u = g(x)\), then \(\int \frac{1}{u} du = \ln|u| + C\)
Trigonometric: For \(\int \sin(g(x))g'(x)dx\), use \(u = g(x)\), then \(\int \sin(u) du = -\cos(u) + C\)

Questions & Answers

Question: How do I know when to use u-substitution versus other integration techniques? What are the telltale signs?

Answer: Look for these patterns that suggest u-substitution:

  • Derivative pattern: The integrand contains a function and its derivative (or a constant multiple): \(\int f(g(x))g'(x)dx\)
  • Chain rule pattern: The integrand looks like the result of applying the chain rule in differentiation
  • Composition of functions: You see a function inside another function: \(\sin(x^2)\), \(e^{x^3}\), \((x^2 + 1)^5\)
  • Product pattern: One factor is the derivative of the other factor

Common examples: \(\int x(x^2+1)^3 dx\), \(\int e^{2x} dx\), \(\int \sin(x)\cos(x) dx\), \(\int \frac{2x}{x^2+1} dx\).

Try u-substitution first when you see these patterns. If it doesn't work, consider other techniques like integration by parts, partial fractions, or trigonometric identities.

Question: What should I do when the derivative isn't exactly present in the integrand? For example, in \(\int x^2(x^3+1)^4 dx\), the derivative of \(x^3+1\) is \(3x^2\), but I only have \(x^2\).

Answer: When the derivative is off by a constant factor, you can adjust by multiplying and dividing by that factor:

For \(\int x^2(x^3+1)^4 dx\):

  1. Identify: \(u = x^3 + 1\), so \(du = 3x^2 dx\)
  2. Adjust: We have \(x^2 dx\) but need \(3x^2 dx\), so multiply and divide by 3: \(\int x^2(x^3+1)^4 dx = \frac{1}{3}\int 3x^2(x^3+1)^4 dx\)
  3. Substitute: \(\frac{1}{3}\int u^4 du = \frac{1}{3} \cdot \frac{u^5}{5} + C = \frac{(x^3+1)^5}{15} + C\)

This adjustment technique works whenever the missing factor is a constant. If it's a variable factor, u-substitution probably won't work directly.

Question: How do I handle u-substitution with definite integrals? Do I substitute back to x or change the limits?

Answer: With definite integrals, you have two options:

Option 1: Change limits (recommended):

  • After substitution \(u = g(x)\), change the limits: if \(x = a\) then \(u = g(a)\), if \(x = b\) then \(u = g(b)\)
  • Integrate with respect to u using the new limits
  • No need to substitute back to x

Example: \(\int_0^1 x(x^2+1)^3 dx\)

Let \(u = x^2+1\), \(du = 2x dx\), so \(x dx = \frac{1}{2}du\)

When \(x = 0\), \(u = 1\); when \(x = 1\), \(u = 2\)

So \(\int_1^2 u^3 \cdot \frac{1}{2} du = \frac{1}{2} \cdot \frac{u^4}{4}\Big|_1^2 = \frac{1}{8}(16-1) = \frac{15}{8}\)

Option 2: Substitute back: Integrate in u, then substitute back to x, then evaluate at original limits.