Partial Fraction Decomposition Calculator
Decompose (px + q) ÷ ((x − r₁)(x − r₂)) into A/(x − r₁) + B/(x − r₂).
Partial fractions split a rational expression into simpler pieces — essential for integration.
The math behind it
For distinct linear roots, use the cover-up method: A is the numerator evaluated at x = r₁ divided by (r₁ − r₂), and similarly for B.
Worked example
(3x + 1)/((x − 1)(x + 2)) = (4/3)/(x − 1) + (5/3)/(x + 2).
FAQ
What about repeated or complex roots?
Those need extra terms (e.g. A/(x−r) + B/(x−r)²); this tool handles two distinct real roots.