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