Skip to main content
NSWMaths Extension 2Syllabus dot point

How does decomposing a rational function into partial fractions turn an awkward integral into a sum of standard logarithm and arctangent integrals?

Decompose rational functions into partial fractions and use the decomposition to integrate, including linear, repeated and irreducible quadratic factors

A focused answer to the HSC Maths Extension 2 dot point on partial fractions. Decomposing proper rational functions over distinct linear, repeated and irreducible quadratic factors, then integrating to logs and arctangents, with verified worked examples.

Generated by Claude Opus 4.76 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. When to use partial fractions
  3. Distinct linear factors
  4. Repeated linear factors
  5. Irreducible quadratic factors

What this dot point is asking

NESA wants you to integrate rational functions (a polynomial divided by a polynomial) by first splitting them into simpler partial fractions. You must handle distinct linear factors, repeated linear factors, and irreducible quadratic factors, and integrate the resulting pieces into logarithms and arctangents.

When to use partial fractions

The method applies to proper rational functions, where the numerator has lower degree than the denominator. If the function is improper (numerator degree greater than or equal to denominator degree), first divide using polynomial long division to extract a polynomial plus a proper remainder, then decompose the remainder.

Distinct linear factors

If the denominator factorises into distinct linear factors, write one fraction per factor:

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 (xβˆ’a)(xβˆ’b)(x - a)(x - b) and either equate coefficients or substitute convenient values of xx (the cover-up method): setting x=ax = a isolates AA, and x=bx = b isolates BB.

Each term integrates as ∫Axβˆ’a dx=Aln⁑∣xβˆ’a∣+C\int \dfrac{A}{x - a}\,dx = A\ln|x - a| + C.

Repeated linear factors

A repeated factor (xβˆ’a)2(x - a)^2 requires a term for each power up to the multiplicity:

…(xβˆ’a)2=Axβˆ’a+B(xβˆ’a)2.\frac{\dots}{(x - a)^2} = \frac{A}{x - a} + \frac{B}{(x - a)^2}.

The first term integrates to a logarithm, the second to βˆ’Bxβˆ’a-\dfrac{B}{x - a} via the power rule.

Irreducible quadratic factors

A quadratic x2+px+qx^2 + px + q with no real roots (negative discriminant) gets a linear numerator:

…x2+px+q=Bx+Cx2+px+q.\frac{\dots}{x^2 + px + q} = \frac{Bx + C}{x^2 + px + q}.

Such a term integrates by splitting into a part proportional to the derivative of the denominator (giving a logarithm) plus a constant part, which after completing the square gives an arctangent.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2023 HSC4 marksFind integral from 0 to 2 of (5x - 3)/((x + 1)(x - 3)) dx.
Show worked answer β†’

Decompose into partial fractions over the distinct linear factors: (5x - 3)/((x + 1)(x - 3)) = A/(x + 1) + B/(x - 3).

Then 5x - 3 = A(x - 3) + B(x + 1).

  • At x = 3: 15 - 3 = 12 = 4B, so B = 3.
  • At x = -1: -5 - 3 = -8 = -4A, so A = 2.

So the integrand is 2/(x + 1) + 3/(x - 3), and

integral from 0 to 2 = [2 ln|x + 1| + 3 ln|x - 3|] from 0 to 2.

At x = 2: 2 ln 3 + 3 ln 1 = 2 ln 3. At x = 0: 2 ln 1 + 3 ln 3 = 3 ln 3.

Value = 2 ln 3 - 3 ln 3 = -ln 3 (equivalently ln(1/3)).

Mark notes: 1 mark for the partial fraction setup, 1 mark for A = 2 and B = 3, 1 mark for the antiderivative with logs, 1 mark for evaluating to -ln 3 (note |x - 3| keeps the logs real on [0, 2]).

2024 HSC3 marksUse partial fractions to find integral of (3x^2 + 2x + 1)/((x - 1)(x^2 + 1)) dx.
Show worked answer β†’

The denominator has a linear factor and an irreducible quadratic factor, so write

(3x^2 + 2x + 1)/((x - 1)(x^2 + 1)) = A/(x - 1) + (Bx + C)/(x^2 + 1).

Then 3x^2 + 2x + 1 = A(x^2 + 1) + (Bx + C)(x - 1).

  • At x = 1: 3 + 2 + 1 = 6 = 2A, so A = 3.
  • At x = 0: 1 = A - C = 3 - C, so C = 2.
  • Comparing x^2 coefficients: 3 = A + B = 3 + B, so B = 0.

The integrand is 3/(x - 1) + 2/(x^2 + 1), so

integral = 3 ln|x - 1| + 2 arctan(x) + C.

Mark notes: 1 mark for the correct partial fraction form with a linear numerator over the quadratic, 1 mark for finding A = 3, B = 0, C = 2, 1 mark for the primitive 3 ln|x - 1| + 2 arctan(x) + C.

2021 HSC3 marksExpress (3x^2 - 5)/((x - 2)(x^2 + x + 1)) as a sum of partial fractions over the real numbers.
Show worked answer β†’

Since x^2 + x + 1 is irreducible over the reals (its discriminant 1 - 4 = -3 < 0), use a linear numerator over it:

(3x^2 - 5)/((x - 2)(x^2 + x + 1)) = A/(x - 2) + (Bx + C)/(x^2 + x + 1).

Multiply through: 3x^2 - 5 = A(x^2 + x + 1) + (Bx + C)(x - 2).

  • At x = 2: 12 - 5 = 7 = A(4 + 2 + 1) = 7A, so A = 1.
  • Comparing x^2 coefficients: 3 = A + B = 1 + B, so B = 2.
  • Comparing constants: -5 = A - 2C = 1 - 2C, so C = 3.

(Check the x coefficient: A - 2B + C = 1 - 4 + 3 = 0, matching the 0 coefficient of x on the left.)

So (3x^2 - 5)/((x - 2)(x^2 + x + 1)) = 1/(x - 2) + (2x + 3)/(x^2 + x + 1).

Mark notes: 1 mark for the correct form with Bx + C over the irreducible quadratic, 1 mark for A = 1, 1 mark for B = 2 and C = 3.