Solved Exercises on Integrating Using Linear Partial Fractions in Calculus 2

Master partial fractions: distinct linear factors, repeated linear factors, and combined techniques through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Distinct Linear Factors
Exercise 1
Evaluate: \(\displaystyle\int \frac{3x + 5}{(x + 1)(x + 2)} dx\) using partial fractions
Definition:

Partial Fraction Decomposition: For distinct linear factors \((x - a)(x - b)\), decompose as \(\frac{A}{x - a} + \frac{B}{x - b}\).

Partial fractions method:
  1. Factor the denominator completely
  2. Write the partial fraction decomposition with unknown coefficients
  3. Clear the denominators by multiplying both sides
  4. Solve for coefficients using substitution or comparison of coefficients
  5. Integrate each term separately
Original
\(\int \frac{3x + 5}{(x + 1)(x + 2)} dx\)
Decomposition
\(\frac{-2}{x + 1} + \frac{5}{x + 2}\)
Result
\(-2\ln|x + 1| + 5\ln|x + 2| + C\)
Step 1: Set up partial fraction decomposition

\(\displaystyle\frac{3x + 5}{(x + 1)(x + 2)} = \frac{A}{x + 1} + \frac{B}{x + 2}\)

Step 2: Clear denominators

\(3x + 5 = A(x + 2) + B(x + 1)\)

Step 3: Solve for A and B

Method 1 (Substitution):

When \(x = -1\): \(3(-1) + 5 = A(-1 + 2) + B(-1 + 1) \Rightarrow 2 = A \Rightarrow A = -2\)

When \(x = -2\): \(3(-2) + 5 = A(-2 + 2) + B(-2 + 1) \Rightarrow -1 = -B \Rightarrow B = 1\)

Wait, let me recalculate: When \(x = -1\): \(3(-1) + 5 = 2\), so \(2 = A(1) \Rightarrow A = 2\)

When \(x = -2\): \(3(-2) + 5 = -1\), so \(-1 = B(-1) \Rightarrow B = 1\)

Actually, let's solve systematically: \(3x + 5 = Ax + 2A + Bx + B = (A + B)x + (2A + B)\)

Comparing coefficients: \(A + B = 3\) and \(2A + B = 5\)

From first: \(B = 3 - A\), substitute: \(2A + (3 - A) = 5 \Rightarrow A + 3 = 5 \Rightarrow A = 2\)

So \(B = 3 - 2 = 1\)

Wait, let me verify: \(3x + 5 = 2(x + 2) + 1(x + 1) = 2x + 4 + x + 1 = 3x + 5\) ✓

Step 4: Rewrite with found coefficients

\(\displaystyle\frac{3x + 5}{(x + 1)(x + 2)} = \frac{2}{x + 1} + \frac{1}{x + 2}\)

Step 5: Integrate each term

\(\displaystyle\int \frac{3x + 5}{(x + 1)(x + 2)} dx = \int \frac{2}{x + 1} dx + \int \frac{1}{x + 2} dx = 2\ln|x + 1| + \ln|x + 2| + C\)

\(\displaystyle\int \frac{3x + 5}{(x + 1)(x + 2)} dx = 2\ln|x + 1| + \ln|x + 2| + C\)
Final answer:

\(\displaystyle\int \frac{3x + 5}{(x + 1)(x + 2)} dx = 2\ln|x + 1| + \ln|x + 2| + C\)

Applied rules:

• Partial Fraction Decomposition: For distinct linear factors

• Basic Integration: \(\int \frac{1}{x + a} dx = \ln|x + a| + C\)

• Algebraic Solving: System of equations to find coefficients

2 Repeated Linear Factor
Exercise 2
Evaluate: \(\displaystyle\int \frac{2x + 1}{(x - 1)^2} dx\) using partial fractions
Definition:

Repeated Linear Factor: For \((x - a)^n\), include terms \(\frac{A_1}{x - a} + \frac{A_2}{(x - a)^2} + \cdots + \frac{A_n}{(x - a)^n}\).

Original
\(\int \frac{2x + 1}{(x - 1)^2} dx\)
Decomposition
\(\frac{2}{x - 1} + \frac{3}{(x - 1)^2}\)
Result
\(2\ln|x - 1| - \frac{3}{x - 1} + C\)
Step 1: Set up partial fraction decomposition

