1. Home
  2. Explore
  3. Mathematics
  4. Partial Fraction Decomposition

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Partial Fraction Decomposition

✖️ Integrating Rational Functions with Partial Fraction Decomposition

Integrating rational functions often requires a technique called partial fraction decomposition. This method allows us to break down a complex fraction into a sum of simpler fractions that are easier to integrate.

📝 Steps for Partial Fraction Decomposition

The general process involves several key steps:

  1. Factor the Denominator Completely: Ensure the denominator of the rational function is factored into its simplest linear and/or quadratic forms.

  2. Set Up the Partial Fraction Form: Based on the type of factors in the denominator, set up the appropriate partial fraction decomposition.

  3. Solve for the Unknown Constants: Determine the values of the constants in the numerators of the partial fractions.

  4. Integrate the Simpler Fractions: Integrate each of the resulting partial fractions.


🔢 Understanding Linear and Quadratic Factors

Before setting up partial fractions, it's crucial to distinguish between linear and quadratic factors:

  • Linear Factors: These are expressions where the highest power of x is 1.

    Examples: x, 3x, x + 4, 4x - 5

  • For a linear factor (ax + b) in the denominator, the corresponding partial fraction will have a constant numerator, e.g., A / (ax + b).

Quadratic Factors: These are expressions where the highest power of x is 2. They typically cannot be factored further into real linear factors.

  • Examples: x^2, x^2 + 4, x^2 + 3x, x^2 + 2x + 7

  • For a quadratic factor (ax^2 + bx + c) in the denominator, the corresponding partial fraction will have a linear numerator, e.g., (Ax + B) / (ax^2 + bx + c).


💡 Basic Concept of Partial Fraction Decomposition

Partial fraction decomposition is essentially the reverse process of adding fractions. If we have:
1/4 + 1/5

To add them, we find a common denominator:
(1/4) * (5/5) + (1/5) * (4/4) = 5/20 + 4/20 = 9/20

Partial fraction decomposition starts with 9/20 and breaks it back down into 1/4 + 1/5. This allows us to integrate a single complex fraction by integrating multiple simpler fractions.


🧮 Case 1: Distinct Linear Factors

When the denominator consists of distinct linear factors, the setup is straightforward.

Example 1: Integrate 1 / (x^2 - 4) dx

  1. Factor the Denominator:
    x^2 - 4 is a difference of squares: (x - 2)(x + 2)

  2. Set Up Partial Fractions:
    1 / ((x + 2)(x - 2)) = A / (x + 2) + B / (x - 2)

  3. Solve for A and B:
    Multiply both sides by (x + 2)(x - 2):
    1 = A(x - 2) + B(x + 2)

    To find B, set x = 2:
    1 = A(2 - 2) + B(2 + 2)
    1 = 0 + 4B
    **B = 1/4**

  4. To find A, set x = -2:
    1 = A(-2 - 2) + B(-2 + 2)
    1 = -4A + 0
    **A = -1/4**

  5. Rewrite and Integrate:
    The original integral becomes:
    ∫ (-1/4) / (x + 2) dx + ∫ (1/4) / (x - 2) dx

    Move constants outside the integral:
    (-1/4) ∫ 1 / (x + 2) dx + (1/4) ∫ 1 / (x - 2) dx

    Recall that ∫ 1/u du = ln|u| + C.
    = (-1/4) ln|x + 2| + (1/4) ln|x - 2| + C

  6. Simplify (Optional):
    Factor out 1/4 and use logarithm properties (ln a - ln b = ln(a/b)):
    = (1/4) [ln|x - 2| - ln|x + 2|] + C
    **= (1/4) ln|(x - 2) / (x + 2)| + C**


➕ Integration of Rational Functions with ln

The antiderivative of 1/x is ln|x|. For more general linear denominators:

  • ∫ 1/(x + a) dx = ln|x + a| + C

  • ∫ k/(x + a) dx = k ln|x + a| + C

  • ∫ 1/(ax + b) dx = (1/a) ln|ax + b| + C (due to u-substitution where u = ax + b, du = a dx)

  • ∫ k/(ax + b) dx = (k/a) ln|ax + b| + C


🧪 Case 2: Distinct Linear Factors (Another Example)

Example 2: Integrate (x - 4) / (x^2 + 2x - 15) dx

  1. Factor the Denominator:
    Find two numbers that multiply to -15 and add to 2: +5 and -3.
    x^2 + 2x - 15 = (x + 5)(x - 3)

  2. Set Up Partial Fractions:
    (x - 4) / ((x + 5)(x - 3)) = A / (x + 5) + B / (x - 3)

  3. Solve for A and B:
    Multiply both sides by (x + 5)(x - 3):
    x - 4 = A(x - 3) + B(x + 5)

    To find B, set x = 3:
    3 - 4 = A(3 - 3) + B(3 + 5)
    -1 = 0 + 8B
    **B = -1/8**

  4. To find A, set x = -5:
    -5 - 4 = A(-5 - 3) + B(-5 + 5)
    -9 = -8A + 0
    **A = 9/8**

  5. Rewrite and Integrate:
    The original integral becomes:
    ∫ (9/8) / (x + 5) dx + ∫ (-1/8) / (x - 3) dx

    = (9/8) ∫ 1 / (x + 5) dx - (1/8) ∫ 1 / (x - 3) dx
    **= (9/8) ln|x + 5| - (1/8) ln|x - 3| + C**

    Optional simplification using log properties:
    = (1/8) [9 ln|x + 5| - ln|x - 3|] + C
    = (1/8) [ln|(x + 5)^9| - ln|x - 3|] + C
    **= (1/8) ln |(x + 5)^9 / (x - 3)| + C**


🔁 Case 3: Repeated Linear Factors

When the denominator contains a repeated linear factor, the setup requires a separate fraction for each power of the repeated factor, up to its highest power.

Example 3: Integrate x / ((x - 1)(x - 2)^2) dx

  1. Denominator is Already Factored:
    x - 1 (linear factor)
    (x - 2)^2 (repeated linear factor)

  2. Set Up Partial Fractions:
    For (x - 2)^2, we need terms for (x - 2) and (x - 2)^2.
    x / ((x - 1)(x - 2)^2) = A / (x - 1) + B / (x - 2) + C / (x - 2)^2

    General rule for :
    A_1 / (ax + b) + A_2 / (ax + b)^2 + ... + A_n / (ax + b)^n

  3. Solve for A, B, and C:
    Multiply both sides by (x - 1)(x - 2)^2:
    x = A(x - 2)^2 + B(x - 1)(x - 2) + C(x - 1)

    To find C, set x = 2:
    2 = A(2 - 2)^2 + B(2 - 1)(2 - 2) + C(2 - 1)
    2 = 0 + 0 + C(1)
    **C = 2**

  4. To find A, set x = 1:
    1 = A(1 - 2)^2 + B(1 - 1)(1 - 2) + C(1 - 1)
    1 = A(-1)^2 + 0 + 0
    1 = A(1)
    **A = 1**

  5. To find B, set x = 0 (or any other convenient number):
    0 = A(0 - 2)^2 + B(0 - 1)(0 - 2) + C(0 - 1)
    0 = A(4) + B(-1)(-2) + C(-1)
    0 = 4A + 2B - C
    Substitute A = 1 and C = 2:
    0 = 4(1) + 2B - 2
    0 = 4 + 2B - 2
    0 = 2 + 2B
    -2 = 2B
    **B = -1**

  6. Rewrite and Integrate:
    The original integral becomes:
    ∫ 1 / (x - 1) dx + ∫ (-1) / (x - 2) dx + ∫ 2 / (x - 2)^2 dx

    ∫ 1 / (x - 1) dx = ln|x - 1|

  7. ∫ (-1) / (x - 2) dx = -ln|x - 2|

  8. For ∫ 2 / (x - 2)^2 dx:
    Let u = x - 2, du = dx.
    ∫ 2 / u^2 du = 2 ∫ u^-2 du
    = 2 * (u^-1 / -1) = -2/u
    Substitute back u = x - 2: **-2 / (x - 2)**


