Partial Fractions - Decomposition Method, Examples

#Algebra
TL;DR
Partial fractions break a single complicated fraction like 4x+12x2+4x\frac{4x + 12}{x^2 + 4x} into a sum of simpler ones, 3x+1x+4\frac{3}{x} + \frac{1}{x + 4}, the exact reverse of adding fractions over a common denominator. This article covers the cases (distinct linear, repeated linear, irreducible quadratic), the decomposition steps, and the mistakes to avoid.
MV
Madhukar VLast updated on July 14, 20269 min read

What Are Partial Fractions?

Partial fractions are the simpler fractions you get when you split a single rational expression — a fraction whose numerator and denominator are both polynomials — into a sum of fractions with smaller denominators. The process of doing this is called partial fraction decomposition.

Formally, a rational expression P(x)Q(x)\dfrac{P(x)}{Q(x)} is rewritten as a sum of fractions, each having one factor of Q(x)Q(x) as its denominator. The method depends entirely on how Q(x)Q(x) factors, which is why factorization is the first step every time.

One condition matters before you start: the expression must be proper, meaning the degree of the numerator is less than the degree of the denominator. If it is improper (numerator degree ≥\geq denominator degree), do polynomial long division first to split off the whole-number part, then decompose what remains.

What Are the Cases for Partial Fraction Decomposition?

The form of the decomposition is set by the type of factor in the denominator. There are three you need at this level, plus the repeated-quadratic extension.

Denominator factor

Decomposition form

Distinct linear, (ax+b)(ax + b)

Aax+b\dfrac{A}{ax + b}

Repeated linear, (ax+b)n(ax + b)^n

A1ax+b+A2(ax+b)2+⋯+An(ax+b)n\dfrac{A_1}{ax + b} + \dfrac{A_2}{(ax + b)^2} + \cdots + \dfrac{A_n}{(ax + b)^n}

Irreducible quadratic, (ax2+bx+c)(ax^2 + bx + c)

Ax+Bax2+bx+c\dfrac{Ax + B}{ax^2 + bx + c}

Two rules drive the whole table. A linear factor gets a constant numerator AA. A quadratic factor (one that does not factor further over the reals) gets a linear numerator Ax+BAx + B. And a repeated factor raised to the power nn needs one term for every power from 11 up to nn, not just the highest.

How Do You Decompose Into Partial Fractions?

The procedure is the same every time, once you know which case you are in:

  1. Factor the denominator completely and confirm the expression is proper (do long division first if it is not).

  2. Write the decomposition with unknown constants (AA, BB, …) using the case table above.

  3. Clear the denominators by multiplying both sides by the original denominator.

  4. Solve for the constants — either by substituting smart values of xx (each chosen to zero out a factor) or by comparing coefficients of like powers.

  5. Write the final sum with the constants filled in.

Step 44 has two routes, and choosing well saves time. Substituting strategic xx-values (the cover-up idea) is fastest when the denominator has distinct linear factors. Comparing coefficients is the reliable fallback for repeated or quadratic factors. You can mix them.

Examples of Partial Fractions

Example 1

Decompose 4x+12x2+4x\dfrac{4x + 12}{x^2 + 4x} into partial fractions.

Factor the denominator: x2+4x=x(x+4)x^2 + 4x = x(x + 4), two distinct linear factors. Write the form:

4x+12x(x+4)=Ax+Bx+4\frac{4x + 12}{x(x + 4)} = \frac{A}{x} + \frac{B}{x + 4}

Clear denominators by multiplying through by x(x+4)x(x + 4):

4x+12=A(x+4)+Bx4x + 12 = A(x + 4) + Bx

Substitute x=0x = 0: ;12=A(4);12 = A(4), so A=3A = 3. Substitute x=−4x = -4: ;4(−4)+12=B(−4);4(-4) + 12 = B(-4), so −4=−4B-4 = -4B, giving B=1B = 1.

