Solved Exercises on Integrating using Linear Partial Fractions

Master integration using linear partial fractions: decomposition, integration methods, and advanced techniques through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic linear partial fraction
Exercise 1
Integrate:
\(\int \frac{5}{x+2} dx\)
Definition:

Linear partial fraction: A rational function where the denominator is a linear factor and the numerator is a constant.

Integration method:
  1. Identify the linear factor in the denominator
  2. Apply the basic integration rule for linear partial fractions
  3. Use the formula: \(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)
Original integral
\(\int \frac{5}{x+2} dx\)
Integration
\(5 \ln|x+2| + C\)
Step 1: Identify the form

This is a linear partial fraction of the form \(\frac{A}{x+a}\) where \(A = 5\) and \(a = 2\)

Step 2: Apply the integration rule

\(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)

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

Step 3: Add the constant of integration

The constant \(C\) represents the family of antiderivatives

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

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

Applied rules:

• Basic partial fraction rule: \(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)

• Constant multiple rule: Constants can be factored out of integrals

• Logarithmic integration: The integral of \(\frac{1}{x}\) is \(\ln|x|\)

Tip: Always include absolute value signs in logarithms when dealing with variables in denominators.
Caution: The domain excludes values that make the denominator zero (\(x \neq -2\) in this case).
2 Sum of linear partial fractions
Exercise 2
Integrate:
\(\int \left(\frac{3}{x+1} + \frac{2}{x-4}\right) dx\)
Definition:

Sum of linear partial fractions: Multiple linear partial fractions added together, each integrated separately.

Original integral
\(\int \left(\frac{3}{x+1} + \frac{2}{x-4}\right) dx\)
Integration
\(3 \ln|x+1| + 2 \ln|x-4| + C\)
Step 1: Apply the sum rule for integrals

\(\int \left(f(x) + g(x)\right) dx = \int f(x) dx + \int g(x) dx\)

\(\int \left(\frac{3}{x+1} + \frac{2}{x-4}\right) dx = \int \frac{3}{x+1} dx + \int \frac{2}{x-4} dx\)

Step 2: Integrate each term separately

For \(\int \frac{3}{x+1} dx\): Apply \(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)

For \(\int \frac{2}{x-4} dx\): Apply \(\int \frac{A}{x-a} dx = A \ln|x-a| + C\)

Step 3: Combine results and add constant

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

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

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

Applied rules:

• Sum rule: The integral of a sum equals the sum of integrals

• Constant multiple rule: \(\int c \cdot f(x) dx = c \int f(x) dx\)

• Linear partial fraction rule: \(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)

Tip: Each linear partial fraction integrates independently using the same rule.
Domain: The function is undefined at \(x = -1\) and \(x = 4\), so exclude these points.
3 Decomposition into linear partial fractions
Exercise 3
Integrate:
\(\int \frac{x+7}{(x+2)(x-3)} dx\)
Definition:

Partial fraction decomposition: Expressing a rational function as a sum of simpler fractions with linear denominators.

Original integral
\(\int \frac{x+7}{(x+2)(x-3)} dx\)
Decomposition
\(\int \left(\frac{A}{x+2} + \frac{B}{x-3}\right) dx\)
Integration
\(-\frac{5}{5} \ln|x+2| + \frac{10}{5} \ln|x-3| + C\)
Step 1: Set up partial fraction decomposition

\(\frac{x+7}{(x+2)(x-3)} = \frac{A}{x+2} + \frac{B}{x-3}\)

Multiply both sides by \((x+2)(x-3)\):

\(x+7 = A(x-3) + B(x+2)\)

Step 2: Solve for constants A and B

Method 1 (Substitution): Let \(x = -2\):

\(-2 + 7 = A(-2-3) + B(-2+2)\)

\(5 = A(-5) \Rightarrow A = -1\)

Let \(x = 3\):

\(3 + 7 = A(3-3) + B(3+2)\)

\(10 = B(5) \Rightarrow B = 2\)

Step 3: Rewrite the integral

\(\int \frac{x+7}{(x+2)(x-3)} dx = \int \left(\frac{-1}{x+2} + \frac{2}{x-3}\right) dx\)

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

Step 4: Integrate each term

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

