Educerie

This whole subtopic is higher level. Nothing in it is on an SL paper.

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 1.11 · HL only

Partial fractions

How do you take a fraction such as 7x−1(x+1)(x−3)\dfrac{7x - 1}{(x + 1)(x - 3)} apart into the two simple fractions it was built from, and why would you want to?

What you will learn

  • HL Understand partial fractions as the reverse of adding two fractions with linear denominators.
  • HL Know the form A over one factor plus B over the other for a proper fraction with two distinct linear factors.
  • HL Know how to find A and B by substituting roots or by equating coefficients in an identity.
  • HL Understand why the split form makes integrating, differentiating, expanding and summing easier.

You must be able to

  1. HL Express a proper fraction with two distinct linear factors in partial fractions, factorising first.
  2. HL Find an integral using partial fractions and give the answer as a single logarithm.
  3. HL Expand a fraction in ascending powers of x through its partial fractions and state the narrower interval of validity.
  4. HL Find unknown constants in a given partial fraction identity by equating coefficients.
  5. HL Show that a given split is correct by combining the fractions over a common denominator.
  6. HL Use partial fractions to find the sum of a telescoping series or to show a function is decreasing.

In the exam. Papers 1 and 2, nearly always as the opening part of a longer question: "Express … in partial fractions" (3 to 6 marks), then "Hence find ∫…\int \ldots" (AHL 5.15), "Hence expand in ascending powers of xx" (1.10) or "Hence show that the function is decreasing". Paper 3 uses it as a tool inside a longer problem, for example to sum a series or to separate the variables in a differential equation. The commonest command words are "Find", "Show that" and "Express": you must both produce a split and verify a given one.

1Adding forwards, splitting backwards

Begin with the direction you already know, a sum of two fractions with linear denominators:

3x−2+2x+3=3(x+3)+2(x−2)(x−2)(x+3)=3x+9+2x−4(x−2)(x+3)=5x+5(x−2)(x+3)\begin{aligned}\frac{3}{x - 2} + \frac{2}{x + 3} &= \frac{3(x + 3) + 2(x - 2)}{(x - 2)(x + 3)} \\[6pt] &= \frac{3x + 9 + 2x - 4}{(x - 2)(x + 3)} \\[6pt] &= \frac{5x + 5}{(x - 2)(x + 3)}\end{aligned}

The reverse process must produce exactly this pattern.

  • The denominator is the product of the two original denominators.
  • The numerator is linear, one degree below the quadratic underneath it.
  • The 3 and the 2 can no longer be seen. They are buried inside 5x+55x + 5.

Partial fractions digs them out. Figure 1 shows the two directions side by side.

Figure 1 · Adding fractions, and undoing it 3/(x − 2) + 2/(x + 3) two simple fractions (5x + 5)/((x − 2)(x + 3)) one fraction add: common denominator split: partial fractions The denominators of the pieces are the factors of the big denominator. Adding over a common denominator runs left to right. Partial fractions run the same road backwards.
Figure 1 · Adding fractions, and undoing it

The split form is much friendlier. Figure 2 draws the two pieces and their sum. Each piece is a plain reciprocal curve with one vertical asymptote, and the sum inherits one from each.

In AHL 5.15, 3x−2\dfrac{3}{x - 2} and 2x+3\dfrac{2}{x + 3} each integrate in one step to a logarithm. 5x+5(x−2)(x+3)\dfrac{5x + 5}{(x - 2)(x + 3)} as written matches no integration rule you have.

Figure 2 · (5x + 5)/((x − 2)(x + 3)) as the sum of two simple curves x y −3 2 (a) the two pieces 3/(x − 2) 2/(x + 3) x y −3 2 (b) their sum, f(x) y = f(x) Near x = 2 the whole function behaves like 3/(x − 2); near x = −3 it behaves like 2/(x + 3). Each partial fraction owns one vertical asymptote.
Figure 2 · 5x + 5 ÷ (x − 2)(x + 3) as the sum of two simple curves