For \((x - 1)^2\), we have: \(\displaystyle\frac{2x + 1}{(x - 1)^2} = \frac{A}{x - 1} + \frac{B}{(x - 1)^2}\)

Step 2: Clear denominators

\(2x + 1 = A(x - 1) + B\)

Step 3: Solve for A and B

When \(x = 1\): \(2(1) + 1 = A(0) + B \Rightarrow 3 = B\)

To find A, expand: \(2x + 1 = Ax - A + B\)

Comparing coefficients of \(x\): \(2 = A\)

Comparing constants: \(1 = -A + B = -2 + 3 = 1\) ✓

Step 4: Rewrite with found coefficients

\(\displaystyle\frac{2x + 1}{(x - 1)^2} = \frac{2}{x - 1} + \frac{3}{(x - 1)^2}\)

Step 5: Integrate each term

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

\(= 2\ln|x - 1| + 3\int (x - 1)^{-2} dx = 2\ln|x - 1| + 3 \cdot \frac{(x - 1)^{-1}}{-1} + C\)

\(= 2\ln|x - 1| - \frac{3}{x - 1} + C\)

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

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

Applied rules:

• Repeated Factor Decomposition: Include all powers from 1 to n

• Power Rule: \(\int (x - a)^n dx = \frac{(x - a)^{n+1}}{n+1} + C\) for \(n \neq -1\)

• Logarithmic Integration: \(\int \frac{1}{x - a} dx = \ln|x - a| + C\)

3 Mixed Linear Factors
Exercise 3
Evaluate: \(\displaystyle\int \frac{x^2 + 3x + 2}{x(x + 1)^2} dx\) using partial fractions
Definition:

Mixed Factors: For \(x(x + 1)^2\), include \(\frac{A}{x} + \frac{B}{x + 1} + \frac{C}{(x + 1)^2}\).

Original
\(\int \frac{x^2 + 3x + 2}{x(x + 1)^2} dx\)
Decomposition
\(\frac{2}{x} + \frac{-1}{x + 1} + \frac{1}{(x + 1)^2}\)
Result
\(2\ln|x| - \ln|x + 1| + \frac{1}{x + 1} + C\)
Step 1: Set up partial fraction decomposition

For \(x(x + 1)^2\), we have: \(\displaystyle\frac{x^2 + 3x + 2}{x(x + 1)^2} = \frac{A}{x} + \frac{B}{x + 1} + \frac{C}{(x + 1)^2}\)

Step 2: Clear denominators

\(x^2 + 3x + 2 = A(x + 1)^2 + Bx(x + 1) + Cx\)

Step 3: Solve for coefficients

When \(x = 0\): \(0 + 0 + 2 = A(1) \Rightarrow A = 2\)

When \(x = -1\): \(1 - 3 + 2 = C(-1) \Rightarrow 0 = -C \Rightarrow C = 0\)

Wait, let me recalculate: When \(x = -1\): \(1 - 3 + 2 = 0\), and the right side is \(C(-1) = -C\), so \(0 = -C \Rightarrow C = 0\)

Let's expand systematically: \(x^2 + 3x + 2 = A(x^2 + 2x + 1) + B(x^2 + x) + Cx\)

\(= Ax^2 + 2Ax + A + Bx^2 + Bx + Cx\)

\(= (A + B)x^2 + (2A + B + C)x + A\)

Comparing coefficients:

\(x^2: A + B = 1\)

\(x^1: 2A + B + C = 3\)

\(x^0: A = 2\)

From third: \(A = 2\)

From first: \(2 + B = 1 \Rightarrow B = -1\)

From second: \(2(2) + (-1) + C = 3 \Rightarrow 4 - 1 + C = 3 \Rightarrow C = 0\)

Wait, let me verify: \(x^2 + 3x + 2 = 2(x + 1)^2 + (-1)x(x + 1) + 0 \cdot x\)

= \(2(x^2 + 2x + 1) - x(x + 1) = 2x^2 + 4x + 2 - x^2 - x = x^2 + 3x + 2\) ✓

Step 4: Rewrite with found coefficients

\(\displaystyle\frac{x^2 + 3x + 2}{x(x + 1)^2} = \frac{2}{x} + \frac{-1}{x + 1} + \frac{0}{(x + 1)^2} = \frac{2}{x} - \frac{1}{x + 1}\)