\(\int \frac{2}{x-3} dx = 2\ln|x-3|\)

Step 5: Combine results

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

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

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

Applied rules:

• Partial fraction decomposition: \(\frac{P(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}\)

• Heaviside cover-up method: Substitute values to find constants

• Integration of linear partial fractions: \(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)

Tip: Use the Heaviside cover-up method to quickly find constants in partial fractions.
Domain: The function is undefined at \(x = -2\) and \(x = 3\), so exclude these points.
Rules and methods, laws,...
\(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)
Basic Linear Partial Fraction
Decomposition Rule
\(\frac{P(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}\)
When degree of P(x) < 2
Integration Rule
\(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)
Linear factor integration
Sum Rule
\(\int [f(x) + g(x)] dx = \int f(x) dx + \int g(x) dx\)
Linearity of integration
Key definitions:

Partial fraction decomposition: Breaking down a complex rational function into a sum of simpler fractions.

Linear partial fraction: A fraction where the denominator is a linear factor (degree 1) and the numerator is a constant.

Rational function: A ratio of two polynomials.

Complete methodology:
  1. Analyze the rational function: Check if the degree of numerator is less than the degree of denominator.
  2. Factor the denominator: Express as a product of linear factors.
  3. Set up partial fractions: Write the original fraction as a sum of partial fractions.
  4. Solve for constants: Use substitution or comparison of coefficients.
  5. Integrate each term: Apply the linear partial fraction integration rule.
Tip 1: If the degree of the numerator ≥ degree of denominator, perform polynomial division first.
Tip 2: Use the Heaviside cover-up method: substitute values that make one denominator zero to find constants quickly.
Tip 3: Always include absolute value signs in logarithmic integrals: \(\ln|x+a|\).
Tip 4: Check your work by differentiating the result to get back to the original integrand.
Common errors: Forgetting absolute values in logarithms, incorrect constant solving, missing the domain restrictions.
Exam preparation: Practice decomposition setup, master Heaviside method, memorize basic integration rules.
Formulas to know by heart:

• Basic partial fraction: \(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)

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

• Sum rule: \(\int [f(x) + g(x)] dx = \int f(x) dx + \int g(x) dx\)

• Constant multiple: \(\int c \cdot f(x) dx = c \int f(x) dx\)

• Heaviside method: Substitute convenient values to solve for constants.

Solution: Exercises 4 to 5
4 Higher degree numerator
Exercise 4
Integrate:
\(\int \frac{x^2+3x+1}{(x+1)(x-2)} dx\)
Definition:

Improper rational function: When the degree of the numerator is greater than or equal to the degree of the denominator, polynomial long division is needed first.

Original integral
\(\int \frac{x^2+3x+1}{(x+1)(x-2)} dx\)
Polynomial division
\(1 + \frac{4x+3}{(x+1)(x-2)}\)
Partial fractions
\(1 + \frac{A}{x+1} + \frac{B}{x-2}\)
Step 1: Perform polynomial long division

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

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

(where \((x+1)(x-2) = x^2-x-2\))

Step 2: Set up partial fraction decomposition

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

Multiply both sides by \((x+1)(x-2)\):

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

Step 3: Solve for constants A and B

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

\(-1 = A(-3) \Rightarrow A = \frac{1}{3}\)

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

\(11 = B(3) \Rightarrow B = \frac{11}{3}\)

Step 4: Rewrite and integrate

\(\int \frac{x^2+3x+1}{(x+1)(x-2)} dx = \int \left(1 + \frac{1/3}{x+1} + \frac{11/3}{x-2}\right) dx\)

\(= \int 1 dx + \int \frac{1/3}{x+1} dx + \int \frac{11/3}{x-2} dx\)

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

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

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

Applied rules:

• Polynomial long division: For improper rational functions

• Partial fraction decomposition: For the proper rational part

• Integration rules: For each resulting term

Tip: Always check if the rational function is proper before attempting partial fractions.
Domain: The function is undefined at \(x = -1\) and \(x = 2\), so exclude these points.
5 Repeated linear factors
Exercise 5
Integrate:
\(\int \frac{2x+1}{(x+3)^2} dx\)
Definition:

Repeated linear factor: When a linear factor appears with multiplicity greater than 1, the partial fraction decomposition includes terms for each power.

Original integral
\(\int \frac{2x+1}{(x+3)^2} dx\)
Decomposition
\(\int \left(\frac{A}{x+3} + \frac{B}{(x+3)^2}\right) dx\)
Integration
\(2\ln|x+3| - \frac{5}{x+3} + C\)
Step 1: Set up partial fraction decomposition

For repeated linear factors \((x+a)^n\), we need terms:

\(\frac{A_1}{x+a} + \frac{A_2}{(x+a)^2} + \cdots + \frac{A_n}{(x+a)^n}\)

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

Step 2: Solve for constants A and B

Multiply both sides by \((x+3)^2\):

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

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

\(-5 = B\)

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

Step 3: Rewrite the integral

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

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

Step 4: Integrate each term

\(\int \frac{2}{x+3} dx = 2\ln|x+3|\)

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

Step 5: Combine results

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

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

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

Applied rules:

• Repeated factor rule: For \((x+a)^n\), use \(\frac{A_1}{x+a} + \frac{A_2}{(x+a)^2} + \cdots + \frac{A_n}{(x+a)^n}\)

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

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

Tip: For repeated factors \((x+a)^n\), include terms for each power from 1 to n.
Domain: The function is undefined at \(x = -3\), so exclude this point.
Comprehensive Guide: Linear Partial Fractions
\(\int \frac{A}{x+a} dx = A \ln|x+a| + C\)
Linear Partial Fraction Integration
Key definitions:

Partial fraction decomposition: The process of expressing a rational function as a sum of simpler fractions.

Linear partial fraction: A fraction of the form \(\frac{A}{x+a}\) where \(A\) is a constant and \(x+a\) is a linear factor.

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.

Complete methodology:
  1. Check if rational function is proper: If not, perform polynomial long division first.
  2. Factor the denominator completely: Express as a product of linear factors.
  3. Set up the partial fraction decomposition: Based on the types of factors in the denominator.
  4. Solve for unknown constants: Using substitution or coefficient comparison.
  5. Integrate each partial fraction: Apply the appropriate integration rules.
Tip 1: Always check if the rational function is proper before attempting partial fractions.
Tip 2: Use the Heaviside cover-up method to quickly find constants when possible.
Tip 3: Remember to include absolute value signs in logarithmic integrals.
Tip 4: For repeated factors, include terms for each power of the factor.
Tip 5: Verify your result by differentiating the final answer.
Common errors: Forgetting absolute values in logarithms, incorrect handling of repeated factors, missing polynomial division for improper functions.
Exam preparation: Master decomposition patterns, practice Heaviside method, memorize integration formulas.
Formulas to know by heart:

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

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

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

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

• Linearity: \(\int [f(x) + g(x)] dx = \int f(x) dx + \int g(x) dx\)

Advanced Techniques: Complex Partial Fractions
Advanced Example: Complex Rational Functions
Consider the following complex partial fraction decompositions:
\(f_1(x) = \frac{x^3+2x^2-x+1}{(x-1)^2(x+2)}\)
\(f_2(x) = \frac{3x+4}{(x^2+1)(x-3)}\)
\(f_3(x) = \frac{x^2+x+1}{x(x-1)^3}\)

Analysis: These examples demonstrate advanced partial fraction techniques:

  • \(f_1(x)\): Contains a repeated linear factor \((x-1)^2\), requiring terms \(\frac{A}{x-1} + \frac{B}{(x-1)^2}\)
  • \(f_2(x)\): Contains an irreducible quadratic factor \((x^2+1)\), requiring term \(\frac{Ax+B}{x^2+1}\)
  • \(f_3(x)\): Contains a repeated linear factor \((x-1)^3\), requiring terms \(\frac{A}{x} + \frac{B}{x-1} + \frac{C}{(x-1)^2} + \frac{D}{(x-1)^3}\)

Questions & Answers

Question: I'm confused about when to use polynomial long division versus when I can directly apply partial fractions. How do I know which approach to take?

Answer: The decision depends on the degrees of the numerator and denominator:

  • Proper rational function: If degree of numerator < degree of denominator, proceed directly to partial fractions.
  • Improper rational function: If degree of numerator ≥ degree of denominator, you MUST perform polynomial long division first.

For example, with \(\frac{x^2+3x+1}{x^2-x-2}\), both numerator and denominator have degree 2, so it's improper. You must divide first: \(\frac{x^2+3x+1}{x^2-x-2} = 1 + \frac{4x+3}{x^2-x-2}\).

After polynomial division, the remainder term will always be a proper rational function that you can then decompose using partial fractions.

Key insight: Partial fractions only work for proper rational functions!

Question: Why do we need to include absolute value signs in logarithmic integrals? When can I omit them?

Answer: The natural logarithm \(\ln(x)\) is only defined for positive values of \(x\), so we write \(\ln|x|\) to ensure the argument is positive regardless of the sign of \(x\).

  • Always include absolute values when integrating \(\frac{1}{x}\) or \(\frac{1}{x+a}\): \(\int \frac{1}{x} dx = \ln|x| + C\)
  • You can sometimes omit absolute values if you're working in a specific domain where the expression inside is known to be positive.
  • For example, if you know \(x > 0\), then \(\int \frac{1}{x} dx = \ln(x) + C\), but it's safer to keep the absolute value.

In the context of partial fractions, since we're often dealing with variables that could take various values, keeping absolute values ensures mathematical correctness across the entire domain.

Note: For definite integrals, you may need to consider the sign of the expression over the interval of integration.

Question: How do I handle partial fractions when the denominator has repeated linear factors like \((x+a)^n\)?

Answer: For repeated linear factors \((x+a)^n\), you need to include a separate partial fraction for each power from 1 to \(n\):

If the denominator contains \((x+a)^n\), your partial fraction decomposition should include:

\(\frac{A_1}{x+a} + \frac{A_2}{(x+a)^2} + \frac{A_3}{(x+a)^3} + \cdots + \frac{A_n}{(x+a)^n}\)

For example, with \(\frac{2x+1}{(x+3)^2}\), you would set up:

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

Then solve for \(A\) and \(B\) using the standard methods (substitution or coefficient comparison).

The key insight is that repeated factors require multiple terms to capture all possible contributions to the original rational function.

Each term integrates differently: \(\int \frac{A}{x+a} dx = A\ln|x+a| + C\) and \(\int \frac{B}{(x+a)^n} dx = B \cdot \frac{(x+a)^{-n+1}}{-n+1} + C\) for \(n > 1\).

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

Answer: There are several verification methods for partial fraction decomposition:

  1. Common denominator method: Add your partial fractions and verify you get back the original expression.
  2. Numerical substitution: Pick a few values for \(x\) (avoiding zeros of the denominator) and check that both sides give the same result.
  3. Coefficient comparison: Expand the right side and compare coefficients with the left side.

For example, if you decomposed \(\frac{x+7}{(x+2)(x-3)} = \frac{-1}{x+2} + \frac{2}{x-3}\), you could verify:

Adding the right side: \(\frac{-1}{x+2} + \frac{2}{x-3} = \frac{-1(x-3) + 2(x+2)}{(x+2)(x-3)} = \frac{-x+3+2x+4}{(x+2)(x-3)} = \frac{x+7}{(x+2)(x-3)}\) ✓

This verification step is crucial and helps catch algebraic errors before proceeding to integration.

Question: What happens when the denominator has irreducible quadratic factors? How does the partial fraction decomposition change?

Answer: For irreducible quadratic factors of the form \(ax^2+bx+c\), the corresponding partial fraction has a linear numerator:

Instead of \(\frac{A}{x+a}\), you use \(\frac{Ax+B}{ax^2+bx+c}\) for each irreducible quadratic factor.

For example, with \(\frac{3x+4}{(x^2+1)(x-3)}\), the decomposition would be:

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

The integration of \(\frac{Ax+B}{x^2+1}\) typically involves both logarithmic and arctangent functions:

\(\int \frac{Ax+B}{x^2+1} dx = \frac{A}{2}\ln(x^2+1) + B\arctan(x) + C\)

For repeated irreducible quadratics \((ax^2+bx+c)^n\), you need terms: \(\frac{A_1x+B_1}{ax^2+bx+c} + \frac{A_2x+B_2}{(ax^2+bx+c)^2} + \cdots\)

This is more complex than linear partial fractions and requires different integration techniques for the quadratic denominators.