4x+12x2+4x=3x+1x+4\frac{4x + 12}{x^2 + 4x} = \frac{3}{x} + \frac{1}{x + 4}

Final answer: 3x+1x+4\dfrac{3}{x} + \dfrac{1}{x + 4}.

Example 2

Decompose 5x−4(x−1)(x+2)\dfrac{5x - 4}{(x - 1)(x + 2)}.

A tempting shortcut is to write each piece with the whole denominator under it, 5x−4x−1+5x−4x+2\frac{5x-4}{x-1} + \frac{5x-4}{x+2}, as if "splitting" just copies the numerator over each factor. Add those back and you get (5x−4)(x+2)+(5x−4)(x−1)(x−1)(x+2)\frac{(5x-4)(x+2) + (5x-4)(x-1)}{(x-1)(x+2)}, whose numerator is degree 22, not the degree 11 we started with. That cannot be right.

The decomposition uses unknown constants, not copies of the numerator:

5x−4(x−1)(x+2)=Ax−1+Bx+2\frac{5x - 4}{(x - 1)(x + 2)} = \frac{A}{x - 1} + \frac{B}{x + 2} 5x−4=A(x+2)+B(x−1)5x - 4 = A(x + 2) + B(x - 1)

Substitute x=1x = 1: ;1=3A;1 = 3A, so A=13A = \dfrac{1}{3}. Substitute x=−2x = -2: ;−14=−3B;-14 = -3B, so B=143B = \dfrac{14}{3}.

5x−4(x−1)(x+2)=13(x−1)+143(x+2)\frac{5x - 4}{(x - 1)(x + 2)} = \frac{1}{3(x - 1)} + \frac{14}{3(x + 2)}

Final answer: 13(x−1)+143(x+2)\dfrac{1}{3(x - 1)} + \dfrac{14}{3(x + 2)}.

Example 3

Decompose 3x+1(x−2)2\dfrac{3x + 1}{(x - 2)^2}, a repeated linear factor.

A repeated factor of power 22 needs a term for each power, 11 and 22:

3x+1(x−2)2=Ax−2+B(x−2)2\frac{3x + 1}{(x - 2)^2} = \frac{A}{x - 2} + \frac{B}{(x - 2)^2} 3x+1=A(x−2)+B3x + 1 = A(x - 2) + B

Substitute x=2x = 2: ;7=B;7 = B. Compare xx-coefficients: ;3=A;3 = A.

3x+1(x−2)2=3x−2+7(x−2)2\frac{3x + 1}{(x - 2)^2} = \frac{3}{x - 2} + \frac{7}{(x - 2)^2}

Final answer: 3x−2+7(x−2)2\dfrac{3}{x - 2} + \dfrac{7}{(x - 2)^2}.

Example 4

Decompose 2x2+3x(x2+1)\dfrac{2x^2 + 3}{x(x^2 + 1)}, with an irreducible quadratic factor.

The factor x2+1x^2 + 1 does not factor over the reals, so it gets a linear numerator Bx+CBx + C:

2x2+3x(x2+1)=Ax+Bx+Cx2+1\frac{2x^2 + 3}{x(x^2 + 1)} = \frac{A}{x} + \frac{Bx + C}{x^2 + 1} 2x2+3=A(x2+1)+(Bx+C)x2x^2 + 3 = A(x^2 + 1) + (Bx + C)x

Substitute x=0x = 0: ;3=A;3 = A. Compare x2x^2-coefficients: ;2=A+B;2 = A + B, so B=2−3=−1B = 2 - 3 = -1. Compare xx-coefficients: ;0=C;0 = C.

2x2+3x(x2+1)=3x+−xx2+1\frac{2x^2 + 3}{x(x^2 + 1)} = \frac{3}{x} + \frac{-x}{x^2 + 1}

Final answer: 3x−xx2+1\dfrac{3}{x} - \dfrac{x}{x^2 + 1}.

Example 5

Decompose the improper fraction x2+1x2−1\dfrac{x^2 + 1}{x^2 - 1}.

