Skip to main content

Partial fractions (SACE Stage 2 Specialist Mathematics)

Syllabus dot point

“Decompose rational functions into partial fractions and use the decomposition to integrate them.”

8 min read

Quick answer

Partial fractions rewrite a rational function as a sum of simpler fractions, one per factor of the denominator. For distinct linear factors, P(x)(x−a)(x−b)=Ax−a+Bx−b\dfrac{P(x)}{(x-a)(x-b)} = \dfrac{A}{x-a} + \dfrac{B}{x-b}; find AA and BB by substituting convenient values or equating coefficients. Each simple fraction integrates to a logarithm, so the technique turns hard rational integrals into easy ones.

Jump to a section
  1. What this dot point is asking
  2. When and how to decompose
  3. Finding the constants
  4. Integrating the pieces
  5. Equating coefficients
  6. Improper rational functions
  7. Connecting to differential equations
  8. Exam-style questions

What this dot point is asking

You need to decompose rational functions into partial fractions and use the decomposition to integrate them.

When and how to decompose

Partial fractions apply to a proper rational function (numerator degree less than denominator degree). If the function is improper, do polynomial division first and decompose the remaining proper part.

Form of the decomposition
  • A distinct linear factor (x−a)(x - a) contributes a term Ax−a\dfrac{A}{x - a}.
  • A repeated linear factor (x−a)2(x - a)^2 contributes Ax−a+B(x−a)2\dfrac{A}{x - a} + \dfrac{B}{(x - a)^2}.
  • An irreducible quadratic factor (x2+px+q)(x^2 + px + q) contributes Ax+Bx2+px+q\dfrac{Ax + B}{x^2 + px + q}.
    Set up one term per factor, then solve for the unknown constants.

Finding the constants

Two reliable methods: substitute strategic xx-values (the cover-up idea), or expand and equate coefficients of like powers.

Decomposing into partial fractions

Express 5x−4(x−2)(x+1)\dfrac{5x - 4}{(x - 2)(x + 1)} in partial fractions

Step 1: Set up the partial fraction form

Because the denominator has two distinct linear factors, one term per factor is assigned an unknown numerator. The idea is that any proper rational function over distinct linear factors can be written as a sum of simpler fractions of exactly this shape.

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

Step 2: Clear the denominators

Multiplying both sides by (x−2)(x+1)(x-2)(x+1) eliminates the fractions and leaves a polynomial identity that holds for all values of xx.

5x−4=A(x+1)+B(x−2).5x - 4 = A(x + 1) + B(x - 2).

Step 3: Substitute x=2x = 2 to find AA

Substituting a root of one factor makes the term containing the other unknown vanish, isolating AA. Here x=2x = 2 is a root of (x−2)(x - 2), so the BB term disappears.

5(2)−4=A(3)5(2) - 4 = A(3), so 6=3A6 = 3A, giving A=2A = 2.

Step 4: Substitute x=−1x = -1 to find BB, then write the result

Substituting x=−1x = -1, a root of (x+1)(x + 1), makes the AA term vanish and isolates BB.

5(−1)−4=B(−3)5(-1) - 4 = B(-3), so −9=−3B-9 = -3B, giving B=3B = 3.

Therefore

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

Integrating the pieces

Each Ax−a\dfrac{A}{x - a} integrates to Aln⁡∣x−a∣A\ln|x - a|, using ∫1x−a dx=ln⁡∣x−a∣+C\int \dfrac{1}{x - a}\,dx = \ln|x - a| + C. So once decomposed, the integral is a sum of logarithms.

Integrating using partial fractions

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

Step 1: Use the decomposition from the previous example to rewrite the integral

The hard part of integration has already been done: partial fractions replaced the rational function with simpler pieces. Each piece is of the form Ax−a\dfrac{A}{x - a}, which has a known antiderivative.

∫5x−4(x−2)(x+1) dx=∫(2x−2+3x+1)dx.\int \frac{5x - 4}{(x-2)(x+1)}\,dx = \int \left(\frac{2}{x - 2} + \frac{3}{x + 1}\right)dx.

Step 2: Integrate each term using the standard logarithm rule

The rule ∫1x−a dx=ln⁡∣x−a∣+C\int \dfrac{1}{x - a}\,dx = \ln|x - a| + C applies directly to each term. Integrating term by term and collecting the constant gives the final answer.

=2ln⁡∣x−2∣+3ln⁡∣x+1∣+C.= 2\ln|x - 2| + 3\ln|x + 1| + C.

Equating coefficients

The substitution (cover-up) method is fastest for distinct linear factors, but equating coefficients is the general approach and is essential when a repeated or quadratic factor is present. After clearing denominators, expand the right side fully and match the coefficients of each power of xx on both sides. This produces a small system of simultaneous equations in the unknown constants, which you solve together. For example, 3x+5=A(x+1)+B(x−2)3x + 5 = A(x+1) + B(x-2) gives, on matching the xx coefficients and the constants, A+B=3A + B = 3 and A−2B=5A - 2B = 5, solved to find AA and BB. Both methods give the same answer, so use whichever the factor structure makes cleaner.