Step 5: Integrate each term

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

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

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

Applied rules:

• Mixed Factor Decomposition: Handle each factor type appropriately

• Systematic Solving: Expand and compare coefficients

• Integration: Apply basic integration rules to each term

Linear Partial Fractions Properties
\(\displaystyle\frac{P(x)}{Q(x)} = \frac{A_1}{x - a_1} + \frac{A_2}{x - a_2} + \cdots\)
Partial Fraction Decomposition
Distinct Linear
\(\frac{P(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}\)
For different roots
Repeated Linear
\(\frac{P(x)}{(x-a)^n} = \frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \cdots + \frac{A_n}{(x-a)^n}\)
For repeated roots
Mixed Factors
\(\frac{P(x)}{x(x-a)^2} = \frac{A}{x} + \frac{B}{x-a} + \frac{C}{(x-a)^2}\)
For combined factors
Integration
\(\int \frac{1}{x-a} dx = \ln|x-a| + C\)
Standard result
Key definitions:

Partial Fraction Decomposition: A method to decompose a rational function into a sum of simpler fractions that can be integrated individually.

Proper Rational Function: A rational function where the degree of the numerator is less than the degree of the denominator.

Improper Rational Function: Must be divided first using polynomial long division to obtain a polynomial plus a proper rational function.

Partial fractions methodology:
  1. Check if rational function is proper: If not, perform long division first
  2. Factor denominator completely: Into linear and irreducible quadratic factors
  3. Write partial fraction decomposition: With appropriate form for each factor type
  4. Solve for coefficients: Using substitution or comparison of coefficients
  5. Integrate each term: Apply standard integration techniques
Tip 1: Always check if the rational function is proper before applying partial fractions.
Tip 2: For repeated factors, include terms for each power from 1 to the multiplicity.
Tip 3: Use substitution method for solving coefficients when possible; it's often faster.
Solution: Exercises 4 to 5
4 Complex Linear Factors
Exercise 4
Evaluate: \(\displaystyle\int \frac{4x^2 + 3x + 1}{x(x - 1)(x + 2)} dx\) using partial fractions
Definition:

Multiple Distinct Linear Factors: For \((x - a)(x - b)(x - c)\), use \(\frac{A}{x - a} + \frac{B}{x - b} + \frac{C}{x - c}\).

Original
\(\int \frac{4x^2 + 3x + 1}{x(x - 1)(x + 2)} dx\)
Decomposition
\(\frac{1/2}{x} + \frac{4}{x - 1} + \frac{11/2}{x + 2}\)
Result
\(\frac{1}{2}\ln|x| + 4\ln|x - 1| + \frac{11}{2}\ln|x + 2| + C\)
Step 1: Set up partial fraction decomposition

\(\displaystyle\frac{4x^2 + 3x + 1}{x(x - 1)(x + 2)} = \frac{A}{x} + \frac{B}{x - 1} + \frac{C}{x + 2}\)

Step 2: Clear denominators

\(4x^2 + 3x + 1 = A(x - 1)(x + 2) + Bx(x + 2) + Cx(x - 1)\)

Step 3: Solve for coefficients

When \(x = 0\): \(0 + 0 + 1 = A(-1)(2) \Rightarrow 1 = -2A \Rightarrow A = -\frac{1}{2}\)

When \(x = 1\): \(4 + 3 + 1 = B(1)(3) \Rightarrow 8 = 3B \Rightarrow B = \frac{8}{3}\)

Wait, let me recalculate: When \(x = 1\): \(4(1) + 3(1) + 1 = 8\), and the right side is \(B(1)(1 + 2) = 3B\), so \(8 = 3B \Rightarrow B = \frac{8}{3}\)

When \(x = -2\): \(4(4) + 3(-2) + 1 = 16 - 6 + 1 = 11\), and the right side is \(C(-2)(-2 - 1) = C(-2)(-3) = 6C\), so \(11 = 6C \Rightarrow C = \frac{11}{6}\)

Let me verify by expanding: \(4x^2 + 3x + 1 = -\frac{1}{2}(x^2 + x - 2) + \frac{8}{3}x(x + 2) + \frac{11}{6}x(x - 1)\)

= \(-\frac{1}{2}x^2 - \frac{1}{2}x + 1 + \frac{8}{3}x^2 + \frac{16}{3}x + \frac{11}{6}x^2 - \frac{11}{6}x\)

= \((-\frac{1}{2} + \frac{8}{3} + \frac{11}{6})x^2 + (-\frac{1}{2} + \frac{16}{3} - \frac{11}{6})x + 1\)

= \((-\frac{3}{6} + \frac{16}{6} + \frac{11}{6})x^2 + (-\frac{3}{6} + \frac{32}{6} - \frac{11}{6})x + 1\)

= \(\frac{24}{6}x^2 + \frac{18}{6}x + 1 = 4x^2 + 3x + 1\) ✓

Step 4: Rewrite with found coefficients

\(\displaystyle\frac{4x^2 + 3x + 1}{x(x - 1)(x + 2)} = \frac{-1/2}{x} + \frac{8/3}{x - 1} + \frac{11/6}{x + 2}\)

Step 5: Integrate each term

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

\(= -\frac{1}{2}\ln|x| + \frac{8}{3}\ln|x - 1| + \frac{11}{6}\ln|x + 2| + C\)

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

\(\displaystyle\int \frac{4x^2 + 3x + 1}{x(x - 1)(x + 2)} dx = -\frac{1}{2}\ln|x| + \frac{8}{3}\ln|x - 1| + \frac{11}{6}\ln|x + 2| + C\)

Applied rules:

• Multiple Linear Factors: Include a term for each distinct factor

• Substitution Method: Efficient for solving coefficients

• Verification: Always check by expanding the decomposition

5 Improper Rational Function
Exercise 5
Evaluate: \(\displaystyle\int \frac{x^3 + 2x^2 + x + 1}{x^2 + x} dx\) using long division and partial fractions
Definition:

Improper Rational Function: When the degree of numerator ≥ degree of denominator, use long division first.

Original
\(\int \frac{x^3 + 2x^2 + x + 1}{x^2 + x} dx\)
Long Division
\(x + 1 + \frac{1}{x(x + 1)}\)
Result
\(\frac{x^2}{2} + x + \ln|x| - \ln|x + 1| + C\)
Step 1: Perform long division

Since degree of numerator (3) > degree of denominator (2), divide first:

\(x^3 + 2x^2 + x + 1 = (x^2 + x)(x + 1) + 1\)

So: \(\displaystyle\frac{x^3 + 2x^2 + x + 1}{x^2 + x} = x + 1 + \frac{1}{x^2 + x} = x + 1 + \frac{1}{x(x + 1)}\)

Step 2: Apply partial fractions to remainder

\(\displaystyle\frac{1}{x(x + 1)} = \frac{A}{x} + \frac{B}{x + 1}\)

\(1 = A(x + 1) + Bx\)

When \(x = 0\): \(1 = A(1) \Rightarrow A = 1\)

When \(x = -1\): \(1 = B(-1) \Rightarrow B = -1\)

So: \(\displaystyle\frac{1}{x(x + 1)} = \frac{1}{x} - \frac{1}{x + 1}\)

Step 3: Rewrite the integrand

\(\displaystyle\frac{x^3 + 2x^2 + x + 1}{x^2 + x} = x + 1 + \frac{1}{x} - \frac{1}{x + 1}\)

Step 4: Integrate each term

\(\displaystyle\int \left(x + 1 + \frac{1}{x} - \frac{1}{x + 1}\right) dx = \frac{x^2}{2} + x + \ln|x| - \ln|x + 1| + C\)

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

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

Applied rules:

• Long Division: Required for improper rational functions

• Partial Fractions: Apply to the proper rational remainder

• Integration: Combine polynomial and logarithmic integrals

Linear Partial Fractions: Comprehensive Summary
\(\displaystyle\frac{P(x)}{Q(x)} = \sum \frac{A_i}{(x - r_i)^{k_i}}\)
Partial Fraction Decomposition
Key definitions:

Partial Fraction Decomposition: A method that expresses a rational function as a sum of simpler fractions, each with a denominator that is a power of a linear factor or an irreducible quadratic factor.

Proper Rational Function: A rational function \(\frac{P(x)}{Q(x)}\) where \(\deg(P) < \deg(Q)\).

Improper Rational Function: A rational function \(\frac{P(x)}{Q(x)}\) where \(\deg(P) \geq \deg(Q)\), requiring long division first.

Linear Factor: A factor of the form \((x - a)\) in the denominator of a rational function.

Complete partial fractions methodology:
  1. Check if proper: If \(\deg(P) \geq \deg(Q)\), perform polynomial long division
  2. Factor denominator: Completely factor into linear and irreducible quadratic factors
  3. Set up decomposition: Write the appropriate partial fraction form
  4. Solve coefficients: Use substitution or comparison of coefficients
  5. Verify decomposition: Expand to ensure equality
  6. Integrate: Apply integration techniques to each term
Tip 1: Always check if the rational function is proper before applying partial fractions.
Tip 2: For repeated factors, include all powers from 1 to the multiplicity.
Tip 3: Use the substitution method when possible to solve for coefficients efficiently.
Tip 4: Verify your partial fraction decomposition by expanding and comparing with the original.
Tip 5: Remember to include absolute value in logarithmic terms when integrating \(\frac{1}{x - a}\).
Common errors: Forgetting to check if function is proper, missing terms for repeated factors, incorrect coefficient solving, omitting absolute value in logarithms.
Exam preparation: Practice pattern recognition, master long division, memorize standard forms, work with various factor combinations.
Essential partial fractions formulas and patterns:

• Distinct Linear: \(\frac{P(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}\)

• Repeated Linear: \(\frac{P(x)}{(x-a)^n} = \frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \cdots + \frac{A_n}{(x-a)^n}\)

• Mixed Factors: \(\frac{P(x)}{x^m(x-a)^n} = \frac{A_1}{x} + \cdots + \frac{A_m}{x^m} + \frac{B_1}{x-a} + \cdots + \frac{B_n}{(x-a)^n}\)

• Integration Results: \(\int \frac{1}{x-a} dx = \ln|x-a| + C\), \(\int \frac{1}{(x-a)^n} dx = \frac{(x-a)^{-n+1}}{-n+1} + C\) (for \(n > 1\))

• Long Division: \(\frac{P(x)}{Q(x)} = D(x) + \frac{R(x)}{Q(x)}\) where \(\deg(R) < \deg(Q)\)

Factor patterns and their decompositions:
Single Linear: \(\frac{A}{x - a}\) for each distinct factor \((x - a)\)
Repeated Linear: \(\frac{A_1}{x - a} + \frac{A_2}{(x - a)^2} + \cdots + \frac{A_n}{(x - a)^n}\) for \((x - a)^n\)
Multiple Factors: Combine all appropriate terms for each factor type
Verification: Always multiply back to ensure the decomposition equals the original rational function.

Questions & Answers

Question: How do I know if I need to use partial fractions or if there's a simpler method? What are the warning signs that partial fractions are needed?

Answer: Use this decision tree:

  • Check if it's a standard form: If you see \(\frac{f'(x)}{f(x)}\), integrate directly as \(\ln|f(x)| + C\)
  • Look for u-substitution: If the numerator is a multiple of the derivative of the denominator
  • Partial fractions needed when: You have a proper rational function with factorable denominator that doesn't fit the derivative pattern

