Partial Fractions Decomposition: A Complete, Practical Guide
Partial fractions decomposition is one of those algebra techniques that seems fiddly the first time you meet it and then becomes almost automatic once you've worked through a handful of examples. At its core, decomposition of fractions means taking a single, often messy, rational expression — a polynomial divided by another polynomial — and rewriting it as a sum of simpler pieces, each with its own small denominator. Instead of staring at one intimidating fraction, you end up with two, three, or more manageable terms that are far easier to integrate, differentiate, or just reason about.
What Is Partial Fractions Decomposition?
Formally, decomposition of partial fractions starts with a proper rational function N(x)/D(x), where the degree of the numerator N(x) is strictly less than the degree of the denominator D(x). The denominator is factored completely into linear factors, repeated linear factors, and irreducible quadratic factors. Each type of factor contributes its own term to the decomposition: a distinct linear factor (x − a) gives a term A/(x − a); a repeated factor (x − a)^n gives a chain of terms up to A_n/(x − a)^n; and an irreducible quadratic (x² + bx + c) contributes a term shaped like (Bx + C)/(x² + bx + c). If the original fraction is improper — meaning the numerator's degree is equal to or larger than the denominator's — polynomial long division is applied first, separating out a whole polynomial part before the remaining proper fraction is decomposed.
Why Decomposition Matters: Integrals by Partial Fractions
The most common reason students encounter this topic is integral calculus. Many rational functions that look impossible to integrate directly become trivial once decomposed. Integrals by partial fractions convert a single complicated integral into a handful of standard forms: ∫A/(x − a) dx becomes a natural logarithm, ∫(Bx + C)/(x² + bx + c) dx typically splits into a logarithmic piece and an arctangent piece, and repeated factors lead to simple power-rule integrals. This is precisely why a solid partial fractions decomposition calculator is such a useful companion for calculus coursework — it doesn't just hand you an answer, it shows the factoring and coefficient-matching that make the following integration step make sense.
The General Formula
For a denominator that factors as (x − a)(x − b)(x² + cx + d), the general partial fraction formula looks like this:
To find A, B, C, and D, both sides are multiplied by the full denominator, the resulting polynomial identity is expanded, and coefficients of matching powers of x are set equal to each other. This produces a system of linear equations that can be solved with substitution, elimination, or matrix methods — exactly what happens automatically inside the calculator above.
Worked Example
Take (3x + 5)/(x² − 1). The denominator factors as (x − 1)(x + 1), both distinct linear factors, so the decomposition takes the form A/(x−1) + B/(x+1). Clearing denominators gives 3x + 5 = A(x+1) + B(x−1). Substituting x = 1 gives 8 = 2A, so A = 4. Substituting x = −1 gives 2 = −2B, so B = −1. The final decomposed form is 4/(x−1) − 1/(x+1), which is exactly what the calculator returns when you try the first example chip above.
Common Problems and Edge Cases
A few situations trip students up repeatedly: repeated linear factors need one unknown per power, not just one for the whole factor; irreducible quadratics need a linear numerator (Bx + C), not just a constant; and improper fractions must be reduced with long division before decomposition even starts. This calculator checks for all of these automatically and validates your input in real time, flagging issues like unbalanced parentheses or a zero denominator before you even hit submit.
Reference Table of Standard Forms
| Denominator Factor | Partial Fraction Term(s) |
|---|---|
| (x − a), distinct | A / (x − a) |
| (x − a)², repeated | A/(x − a) + B/(x − a)² |
| (x − a)ⁿ, repeated | A₁/(x−a) + A₂/(x−a)² + ... + Aₙ/(x−a)ⁿ |
| x² + bx + c, irreducible | (Bx + C) / (x² + bx + c) |
How to Use This Partial Fractions Decomposition Calculator
Type your numerator and denominator in standard algebraic notation, using ^ for exponents and * for multiplication where needed (multiplication signs between a coefficient and a variable, like 3x, do not require a symbol). Choose whether you also want the antiderivative, then click Decompose Now. The page will scroll to a results panel showing the fully factored denominator, the coefficient-matching equations, the solved linear system, and the final simplified answer, which you can copy or download for later reference.