Decompose into Partial Fractions Calculator


Decompose into Partial Fractions Calculator

An expert tool to break down complex rational functions into simpler, manageable partial fractions.

Enter the coefficients of the rational function (Ax + B) / (x² + Cx + D). This calculator handles denominators with two distinct real roots.


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.


Dynamic chart showing the original function vs. its partial fractions.

x Original Function Value Partial Fractions Sum
Comparison table of function values to verify the decomposition.

What is a Decompose into Partial Fractions Calculator?

A decompose into partial fractions calculator is a 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 decomposition, is a cornerstone technique in calculus and engineering. It simplifies complex expressions, making them far easier to work with, especially for integration and inverse Laplace transforms. This calculator is invaluable for students, engineers, and mathematicians who need to perform this decomposition quickly and accurately. The primary goal is to take something complex, like (2x – 1) / (x² – x – 6), and decompose it into a more manageable form, like 1/(x – 3) + 1/(x + 2).

Anyone studying calculus, differential equations, or control systems theory will find a decompose into partial fractions calculator essential. A common misconception is that any fraction can be decomposed this way. However, the technique applies specifically to proper rational functions, where the degree of the numerator polynomial is less than the degree of the denominator polynomial. If not, polynomial long division must be performed first. To learn more, consider our polynomial long division calculator.

Partial Fraction Decomposition Formula and Mathematical Explanation

The core principle of partial fraction decomposition is to reverse the process of adding fractions. The method depends on the nature of the factors in the denominator of the rational function. This calculator focuses on the case where the denominator is a quadratic polynomial x² + Cx + D that can be factored into two distinct linear factors, (x – r1)(x – r2).

Given a rational function:

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

The decomposition takes the form:

c1 / (x – r1) + c2 / (x – r2)

Step-by-Step Derivation:

  1. Factor the Denominator: First, find the roots (r1, r2) of the denominator x² + Cx + D = 0 using the quadratic formula: r = [-C ± sqrt(C² – 4D)] / 2. This step is crucial and determines the form of the partial fractions.
  2. Set up the Equation: Equate the original expression to the sum of the partial fractions with unknown constants c1 and c2.
  3. Solve for Constants: To find c1 and c2, you can use the Heaviside “cover-up” method, which is a shortcut for distinct linear factors.
    • c1 = (A*r1 + B) / (r1 – r2)
    • c2 = (A*r2 + B) / (r2 – r1)

This process transforms a single complex fraction into two simpler ones, which is the main purpose of using a decompose into partial fractions calculator.

Variables Table

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 Dimensionless Real numbers (for this calculator)
c1, c2 Constants of the resulting partial fractions Dimensionless Real numbers

Practical Examples

Example 1: Integration in Calculus

Imagine you need to integrate the function f(x) = (x + 5) / (x² + x – 2). Integrating this directly is difficult. Using a decompose into partial fractions calculator simplifies it.

  • Inputs: A=1, B=5, C=1, D=-2.
  • Calculation: The denominator factors to (x + 2)(x – 1). The roots are r1=1, r2=-2.
  • Outputs: The calculator finds c1=2 and c2=-1. The decomposition is 2/(x – 1) – 1/(x + 2).
  • Interpretation: The integral becomes ∫(2/(x-1) – 1/(x+2)) dx, which is easily solved as 2*ln|x-1| – ln|x+2| + C. For more on integrals, see our integral calculator.

Example 2: Inverse Laplace Transform in Engineering

In control systems, you might need to find the inverse Laplace transform of F(s) = (3s – 2) / (s² – s – 6). A decompose into partial fractions calculator is the perfect tool.

  • Inputs: A=3, B=-2, C=-1, D=-6.
  • Calculation: The denominator factors to (s – 3)(s + 2). The roots are r1=3, r2=-2.
  • Outputs: The calculator finds c1=1.4 and c2=1.6. The decomposition is 1.4/(s – 3) + 1.6/(s + 2).
  • Interpretation: The inverse Laplace transform can now be found term-by-term, resulting in f(t) = 1.4e^(3t) + 1.6e^(-2t). This is a standard problem that a Laplace transform calculator can handle.

How to Use This Decompose into Partial Fractions Calculator

  1. Enter Coefficients: Input the values for A and B from your numerator polynomial, and C and D from your denominator polynomial.
  2. View Real-Time Results: The calculator automatically updates the results as you type. No need to press a “calculate” button.
  3. Analyze the Output: The main result shows the final decomposed expression. The intermediate values show the calculated constants (c1, c2) and the roots (r1, r2) of the denominator.
  4. Consult the Chart and Table: The chart visually confirms that the sum of the partial fractions matches the original function. The table provides a numerical comparison for specific x-values.
  5. Make Decisions: Use the simplified fractions for your next steps, whether it’s integration, inverse transforms, or other analysis. This decompose into partial fractions calculator provides the clarity needed for complex problems.

Key Factors That Affect Partial Fraction Results

  • Degree of Polynomials: The decomposition method only works directly if the numerator’s degree is less than the denominator’s. If not, you must perform polynomial long division first.
  • Nature of Denominator Roots: This is the most critical factor. The decomposition structure changes based on whether the denominator’s roots are distinct real roots, repeated real roots, or complex conjugate roots. Our calculator is designed for distinct real roots, a common case. You can use a quadratic equation solver to analyze the roots beforehand.
  • Values of Coefficients (A, B, C, D): These values directly influence the roots of the denominator and the final constants (c1, c2) in the numerators of the partial fractions.
  • Repeated Factors: If the denominator has a repeated factor, like (x-r)², the decomposition form changes to A/(x-r) + B/(x-r)².
  • Irreducible Quadratic Factors: If the denominator contains a quadratic factor that cannot be factored into real linear roots (e.g., x² + 4), the corresponding partial fraction will have a linear numerator, like (Ax+B)/(x²+4).
  • Systems of Equations: For more complex decompositions, solving for the unknown constants requires setting up and solving a system of linear equations. A system of equations solver can be helpful here.

Frequently Asked Questions (FAQ)

1. What is partial fraction decomposition?
It is a method used in algebra to break down a single, complex rational expression into a sum of simpler fractions.

2. Why is a decompose into partial fractions calculator useful?
It automates a tedious and error-prone algebraic process, providing quick and accurate results essential for calculus and engineering problems.

3. What does “proper rational expression” mean?
A rational expression where the degree of the numerator polynomial is strictly less than the degree of the denominator polynomial. This is a prerequisite for decomposition.

4. What happens if the denominator has repeated roots?
If a factor (x-r) is repeated ‘k’ times, you need ‘k’ partial fractions for it: A₁/(x-r) + A₂/(x-r)² + … + A_k/(x-r)^k.

5. What if the denominator has complex roots?
If the denominator has an irreducible quadratic factor (ax²+bx+c), the corresponding partial fraction will have the form (Ax+B)/(ax²+bx+c).

6. Can this calculator handle all types of rational functions?
This specific decompose into partial fractions calculator is designed for the common case of a proper rational function with a quadratic denominator that has two distinct real roots.

7. Is partial fraction decomposition only used for integration?
No. While it’s very common in integration, it’s also fundamental for finding inverse Laplace transforms, Z-transforms, and solving differential equations.

8. How is this different from just finding a common denominator?
It’s the exact reverse. Finding a common denominator combines simple fractions into one complex one. Decomposition splits one complex fraction into simple ones. For more general calculus help, see our guides.

Related Tools and Internal Resources

© 2026 Professional Date Tools. All Rights Reserved.



Leave a Reply

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