Warning signs: Complex rational functions with polynomial denominators that don't factor easily, or when u-substitution doesn't work.

Question: When solving for coefficients, should I use substitution or comparison of coefficients? Which method is better?

Answer: Both methods work, but here's when to use each:

  • Substitution method: Best when you have distinct linear factors; substitute values that make individual terms zero
  • Comparison method: Better for repeated factors or when substitution doesn't give enough equations
  • Hybrid approach: Use substitution to find some coefficients, then comparison for others

Substitution is usually faster, but comparison is more systematic and works in all cases.

Question: What if the denominator has irreducible quadratic factors? Can I still use partial fractions?

Answer: Yes, but the form changes:

  • For irreducible quadratics: Terms like \(\frac{Ax + B}{x^2 + bx + c}\) (not \(\frac{A}{x^2 + bx + c}\))
  • For repeated irreducible quadratics: \(\frac{A_1x + B_1}{x^2 + bx + c} + \frac{A_2x + B_2}{(x^2 + bx + c)^2} + \cdots\)
  • Integration: These require completing the square and using arctangent formulas

For example: \(\int \frac{1}{x^2 + 1} dx = \arctan(x) + C\), \(\int \frac{x}{x^2 + 1} dx = \frac{1}{2}\ln(x^2 + 1) + C\).