Skip to main content

Integration by partial fractions (WACE Year 12 Mathematics Specialist Unit 4)

Syllabus dot point

“Resolve a rational function into partial fractions and integrate each term”

7 min read

Quick answer

Write a proper rational function as a sum of simpler fractions, one per linear factor of the denominator, like px+q(x−a)(x−b)=Ax−a+Bx−b\tfrac{px + q}{(x - a)(x - b)} = \tfrac{A}{x - a} + \tfrac{B}{x - b}. Solve for the constants, then integrate each term using ∫1x−a dx=ln⁡∣x−a∣\int \tfrac{1}{x - a}\,dx = \ln|x - a|.

Jump to a section
  1. What this dot point is asking
  2. When and how to decompose
  3. The cover-up method in detail
  4. Repeated and irreducible quadratic factors
  5. Improper fractions: divide first
  6. Integrating the pieces
  7. Why the technique works and where it leads
  8. Exam-style questions

What this dot point is asking

SCSA wants you to decompose a rational integrand into partial fractions and integrate, including reducing an improper fraction by division first.

When and how to decompose

Partial fractions apply to a proper rational function (numerator degree less than denominator degree) whose denominator factors. For distinct linear factors, set up one constant over each factor:

Distinct linear factors

px+q(x−a)(x−b)=Ax−a+Bx−b.\frac{px + q}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}.

Multiply through by the denominator and solve for the constants, either by substituting the roots x=ax = a and x=bx = b (the cover-up method) or by equating coefficients.

The cover-up method in detail

The cover-up method is the fastest way to find the constants over distinct linear factors. To find AA in px+q(x−a)(x−b)\dfrac{px + q}{(x - a)(x - b)}, mentally cover the (x−a)(x - a) factor in the denominator and evaluate the remaining expression at x=ax = a, giving A=pa+qa−bA = \dfrac{pa + q}{a - b}. The justification is that multiplying both sides by (x−a)(x - a) and then setting x=ax = a kills every term except the one over (x−a)(x - a). It works whenever the factor is linear and appears to the first power, which covers the standard SCSA cases. For repeated or quadratic factors the cover-up trick only finds some of the constants, so equating coefficients is needed to complete the system.

Repeated and irreducible quadratic factors

Although distinct linear factors are the most common case, SCSA also expects you to recognise two harder forms. A repeated linear factor (x−a)2(x - a)^2 needs two terms, Ax−a+B(x−a)2\dfrac{A}{x - a} + \dfrac{B}{(x - a)^2}, because a single term cannot capture both behaviours. An irreducible quadratic factor x2+cx^2 + c in the denominator needs a linear numerator, Bx+Cx2+c\dfrac{Bx + C}{x^2 + c}, which integrates to a combination of a logarithm (from the BxBx part) and an inverse tangent (from the CC part). Setting up the correct template before solving for constants is half the battle.

Improper fractions: divide first

Reduce improper fractions before decomposing

If the numerator degree is at least the denominator degree, perform polynomial division first. The quotient integrates as a polynomial; apply partial fractions only to the proper remainder.

Integrating the pieces

Each term Ax−a\tfrac{A}{x - a} integrates to Aln⁡∣x−a∣A\ln|x - a|. So the integral of a decomposed rational function is a sum of logarithms (plus any polynomial part from division), combined into a single logarithm where convenient using log laws.

Why the technique works and where it leads

Partial fractions matter because the antiderivative of 1x−a\dfrac{1}{x - a} is a logarithm, a function the other techniques cannot easily produce from a rational integrand. Splitting a complicated fraction into a sum of single-factor pieces converts an integral with no obvious antiderivative into a sum of standard logarithmic integrals. This is precisely the step that makes the logistic differential equation solvable: separating variables leaves ∫dPP(1−P/M)\displaystyle\int \dfrac{dP}{P(1 - P/M)}, whose integrand is decomposed by partial fractions into 1P\dfrac{1}{P} and a term in 11−P/M\dfrac{1}{1 - P/M}, each of which integrates to a logarithm. Mastery of partial fractions therefore underpins a substantial part of the differential-equations work later in Unit 4.

Worked example

Evaluate ∫5x−1(x−1)(x+2) dx\displaystyle\int \frac{5x - 1}{(x - 1)(x + 2)}\,dx.

Step 1: Set up the partial-fraction decomposition

The integrand is a proper rational function with two distinct linear factors in the denominator. Each factor contributes one term with an unknown constant numerator. Multiplying both sides by (x−1)(x+2)(x - 1)(x + 2) clears the fractions and gives an equation that holds for all xx.

5x−1(x−1)(x+2)=Ax−1+Bx+2  ⟹  5x−1=A(x+2)+B(x−1)\frac{5x - 1}{(x - 1)(x + 2)} = \frac{A}{x - 1} + \frac{B}{x + 2} \implies 5x - 1 = A(x + 2) + B(x - 1)

Step 2: Solve for the constants AA and BB

Substituting the root of each factor eliminates the other constant, making it straightforward to solve for one unknown at a time. When x=1x = 1 the term B(x−1)B(x - 1) vanishes; when x=−2x = -2 the term A(x+2)A(x + 2) vanishes.

