MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Pre-University
MathematicsPre-University

Partial fractions — splitting rational expressions

P1 — Pure Algebra and Functions › P1.1 — PolynomialsLecture 5 of 5~2690 words

A sum that adds itself up

Here is a sum of 99 fractions.

The usual method for adding fractions is to find a common denominator. Here the lowest common denominator is a number with 41 digits. The usual method is correct, but it is no help here.

Now look at the first fraction in a different way. , and is also . The second fraction is , and is also . In general,

Write every term of the sum in this split form. The sum becomes . Each meets a , each meets a , and so on. Almost everything cancels. Only the first and the last parts are left, so the sum is .

The difficulty was never the adding. The difficulty was seeing that one fraction can be split into two simpler ones. The last lecture promised to use factors to split one fraction into simpler ones. This lecture does exactly that, for algebraic fractions. The pieces are called partial fractions.

Adding fractions, run backwards

Start with an addition you can already do.

Partial fractions asks the reverse question. You are given the fraction on the right. Find the two simple fractions that add up to it.

Before you can find the pieces, you need to know what shape they have. Three facts decide it.

Numbers do not behave like this. , but also . There is no single "right" split of a number. For algebraic fractions in the forms of this lecture, there is exactly one. That is why people speak of the partial fractions of an expression.

Finding the constants

Write the form with unknown constants:

Multiply both sides by . The fractions disappear:

This is an identity. It must be true for every value of , not just for one. There are two ways to use that.

Comparing coefficients. Expand the right side: . Two polynomials are the same polynomial only when their coefficients match. The terms give . The constants give . Add the two equations: , so and .

Substituting values. Choose values of that make one bracket zero. Put : , so . Put : , so . Each substitution removes one unknown completely.

Both methods give , which is where we started.

Stop and think

The fraction has no value at , because its bottom is zero there. So how can it be correct to put into the identity?

Show the answer

The fraction equation is true for every except 1 and . Multiplying both sides by keeps it true for all those values. So the two polynomials and are equal at infinitely many values of .

Their difference is a polynomial of degree at most 1. A polynomial of degree that is not the zero polynomial has at most roots, as the factor theorem lecture showed. This difference has infinitely many roots, so it is the zero polynomial. The two sides are therefore equal at every , including 1 and .

So the substitution uses the polynomial identity, which has a value at . It never uses the fraction at .

Why picks out

There is an even faster way to see the substitution. Go back to the fraction form and multiply both sides by only:

Now put . The last term becomes zero, so . In practice, you cover the factor in the original fraction with your finger, and put into what you can still see. This is called the cover-up method. It is named after the English engineer Oliver Heaviside, who used it widely.

The cover-up method also tells you something about the graph. Close to , the piece becomes huge, while stays near . So close to , the whole fraction behaves like its own piece . Each piece is in charge near its own factor. See it on the graph below.

Explore — each piece is in charge near its own factor

Move x, or use − and +. The buttons take x very close to 1 or to −2. Watch the value of (x − 1) × f(x) as x comes close to 1, and the value of (x + 2) × f(x) as x comes close to −2.


The graph of f(x) = (3x + 3)/((x − 1)(x + 2)) with its two pieces, and a table of what happens close to x = 1.

−6 −4 −2 2 4 6 −4 −3 2 3 x = 1 x = −2 x y = f(x) y = 2/(x − 1) y = 1/(x + 2)
Close to x = 1, the graph of f follows the piece 2/(x − 1). Close to x = −2, it follows the piece 1/(x + 2). Far from both, f is the sum of two small pieces.
xf(x)(x − 1) × f(x)
1.120.322.0323
1.01200.332.0033
1.0012000.332.0003
0.99−199.671.9967

As x comes close to 1, (x − 1) × f(x) comes close to 2, which is A. In the same way, (x + 2) × f(x) comes close to 1, which is B, as x comes close to −2.

As comes close to 1, the product settles on 2. Close to , the product settles on 1. These are and . So the cover-up method is not a trick. It reads off how strongly the fraction blows up at each factor.

The shape of the answer

So far every factor was linear and different. Three other situations need their own shapes. Here is the full set, and then the reason for each part.

The form of the partial fractions

First: the fraction must be proper (the degree of the top is less than the degree of the bottom). If it is not, divide first.

Then factorise the bottom completely, and write one piece for each part of it:

a linear factor gives

a repeated factor gives

a quadratic factor that does not factorise gives

There are as many unknowns as the degree of the bottom, and the answer is unique.

Why a repeated factor needs two pieces

Try to split with one piece only, . Then for every , which is impossible. One piece is not enough.

Now write the top as . Then

Both powers of the factor appear. Counting shows why. The bottom has degree 2, so the top of a proper fraction can have two coefficients. Two unknowns are needed to match them. The pieces and supply exactly two.

Why a quadratic factor gets a linear top

Some quadratics do not factorise into real linear factors. is one: it is at least 4 for every real , so it has no real roots. By the factor theorem, it has no real linear factor either. A proper fraction over can have a top of degree 1, such as . So its piece needs two unknowns, . A constant top would leave one coefficient that nothing can match.

Why the fraction must be proper first

Every piece in the forms above is proper. When you add proper fractions, the result is proper too. So proper pieces can never add up to a fraction like , whose top and bottom have the same degree. Division removes the whole part first. The division statement from the polynomial division lecture says with of lower degree than . Dividing by gives

The last fraction is proper, and it is the one you split.

Before you work any examples, practise choosing the shape. The sorter below asks only for the shape, not the constants.

Sorter — which shape does each fraction need?

Tap a fraction, then tap the box for the first thing it needs. Check the degrees before anything else. Read the reason under each card.

Eight fractions, each sorted by the first thing it needs, with the reason.

FractionWhat it needsReason
(5x − 1)/((x + 1)(x − 2))Different linear factorsProper, and the two factors are different: A/(x + 1) + B/(x − 2).
7/(x² − 9)Different linear factorsx² − 9 = (x − 3)(x + 3). It looks like one quadratic, but it factorises.
(x + 4)/(x² + 4x + 4)A repeated factorx² + 4x + 4 = (x + 2)², so the pieces are A/(x + 2) + B/(x + 2)².
(2x² + 1)/(x(x − 3)²)A repeated factorProper (degree 2 over degree 3); x − 3 appears twice: A/x + B/(x − 3) + C/(x − 3)².
(3x + 2)/((x − 1)(x² + 4))A quadratic that does not factorisex² + 4 has no real roots, so its piece is (Bx + C)/(x² + 4), beside A/(x − 1).
x/((x + 2)(x² + x + 1))A quadratic that does not factorisex² + x + 1 has discriminant 1 − 4 = −3, so it does not factorise.
(x² + 1)/(x² − 1)Divide firstThe top and bottom both have degree 2, so it is not proper.
x³/(x² − 4)Divide firstDegree 3 over degree 2. Divide, then split the proper remainder over (x − 2)(x + 2).

Two cards look like quadratics but are not the same kind. factorises, and does not. Always test the quadratic, with its discriminant or by trying to factorise it, before you choose a shape.

Worked examples

Worked Example 1 — Different linear factors

Express in partial fractions.

Shape. Degree 1 over degree 2, so it is proper. Write .

Identity. .

Constants. : , so . : , so .

Answer. .

Fractions as constants are normal. Write them with the 3 in the bottom, as here, so the piece stays a number over a factor.

Check. At : the left side is . The right side is . ✓

Worked Example 2 — A repeated factor, and a piece that vanishes

Express in partial fractions.

Shape. Proper (degree 2 over degree 3). Write .

Identity. Multiply by . Each piece loses its own denominator:

Two substitutions. : , so . : , so .

One comparison. No value of removes everything except . So compare the terms: . This gives .

Answer. .

is a correct answer, not an error. You still had to include the piece in the form. If you had left it out, the method would have been luck, not reasoning.

Check. At : , and . ✓

Worked Example 3 — Divide first

Express in partial fractions.

Degrees. 3 over 2, so it is not proper. Divide.

Divide. Leading terms: . Subtract to leave . Next: . Subtract to leave . So

Split the proper part. . : , so . : , so .

Answer. .

Check. At : the left side is . The right side is . Over the denominator 264, this is , which is . ✓

Worked Example 4 — A quadratic that does not factorise

Express in partial fractions.

Shape. is at least 3, so it does not factorise. Write .

Identity. .

Cover-up for . : , so .

Compare for the rest. The terms: , so . The constants: , so .

Use the last coefficient as a check. The terms: , which matches the on the left. ✓

Answer. .

Check. At : , and . ✓

The two methods work best together. Substitution finds the constants over linear factors quickly. Comparing coefficients finds the rest, and one spare comparison checks the work.

Three traps

Trap 1 — Splitting before dividing

For , the form cannot work, because two proper pieces cannot add up to an improper fraction. The degrees are equal, and equal is enough to need division. Check the degrees first, every time.

Trap 2 — One piece for a repeated factor

For a bottom , the form has only two unknowns, but the top can have three coefficients. Include as well, even if later turns out to be 0. Count the unknowns: they must equal the degree of the bottom.

Trap 3 — Using the cover-up method where it does not apply

Covering up gives the constant over the highest power of a repeated factor, and the constant over a single linear factor. It cannot give in , and it cannot give a linear top over a quadratic. Find those by comparing coefficients.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Express in partial fractions.

    Hint 1

    It is proper and the factors are different. Write .

    Hint 2

    . Put , then .

    Full answer

    : , so . : , so .

    So .

    Check at : , and . ✓

  2. Express in partial fractions.

    Hint 1

    The factor is repeated, so you need three pieces: .

    Hint 2

    The identity is . Substitute and , then compare the terms.

    Full answer

    : , so . : , so . The terms: the left side has none, so , and .

    So .

    Check the constants: put into the identity. The left side is 1. The right side is . ✓ At : both sides are . ✓

  3. Express in partial fractions.

    Hint 1

    The degrees are equal, so divide first.

    Hint 2

    . So the fraction is .

    Full answer

    , so the fraction is .

    Split the proper part: . : . : , so .

    So .

    Check at : the left side is . The right side is . ✓

  4. Find the exact value of . What happens to the sum as more and more terms are added?

    Hint 1

    Split into partial fractions first, as in the hook.

    Hint 2

    . Write out the first four terms and the last two. A part cancels with the part two terms later, not the next one.

    Full answer

    . : . : . So .

    The sum is .

    Each cancels with the two terms later. The positive parts and have nothing before them to cancel. The negative parts and have nothing after them. So

    With terms, the sum is . As grows, the last two parts shrink towards 0. So the sum comes closer and closer to , but never reaches it.

    Check with : , and . ✓

The bigger idea

Partial fractions were first worked out in 1702, independently, by Gottfried Leibniz and Johann Bernoulli. Their reason was calculus. Calculus can integrate directly: the answer involves a logarithm. It has no direct rule for a fraction with a product on the bottom. So the way to integrate such a fraction is to split it first. A later topic in this course does exactly that.

Integration is not the only use. The hook showed a second one: a long sum of split fractions can collapse to two terms. A third use comes with the binomial theorem later in the course. A fraction such as is hard to expand as a series of powers of . Its partial fractions are each easy to expand.

Engineers use the same idea all the time. Heaviside used the cover-up method to study electrical circuits. In that kind of work, the response of a circuit is written as one complicated fraction. Its partial fractions describe simple behaviours that add up to the whole, each one controlled by a single factor of the denominator.

That is the deeper pattern. A complicated whole is often a sum of simple parts, and each part answers to only one cause. This topic began with dividing polynomials and ends with splitting them. The next topic moves to exponential and logarithmic functions.

Key concepts in this lesson