01 · Two factors
Decompose (4x + 7)/[(x + 1)(x + 2)].
Hint
Substitute −1 and −2 in the cleared identity.
Worked solution
4x + 7 ≡ A(x + 2) + B(x + 1). At −1, A = 3; at −2, −1 = −B, so B = 1. Answer: 3/(x + 1) + 1/(x + 2), x ≠ −1, −2.
Understand · explore · practise
Decompose algebraic fractions with distinct linear factors. Learn substitution and coefficient comparison, including non-monic factors and three-term examples, with worked practice.
Before you startFactorising polynomials, algebraic fractions and simultaneous equations
01 / What and why
Adding simple fractions produces a single rational expression. Partial fractions reverse that operation. The result can be easier to integrate or expand later.
2/(x − 1) + 3/(x + 2)
= (5x + 1)/[(x − 1)(x + 2)]
In this lesson the numerator degree is smaller than the denominator degree, and the denominator factors into distinct linear factors. Give each linear factor its own constant numerator. Retain the excluded inputs of the original expression.
N(x)/[(x − a)(x − b)]
= A/(x − a) + B/(x − b)
Here a ≠ b, the fraction is proper, and x ≠ a, b.
Repeated factors need additional powers in the template. An improper fraction needs a polynomial part. These are separate cases, not exceptions you can ignore.
02 / Clear denominators
Start with (5x + 1)/[(x − 1)(x + 2)] = A/(x − 1) + B/(x + 2), with x ≠ 1, −2. Multiplying by the common denominator gives:
5x + 1 ≡ A(x + 2) + B(x − 1)
The symbol ≡ means an identity: the two polynomials agree for every x. The original fractions agree only where they are defined. The polynomial identity extends to x = 1 and x = −2, so we can use those values to find A and B.
Subtract the polynomials. If they agree at every allowed x, their difference has infinitely many roots. A nonzero polynomial has only finitely many roots, so the difference must be the zero polynomial. This argument does not assign a value to an undefined fraction.
x = 1: 6 = 3A
The B term vanishes. Hence A = 2.
x = −2: −9 = −3B
The A term vanishes. Hence B = 3.
(5x + 1)/[(x − 1)(x + 2)]
= 2/(x − 1) + 3/(x + 2)
Keep x ≠ 1, −2. Recombine to check the numerator 2(x + 2) + 3(x − 1) = 5x + 1.
Pause, replay or seek freely. The notes explain the same idea and stay in view.
03 / Compare coefficients
Instead of substituting roots, expand the identity. Gather the x terms and the constant terms:
5x + 1 ≡ (A + B)x + (2A − B)
Corresponding coefficients must agree. Solve A + B = 5 and 2A − B = 1. Adding gives 3A = 6, so A = 2 and B = 3.
One input generally gives only one equation for two unknowns. For example, x = 0 gives 2A − B = 1; many pairs satisfy that equation, but most fail to match the x coefficient.
Use the controls to see why both equations are necessary. This model checks the numerator identity; it does not change the original denominator or its domain.
A/(x − 1) + B/(x + 2)
After taking a common denominator, the numerator is:
A(x + 2) + B(x − 1)
= (A + B)x + (2A − B)
A = 2, B = 3: numerator = 5x + 1.
These values match the target 5x + 1.
Try to make the x coefficient correct while the constant is wrong. Both must match. The original restrictions x ≠ 1, −2 stay fixed for every choice, even when a numerator becomes zero.
04 / Non-monic factors
A factor such as 2x − 1 still gets a constant numerator. Its root is 1/2, not 1. Do not silently replace it by x − 1/2: that would introduce a factor of 2.
A/(2x − 1) + B/(x + 1)
Original restrictions: x ≠ 1/2, −1.
7x + 1 ≡ A(x + 1) + B(2x − 1)
Each coefficient multiplies the factor missing from its own denominator.
x = 1/2: 9/2 = (3/2)A
⇒ A = 3
Substitute the exact fractional root.
x = −1: −6 = −3B
⇒ B = 2
So the answer is 3/(2x − 1) + 2/(x + 1), retaining both exclusions.
3(x + 1) + 2(2x − 1)
= 7x + 1
This independent recombination checks the result.
05 / Three factors
For three distinct linear factors, use three constants. After clearing denominators, each coefficient multiplies the product of the other two factors.
A/x + B/(x − 1) + C/(x + 2)
x ≠ 0, 1, −2.
2x² + 6x − 2
≡ A(x − 1)(x + 2)
+ Bx(x + 2) + Cx(x − 1)
Substituting a root kills two terms at once.
x = 0: −2 = −2A ⇒ A = 1
x = 1: 6 = 3B ⇒ B = 2
x = −2: −6 = 6C ⇒ C = −1
Keep signs when evaluating the remaining product.
Answer: 1/x + 2/(x − 1)
− 1/(x + 2)
Recombination gives (x² + x − 2) + (2x² + 4x) − (x² − x) = 2x² + 6x − 2.
06 / Factor the denominator
Factor the denominator before deciding how many fractions you need. A quadratic with two distinct real linear factors uses the same two-constant method. For a cubic, extract a common factor or use a known root first.
(x + 8)/(x² + x − 6)
x² + x − 6 = (x − 2)(x + 3); x ≠ 2, −3.
x + 8 ≡ A(x + 3) + B(x − 2)
At x = 2, 10 = 5A, so A = 2. At x = −3, 5 = −5B, so B = −1.
= 2/(x − 2) − 1/(x + 3)
Check: 2(x + 3) − (x − 2) = x + 8.
The first check is always whether the fraction is proper: numerator degree must be smaller than denominator degree.
07 / Check your answer
Recombine over the original denominator. Compare the resulting numerator with the original one and retain its restrictions. Coefficients may be positive, negative, fractional or zero.
(6x + 12)/[(x + 2)(x − 4)]
= 0/(x + 2) + 6/(x − 4)
= 6/(x − 4), x ≠ −2, 4
The zero coefficient makes one term disappear. It does not put x = −2 back into the original domain.
For distinct factors, no. Subtract two proposed decompositions and clear denominators. Evaluating at x = 1 fixes the difference of their A values to zero; evaluating at x = −2 does the same for B. The coefficients are unique for this fixed template.
08 / Your turn
Attempt these before opening the solutions. Check each decomposition by adding its fractions back together.
Decompose (4x + 7)/[(x + 1)(x + 2)].
Substitute −1 and −2 in the cleared identity.
4x + 7 ≡ A(x + 2) + B(x + 1). At −1, A = 3; at −2, −1 = −B, so B = 1. Answer: 3/(x + 1) + 1/(x + 2), x ≠ −1, −2.
Decompose (2x − 9)/[(x − 3)(x + 1)].
The remaining factor equals 4 at x = 3.
2x − 9 ≡ A(x + 1) + B(x − 3). At 3, −3 = 4A, so A = −3/4. At −1, −11 = −4B, so B = 11/4. Answer: −3/[4(x − 3)] + 11/[4(x + 1)], x ≠ 3, −1.
Decompose (8x + 1)/[(3x − 1)(x + 2)].
Use x = 1/3 and x = −2.
8x + 1 ≡ A(x + 2) + B(3x − 1). At 1/3, 11/3 = 7A/3, so A = 11/7. At −2, −15 = −7B, so B = 15/7. Answer: 11/[7(3x − 1)] + 15/[7(x + 2)], x ≠ 1/3, −2.
Decompose (4x² + 3x − 4)/[x(x + 1)(x − 2)].
Use A/x + B/(x + 1) + C/(x − 2).
The identity is 4x² + 3x − 4 ≡ A(x + 1)(x − 2) + Bx(x − 2) + Cx(x + 1). Inputs 0, −1, 2 give A = 2, B = −1, C = 3. Answer: 2/x − 1/(x + 1) + 3/(x − 2), x ≠ 0, −1, 2.
Decompose 1/(x³ − x).
x³ − x = x(x − 1)(x + 1).
Write A/x + B/(x − 1) + C/(x + 1). The identity 1 ≡ A(x² − 1) + Bx(x + 1) + Cx(x − 1) gives A = −1, B = 1/2, C = 1/2. Answer: −1/x + 1/[2(x − 1)] + 1/[2(x + 1)], x ≠ 0, 1, −1.
A student writes (x + 8)/(x² + x − 6) = 2/(x − 2) + 1/(x + 3). Find and correct the error.
Recombine the proposed answer.
The proposed numerator is 2(x + 3) + (x − 2) = 3x + 4, not x + 8. The second sign must be minus: 2(x + 3) − (x − 2) = x + 8. Retain x ≠ 2, −3.
Find A and B in terms of k if (kx + 3)/[(x − 1)(x + 2)] = A/(x − 1) + B/(x + 2).
Compare the x and constant coefficients.
A + B = k and 2A − B = 3. Add to get A = (k + 3)/3, then B = (2k − 3)/3. The original restrictions remain x ≠ 1, −2 for every real k, including values that make one coefficient zero.
Why may x = 1 be used to find A in a decomposition containing A/(x − 1)?
Distinguish the rational expression from the polynomial identity.
You do not evaluate A/(x − 1) at 1. First clear denominators to obtain a polynomial identity. That identity holds at 1 and isolates A. The original fraction remains undefined at 1.
09 / Recap
Section 1 of 9 · What and why