Integration by partial fractions in HSC Mathematics Extension 2: decomposing rational functions over linear, repeated and irreducible quadratic factors and integrating
“Decompose rational functions into partial fractions and use the decomposition to integrate, including linear, repeated and irreducible quadratic factors”
A proper rational function (numerator degree less than denominator degree) can be written as a sum of partial fractions, one for each factor of the denominator. Distinct linear factors give terms ; repeated factors give ; irreducible quadratics give . Each piece integrates to a logarithm or arctangent.
Jump to a section
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 recognise the three cases (distinct linear factors, repeated linear factors, and irreducible quadratic factors), write the correct decomposition form for each, find the unknown constants, and integrate the resulting pieces into logarithms and arctangents. The skill is examined both as a standalone "express as partial fractions" question and as the engine inside a larger integral.
When to use partial fractions
The method applies to proper rational functions, where the numerator has lower degree than the denominator. That degree condition is not a technicality, it is what guarantees a decomposition exists with constant (and linear) numerators. If the function is improper (numerator degree greater than or equal to denominator degree), you must first divide using polynomial long division to extract a polynomial part plus a proper remainder, then decompose only the remainder. Skipping the division on an improper fraction produces a system of equations with no solution, which is a sure sign you have started in the wrong place.
The deeper reason the method is worth the effort: a single complicated rational function has no obvious antiderivative, but each partial fraction is a textbook standard form. So decomposition converts a hard problem into a sum of easy ones, and you can predict the shape of the answer (logarithms from linear factors, arctangents from irreducible quadratics) before doing any integrating.
Every proper rational function factorises into partial fractions, one block per denominator factor: a distinct linear factor contributes ; a repeated factor contributes (one term per power up to the multiplicity); an irreducible quadratic contributes (a full linear numerator). If the fraction is improper, divide first. Linear pieces integrate to logs; the quadratic piece integrates to a log plus an arctangent.
Distinct linear factors
If the denominator factorises into distinct linear factors, write one fraction per factor:
Multiply through by to clear denominators, then either equate coefficients or substitute convenient values of . Each term integrates as .
Repeated linear factors
A repeated factor needs a separate term for every power up to the multiplicity, not just one term:
The reason both terms are needed is a counting argument: a proper fraction over has two degrees of freedom in its numerator, so the decomposition must also carry two unknowns. Using only throws one away and the system fails. A cube would need three terms, up to . The first term integrates to a logarithm; the higher terms integrate by the power rule, for example .
Irreducible quadratic factors
A quadratic with no real roots (negative discriminant, ) cannot be split into real linear factors, so it gets a full linear numerator:
A constant numerator is not enough here, for the same degrees-of-freedom reason: a proper fraction over a quadratic has a numerator of degree up to one, so you need both and . Such a term integrates in two pieces: split it into a part proportional to the derivative of the denominator (which integrates to a logarithm) plus a leftover constant, which after completing the square integrates to an arctangent.
The cover-up method
For distinct linear factors there is a shortcut that avoids solving a system. To find the constant over , multiply the whole identity by and then set : every other term still has a factor of in it and vanishes, leaving the constant alone. In practice you "cover up" the factor in the original denominator and evaluate what remains at . For , the constant over is found by covering and putting into . The cover-up method is fast and reliable for simple linear factors, but it only isolates constants over single linear factors; for repeated or irreducible-quadratic blocks you still need to equate coefficients for the remaining unknowns.
Finding the unknown constants
Two methods recover the constants , , after you clear the denominators, and good answers mix them. The cover-up (substitution) method substitutes the value of that makes one factor zero, instantly isolating the constant over that factor; it is fastest for distinct linear factors. The equate-coefficients method expands the right side and matches the coefficient of each power of on both sides, producing a small linear system; it is the reliable route when irreducible quadratics or repeated factors are involved, since not every constant can be isolated by a single substitution. The efficient workflow is to cover up the linear factors first, then equate one or two coefficients (often the highest power and the constant term) to pin down the rest. Always verify with a check value of , as in the worked examples below, before integrating.
Integrating each piece
Once decomposed, each fragment maps to a standard integral, and recognising the target shape in advance is a useful sanity check on your decomposition.
- (a logarithm; keep the absolute value).
- (power rule, no logarithm).
- : write the numerator as plus a constant. The first part gives (no absolute value, since an irreducible quadratic is always positive); the leftover constant over the completed square gives an arctangent.
So the final answer to a partial-fractions integral is always a combination of logarithms and arctangents (plus possibly a polynomial, if the original fraction was improper).
How exam questions ask about partial fractions
- "Express as a sum of partial fractions." Decomposition only, no integration. Choose the correct form for each factor and find all constants; finish with the constants substituted in.
- "Use partial fractions to find ." Decompose first, then integrate term by term to logs and arctangents, with .
- "Hence find " (definite). Decompose, integrate, then substitute the limits; the modulus inside the logs keeps everything real over the interval.
- A denominator with an irreducible quadratic (, ). Use a linear numerator ; expect an arctangent in the answer.
- A repeated factor or . Include both and ; the second integrates without a log.
- An improper-looking integrand (numerator degree denominator degree). Do polynomial long division first, then decompose the remainder.
Write the decomposition form before finding any constants, so the setup mark is secured even if the arithmetic slips. State the discriminant test in words when you use a numerator (" is irreducible since its discriminant is negative"), which is exactly what markers want to see. Use cover-up to grab the linear-factor constants quickly, then equate coefficients for the rest, and do a quick check at a convenient value of before integrating. In the answer, keep absolute values inside logs over linear factors, drop them over an irreducible quadratic (it is always positive), and never lose the . For a definite integral, simplify the logs with log laws where it makes the final value cleaner.
Evaluate with distinct linear factors
The integrand is a proper rational function with two distinct linear factors in the denominator. We split it into partial fractions, find the constants using the cover-up method, then integrate each piece as a logarithm.
Set up the partial fraction decomposition: Each distinct linear factor in the denominator contributes one fraction with a constant numerator. Write:
Multiply both sides through by to clear the denominators:
Find the constants using the cover-up method: Substitute the value of that makes each factor zero. Setting kills the term: , so . Setting kills the term: , so .
Integrate each partial fraction: Each term of the form integrates to . Combining the two pieces:
Verify the decomposition: Check at : the original integrand gives ; the decomposition gives . The values match, confirming the constants are correct.
Final answer: .
Evaluate with a repeated linear factor
A repeated factor needs one term per power, so the decomposition carries two unknowns even though there is only one distinct factor.
Write the form for a repeated factor: The factor contributes a term for each power up to the multiplicity:
Multiply through by :
Find the constants: Cover-up still gives one of them: setting kills the term, so . For , compare the coefficient of on each side: the left has , the right has , so . (Equivalently, substitute any other value of .)
Integrate, noting the power-rule term: The first term gives a logarithm; the second integrates by the power rule, not to a log:
Final answer: .
Evaluate with an irreducible quadratic
The denominator mixes a linear factor with an irreducible quadratic, so the answer will contain both a logarithm and an arctangent.
Write the form with a linear numerator over the quadratic: Since has discriminant it is irreducible, so it gets a numerator:
Multiply through by :
Find the constants by mixing cover-up and coefficients: Cover-up the linear factor: at , , so . Compare coefficients: , so . Substitute for the constant: , so .
Integrate each piece to a log and an arctangent: With the quadratic piece is just , a standard arctangent form:
Final answer: .
Integrate the improper fraction
The numerator degree equals the denominator degree, so this is improper and must be divided before any decomposition.
Divide first to extract the polynomial part: Because the degrees are equal, write , so
The constant is the polynomial part; only the proper remainder is decomposed.
Decompose the proper remainder: Factor and write . Cover-up gives (at ) and (at ).
Integrate the polynomial part and the fractions:
This can be tidied with log laws to .
Final answer: .
- Decomposing an improper fraction directly
- If the numerator degree is at least the denominator degree, divide first. Skipping this gives an inconsistent system with no solution.
- Too few terms for a repeated factor
- A factor needs both and . Using only one term loses a degree of freedom and the system fails.
- A constant numerator over an irreducible quadratic
- An irreducible quadratic factor needs a linear numerator , not just a constant.
- Treating the repeated term as a logarithm
- integrates by the power rule to , not to a log.
- Dropping the absolute value in the logarithm
- Integrating gives ; the modulus matters for negative arguments. (An irreducible quadratic is always positive, so its log needs no modulus.)
Exam-style questions
Questions in the style of NESA 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.
HSC 2023-style4 marksFind .Show worked answer →
Decompose into partial fractions over the distinct linear factors: .
Then .
- At : , so .
- At : , so .
So the integrand is , and
.
At : . At : .
Value (equivalently ).
Mark notes: 1 mark for the partial fraction setup, 1 mark for and , 1 mark for the antiderivative with logs, 1 mark for evaluating to (note keeps the logs real on ).
HSC 2024-style3 marksUse partial fractions to find .Show worked answer →
The denominator has a linear factor and an irreducible quadratic factor, so write
.
Then .
- At : , so .
- At : , so .
- Comparing coefficients: , so .
The integrand is , so
.
Mark notes: 1 mark for the correct partial fraction form with a linear numerator over the quadratic, 1 mark for finding , , , 1 mark for the primitive .
HSC 2021-style3 marksExpress as a sum of partial fractions over the real numbers.Show worked answer →
Since is irreducible over the reals (its discriminant ), use a linear numerator over it:
.
Multiply through: .
- At : , so .
- Comparing coefficients: , so .
- Comparing constants: , so .
(Check the coefficient: , matching the coefficient of on the left.)
So .
Mark notes: 1 mark for the correct form with over the irreducible quadratic, 1 mark for , 1 mark for and .