Study and Productivity

How to Split a Fraction into Partial Fractions, Including Repeated Factors

Partial fractions explained for students: the right form for each factor, cover-up and comparing coefficients, a repeated-factor example and a quick check.

Saizul Amin
Saizul Amin3 Nov 2026 · 4 min read
How to Split a Fraction into Partial Fractions, Including Repeated Factors

How to Split a Fraction into Partial Fractions, Including Repeated Factors

Partial fractions reverse the process of adding fractions. Instead of combining 2/(x - 1) and 1/(x + 1) into a single expression, you start with the combined version and recover the simple pieces. You will need this skill to integrate rational functions, to invert Laplace transforms and to sum telescoping series, so it pays to make it automatic. This guide covers the rules for choosing the form, two ways of finding the constants, a full example with a repeated factor and a reliable way to confirm the result.

Step zero: is the fraction proper?

Compare degrees. If the numerator's degree is equal to or bigger than the denominator's, divide first using polynomial long division. You then decompose only the remainder over the denominator and add the quotient at the end. Skipping this step is a classic way to get an impossible system of equations.

Choosing the right form

Factor the denominator completely, then write one template per factor.

  • A simple linear factor (x - a) contributes A/(x - a).
  • A repeated linear factor (x - a)^2 contributes A/(x - a) + B/(x - a)^2. A cube would need three terms, and so on.
  • An irreducible quadratic such as x^2 + 4, which has no real roots, contributes (Bx + C)/(x^2 + 4). Its numerator must be linear, not a single constant.

The number of unknowns always equals the degree of the denominator. That is a useful sanity check before you start solving.

Two ways to find the constants

Cover-up is quick: for a non-repeated linear factor (x - a), hide that factor in the original fraction and put x = a into what remains. For the highest power of a repeated factor, the same trick works.

Comparing coefficients handles everything else. Multiply both sides by the full denominator, expand, and match the coefficient of each power of x. You can also substitute convenient values of x, such as 0, to produce simple equations.

Worked example with a repeated factor

Decompose (3x^2 + x + 4)/((x - 1)(x + 1)^2).

The numerator has degree 2 and the denominator degree 3, so no division is needed. The form is:

A/(x - 1) + B/(x + 1) + C/(x + 1)^2

Find A by cover-up. Hide (x - 1) and set x = 1: the numerator is 3 + 1 + 4 = 8 and (x + 1)^2 is 4, so A = 2.

Find C by covering (x + 1)^2 and setting x = -1: the numerator is 3 - 1 + 4 = 6 and (x - 1) is -2, so C = -3.

B cannot be found by cover-up. Multiply out instead:

3x^2 + x + 4 = A(x + 1)^2 + B(x - 1)(x + 1) + C(x - 1)

The x^2 terms on the right come from A and B only, so A + B = 3, which gives B = 1.

Result: 2/(x - 1) + 1/(x + 1) - 3/(x + 1)^2.

Integrating it is now routine: 2 ln|x - 1| + ln|x + 1| + 3/(x + 1) + C.

Common traps

  • Using a constant numerator over an irreducible quadratic. It must be Bx + C.
  • Writing only one term for (x + 1)^2. A squared factor always needs two.
  • Applying cover-up to the lower power of a repeated factor. It gives the wrong value for B.
  • Factoring the denominator incorrectly. Expand your factors again to make sure they reproduce the original.
  • Mixing up signs when x = -1 is substituted into (x - 1).

How to check

Pick a value of x that is not a root of the denominator and evaluate both sides. With x = 0 the original is 4/((-1)(1)) = -4. The decomposition gives 2/(-1) + 1/1 - 3/1 = -2 + 1 - 3 = -4. They agree. Try a second value, such as x = 2, to be safe: the original gives 18/9 = 2, and the pieces give 2 + 1/3 - 1/3 = 2.

Another check is to recombine the pieces over the common denominator. It is slower but shows exactly where an error lies.

With the solver

Type the numerator and denominator separately into the Partial Fraction Decomposition Solver. It performs long division when needed, factors the denominator, names each factor type and shows both the cover-up values and the coefficient equations. A graph overlays the original function and the sum of the pieces; if the curves sit on top of each other, the decomposition is right. Practice questions with whole-number answers are a good warm-up.

Limits

Roots of the denominator are found numerically, so irrational roots appear as decimals rather than surds. Symbolic constants such as a in 1/(x^2 - a^2) are not supported; replace them with numbers first. The solver is a study aid that does not replace your own written method, and examiners still expect to see every step.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages