Partial Fraction Decomposition Calculator

Decompose a rational function into exact partial fractions, including repeated factors and a polynomial quotient.

Result
—

How to calculate

Divide the numerator by the denominator first if the fraction is improper. For the remainder, clear denominators and solve the resulting coefficient equations exactly.

Worked example

Use Numerator polynomial in x x + 3 · Denominator factors, one per line x + 1 / x + 2. The result is 2/(x + 1) − 1/(x + 2).

Input and result notes

Enter each linear or quadratic factor on a separate line. Use (x − 1)^2 for a repeated factor. The total denominator degree can be up to 12. A quadratic with rational roots is split automatically. Other quadratic factors keep a linear numerator.

OpenStax integration by partial fractions

Related calculators