The numerator and denominator have the same degree, so the expression is improper — divide first. Since x2+1x2−1=1+2x2−1\dfrac{x^2 + 1}{x^2 - 1} = 1 + \dfrac{2}{x^2 - 1}, decompose the proper remainder 2x2−1=2(x−1)(x+1)\dfrac{2}{x^2 - 1} = \dfrac{2}{(x-1)(x+1)}:

2(x−1)(x+1)=Ax−1+Bx+1\frac{2}{(x - 1)(x + 1)} = \frac{A}{x - 1} + \frac{B}{x + 1} 2=A(x+1)+B(x−1)2 = A(x + 1) + B(x - 1)

Substitute x=1x = 1: ;2=2A;2 = 2A, so A=1A = 1. Substitute x=−1x = -1: ;2=−2B;2 = -2B, so B=−1B = -1.

x2+1x2−1=1+1x−1−1x+1\frac{x^2 + 1}{x^2 - 1} = 1 + \frac{1}{x - 1} - \frac{1}{x + 1}

Final answer: 1+1x−1−1x+11 + \dfrac{1}{x - 1} - \dfrac{1}{x + 1}.

Example 6

Decompose x+7x2−x−6\dfrac{x + 7}{x^2 - x - 6}.

Factor the denominator: x2−x−6=(x−3)(x+2)x^2 - x - 6 = (x - 3)(x + 2).

x+7(x−3)(x+2)=Ax−3+Bx+2\frac{x + 7}{(x - 3)(x + 2)} = \frac{A}{x - 3} + \frac{B}{x + 2} x+7=A(x+2)+B(x−3)x + 7 = A(x + 2) + B(x - 3)

Substitute x=3x = 3: ;10=5A;10 = 5A, so A=2A = 2. Substitute x=−2x = -2: ;5=−5B;5 = -5B, so B=−1B = -1.

x+7x2−x−6=2x−3−1x+2\frac{x + 7}{x^2 - x - 6} = \frac{2}{x - 3} - \frac{1}{x + 2}

Final answer: 2x−3−1x+2\dfrac{2}{x - 3} - \dfrac{1}{x + 2}.

Why Partial Fractions Matter

Partial fractions exist for one practical reason: a sum of simple fractions is enormously easier to work with than one complicated fraction. Many operations that are impossible on 4x+12x2+4x\dfrac{4x+12}{x^2+4x} become routine on 3x+1x+4\dfrac{3}{x} + \dfrac{1}{x+4}, because each simple piece has a known, off-the-shelf answer.

Where the method pays off:

  • Integration in calculus. You cannot integrate 4x+12x2+4x\dfrac{4x+12}{x^2+4x} directly, but each decomposed piece integrates to a logarithm instantly. This is the single most common reason students meet partial fractions.

  • Inverse Laplace and Z-transforms. Engineers decompose a system's transfer function into partial fractions because each simple piece corresponds to a known signal — the bridge from frequency domain back to time.

  • Series expansions. Splitting a fraction makes its power-series expansion tractable.

The destination here is calculus: partial fractions are taught in algebra precisely so that, a course or two later, integrating any rational function becomes a mechanical procedure rather than a dead end. The algebra you do now is the setup for an integral you will meet soon.

Where Decomposition Goes Off the Rails

Mistake 1: Wrong numerator form over a quadratic factor

Where it slips in: When the denominator has an irreducible quadratic factor.

Don't do this: Writing Ax2+1\dfrac{A}{x^2 + 1}, a constant numerator over a quadratic.

The correct way: A quadratic factor needs a linear numerator: Ax+Bx2+1\dfrac{Ax + B}{x^2 + 1}. The rule is that the numerator is always one degree lower than its denominator factor — constant over linear, linear over quadratic. The student who carries the constant-numerator habit from the linear case into the quadratic case loses a degree of freedom and gets stuck.

Mistake 2: Missing terms for a repeated factor

Where it slips in: When a factor is raised to a power greater than one.

