Partial Fraction Decomposition Calculator

Partial Fraction Decomposition Form Generator

Enter your numerator polynomial and the factored form of your denominator polynomial. This tool will help you determine the correct setup for partial fraction decomposition.

Examples: (x-a)(x-b), (x-a)^n, (x^2+bx+c)
The partial fraction decomposition form will appear here.

A) What is Partial Fraction Decomposition?

Partial fraction decomposition is a fundamental algebraic technique used to rewrite a complex rational expression (a fraction where the numerator and denominator are polynomials) as a sum of simpler fractions. This process is particularly useful in calculus, especially when integrating rational functions, as integrating simpler fractions is often much easier than integrating the original complex expression.

Imagine you have a fraction like (3x + 5) / (x^2 + 3x + 2). Partial fraction decomposition allows you to break this down into a sum of fractions like A/(x+1) + B/(x+2), where A and B are constants. The goal is to find the values of these constants. This technique is a reverse process of combining fractions with different denominators into a single fraction.

B) Formula and Explanation

The general principle of partial fraction decomposition relies on factoring the denominator of the rational function. Once the denominator D(x) is factored into its prime polynomial factors, each factor dictates the form of the corresponding partial fraction(s). It's crucial that the degree of the numerator N(x) is less than the degree of the denominator D(x) (a proper fraction). If not, polynomial long division must be performed first.

Types of Denominator Factors and Their Decomposition Forms:

1. Distinct Linear Factors: (ax + b)

If the denominator contains distinct linear factors, such as (x - r1)(x - r2)...(x - rk), then for each factor (x - ri), there will be a partial fraction of the form:

A / (ax + b)

For example, if D(x) = (x-1)(x+2), the decomposition form is A/(x-1) + B/(x+2).

2. Repeated Linear Factors: (ax + b)^n

If the denominator contains a repeated linear factor, such as (ax + b)^n, then for this factor, there will be n partial fractions of the form:

A1 / (ax + b) + A2 / (ax + b)^2 + ... + An / (ax + b)^n

For example, if D(x) = (x-1)^3, the decomposition form is A/(x-1) + B/(x-1)^2 + C/(x-1)^3.

3. Irreducible Quadratic Factors: (ax^2 + bx + c)

If the denominator contains an irreducible quadratic factor (one that cannot be factored into linear factors with real coefficients, i.e., its discriminant b^2 - 4ac < 0), such as ax^2 + bx + c, then for each such factor, there will be a partial fraction of the form:

(Ax + B) / (ax^2 + bx + c)

For example, if D(x) = (x^2+1)(x-2), the decomposition form is (Ax+B)/(x^2+1) + C/(x-2).

4. Repeated Irreducible Quadratic Factors: (ax^2 + bx + c)^n

Similar to repeated linear factors, if the denominator contains a repeated irreducible quadratic factor, such as (ax^2 + bx + c)^n, then there will be n partial fractions of the form:

(A1x + B1) / (ax^2 + bx + c) + (A2x + B2) / (ax^2 + bx + c)^2 + ... + (Anx + Bn) / (ax^2 + bx + c)^n

The overall decomposition is the sum of all these partial fractions for all distinct and repeated factors in the denominator.

Summary Table of Partial Fraction Forms

Denominator Factor Type Partial Fraction Form(s) Example
Distinct Linear: (ax + b) A / (ax + b) A/(x-1) + B/(x+2) for D(x)=(x-1)(x+2)
Repeated Linear: (ax + b)^n A1/(ax+b) + ... + An/(ax+b)^n A/(x-1) + B/(x-1)^2 for D(x)=(x-1)^2
Irreducible Quadratic: (ax^2 + bx + c) (Ax + B) / (ax^2 + bx + c) (Ax+B)/(x^2+1) for D(x)=(x^2+1)
Repeated Irreducible Quadratic: (ax^2 + bx + c)^n (A1x+B1)/(...) + ... + (Anx+Bn)/(...)^n (Ax+B)/(x^2+1) + (Cx+D)/(x^2+1)^2 for D(x)=(x^2+1)^2

C) Practical Examples