📐 Case 4: Quadratic Factors

When the denominator contains irreducible quadratic factors, the numerator for that partial fraction will be a linear expression (Cx + D).

Example 4: Integrate (x^2 + 9) / ((x^2 - 1)(x^2 + 4)) dx

  1. Factor the Denominator:
    x^2 - 1 is a difference of squares: (x - 1)(x + 1)
    x^2 + 4 is an irreducible quadratic factor.

    So the denominator is (x + 1)(x - 1)(x^2 + 4).

  2. Set Up Partial Fractions:
    (x^2 + 9) / ((x + 1)(x - 1)(x^2 + 4)) = A / (x + 1) + B / (x - 1) + (Cx + D) / (x^2 + 4)

  3. Solve for A, B, C, and D:
    Multiply both sides by (x + 1)(x - 1)(x^2 + 4):
    x^2 + 9 = A(x - 1)(x^2 + 4) + B(x + 1)(x^2 + 4) + (Cx + D)(x + 1)(x - 1)

    To find B, set x = 1:
    1^2 + 9 = A(0) + B(1 + 1)(1^2 + 4) + (C(1) + D)(0)
    10 = B(2)(5)
    10 = 10B
    **B = 1**

  4. To find A, set x = -1:
    (-1)^2 + 9 = A(-1 - 1)((-1)^2 + 4) + B(0) + (C(-1) + D)(0)
    10 = A(-2)(1 + 4)
    10 = A(-2)(5)
    10 = -10A
    **A = -1**

  5. To find D, set x = 0 (makes Cx disappear):
    0^2 + 9 = A(0 - 1)(0^2 + 4) + B(0 + 1)(0^2 + 4) + (C(0) + D)(0 + 1)(0 - 1)
    9 = A(-1)(4) + B(1)(4) + D(1)(-1)
    9 = -4A + 4B - D
    Substitute A = -1 and B = 1:
    9 = -4(-1) + 4(1) - D
    9 = 4 + 4 - D
    9 = 8 - D
    1 = -D
    **D = -1**

  6. To find C, set x = 2 (or any other convenient number):
    2^2 + 9 = A(2 - 1)(2^2 + 4) + B(2 + 1)(2^2 + 4) + (C(2) + D)(2 + 1)(2 - 1)
    13 = A(1)(8) + B(3)(8) + (2C + D)(3)(1)
    13 = 8A + 24B + 3(2C + D)
    Substitute A = -1, B = 1, D = -1:
    13 = 8(-1) + 24(1) + 3(2C - 1)
    13 = -8 + 24 + 6C - 3
    13 = 16 + 6C - 3
    13 = 13 + 6C
    0 = 6C
    **C = 0**

  7. Rewrite and Integrate:
    The original integral becomes:
    ∫ (-1) / (x + 1) dx + ∫ 1 / (x - 1) dx + ∫ (0x - 1) / (x^2 + 4) dx
    = ∫ -1 / (x + 1) dx + ∫ 1 / (x - 1) dx + ∫ -1 / (x^2 + 4) dx

    ∫ -1 / (x + 1) dx = -ln|x + 1|

  8. ∫ 1 / (x - 1) dx = ln|x - 1|

  9. For ∫ -1 / (x^2 + 4) dx:
    This is a common integral form ∫ 1 / (x^2 + a^2) dx = (1/a) arctan(x/a) + C.
    Here, a^2 = 4, so a = 2.
    ∫ -1 / (x^2 + 2^2) dx = -(1/2) arctan(x/2)

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent