Pure · Algebraic Methods · Year 2

Repeated Factors

When a denominator's factor is squared, one term isn't enough to match every numerator — partial fractions needs an extra term, and a different way to pin it down.

9 min read 3 worked examples

Why one term isn't enough

The previous lesson split fractions over distinct linear factors, one constant per factor. When a factor is repeated — squared, in this course — that pattern breaks down. For $(ax+b)(cx+d)^2$, trying $\dfrac{A}{ax+b}+\dfrac{B}{cx+d}$ alone gives only two unknowns, but clearing the denominators produces a numerator that can take three independent values (the coefficients of $x^2$, $x$ and the constant term) — two unknowns can't be tuned to match all three. An extra term, with the repeated factor squared underneath, supplies the missing freedom:

$\dfrac{\text{(numerator)}}{(ax+b)(cx+d)^2} = \dfrac{A}{ax+b}+\dfrac{B}{cx+d}+\dfrac{C}{(cx+d)^2}$
Finding C directly

Substituting the repeated root (where $cx+d=0$) still eliminates every term except the one over $(cx+d)^2$, so $C$ is found by direct substitution exactly as before. But only one root exists for that factor, not two — so after finding $C$ this way, and $A$ from the other factor's root, a second technique is needed for $B$: comparing coefficients of the highest power of $x$ (there's rarely a third convenient value of $x$ left to substitute).

A repeated factor with nothing else

When the whole denominator is a single repeated factor, $(ax+b)^2$, the form simplifies to just two terms:

$\dfrac{\text{(numerator)}}{(ax+b)^2} = \dfrac{A}{ax+b}+\dfrac{B}{(ax+b)^2}$

Here both unknowns can be found without any coefficient-comparing at all: clear the denominator to get a linear identity in $A$ and $B$, then either substitute the repeated root (for $B$) and compare the $x$ coefficient (for $A$), or substitute two different values of $x$.

Worked example 1

A repeated factor on its own
Express $\dfrac{2x+1}{(x-3)^2}$ as partial fractions.
MethodClear the denominator, then substitute and compare
1
Let $\dfrac{2x+1}{(x-3)^2} = \dfrac{A}{x-3}+\dfrac{B}{(x-3)^2}$.
Repeated factor ⇒ a linear term and a squared term.
2
Multiply through by $(x-3)^2$: $2x+1 = A(x-3)+B$.
Clear both denominators.
3
Let $x=3$: $7 = B$.
The repeated root eliminates the A-term, giving B directly.
4
Compare coefficients of $x$: $2 = A$.
No second root exists, so match the x-coefficient instead.
5
So $\dfrac{2x+1}{(x-3)^2} = \dfrac{2}{x-3}+\dfrac{7}{(x-3)^2}$.
Substitute the constants back in.
▪ solved

Worked example 2

One distinct factor and one repeated factor
Express $\dfrac{3x^2+3x+3}{(x+2)(x-1)^2}$ as partial fractions.
MethodTwo roots to substitute, then coefficients for the rest
1
Let $\dfrac{3x^2+3x+3}{(x+2)(x-1)^2} = \dfrac{A}{x+2}+\dfrac{B}{x-1}+\dfrac{C}{(x-1)^2}$.
Distinct factor plus repeated factor ⇒ three terms.
2
Multiply through: $3x^2+3x+3 = A(x-1)^2+B(x+2)(x-1)+C(x+2)$.
Clear all denominators.
3
Let $x=-2$: $9 = A(9) \Rightarrow A=1$.
x = −2 isolates A.
4
Let $x=1$: $9 = C(3) \Rightarrow C=3$.
The repeated root isolates C directly.
5
Compare coefficients of $x^2$: $3 = A+B \Rightarrow B=2$.
Only two roots exist for three unknowns, so match a coefficient for the last one.
6
So the expression equals $\dfrac{1}{x+2}+\dfrac{2}{x-1}+\dfrac{3}{(x-1)^2}$.
Substitute all three constants back in.
▪ solved
Examiner's eye

With one distinct and one repeated linear factor, there are always exactly two roots available to substitute — one per distinct factor value — no matter how high the power on the repeated factor. Whatever's left over always needs a coefficient comparison.

Worked example 3

A repeated factor of $x$
Express $\dfrac{7x^2+5x-3}{x^2(x+3)}$ as partial fractions.
MethodTreat $x^2$ exactly like any other repeated factor
1
Let $\dfrac{7x^2+5x-3}{x^2(x+3)} = \dfrac{A}{x}+\dfrac{B}{x^2}+\dfrac{C}{x+3}$.
$x^2$ is a repeated factor with root $x=0$.
2
Multiply through: $7x^2+5x-3 = Ax(x+3)+B(x+3)+Cx^2$.
Clear all denominators.
3
Let $x=0$: $-3 = 3B \Rightarrow B=-1$.
The repeated root (x = 0) isolates B.
4
Let $x=-3$: $63-15-3=45 = 9C \Rightarrow C=5$.
x = −3 isolates C.
5
Compare coefficients of $x^2$: $7 = A+C \Rightarrow A=2$.
The remaining unknown comes from matching coefficients.
6
So the expression equals $\dfrac{2}{x}-\dfrac{1}{x^2}+\dfrac{5}{x+3}$.
Substitute all three constants back in.
▪ solved
Look deeper — a repeated factor doesn't have to look "squared"

A factor like $x^2$ is just as much a repeated linear factor as $(x-3)^2$ — it's $(x-0)^2$. Spot it the same way: does any factor's base appear with a power of 2 (or higher) in the denominator? If so, it needs both a linear and a squared term.

Common mistake

Writing only $\dfrac{A}{ax+b}+\dfrac{B}{cx+d}$ for a denominator with a repeated factor, forgetting the extra $\dfrac{C}{(cx+d)^2}$ term. This leaves too few unknowns to match every possible numerator, and no choice of $A,B$ can make the identity hold for every value of $x$. Always check whether any factor in the denominator is squared before setting up the partial fraction form — and remember that comparing coefficients, not a third substitution, is usually how the last unknown is found.

Check yourself

Express $\dfrac{x+7}{(x+1)^2}$ as partial fractions.
(Hint: substitute x = −1 for one constant, then compare coefficients of x for the other.)

Method
1
$x+7 = A(x+1)+B$.
2
$x=-1$: $6=B$. Compare coefficients of $x$: $A=1$.
The repeated root gives B; coefficients give A.
3
So $\dfrac{x+7}{(x+1)^2} = \dfrac{1}{x+1}+\dfrac{6}{(x+1)^2}$.
Substitute the constants back in.
▪ solved