2What the guide asks for, exactly

The guide restricts partial fractions to fractions that are:

  • Proper. The numerator has lower degree than the denominator. Over a quadratic, that means a linear numerator (like 7x−17x - 1) or a constant (like 8, a polynomial of degree 0).
  • Built on at most two distinct linear factors. For example (x+1)(x−3)(x + 1)(x - 3) or (2x−1)(x+2)(2x - 1)(x + 2).

For every such fraction there exist constants AA and BB with

px+q(x−a)(x−b)≡Ax−a+Bx−b\dfrac{px + q}{(x - a)(x - b)} \equiv \dfrac{A}{x - a} + \dfrac{B}{x - b}, where a≠ba \ne b.

The factors need not begin with a bare xx. The general statement is

px+q(mx+n)(sx+t)≡Amx+n+Bsx+t\dfrac{px + q}{(mx + n)(sx + t)} \equiv \dfrac{A}{mx + n} + \dfrac{B}{sx + t}:

A plain constant sits above each factor, whatever the coefficient of xx inside it.

The three-bar sign ≡\equiv is not decoration. It claims the two sides agree for every xx (apart from the roots of the denominator, where neither side exists). That is far stronger than an equation. It is what lets you pick convenient values of xx in section 5.

Three situations are outside the syllabus:

  • a repeated factor such as (x−1)2(x - 1)^{2}
  • a quadratic factor that will not factorise, such as x2+1x^{2} + 1
  • an improper fraction

Each needs a different form, and you will never be asked to find such a split.

Occasionally a question gives you a finished split containing a squared factor, asks you to verify it, and then to integrate. That only needs combining fractions and integrating. ∫(x+1)−2 dx=−(x+1)−1+c\displaystyle\int (x + 1)^{-2}\,dx = -(x + 1)^{-1} + c.

Nothing about partial fractions is in the formula booklet.

3The first three moves

Every question opens the same way, whichever method follows. Figure 3 gives the whole routine.

  1. Check the fraction is proper. It is quick but not optional. If the numerator were quadratic over a quadratic, no AA and BB could satisfy the identity.
  2. Factorise the denominator. Exam questions usually give it expanded. This step earns a mark of its own.
  3. Write the form Afirst+Bsecond\dfrac{A}{\text{first}} + \dfrac{B}{\text{second}}, then multiply both sides by the full denominator. Each constant ends up multiplied by the other factor. The result is a polynomial identity with no fractions in it.
Figure 3 · Partial fractions, step by step 1 · Proper? numerator degree below denominator 2 · Factorise the denominator into two linear factors 3 · Write the form A/(first) + B/(second) with ≡ 4 · Find A and B substitute the roots, or equate coefficients 5 · Check put in a value such as x = 0 Five steps, in this order. The check at the end costs ten seconds and catches most slips.
Figure 3 · Partial fractions, step by step

Only then do you choose how to find AA and BB. Sections 4 and 5 give the two ways.

4Method 1: substitute the roots

The identity from step 3 is true for every xx. So give xx values that wipe out one unknown at a time.

Worked example 1. Paper 1. Express 7x−1(x+1)(x−3)\dfrac{7x - 1}{(x + 1)(x - 3)} in partial fractions.