Don't do this: Writing A(x−2)2\dfrac{A}{(x - 2)^2} alone for 3x+1(x−2)2\dfrac{3x+1}{(x-2)^2}.

The correct way: A factor of power nn needs every power from 11 to nn: Ax−2+B(x−2)2\dfrac{A}{x-2} + \dfrac{B}{(x-2)^2}. You cannot tell from the combined fraction which lower powers were present in the original sum, so you must allow for all of them. Dropping the Ax−2\dfrac{A}{x-2} term is the quiet reason a "correct method" still gives a wrong decomposition.

Mistake 3: Forgetting to divide first when the fraction is improper

Where it slips in: When the numerator's degree is ≥\geq the denominator's.

Don't do this: Trying to decompose x2+1x2−1\dfrac{x^2 + 1}{x^2 - 1} straight into Ax−1+Bx+1\dfrac{A}{x-1} + \dfrac{B}{x+1} without dividing.

The correct way: Decomposition only works on proper fractions. Do long division first to peel off the polynomial part, then decompose the proper remainder. The reader who skips the proper-fraction check applies the right machinery to the wrong object and gets an inconsistent system of equations.

Conclusion

  • Partial fractions split one rational expression into a sum of simpler fractions — the reverse of adding fractions over a common denominator.

  • The decomposition form depends on the denominator's factors: constant over a linear factor, linear over a quadratic, and one term per power for a repeated factor.

  • The fraction must be proper first; if it is improper, do polynomial long division before decomposing.

  • Solve for the constants by substituting strategic xx-values or by comparing coefficients.

  • The most common mistakes are the wrong numerator form over a quadratic, missing terms for a repeated factor, and skipping the long-division step.

Practice These to Solidify Your Understanding

Decompose these in order, then add your pieces back to check:

  1. 7(x−1)(x+6)\dfrac{7}{(x - 1)(x + 6)}

  2. 2x+1(x+3)2\dfrac{2x + 1}{(x + 3)^2}

  3. x+4x(x2+4)\dfrac{x + 4}{x(x^2 + 4)}

  4. x2x2−9\dfrac{x^2}{x^2 - 9} (improper — divide first)

If question 44 gives you an inconsistent system, return to the "divide first" mistake above. To work through partial fractions with a live trainer, explore Bhanzu's algebra tutor or help with algebra, or browse math classes online. Want a trainer to walk through more partial-fraction problems? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are partial fractions used for?
Partial fractions are used mainly for integration in calculus — a decomposed fraction integrates piece by piece into logarithms and arctangents. They also appear in inverse Laplace and Z-transforms in engineering, and in series expansions.
When can I not use partial fractions?
When the fraction is improper (numerator degree ≥\geq denominator degree) — divide first. And the denominator must factor; if it is already a single irreducible factor, there is nothing to split
Why does a repeated factor need so many terms?
Because you cannot recover, from the combined fraction alone, which lower powers of that factor were in the original sum. So you include a term for every power from 11 up to the multiplicity and let the constants sort it out.
What numerator goes over a quadratic factor?
A linear one, Ax+BAx + B. The numerator is always one degree below the denominator factor: constant over linear, linear over quadratic.
How do I find the constants quickly?
For distinct linear factors, substitute the xx-value that zeros each factor — it isolates one constant at a time. For repeated or quadratic factors, compare coefficients of like powers. You can combine both within one problem.
✍️ Written By
Madhukar V
Madhukar V
Math Columnist & Analyst
I see mathematics as more than just numbers and formulas—it is a way of thinking, questioning, and understanding the world around us. I work at the intersection of mathematics, EdTech, technology, and AI-powered learning, I enjoy exploring how mathematical ideas can be made simple, meaningful, and relatable. Through my articles, I aim to present mathematics with curiosity and a practical perspective, helping readers see the beauty and relevance behind every concept in a Bhanzu way.
LinkedIn
Related Articles
Book a FREE Demo ClassBook Now →