Improper rational functions

If the numerator degree is at least the denominator degree, divide first. For instance x2x2−1\dfrac{x^2}{x^2 - 1} is improper; dividing gives 1+1x2−11 + \dfrac{1}{x^2 - 1}, and only the proper remainder 1(x−1)(x+1)\dfrac{1}{(x-1)(x+1)} is decomposed.

Always factor the denominator first

Partial fractions need the denominator fully factored into linear and irreducible quadratic factors. Spotting a difference of squares such as x2−1=(x−1)(x+1)x^2 - 1 = (x-1)(x+1) is often the first step.

Connecting to differential equations

Partial fractions are the workhorse behind solving logistic differential equations in Topic 6. An equation such as dPdt=kP(M−P)\dfrac{dP}{dt} = kP(M - P) separates to 1P(M−P) dP=k dt\dfrac{1}{P(M-P)}\,dP = k\,dt, and the left side is integrated only after decomposing 1P(M−P)\dfrac{1}{P(M-P)} into 1M(1P+1M−P)\dfrac{1}{M}\left(\dfrac{1}{P} + \dfrac{1}{M-P}\right). Each piece then integrates to a logarithm, producing the ln⁡PM−P\ln\dfrac{P}{M-P} form that rearranges into the S-shaped logistic solution. Mastery of partial fractions here pays off directly when you model limited growth.

Common errors
Decomposing an improper fraction directly
If the numerator degree is not smaller, divide first; otherwise the decomposition cannot match.
Wrong form for repeated factors
A factor (x−a)2(x - a)^2 needs both Ax−a\dfrac{A}{x-a} and B(x−a)2\dfrac{B}{(x-a)^2}; using only one term loses solutions.
Forgetting the absolute value in the log
∫1x−a dx=ln⁡∣x−a∣+C\int \dfrac{1}{x-a}\,dx = \ln|x - a| + C. Dropping the modulus is a marked error.
Arithmetic slips finding constants
After substituting, double-check by recombining the partial fractions; they should return the original numerator.

Exam-style questions

Questions in the style of SACE Board 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.

SACE 2022-style2 marks
Calculator-free. Show that 1x−2−1x+3=5(x−2)(x+3)\dfrac{1}{x-2} - \dfrac{1}{x+3} = \dfrac{5}{(x-2)(x+3)}.
Show worked answer →

Combine the left side over the common denominator (x−2)(x+3)(x-2)(x+3):

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

The numerator simplifies: (x+3)−(x−2)=5(x+3) - (x-2) = 5. So the left side equals 5(x−2)(x+3)\dfrac{5}{(x-2)(x+3)}, as required. This is the partial-fraction decomposition read in reverse. [2 marks]

SACE 2023-style2 marks
Calculator-free. Express 1(x−8)(x−4)\dfrac{1}{(x-8)(x-4)} in partial fractions.
Show worked answer →

Set 1(x−8)(x−4)=Ax−8+Bx−4\dfrac{1}{(x-8)(x-4)} = \dfrac{A}{x-8} + \dfrac{B}{x-4}. Multiply through: 1=A(x−4)+B(x−8)1 = A(x-4) + B(x-8). [1 mark]

Let x=8x = 8: 1=4A1 = 4A, so A=14A = \tfrac{1}{4}. Let x=4x = 4: 1=−4B1 = -4B, so B=−14B = -\tfrac{1}{4}.

Therefore 1(x−8)(x−4)=14(1x−8−1x−4)\dfrac{1}{(x-8)(x-4)} = \dfrac{1}{4}\left(\dfrac{1}{x-8} - \dfrac{1}{x-4}\right). [1 mark]

SACE 2021-style4 marks
Calculator-free. Express 5x−4(x−2)(x+1)\dfrac{5x-4}{(x-2)(x+1)} in partial fractions and hence find ∫5x−4(x−2)(x+1) dx\displaystyle\int \dfrac{5x-4}{(x-2)(x+1)}\,dx.
Show worked answer →

Set 5x−4(x−2)(x+1)=Ax−2+Bx+1\dfrac{5x-4}{(x-2)(x+1)} = \dfrac{A}{x-2} + \dfrac{B}{x+1}, so 5x−4=A(x+1)+B(x−2)5x - 4 = A(x+1) + B(x-2).

Let x=2x = 2: 6=3A6 = 3A, so A=2A = 2. Let x=−1x = -1: −9=−3B-9 = -3B, so B=3B = 3. [2 marks]

Integrate term by term, using ∫1x−a dx=ln⁡∣x−a∣\int \dfrac{1}{x-a}\,dx = \ln|x-a|:

∫(2x−2+3x+1)dx=2ln⁡∣x−2∣+3ln⁡∣x+1∣+C.  [2 marks]\int \left(\frac{2}{x-2} + \frac{3}{x+1}\right)dx = 2\ln|x-2| + 3\ln|x+1| + C. \;[\text{2 marks}]

Practise this

Sources & how we know this

ExamExplained