Decomposition into Partial Fractions Calculator


Decomposition into Partial Fractions Calculator

An expert tool for breaking down complex rational expressions into simpler fractions.


Enter the numerator of your rational function. Use ‘*’ for multiplication and ‘^’ for powers.


Enter the denominator in a factored form for best results. E.g., (x-a)(x-b).


Decomposition Result

Visual representation of the original function and its decomposition.

What is a Decomposition into Partial Fractions Calculator?

A decomposition into partial fractions calculator is a specialized tool that reverses the process of adding fractions. It takes a complex rational expression (a fraction where the numerator and denominator are polynomials) and breaks it down into a sum of simpler fractions. This process, known as partial fraction decomposition, is a cornerstone technique in calculus, particularly for integration, as well as in other areas of engineering and science like solving differential equations and finding inverse Laplace transforms.

For example, while you might combine 2/(x+1) + 3/(x-2) to get (5x-1)/(x^2-x-2), a decomposition calculator does the opposite: it starts with (5x-1)/(x^2-x-2) and tells you it came from 2/(x+1) + 3/(x-2). This makes complex expressions much easier to work with. Our calculator automates the complex algebra required for this process.

Decomposition into Partial Fractions Formula and Explanation

There isn’t a single formula for partial fraction decomposition, but a set of rules depending on the factors of the denominator, Q(x). The first crucial step is to ensure the fraction is “proper,” meaning the degree of the numerator P(x) is less than the degree of the denominator Q(x). If not, you must first perform polynomial long division.

Once the fraction is proper, the form of the decomposition depends on the factors of Q(x):

  • Case 1: Distinct Linear Factors. If the denominator is a product of unique linear factors like (a₁x+b₁)(a₂x+b₂)..., the decomposition is A₁/(a₁x+b₁) + A₂/(a₂x+b₂) + ....
  • Case 2: Repeated Linear Factors. For a factor like (ax+b)ⁿ, you create n terms: A₁/(ax+b) + A₂/(ax+b)² + ... + Aₙ/(ax+b)ⁿ.
  • Case 3: Irreducible Quadratic Factors. For a quadratic factor that cannot be factored further, like (ax²+bx+c), its corresponding partial fraction is (Ax+B)/(ax²+bx+c).

After setting up the appropriate form, the calculator solves for the unknown constants (A, B, C, etc.). Our decomposition into partial fractions calculator handles these cases to provide the final decomposed form.

Variable Explanations
Variable Meaning Unit Typical Range
P(x) Numerator Polynomial Unitless Expression Any valid polynomial
Q(x) Denominator Polynomial Unitless Expression Any valid polynomial
A, B, C… Unknown Constants Numeric Real numbers
x Variable Unitless Real numbers

Practical Examples

Example 1: Distinct Linear Factors

Let’s decompose the rational function (3x + 5) / (x² - x - 6).

  1. Inputs:
    • Numerator P(x): 3*x + 5
    • Denominator Q(x): x^2 - x - 6, which factors to (x-3)(x+2)
  2. Setup: The form is A/(x-3) + B/(x+2).
  3. Results: Solving for A and B gives A = 2.8 and B = 0.2. The decomposition is 2.8/(x-3) + 0.2/(x+2).

Example 2: A Slightly More Complex Case

Consider the function (x) / (x² - 4).

  1. Inputs:
    • Numerator P(x): x
    • Denominator Q(x): x^2 - 4, which factors to (x-2)(x+2)
  2. Setup: The form is A/(x-2) + B/(x+2).
  3. Results: By solving, we find A = 0.5 and B = 0.5. So the decomposition is 0.5/(x-2) + 0.5/(x+2). You can verify this result with our Integral Calculator, as integrating the decomposed form is much simpler.

How to Use This Decomposition into Partial Fractions Calculator

Using this calculator is a straightforward process designed for accuracy and ease.

  1. Enter the Numerator: Type the numerator polynomial, P(x), into the first input field. Use standard mathematical notation. For instance, for 2x² - 5, you would type 2*x^2 - 5.
  2. Enter the Denominator: Type the denominator polynomial, Q(x), into the second field. For the most accurate results, provide the denominator in its factored form, such as (x-1)*(x+5). The calculator can handle some unfactored forms, but factored input is preferred.
  3. Calculate: Click the “Calculate” button. The tool will perform the partial fraction decomposition.
  4. Interpret Results: The calculator will display the final decomposed expression as the primary result. It will also show intermediate values, such as the calculated coefficients A, B, etc., to help you understand how the solution was derived.

Key Factors That Affect Partial Fraction Decomposition

  • Degree of Polynomials: The process requires the degree of the numerator to be less than the denominator. If it’s not, polynomial long division is the necessary first step.
  • Factors of the Denominator: The nature of the factors (linear, repeated, quadratic, repeated quadratic) completely dictates the form of the decomposition. Correctly factoring the denominator is the most critical part of the process.
  • Irreducible Quadratics: A denominator with quadratic factors that can’t be factored into linear terms (over real numbers), like x² + 1, leads to numerators of the form Ax + B.
  • Repeated Roots: A repeated factor, like (x-2)³, requires a separate partial fraction for each power from 1 up to the multiplicity (e.g., for (x-2), (x-2)², and (x-2)³).
  • Coefficient Values: The coefficients of the original numerator and denominator polynomials determine the values of the constants (A, B, C…) in the decomposed fractions. This often requires solving a system of linear equations.
  • Field of Numbers: Whether you are working with real numbers or complex numbers can change whether a quadratic is considered irreducible. For instance, x² + 1 is irreducible over real numbers but factors into (x-i)(x+i) over complex numbers. This calculator operates over the real numbers.

Frequently Asked Questions (FAQ)

1. What is the purpose of partial fraction decomposition?

Its main purpose is to simplify a complex rational function into a sum of simpler fractions, which are much easier to handle in calculus operations like integration and in solving differential equations.

2. What if the numerator’s degree is greater than or equal to the denominator’s?

This is called an improper fraction. You must first perform polynomial long division to get a polynomial plus a proper fraction. Then, you can apply partial fraction decomposition to the proper fraction remainder.

3. How do you handle a denominator with repeated factors?

If a factor (ax+b) is repeated n times, you must create n partial fractions for it: A₁/(ax+b) + A₂/(ax+b)² + ... + Aₙ/(ax+b)ⁿ.

4. What is an irreducible quadratic factor?

It is a quadratic polynomial (like x² + x + 1) that cannot be factored into linear factors with real coefficients. Its partial fraction will have a linear numerator, (Ax+B).

5. Does this decomposition into partial fractions calculator handle all cases?

This calculator is designed to handle common cases, including distinct linear factors and some repeated/quadratic factors. For extremely complex polynomials, specialized symbolic math software may be needed. The most reliable method is to provide the denominator in factored form.

6. Is factoring the denominator always the first step?

Yes, after ensuring the fraction is proper, completely factoring the denominator is the essential next step to determine the structure of the decomposition.

7. What is the “Heaviside Cover-Up Method”?

It’s a shortcut for finding coefficients for distinct linear factors. To find the coefficient for a factor (x-r), you cover up that factor in the original denominator and substitute x=r into what’s left. Our decomposition into partial fractions calculator uses efficient methods like this where applicable.

8. Can the coefficients A, B, etc., be zero?

Absolutely. If a coefficient is found to be zero, it simply means that the corresponding term is not part of the final decomposition.

© 2026 Your Website. All rights reserved. This decomposition into partial fractions calculator is for educational purposes.



Leave a Reply

Your email address will not be published. Required fields are marked *