7x−1(x+1)(x−3)≡Ax+1+Bx−3\frac{7x - 1}{(x + 1)(x - 3)} \equiv \frac{A}{x + 1} + \frac{B}{x - 3}7x−1≡A(x−3)+B(x+1)multiply through by (x+1)(x−3)7x - 1 \equiv A(x - 3) + B(x + 1) \qquad \textcolor{#838c91}{\text{multiply through by }(x + 1)(x - 3)}x=3:21−1=A(0)+B(4), so 20=4B, B=5x = 3: \quad 21 - 1 = A(0) + B(4), \ \text{so}\ 20 = 4B, \ B = 5x=−1:−7−1=A(−4)+B(0), so −8=−4A, A=2x = -1: \quad -7 - 1 = A(-4) + B(0), \ \text{so}\ -8 = -4A, \ A = 27x−1(x+1)(x−3)≡2x+1+5x−3\frac{7x - 1}{(x + 1)(x - 3)} \equiv \frac{2}{x + 1} + \frac{5}{x - 3}

The skill is in choosing xx, and Figure 4 shows why it works. Put x=3x = 3. The bracket (x−3)(x - 3) becomes zero, the whole AA term vanishes, and BB is left on its own. Put x=−1x = -1 and the BB term vanishes instead.

Always use the roots of the denominator, the values that make each factor zero.

Figure 4 · Choosing x to make one term vanish 7x − 1 ≡ A(x − 3) + B(x + 1) x = 3: 7(3) − 1 = A(0) + B(4) 20 = 4B, so B = 5 the A term vanishes x = −1: 7(−1) − 1 = A(−4) + B(0) −8 = −4A, so A = 2 the B term vanishes Each substitution kills one bracket and leaves one unknown. Use the roots of the denominator.
Figure 4 · Choosing x to make one term vanish

"But x=3x = 3 is forbidden: the fraction is undefined there." True, but you are not substituting into the fraction. 7x−1≡A(x−3)+B(x+1)7x - 1 \equiv A(x - 3) + B(x + 1) is a statement about two polynomials. It holds at x=3x = 3 too, because polynomials that agree at infinitely many points agree everywhere.

Check

  • Put an easy value such as x=0x = 0 into both sides of the answer. Left: −1(1)(−3)=13\dfrac{-1}{(1)(-3)} = \tfrac{1}{3}. Right: 2+5−3=132 + \dfrac{5}{-3} = \tfrac{1}{3}. They match.
  • This takes ten seconds and exposes most sign slips. Do it every time.

A shortcut once you trust the method

  • To get AA in one line, cover the factor (x+1)(x + 1) with your finger. Evaluate everything else at x=−1x = -1: 7(−1)−1(−1−3)=2\dfrac{7(-1) - 1}{(-1 - 3)} = 2.
  • This is only a faster way of writing the substitution above. In an exam, show the identity line first, because it carries the method mark.

5Method 2: equate coefficients

Expand the right-hand side of the identity and gather like terms.

7x−1≡A(x−3)+B(x+1)7x - 1 \equiv A(x - 3) + B(x + 1)7x−1≡(A+B)x+(−3A+B)7x - 1 \equiv (A + B)x + (-3A + B)x terms:A+B=7x \text{ terms:}\quad A + B = 7constant terms:−3A+B=−1\text{constant terms:}\quad -3A + B = -1subtract: 4A=8, so A=2, and then B=5\text{subtract: } 4A = 8, \ \text{so}\ A = 2, \ \text{and then}\ B = 5

This is legitimate because two polynomials are identical only when their coefficients match term by term. The numbers multiplying xx must agree, and so must the constants.

Which method

  • Substitution is usually faster. Each line delivers one constant.
  • Equating coefficients wins when a numerator contains an unknown letter you also need to find (see Worked example 3). It also wins when the roots are unpleasant fractions.
  • Both together are a self-check. Find AA and BB one way, then confirm them the other.

6Cases that look different but are not

Worked example 2. Paper 1. Express 5x+43x2+7x−6\dfrac{5x + 4}{3x^{2} + 7x - 6} in partial fractions.

3x2+7x−6=(3x−2)(x+3)check: 3x2+9x−2x−63x^{2} + 7x - 6 = (3x - 2)(x + 3) \qquad \textcolor{#838c91}{\text{check: }3x^{2} + 9x - 2x - 6}5x+4(3x−2)(x+3)≡A3x−2+Bx+3\frac{5x + 4}{(3x - 2)(x + 3)} \equiv \frac{A}{3x - 2} + \frac{B}{x + 3}5x+4≡A(x+3)+B(3x−2)5x + 4 \equiv A(x + 3) + B(3x - 2)x=23:223=A(113), so A=2the root of 3x−2 is 23, not 2 or 3x = \frac{2}{3}: \quad \frac{22}{3} = A\left(\frac{11}{3}\right), \ \text{so}\ A = 2 \qquad \textcolor{#838c91}{\text{the root of }3x - 2\text{ is }\tfrac{2}{3}\text{, not 2 or 3}}x=−3:−11=B(−11), so B=1x = -3: \quad -11 = B(-11), \ \text{so}\ B = 15x+43x2+7x−6≡23x−2+1x+3\frac{5x + 4}{3x^{2} + 7x - 6} \equiv \frac{2}{3x - 2} + \frac{1}{x + 3}

Check with x=0x = 0: left side 4−6=−23\dfrac{4}{-6} = -\tfrac{2}{3}; right side 2−2+13=−23\dfrac{2}{-2} + \dfrac{1}{3} = -\tfrac{2}{3}.

Worked example 3 (unknown constants). Paper 1. Given that kx+2(x−1)(x+3)≡3x−1+Bx+3\dfrac{kx + 2}{(x - 1)(x + 3)} \equiv \dfrac{3}{x - 1} + \dfrac{B}{x + 3} for all xx other than 11 and −3-3, find kk and BB.

kx+2≡3(x+3)+B(x−1)multiply through by (x−1)(x+3)kx + 2 \equiv 3(x + 3) + B(x - 1) \qquad \textcolor{#838c91}{\text{multiply through by }(x - 1)(x + 3)}x=1:k+2=12, so k=10x = 1: \quad k + 2 = 12, \ \text{so}\ k = 10x=−3:−3k+2=−4B, so −28=−4B, B=7x = -3: \quad -3k + 2 = -4B, \ \text{so}\ -28 = -4B, \ B = 7

Equating coefficients gives the same: constants 2=9−B2 = 9 - B so B=7B = 7, and xx terms k=3+B=10k = 3 + B = 10.

Here the question has already supplied AA. The unknowns sit in the numerator, so either method is fine. Using the other as a check costs one line.

Denominators written the other way round

  • A factor such as (1−x)(1 - x) is still linear. Its root is x=1x = 1.
  • Leave it in the form the question uses, because the next part (a binomial expansion) is built on that form.

Constants written as letters

The method is unchanged when the fraction contains a letter. The answer then does too. For a positive constant aa:

1(x−a)(x+a)≡Ax−a+Bx+a\frac{1}{(x - a)(x + a)} \equiv \frac{A}{x - a} + \frac{B}{x + a}1≡A(x+a)+B(x−a)1 \equiv A(x + a) + B(x - a)x=a:1=2aA, so A=12ax = a: \quad 1 = 2aA, \ \text{so}\ A = \frac{1}{2a}x=−a:1=−2aB, so B=−12ax = -a: \quad 1 = -2aB, \ \text{so}\ B = -\frac{1}{2a}1x2−a2≡12a(1x−a−1x+a)\frac{1}{x^{2} - a^{2}} \equiv \frac{1}{2a}\left(\frac{1}{x - a} - \frac{1}{x + a}\right)

The roots are aa and −a-a, so the constants come out as fractions in aa. To check, combine: 12a⋅(x+a)−(x−a)(x−a)(x+a)=1(x−a)(x+a)\dfrac{1}{2a}\cdot\dfrac{(x + a) - (x - a)}{(x - a)(x + a)} = \dfrac{1}{(x - a)(x + a)}.

When the split is given: "show that"

Do not start again from the left. Take the right-hand side and combine it over its common denominator. Simplify the numerator, and land on the left-hand side. For example:

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

The method credit is for the common denominator. The final credit is for reaching exactly the stated expression. Use brackets so the whole second numerator is subtracted.

7What partial fractions are for

Nearly every partial-fractions question has a "hence". Four follow-ups appear.

Integration (AHL 5.15)

  • ∫7x−1(x+1)(x−3) dx\displaystyle\int \dfrac{7x - 1}{(x + 1)(x - 3)}\,dx becomes ∫(2x+1+5x−3)dx=2ln⁡∣x+1∣+5ln⁡∣x−3∣+c\displaystyle\int \left(\dfrac{2}{x + 1} + \dfrac{5}{x - 3}\right)dx = 2\ln\lvert x + 1\rvert + 5\ln\lvert x - 3\rvert + c.
  • You meet the integral of 1x+k\dfrac{1}{x + k} in Topic 5. Partial fractions make it usable here. Write the modulus signs, since the logarithm of a negative number is undefined.
  • A coefficient inside a factor needs care: ∫13x−2 dx=13ln⁡∣3x−2∣+c\displaystyle\int \dfrac{1}{3x - 2}\,dx = \tfrac{1}{3}\ln\lvert 3x - 2\rvert + c. The 13\tfrac{1}{3} comes from the chain rule.

Worked example 4. Paper 1. (a) Express 8x2+6x+5\dfrac{8}{x^{2} + 6x + 5} in partial fractions. (b) Hence find the exact value of ∫038x2+6x+5 dx\displaystyle\int_{0}^{3} \dfrac{8}{x^{2} + 6x + 5}\,dx, giving your answer as a single logarithm.

(a)x2+6x+5=(x+1)(x+5),8≡A(x+5)+B(x+1)\text{(a)}\quad x^{2} + 6x + 5 = (x + 1)(x + 5), \qquad 8 \equiv A(x + 5) + B(x + 1)x=−1:8=4A, A=2;x=−5:8=−4B, B=−2x = -1: \quad 8 = 4A, \ A = 2; \qquad x = -5: \quad 8 = -4B, \ B = -28x2+6x+5≡2x+1−2x+5\frac{8}{x^{2} + 6x + 5} \equiv \frac{2}{x + 1} - \frac{2}{x + 5}(b)∫03(2x+1−2x+5)dx=[2ln⁡∣x+1∣−2ln⁡∣x+5∣]03=(2ln⁡4−2ln⁡8)−(2ln⁡1−2ln⁡5)=2ln⁡12+2ln⁡5=2ln⁡52=ln⁡254\begin{aligned}\text{(b)}\quad \int_{0}^{3} \left(\frac{2}{x + 1} - \frac{2}{x + 5}\right)dx &= \Big[2\ln\lvert x + 1\rvert - 2\ln\lvert x + 5\rvert\Big]_{0}^{3} \\[6pt] &= (2\ln 4 - 2\ln 8) - (2\ln 1 - 2\ln 5) \\[6pt] &= 2\ln\frac{1}{2} + 2\ln 5 = 2\ln\frac{5}{2} = \ln\frac{25}{4}\end{aligned}

Substitute the limits into each term and subtract. Then use the laws of logarithms to leave one logarithm.

Sense check: the integrand is 1.61.6 at x=0x = 0, about 0.670.67 at x=1x = 1 and 0.250.25 at x=3x = 3. So the area over a width of 3 is a little under 2, and ln⁡254≈1.83\ln\tfrac{25}{4} \approx 1.83 fits.

Differentiation

  • The split form is quick to differentiate, because each piece is a power of a bracket. For Worked example 1, f(x)=2(x+1)−1+5(x−3)−1f(x) = 2(x + 1)^{-1} + 5(x - 3)^{-1}, so f′(x)=−2(x+1)−2−5(x−3)−2f'(x) = -2(x + 1)^{-2} - 5(x - 3)^{-2}.
  • Both terms are negative wherever ff exists (squares are positive). So ff is decreasing on every interval of its domain. The quotient rule would be longer, and the sign harder to see.

Series expansions (1.10)

  • Each partial fraction is a bracket to the power −1-1, which the extended binomial theorem expands.
  • Two easy expansions added together beat expanding the original quotient.

Worked example 5. Paper 1. (a) Express 7−x(1+x)(1−3x)\dfrac{7 - x}{(1 + x)(1 - 3x)} in partial fractions. (b) Hence find the expansion in ascending powers of xx up to and including x3x^{3}, and state the values of xx for which it is valid.

(a)7−x≡A(1−3x)+B(1+x)\text{(a)}\quad 7 - x \equiv A(1 - 3x) + B(1 + x)x=−1:8=4A, A=2;x=13:203=43B, B=5x = -1: \quad 8 = 4A, \ A = 2; \qquad x = \frac{1}{3}: \quad \frac{20}{3} = \frac{4}{3}B, \ B = 57−x(1+x)(1−3x)≡21+x+51−3x\frac{7 - x}{(1 + x)(1 - 3x)} \equiv \frac{2}{1 + x} + \frac{5}{1 - 3x}(b)2(1+x)−1=2(1−x+x2−x3+…)valid for ∣x∣<1\text{(b)}\quad 2(1 + x)^{-1} = 2\left(1 - x + x^{2} - x^{3} + \ldots\right) \qquad \textcolor{#838c91}{\text{valid for }\lvert x\rvert < 1}5(1−3x)−1=5(1+3x+9x2+27x3+…)valid for ∣3x∣<1, that is ∣x∣<135(1 - 3x)^{-1} = 5\left(1 + 3x + 9x^{2} + 27x^{3} + \ldots\right) \qquad \textcolor{#838c91}{\text{valid for }\lvert 3x\rvert < 1\text{, that is }\lvert x\rvert < \tfrac{1}{3}}sum=7+13x+47x2+133x3+…\text{sum} = 7 + 13x + 47x^{2} + 133x^{3} + \ldots

The expansion holds only where both pieces are valid. ∣x∣<1\lvert x\rvert < 1 and ∣x∣<13\lvert x\rvert < \tfrac{1}{3} together give ∣x∣<13\lvert x\rvert < \tfrac{1}{3}. Quoting ∣x∣<1\lvert x\rvert < 1, or listing both conditions without combining them, loses the final mark.

Check: at x=0x = 0 the series gives 7, and the original fraction gives 7.

Sums of series

  • A sum such as ∑1r(r+1)\sum \dfrac{1}{r(r + 1)} looks daunting. But 1r(r+1)=1r−1r+1\dfrac{1}{r(r + 1)} = \dfrac{1}{r} - \dfrac{1}{r + 1} (confirm by combining).
  • In that form the sum collapses, as Figure 5 shows. The −12-\tfrac{1}{2} from r=1r = 1 cancels the +12+\tfrac{1}{2} from r=2r = 2. The −13-\tfrac{1}{3} from r=2r = 2 cancels the +13+\tfrac{1}{3} from r=3r = 3. And so on down the line.
Figure 5 · Why the sum of 1/(r(r + 1)) collapses r = 1 1 − 1/2 r = 2 1/2 − 1/3 r = 3 1/3 − 1/4 … … − … r = n 1/n − 1/(n + 1) sum = 1 − 1/(n + 1) = n/(n + 1) Written as partial fractions, each term's negative part cancels the next term's positive part. Only the first piece, 1, and the last, −1/(n + 1), survive.
Figure 5 · Why the sum of 1 ÷ r(r + 1) collapses
∑r=1n1r(r+1)=(1−12)+(12−13)+…+(1n−1n+1)=1−1n+1=nn+1\begin{aligned}\sum_{r=1}^{n} \frac{1}{r(r + 1)} &= \left(1 - \frac{1}{2}\right) + \left(\frac{1}{2} - \frac{1}{3}\right) + \ldots + \left(\frac{1}{n} - \frac{1}{n + 1}\right) \\[6pt] &= 1 - \frac{1}{n + 1} = \frac{n}{n + 1}\end{aligned}

A sum that folds up like this is a telescoping sum. The guide does not name it, but it is a natural Paper 3 use of partial fractions. In 1.15 you will prove the same result again by induction.

When the two factors differ by more than 1, as in (r+1)(r+3)(r + 1)(r + 3), the cancellation skips a term. Two terms survive at each end, not one (see Q6).

Practice questions

29 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.