Calculators.Life Calculator
Math

Partial Fraction Calculator

Input Parameters

Scenarios
Select or provide polynomial numerator P(x)
Select denominator Q(x)

Computed Results

Partial Fraction Decomposition
6 / (x + 1) - 5 / (x + 2)
Polynomial Quotient Part0
Factored Denominator(x + 1)(x + 2)

The partial fraction calculator decomposes complex rational expressions into a sum of simpler fractions. By selecting the numerator and denominator polynomials, it determines the factored denominator, extracts any polynomial quotient using long division, and calculates the final partial fraction decomposition.

How Partial Fraction Decomposition Works

Partial fraction decomposition is an algebraic process used to break down a complex rational function into a sum of simpler rational expressions. This technique requires the degree of the numerator polynomial, P(x), to be strictly less than the degree of the denominator polynomial, Q(x). If it is not, polynomial long division is performed first to extract a polynomial quotient.

Once you have a proper rational expression, the denominator Q(x) is factored into linear or irreducible quadratic components. The original fraction is then set equal to a sum of fractions with unknown constants in the numerators.

P(x) / Q(x) = A / (x - a) + B / (x - b) + ...

The constants (A, B, etc.) are determined by multiplying both sides by the common denominator and solving the resulting equation, often by substituting the roots of the denominator.

Example Calculations

The following examples demonstrate how different polynomial combinations are decomposed, including cases that require long division or involve repeated roots.

Constant Numerator with Difference of Squares

When decomposing a simple constant over a difference of squares:

Quadratic Numerator Requiring Polynomial Division

If the numerator's degree is equal to or greater than the denominator's degree, long division is applied first:

Linear Numerator with Cubic Denominator

For a higher-degree denominator with distinct linear factors:

Linear Numerator with Repeated Root Denominator

When the denominator contains a repeated root, the decomposition includes terms for each power of that factor:

Practical Applications

Partial fraction decomposition is primarily used to simplify complex rational expressions so they can be processed using standard mathematical operations. In calculus, it is a standard technique for integrating rational functions, as integrating a sum of simple fractions is straightforward using natural logarithms or power rules. In differential equations and engineering, it is frequently used to compute inverse Laplace transforms, allowing systems modeled in the frequency domain to be converted back into the time domain.

Frequently Asked Questions

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

The calculator first performs polynomial long division to extract a polynomial quotient part. It then applies partial fraction decomposition to the remaining proper rational function.

How does the calculator handle repeated roots in the denominator?

For a repeated root, such as (x - 1)², the decomposition includes multiple terms with increasing powers in the denominator. For example, it will generate terms in the format A / (x - 1) + B / (x - 1)².

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.