Example 1: Distinct Linear Factors

Decompose the rational function: (3x + 5) / (x^2 + 3x + 2)

  1. Factor the denominator: x^2 + 3x + 2 = (x+1)(x+2).
  2. Set up the partial fraction form: Since we have distinct linear factors, the form is A/(x+1) + B/(x+2).
  3. Combine the partial fractions:
    (3x + 5) / ((x+1)(x+2)) = A/(x+1) + B/(x+2)
    (3x + 5) = A(x+2) + B(x+1)
  4. Solve for A and B:
    • Let x = -1:
      3(-1) + 5 = A(-1+2) + B(-1+1)
      2 = A(1) + B(0)
      A = 2
    • Let x = -2:
      3(-2) + 5 = A(-2+2) + B(-2+1)
      -1 = A(0) + B(-1)
      -1 = -B
      B = 1
  5. Write the decomposition:
    (3x + 5) / (x^2 + 3x + 2) = 2/(x+1) + 1/(x+2)

Example 2: Repeated Linear Factor

Decompose the rational function: (x^2 + 2x + 1) / (x(x-1)^2)

  1. Denominator is already factored: x(x-1)^2. We have a distinct linear factor x and a repeated linear factor (x-1)^2.
  2. Set up the partial fraction form:
    (x^2 + 2x + 1) / (x(x-1)^2) = A/x + B/(x-1) + C/(x-1)^2
  3. Combine the partial fractions:
    x^2 + 2x + 1 = A(x-1)^2 + Bx(x-1) + Cx
  4. Solve for A, B, and C:
    • Let x = 0 (from factor x):
      0^2 + 2(0) + 1 = A(0-1)^2 + B(0)(0-1) + C(0)
      1 = A(1)
      A = 1
    • Let x = 1 (from factor x-1):
      1^2 + 2(1) + 1 = A(1-1)^2 + B(1)(1-1) + C(1)
      4 = A(0) + B(0) + C
      C = 4
    • To find B, choose another convenient value for x, e.g., x = 2, and use the known values of A and C:
      2^2 + 2(2) + 1 = A(2-1)^2 + B(2)(2-1) + C(2)
      4 + 4 + 1 = A(1)^2 + B(2)(1) + C(2)
      9 = 1(1) + 2B + 4(2)  (Substitute A=1, C=4)
      9 = 1 + 2B + 8
      9 = 9 + 2B
      0 = 2B
      B = 0
  5. Write the decomposition:
    (x^2 + 2x + 1) / (x(x-1)^2) = 1/x + 0/(x-1) + 4/(x-1)^2
    = 1/x + 4/(x-1)^2

D) How to Use the Partial Fraction Decomposition Calculator Step-by-Step

Our calculator helps you quickly determine the correct form for partial fraction decomposition, saving you time and reducing errors in your setup. Follow these simple steps:

  1. Step 1: Identify Numerator and Denominator.

    First, make sure your rational expression is in the form N(x) / D(x). For example, (2x + 3) / (x^3 - x).

  2. Step 2: Enter the Numerator Polynomial.

    In the "Numerator N(x)" field, type your numerator polynomial. Use standard algebraic notation (e.g., 3x^2 + 2x - 1). The calculator uses this to determine the degree of the numerator.

  3. Step 3: Factor the Denominator.

    This is the most critical step. Our calculator requires the denominator to be provided in its factored form. If your denominator is not factored (e.g., x^3 - x), you must factor it manually first (e.g., x(x-1)(x+1)). See the examples in the "Formula and Explanation" section for guidance on common factor types.

  4. Step 4: Enter the Factored Denominator.

    In the "Denominator D(x) (Factored Form)" field, enter the completely factored denominator.

    • For distinct linear factors: (x-1)(x+2)
    • For repeated linear factors: (x-1)^2(x+3)
    • For irreducible quadratic factors: (x^2+1)(x-2)
    • For repeated irreducible quadratic factors: (x^2+1)^2(x+4)

  5. Step 5: Click "Determine Decomposition Form".

    The calculator will analyze your input and display the correct partial fraction setup in the result area. If the fraction is improper (numerator degree ≥ denominator degree), it will instruct you to perform polynomial long division first.

  6. Step 6: Copy Results (Optional).

    Use the "Copy Result" button to easily transfer the generated form to your notes or another application.

