Partial Fractions: Decomposing Rational Functions for Integration

Master partial fractions: comprehensive guide with step-by-step solutions, methods, and visual explanations for integrating rational functions.

Exercise Solutions 1 to 3
1 Linear Factors
Exercise 1
Find ∫ (3x + 2)/(x² + 3x + 2) dx using partial fractions.
Definition:

Partial fractions decomposition: A technique to decompose a rational function into a sum of simpler fractions, each with a linear or irreducible quadratic denominator, making integration easier.

Partial fractions method:

1. Factor the denominator completely

2. Set up the partial fraction decomposition

3. Clear fractions by multiplying both sides by the denominator

4. Solve for the unknown coefficients

5. Integrate each term separately

Step 1
Factor denominator
Step 2
Set up decomposition
Step 3
Solve for coefficients
Step 1: Factor the denominator

Factor x² + 3x + 2:

Find two numbers that multiply to 2 and add to 3: 2 and 1

So x² + 3x + 2 = (x + 1)(x + 2)

Step 2: Set up the partial fraction decomposition

(3x + 2)/(x² + 3x + 2) = (3x + 2)/[(x + 1)(x + 2)]

= A/(x + 1) + B/(x + 2)

Step 3: Clear fractions by multiplying by (x + 1)(x + 2)

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

Step 4: Solve for A and B

Method 1 (Substitution):

Let x = -1: 3(-1) + 2 = A(-1 + 2) + B(-1 + 1)

-1 = A(1) + B(0)

So A = -1

Let x = -2: 3(-2) + 2 = A(-2 + 2) + B(-2 + 1)

-4 = A(0) + B(-1)

So B = 4

Step 5: Write the partial fraction decomposition

(3x + 2)/(x² + 3x + 2) = -1/(x + 1) + 4/(x + 2)

Step 6: Integrate each term

∫ (3x + 2)/(x² + 3x + 2) dx = ∫ [-1/(x + 1) + 4/(x + 2)] dx

= -∫ 1/(x + 1) dx + 4∫ 1/(x + 2) dx

= -ln|x + 1| + 4ln|x + 2| + C

= ln|(x + 2)⁴/(x + 1)| + C

∫ (3x + 2)/(x² + 3x + 2) dx = ln|(x + 2)⁴/(x + 1)| + C
Final answer:

∫ (3x + 2)/(x² + 3x + 2) dx = ln|(x + 2)⁴/(x + 1)| + C

Applied rules:

• Partial fractions: Decompose into simpler fractions

• Linear factor: Each distinct linear factor contributes A/(x - r)

• Logarithmic integral: ∫1/(x + a) dx = ln|x + a|

2 Repeated Linear Factors
Exercise 2
Find ∫ (x + 1)/(x - 2)³ dx using partial fractions.
Definition:

Repeated linear factors: When a linear factor appears multiple times in the denominator, each power from 1 to the maximum contributes a term to the partial fraction decomposition: A₁/(x - r) + A₂/(x - r)² + ... + Aₙ/(x - r)ⁿ.

Step 1
Set up decomposition
Step 2
Solve for coefficients
Step 3
Integrate
Step 1: Set up the partial fraction decomposition

Since (x - 2)³ has a repeated linear factor, we write:

(x + 1)/(x - 2)³ = A/(x - 2) + B/(x - 2)² + C/(x - 2)³

Step 2: Clear fractions by multiplying by (x - 2)³

x + 1 = A(x - 2)² + B(x - 2) + C

Step 3: Solve for A, B, and C

Let x = 2: 2 + 1 = A(0)² + B(0) + C

So C = 3

Expand the right side: x + 1 = A(x² - 4x + 4) + B(x - 2) + 3

x + 1 = Ax² - 4Ax + 4A + Bx - 2B + 3

Comparing coefficients:

For x²: 0 = A → A = 0

For x¹: 1 = -4A + B = -4(0) + B → B = 1

For x⁰: 1 = 4A - 2B + 3 = 0 - 2(1) + 3 = 1 ✓

Step 4: Write the partial fraction decomposition

(x + 1)/(x - 2)³ = 0/(x - 2) + 1/(x - 2)² + 3/(x - 2)³

= 1/(x - 2)² + 3/(x - 2)³

Step 5: Integrate each term

∫ (x + 1)/(x - 2)³ dx = ∫ [1/(x - 2)² + 3/(x - 2)³] dx

= ∫ (x - 2)⁻² dx + 3∫ (x - 2)⁻³ dx

