Partial Fractions Decomposition Calculator


Professional Date Tools

Partial Fractions Decomposition Calculator

A powerful tool to break down complex rational expressions. This partial fractions decomposition calculator is designed for expressions where the denominator is a quadratic polynomial with distinct real roots.

Enter the Rational Function: (Ax + B) / (x² + Cx + D)


The coefficient of ‘x’ in the numerator.


The constant term in the numerator.


The coefficient of ‘x’ in the denominator.


The constant term in the denominator.


Decomposition Result

Enter valid coefficients to see the result.

Intermediate Values

Denominator Root (r1): N/A

Denominator Root (r2): N/A

Decomposition Constant (P): N/A

Decomposition Constant (Q): N/A

Formula Used: For a function (Ax + B) / ((x – r1)(x – r2)), the decomposition is P/(x – r1) + Q/(x – r2), where P = (A*r1 + B) / (r1 – r2) and Q = (A*r2 + B) / (r2 – r1).

Graphical Verification

This chart compares the original function (blue) with the calculated partial fraction decomposition (green, dashed). If the calculation is correct, the lines will overlap perfectly.

Numerical Comparison Table


x Original Function f(x) Decomposition g(x) Difference

This table shows the values of the original function and the decomposed function at various points of ‘x’. The difference should be close to zero, confirming the accuracy of the partial fractions decomposition calculator.

What is a Partial Fractions Decomposition Calculator?

A partial fractions decomposition calculator is a specialized mathematical tool designed to break down a complex rational expression (a fraction of two polynomials) into a sum of simpler fractions. This process, known as partial fraction expansion, is fundamental in fields like calculus and engineering. For instance, integrating a complicated rational function becomes significantly easier once it’s decomposed into its constituent parts. This calculator is essential for students learning calculus, engineers solving differential equations, and anyone who needs to manipulate complex algebraic expressions. Common misconceptions include thinking it works for any fraction; however, it’s specifically for rational functions where the numerator’s degree is less than the denominator’s.

Partial Fractions Decomposition Formula and Mathematical Explanation

The core principle of a partial fractions decomposition calculator involves factoring the denominator of the rational function and expressing the original function as a sum of new fractions with those factors as denominators. This specific calculator handles the case of a quadratic denominator with two distinct linear factors.

Given a rational function:

f(x) = (Ax + B) / (x² + Cx + D)

The step-by-step derivation is as follows:

  1. Factor the Denominator: First, find the roots (r1, r2) of the quadratic equation x² + Cx + D = 0. The factored denominator becomes (x – r1)(x – r2).
  2. Set up the Decomposition: The expression can now be written as: (Ax + B) / ((x – r1)(x – r2)) = P / (x – r1) + Q / (x – r2), where P and Q are the constants we need to find.
  3. Solve for the Constants (Residue Method):
    • To find P, multiply the entire equation by (x – r1) and substitute x = r1. This gives: P = (A*r1 + B) / (r1 – r2).
    • To find Q, multiply the entire equation by (x – r2) and substitute x = r2. This gives: Q = (A*r2 + B) / (r2 – r1).

This procedure is a key function of any effective partial fractions decomposition calculator.

Variable Meaning Unit Typical Range
A, B Coefficients of the numerator polynomial Dimensionless Real numbers
C, D Coefficients of the denominator polynomial Dimensionless Real numbers
r1, r2 Roots of the denominator polynomial Dimensionless Real numbers (must be distinct for this method)
P, Q Constants of the resulting partial fractions Dimensionless Real numbers

Practical Examples (Real-World Use Cases)

Understanding how a partial fractions decomposition calculator works is best done with examples.

Example 1: A Standard Decomposition

  • Function: (2x – 1) / (x² – x – 6)
  • Inputs for Calculator: A=2, B=-1, C=-1, D=-6
  • Denominator Roots: The roots of x² – x – 6 = 0 are x=3 and x=-2. So, r1=3, r2=-2.
  • Calculation:
    • P = (2*3 – 1) / (3 – (-2)) = 5 / 5 = 1
    • Q = (2*(-2) – 1) / (-2 – 3) = -5 / -5 = 1
  • Result: 1/(x – 3) + 1/(x + 2). This is the output our partial fractions decomposition calculator provides.

Example 2: Control Systems Engineering

In control systems, the inverse Laplace transform is used to find the time-domain response of a system. Partial fractions are crucial here.

  • Transfer Function (in s-domain): F(s) = (s + 5) / (s² + 3s + 2)
  • Inputs for Calculator: A=1, B=5, C=3, D=2
  • Denominator Roots: The roots of s² + 3s + 2 = 0 are s=-1 and s=-2. So, r1=-1, r2=-2.
  • Calculation:
    • P = (1*(-1) + 5) / (-1 – (-2)) = 4 / 1 = 4
    • Q = (1*(-2) + 5) / (-2 – (-1)) = 3 / -1 = -3
  • Result: 4/(s + 1) – 3/(s + 2). Taking the inverse Laplace transform of these simpler terms is trivial compared to the original function.

How to Use This Partial Fractions Decomposition Calculator

Our partial fractions decomposition calculator is designed for simplicity and accuracy. Follow these steps:

  1. Enter Numerator Coefficients: Input the values for ‘A’ (the x-coefficient) and ‘B’ (the constant) from your numerator polynomial.
  2. Enter Denominator Coefficients: Input the values for ‘C’ (the x-coefficient) and ‘D’ (the constant) from your denominator polynomial x² + Cx + D.
  3. Read the Real-Time Results: The calculator automatically updates the “Decomposition Result” and “Intermediate Values” as you type. No need to press a calculate button.
  4. Analyze the Outputs:
    • The primary result shows the final decomposed expression.
    • The intermediate values show the calculated roots (r1, r2) and constants (P, Q), giving you insight into the calculation.
  5. Verify with Visuals: The chart and table below the calculator provide graphical and numerical proof that the decomposition is correct. The difference should always be zero. This is a key feature of a reliable partial fractions decomposition calculator.

Key Factors That Affect Partial Fractions Decomposition Results

  • Degree of Polynomials: The method requires the numerator’s degree to be less than the denominator’s. If not, polynomial long division must be performed first.
  • Nature of Denominator Roots: The structure of the decomposition changes based on the roots. This partial fractions decomposition calculator is for distinct real roots. Other cases (repeated roots, complex roots) require different formulas.
  • Irreducible Quadratic Factors: If the denominator contains a quadratic factor that cannot be factored into real linear roots (e.g., x² + 1), the corresponding partial fraction will have a linear numerator (Ax + B). For more information, see our guide to advanced calculus.
  • Coefficients of the Polynomials: The specific values of A, B, C, and D directly determine the final constants P and Q. A small change in an input coefficient can significantly alter the result.
  • Factoring Accuracy: The entire process hinges on correctly factoring the denominator. An error in finding the roots will lead to an incorrect decomposition. Our polynomial root finder calculator can help verify this step.
  • Higher Order Denominators: For denominators of degree 3 or higher, the decomposition will involve more terms. For instance, a cubic denominator with three distinct roots will decompose into three fractions.

Frequently Asked Questions (FAQ)

1. What is partial fraction decomposition used for?

It is primarily used in calculus to simplify the integration of rational functions. It’s also vital in solving differential equations via Laplace transforms, control systems engineering, and signal processing. Using a partial fractions decomposition calculator saves time in these complex applications.

2. What happens if the degree of the numerator is greater than or equal to the denominator?

In this case, you must first perform polynomial long division. This will result in a polynomial plus a new rational fraction where the rule (numerator degree < denominator degree) holds. You can then use a partial fractions decomposition calculator on the new, proper fraction.

3. Can this calculator handle repeated roots in the denominator?

No, this specific calculator is designed for the common case of distinct linear roots. A denominator with repeated roots, like (x-a)², requires a different decomposition form: A/(x-a) + B/(x-a)². Our integral calculator can handle more complex cases.

4. What if the denominator has complex roots?

If the denominator has an irreducible quadratic factor (e.g., x²+4), the roots are complex. The decomposition for that factor takes the form (Ax+B)/(x²+4). This is a more advanced case not covered by this specific partial fractions decomposition calculator.

5. How does the ‘residue method’ shown in the formula work?

It’s a shortcut to find the constants. By multiplying by a factor like (x-r1) and then setting x=r1, all other terms in the decomposition become zero, isolating the constant you want to solve for. It’s an efficient algebraic technique.

6. Why is it important to factor the denominator first?

The factors of the denominator determine the form of the partial fractions. Without knowing the factors (e.g., (x-r1), (x-r2), etc.), you cannot set up the equation to solve for the unknown constants in the numerators. Factoring is the foundational step. You might find our algebra basics guide helpful.

7. Is there a way to check my answer from the partial fractions decomposition calculator?

Yes. The simplest way is to add your resulting fractions back together. They should combine to give you the original rational expression. This calculator does this for you automatically in the chart and table, confirming the accuracy of the result.

8. Why can’t I just integrate the original function?

While some simple rational functions can be integrated directly, most cannot. There is no general product or quotient rule for integration. Decomposing the function into a sum of simpler fractions, which often have forms like 1/(x-a) or 1/(x²+a²), transforms the problem into one where basic integration rules can be applied.

© 2026 Professional Date Tools. All rights reserved.



Leave a Reply

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