E) Key Factors in Partial Fraction Decomposition

Understanding these key factors is essential for successfully applying partial fraction decomposition:

  • Proper Fraction Requirement: The degree of the numerator polynomial N(x) must be strictly less than the degree of the denominator polynomial D(x). If deg(N(x)) ≥ deg(D(x)), you must first perform polynomial long division to obtain a proper fraction plus a polynomial. The partial fraction decomposition is then applied only to the proper fraction part.
  • Complete Factorization of Denominator: The denominator D(x) must be completely factored into linear factors (ax + b) and/or irreducible quadratic factors (ax^2 + bx + c) over the real numbers. This is often the most challenging step.
  • Distinct vs. Repeated Factors: The form of the partial fractions depends heavily on whether the factors are distinct or repeated. Repeated factors require a sum of fractions for each power up to the repetition count (e.g., A/(x-r) + B/(x-r)^2 for (x-r)^2).
  • Irreducible Quadratic Factors: These factors (where b^2 - 4ac < 0) correspond to numerators of the form Ax + B, not just a constant.
  • Solving for Coefficients: Once the form is set up, the next step (which our calculator does not perform) is to solve for the unknown constants (A, B, C, etc.). This is typically done by combining the partial fractions, equating coefficients of like powers of x, or by strategically substituting values of x that make certain terms zero.

F) Frequently Asked Questions about Partial Fraction Decomposition

Q1: What is the primary purpose of partial fraction decomposition?

A: Its primary purpose is to simplify complex rational expressions into a sum of simpler fractions, making them easier to integrate in calculus or manipulate in other algebraic contexts.

Q2: When do I need to perform polynomial long division before decomposition?

A: You need to perform polynomial long division if the degree of the numerator polynomial is greater than or equal to the degree of the denominator polynomial. This ensures you are working with a proper fraction.

Q3: How do I know if a quadratic factor is irreducible?

A: A quadratic factor ax^2 + bx + c is irreducible over real numbers if its discriminant (b^2 - 4ac) is less than zero. If it's zero or positive, it can be factored into linear factors.

Q4: Can partial fraction decomposition be used for any rational function?

A: Yes, as long as the denominator can be factored into linear and/or irreducible quadratic factors over the real numbers, partial fraction decomposition can be applied.

Q5: Why are there multiple terms for repeated factors?

A: When a factor (ax+b) is repeated n times (i.e., (ax+b)^n), it's necessary to include a partial fraction for each power from 1 up to n. This ensures that all possible combinations of terms that could result in the original denominator are accounted for when the fractions are recombined.

Q6: What is the 'Heaviside Cover-Up Method' and when is it used?

A: The Heaviside Cover-Up Method (or Heaviside's method) is a quick technique for finding the coefficients of partial fractions corresponding to *distinct linear factors*. It involves setting x to the root of a factor, effectively "covering up" that factor in the original expression, and solving for the corresponding coefficient. It doesn't work directly for repeated or quadratic factors.

Q7: Is partial fraction decomposition always unique?

A: Yes, for a given proper rational function, its partial fraction decomposition is unique.

Q8: Does this calculator solve for the A, B, C coefficients?

A: No, this calculator is designed to help you determine the correct *form* or *setup* of the partial fraction decomposition. Solving for the specific coefficients (A, B, C, etc.) is the next step in the process, typically done manually or with a symbolic algebra system, using methods like equating coefficients or strategic substitution.

Explore other useful mathematical and calculus tools on our site:

Partial Fraction Decomposition Process Flow

This flowchart illustrates the general steps involved in performing partial fraction decomposition.

Start Input N(x) / D(x) deg(N) ≥ deg(D)? Perform Long Division Factor Denominator D(x) Determine Factors: Linear, Repeated, Quadratic Set Up Partial Fraction Form Solve for Coefficients (A, B, C...) End Yes No