= (x - 2)⁻¹/(-1) + 3 · (x - 2)⁻²/(-2)

= -1/(x - 2) - 3/[2(x - 2)²] + C

∫ (x + 1)/(x - 2)³ dx = -1/(x - 2) - 3/[2(x - 2)²] + C
Final answer:

∫ (x + 1)/(x - 2)³ dx = -1/(x - 2) - 3/[2(x - 2)²] + C

Applied rules:

• Repeated linear factors: Each power contributes a term

• Power rule: ∫(x - a)ⁿ dx = (x - a)ⁿ⁺¹/(n+1)

• Algebraic expansion: Expanding polynomials to compare coefficients

3 Irreducible Quadratic Factor
Exercise 3
Find ∫ (2x + 3)/(x² + 4) dx using partial fractions.
Definition:

Irreducible quadratic factors: When a quadratic factor cannot be factored into real linear factors (discriminant < 0), it contributes a term of the form (Ax + B)/(ax² + bx + c) to the partial fraction decomposition.

Step 1
Check irreducibility
Step 2
Set up decomposition
Step 3
Integrate
Step 1: Check if x² + 4 is irreducible

Discriminant = b² - 4ac = 0² - 4(1)(4) = -16 < 0

So x² + 4 is irreducible over the reals.

Step 2: Set up the partial fraction decomposition

Since x² + 4 is irreducible, we have:

(2x + 3)/(x² + 4) = (Ax + B)/(x² + 4)

Comparing numerators: 2x + 3 = Ax + B

So A = 2 and B = 3

Step 3: Split the integral

∫ (2x + 3)/(x² + 4) dx = ∫ (2x + 3)/(x² + 4) dx

= ∫ 2x/(x² + 4) dx + ∫ 3/(x² + 4) dx

Step 4: Integrate each part

For ∫ 2x/(x² + 4) dx:

Let u = x² + 4, then du = 2x dx

∫ 2x/(x² + 4) dx = ∫ 1/u du = ln|u| = ln(x² + 4)

For ∫ 3/(x² + 4) dx:

This is of the form ∫ a/(x² + a²) dx = (1/a)arctan(x/a)

Here, a² = 4, so a = 2

∫ 3/(x² + 4) dx = 3 · (1/2)arctan(x/2) = (3/2)arctan(x/2)

Step 5: Combine results

∫ (2x + 3)/(x² + 4) dx = ln(x² + 4) + (3/2)arctan(x/2) + C

∫ (2x + 3)/(x² + 4) dx = ln(x² + 4) + (3/2)arctan(x/2) + C
Final answer:

∫ (2x + 3)/(x² + 4) dx = ln(x² + 4) + (3/2)arctan(x/2) + C

Applied rules:

• Irreducible quadratic: Uses form (Ax + B)/(ax² + bx + c)

• Arctangent integral: ∫1/(x² + a²) dx = (1/a)arctan(x/a)

• U-substitution: For the linear part in numerator

Key Concepts & Formulas
\(\frac{P(x)}{Q(x)} = \sum \text{partial fractions}\)
Partial Fraction Decomposition
Linear Factor
\(A/(x - r)\)
Simple root
Repeated Factor
\(\sum A_k/(x - r)^k\)
Multiple roots
Quadratic Factor
\((Ax + B)/(ax^2 + bx + c)\)
Irreducible quadratic
Key definitions:

Partial fractions: A method to decompose a rational function into a sum of simpler fractions.

Proper rational function: When degree of numerator < degree of denominator.

Improper rational function: When degree of numerator ≥ degree of denominator (requires polynomial division first).

Irreducible quadratic: A quadratic that cannot be factored into real linear factors (discriminant < 0).

Partial fractions methodology:
  1. Check if proper: If improper, perform polynomial long division first
  2. Factor denominator: Completely factor into linear and irreducible quadratic factors
  3. Set up decomposition: Assign appropriate partial fractions to each factor
  4. Solve for coefficients: Clear fractions and solve the resulting system
  5. Integrate: Integrate each partial fraction separately
  6. Combine: Add all integrated terms with the constant of integration
Tip 1: Always factor the denominator completely before starting partial fractions.
Tip 2: For repeated factors, include terms for each power from 1 to n.
Tip 3: Use substitution method or coefficient comparison to solve for unknowns.
Advantages: Simplifies integration of rational functions, breaks complex fractions into manageable parts, works with various factor types.
When to use: When integrating rational functions that don't have obvious antiderivatives.
Critical formulas to memorize:

• Linear factor: ∫1/(x - a) dx = ln|x - a|

• Repeated factor: ∫1/(x - a)ⁿ dx = (x - a)⁻ⁿ⁺¹/(-n+1)

• Arctangent: ∫1/(x² + a²) dx = (1/a)arctan(x/a)

• Logarithmic: ∫x/(x² + a²) dx = (1/2)ln(x² + a²)

Decomposition Types
🧩
Linear Factor
(x - a)

• Contributes: A/(x - a)

• Integral: ln|x - a|

• Example: (x - 3)

Repeated Factor
(x - a)ⁿ

• Contributes: A₁/(x-a) + A₂/(x-a)² + ...

• Integral: Power rule applies

• Example: (x - 2)³

Quadratic Factor
(ax² + bx + c)

• Contributes: (Ax + B)/(ax² + bx + c)

• Integral: ln or arctan forms

• Example: (x² + 4)

Exercise Solutions 4 to 5
4 Mixed Factors
Exercise 4
Find ∫ (x² + 1)/[x(x² + 4)] dx using partial fractions.
Definition:

Mixed factor decomposition: When the denominator contains both linear and irreducible quadratic factors, combine the appropriate partial fraction forms for each type of factor.

Step 1
Set up decomposition
Step 2
Solve for coefficients
Step 3
Integrate
Step 1: Set up the partial fraction decomposition

The denominator has a linear factor x and an irreducible quadratic factor x² + 4:

(x² + 1)/[x(x² + 4)] = A/x + (Bx + C)/(x² + 4)

Step 2: Clear fractions by multiplying by x(x² + 4)

x² + 1 = A(x² + 4) + (Bx + C)x

= Ax² + 4A + Bx² + Cx

= (A + B)x² + Cx + 4A

Step 3: Compare coefficients

For x²: 1 = A + B

For x¹: 0 = C

For x⁰: 1 = 4A

So A = 1/4, C = 0, and B = 1 - A = 1 - 1/4 = 3/4

Step 4: Write the partial fraction decomposition

(x² + 1)/[x(x² + 4)] = (1/4)/x + (3x/4)/(x² + 4)

= 1/(4x) + 3x/[4(x² + 4)]

Step 5: Integrate each term

∫ (x² + 1)/[x(x² + 4)] dx = ∫ [1/(4x) + 3x/[4(x² + 4)]] dx

= (1/4)∫ 1/x dx + (3/4)∫ x/(x² + 4) dx

= (1/4)ln|x| + (3/4) · (1/2)ln(x² + 4) + C

= (1/4)ln|x| + (3/8)ln(x² + 4) + C

∫ (x² + 1)/[x(x² + 4)] dx = (1/4)ln|x| + (3/8)ln(x² + 4) + C
Final answer:

∫ (x² + 1)/[x(x² + 4)] dx = (1/4)ln|x| + (3/8)ln(x² + 4) + C

Applied rules:

• Mixed factors: Linear + irreducible quadratic forms

• Coefficient comparison: Equating coefficients to solve

• Logarithmic integration: Both forms apply

5 Improper Fraction
Exercise 5
Find ∫ (x³ + 2x² + x + 1)/(x² + 1) dx using polynomial long division followed by partial fractions.
Definition:

Improper rational functions: When the degree of the numerator is greater than or equal to the degree of the denominator, polynomial long division must be performed first to obtain a polynomial plus a proper rational function.

Step 1
Long division
Step 2
Integrate polynomial
Step 3
Integrate remainder
Step 1: Perform polynomial long division

(x³ + 2x² + x + 1) ÷ (x² + 1):

First term: x³ ÷ x² = x

x(x² + 1) = x³ + x

(x³ + 2x² + x + 1) - (x³ + x) = 2x² + 1

Second term: 2x² ÷ x² = 2

2(x² + 1) = 2x² + 2

(2x² + 1) - (2x² + 2) = -1

So: (x³ + 2x² + x + 1)/(x² + 1) = x + 2 + (-1)/(x² + 1) = x + 2 - 1/(x² + 1)

Step 2: Integrate the polynomial part

∫ (x + 2) dx = x²/2 + 2x

Step 3: Integrate the remainder

∫ -1/(x² + 1) dx = -arctan(x)

Step 4: Combine results

∫ (x³ + 2x² + x + 1)/(x² + 1) dx = x²/2 + 2x - arctan(x) + C

∫ (x³ + 2x² + x + 1)/(x² + 1) dx = x²/2 + 2x - arctan(x) + C
Final answer:

∫ (x³ + 2x² + x + 1)/(x² + 1) dx = x²/2 + 2x - arctan(x) + C

Applied rules:

• Polynomial long division: Required for improper fractions

• Arctangent integral: ∫1/(x² + 1) dx = arctan(x)

• Power rule: For polynomial terms

Comprehensive Summary: Partial Fractions

Key Definitions

Partial Fractions: A technique 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: A rational function where the degree of the numerator is greater than or equal to the degree of the denominator.

Irreducible Quadratic: A quadratic polynomial that cannot be factored into real linear factors (discriminant < 0).

Core Formulas

Linear Factor: ∫1/(x - a) dx = ln|x - a| + C

Repeated Linear: ∫1/(x - a)ⁿ dx = (x - a)⁻ⁿ⁺¹/(-n+1) + C

Arctangent: ∫1/(x² + a²) dx = (1/a)arctan(x/a) + C

Logarithmic: ∫x/(x² + a²) dx = (1/2)ln(x² + a²) + C

Quadratic Denominator: Completing the square for more complex forms.

Step-by-Step Method

1. Check if proper: If degree of numerator ≥ degree of denominator, perform polynomial long division.

2. Factor denominator: Completely factor into linear and irreducible quadratic factors.

3. Set up decomposition: Assign appropriate partial fractions for each factor type.

4. Clear fractions: Multiply both sides by the common denominator.

5. Solve for coefficients: Use substitution or coefficient comparison.

6. Integrate each term: Apply appropriate integration formulas.

Factor Types

Distinct Linear: (x - a) → A/(x - a)

Repeated Linear: (x - a)ⁿ → A₁/(x - a) + A₂/(x - a)² + ... + Aₙ/(x - a)ⁿ

Irreducible Quadratic: (ax² + bx + c) → (Ax + B)/(ax² + bx + c)

Repeated Quadratic: (ax² + bx + c)ⁿ → (A₁x + B₁)/(ax² + bx + c) + ...

Complex Forms: May require completing the square or other techniques.

Tips & Common Pitfalls

Tips: Always factor completely first; use substitution method for simple cases; verify by adding partial fractions back.

Pitfalls: Forgetting to check if the fraction is proper; incorrect partial fraction setup; arithmetic errors in solving coefficients.

Verification: Add the partial fractions to ensure you get back the original rational function.

Strategy: Start with the simplest method (substitution) before moving to coefficient comparison.

Memory Aids

"One for each power": For repeated factors, include terms for each power from 1 to n.

"Linear gets A, Quadratic gets Ax+B": Remember the numerator patterns.

"Proper first": Always ensure the fraction is proper before applying partial fractions.

"Check your work": Verify by adding the partial fractions together.

Questions & Answers

Question: How do I know if I need to perform polynomial long division before applying partial fractions?

Answer: You need to perform polynomial long division when the rational function is improper, which occurs when the degree of the numerator is greater than or equal to the degree of the denominator.

For example, in (x³ + 2x² + x + 1)/(x² + 1), the numerator has degree 3 and the denominator has degree 2, so it's improper and requires long division.

After division, you get a polynomial plus a proper rational function, and then you apply partial fractions only to the proper rational part.

Question: What should I do when the denominator has a repeated quadratic factor?

Answer: For a repeated irreducible quadratic factor like (ax² + bx + c)ⁿ, you need to include n terms in your partial fraction decomposition:

(A₁x + B₁)/(ax² + bx + c) + (A₂x + B₂)/(ax² + bx + c)² + ... + (Aₙx + Bₙ)/(ax² + bx + c)ⁿ

Each term has a linear numerator (Ax + B) and the denominator raised to successive powers from 1 to n. This is analogous to the linear factor case but with linear numerators instead of constants.

Question: How can I verify that my partial fraction decomposition is correct?

Answer: There are two good ways to verify your partial fraction decomposition:

1. Add the partial fractions back together: Find a common denominator and add your partial fractions. You should get back the original rational function.

2. Substitute a convenient value: Choose a value of x (not equal to any root of the denominator) and substitute into both the original function and your decomposition. They should yield the same result.

For example, if you decomposed (3x + 2)/[(x + 1)(x + 2)] into -1/(x + 1) + 4/(x + 2), substitute x = 0 into both expressions to verify equality.