Substitute x=1x = 1: 5(1)−1=A(1+2)5(1) - 1 = A(1 + 2), so 4=3A4 = 3A and A=43A = \tfrac{4}{3}.

Substitute x=−2x = -2: 5(−2)−1=B(−2−1)5(-2) - 1 = B(-2 - 1), so −11=−3B-11 = -3B and B=113B = \tfrac{11}{3}.

Step 3: Integrate each partial fraction

Each term now has the standard form kx−a\tfrac{k}{x - a}, whose antiderivative is kln⁡∣x−a∣k\ln|x - a|. The absolute value bars are necessary because the argument may be negative, and logarithms require a positive input.

∫5x−1(x−1)(x+2) dx=43ln⁡∣x−1∣+113ln⁡∣x+2∣+C\int \frac{5x - 1}{(x - 1)(x + 2)}\,dx = \frac{4}{3}\ln|x - 1| + \frac{11}{3}\ln|x + 2| + C

Final answer: 43ln⁡∣x−1∣+113ln⁡∣x+2∣+C\dfrac{4}{3}\ln|x - 1| + \dfrac{11}{3}\ln|x + 2| + C.

Common traps
Decomposing an improper fraction
Divide first if the numerator degree is not smaller; otherwise the setup is wrong.
Dropping the modulus in the logarithm
∫1x−a dx=ln⁡∣x−a∣\int \tfrac{1}{x - a}\,dx = \ln|x - a|, with absolute value bars.
Setting up the wrong number of constants
Distinct linear factors each need one constant; do not merge them.

Exam-style questions

Questions in the style of SCSA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

WACE 2023-style6 marks
Calculator-free. Evaluate ∫342x2−x−2 dx\displaystyle\int_3^4 \frac{2}{x^2 - x - 2}\,dx, giving the exact answer.
Show worked answer →

A definite integral by partial fractions.

Factor: x2−x−2=(x−2)(x+1)x^2 - x - 2 = (x - 2)(x + 1). Decompose 2(x−2)(x+1)=Ax−2+Bx+1\dfrac{2}{(x - 2)(x + 1)} = \dfrac{A}{x - 2} + \dfrac{B}{x + 1}, so 2=A(x+1)+B(x−2)2 = A(x + 1) + B(x - 2). Set x=2x = 2: 2=3A2 = 3A, A=23A = \dfrac{2}{3}. Set x=−1x = -1: 2=−3B2 = -3B, B=−23B = -\dfrac{2}{3}.

Integrate: ∫34(2/3x−2−2/3x+1)dx=23[ln⁡∣x−2∣−ln⁡∣x+1∣]34=23[ln⁡x−2x+1]34\displaystyle\int_3^4 \left(\dfrac{2/3}{x - 2} - \dfrac{2/3}{x + 1}\right) dx = \dfrac{2}{3}\Big[\ln|x - 2| - \ln|x + 1|\Big]_3^4 = \dfrac{2}{3}\left[\ln\dfrac{x - 2}{x + 1}\right]_3^4.

At x=4x = 4: ln⁡25\ln\dfrac{2}{5}. At x=3x = 3: ln⁡14\ln\dfrac{1}{4}. Difference: 23(ln⁡25−ln⁡14)=23ln⁡85\dfrac{2}{3}\left(\ln\dfrac{2}{5} - \ln\dfrac{1}{4}\right) = \dfrac{2}{3}\ln\dfrac{8}{5}.

Markers reward the factorisation, the two constants, integrating to logarithms, and the exact value 23ln⁡85\dfrac{2}{3}\ln\dfrac{8}{5}.

WACE 2021-style7 marks
Calculator-assumed. (a) Express x2+3x2−1\dfrac{x^2 + 3}{x^2 - 1} as a polynomial plus partial fractions. (b) Hence find ∫x2+3x2−1 dx\displaystyle\int \frac{x^2 + 3}{x^2 - 1}\,dx.
Show worked answer →

An improper fraction requiring division first.

(a) Since the numerator degree equals the denominator degree, divide: x2+3x2−1=1+4x2−1\dfrac{x^2 + 3}{x^2 - 1} = 1 + \dfrac{4}{x^2 - 1}. Factor x2−1=(x−1)(x+1)x^2 - 1 = (x - 1)(x + 1) and decompose 4(x−1)(x+1)=Ax−1+Bx+1\dfrac{4}{(x - 1)(x + 1)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 1}, so 4=A(x+1)+B(x−1)4 = A(x + 1) + B(x - 1). Set x=1x = 1: 4=2A4 = 2A, A=2A = 2. Set x=−1x = -1: 4=−2B4 = -2B, B=−2B = -2. So the expression is 1+2x−1−2x+11 + \dfrac{2}{x - 1} - \dfrac{2}{x + 1}.

(b) Integrate: ∫(1+2x−1−2x+1)dx=x+2ln⁡∣x−1∣−2ln⁡∣x+1∣+C\displaystyle\int \left(1 + \dfrac{2}{x - 1} - \dfrac{2}{x + 1}\right) dx = x + 2\ln|x - 1| - 2\ln|x + 1| + C.

Markers reward the division to make it proper, the partial fractions, and the integral with the polynomial term and the two logarithms.

Practise this

Sources & how we know this

ExamExplained