Partial Fractions, Repeated Factors and Quadratics
Not every denominator splits into distinct linear factors. A repeated factor like $(x-a)^2$ needs two constants, not one. An irreducible quadratic like $x^2 + 1$ needs a linear numerator $Ax + B$, and the integration may produce a $\tan^{-1}$ alongside the logarithm. In this lesson you'll master the templates and the completing-the-square trick that handles every quadratic the HSC will throw at you.
Today's hook, Compare two innocent-looking denominators: $(x-1)^2$ and $x^2 + 4$. Neither factors as a product of distinct linear factors. Before reading on, predict what the partial-fraction templates should look like for $\dfrac{3}{(x-1)^2}$ and $\dfrac{5}{x^2+4}$. Which one needs an $Ax + B$ on top? Which one's integral involves $\tan^{-1}$? Compare your guesses after card 05.
0/5QUESTS
1
You are here
Recall, your gut answer first
+5 XP warm-up From L05 you know $\int \dfrac{1}{x - a}\,dx = \ln|x - a| + C$.
01
Recall, your gut answer first
+5 XP warm-up
From L05 you know $\int \dfrac{1}{x - a}\,dx = \ln|x - a| + C$. What about $\int \dfrac{1}{(x - a)^2}\,dx$? And do you remember the standard form $\int \dfrac{1}{x^2 + a^2}\,dx$? Sketch your reasoning below.
auto-saved
2
The two moves for harder partial fractions
+5 XP to read Beyond distinct linear factors you meet two new shapes.
02
The two moves for harder partial fractions
+5 XP to read
Beyond distinct linear factors you meet two new shapes. A repeated linear factor $(x-a)^k$ contributes $k$ terms with denominators $(x-a), (x-a)^2, \dots, (x-a)^k$. An irreducible quadratic $(x^2 + bx + c)$ contributes one term with a linear numerator $(Ax + B)$ on top. The integration then mixes logs, reciprocals and inverse tangents.
The template-by-factor-shape rule: each irreducible factor of $Q(x)$ contributes its own block to the decomposition. Repeated $(x-a)^k$ → $k$ constants. Irreducible quadratic → one linear numerator. Complete the square to integrate.
Template: $\dfrac{A}{x-a} + \dfrac{B}{(x-a)^2}$. Omitting the first term loses a degree of freedom, the system becomes unsolvable.
Quadratic → linear top
An irreducible quadratic $(x^2 + bx + c)$ in the denominator gets a numerator of the form $Cx + D$, one constant for each degree available.
Complete the square
To integrate $\dfrac{1}{x^2 + bx + c}$, rewrite the denominator as $(x + b/2)^2 + (c - b^2/4)$, then use the $\tan^{-1}$ standard form (or log, if the constant is negative).
03
What you'll master
Know
Key facts
$(x-a)^k$ contributes $\sum_{j=1}^{k} A_j/(x-a)^j$ to the decomposition
Why a repeated factor needs one term per power up to the multiplicity
Why an irreducible quadratic earns a linear numerator (degree-of-freedom argument)
How completing the square reveals which standard form applies
Can do
Skills
Decompose $P(x)/Q(x)$ with $(x-a)^2$ factors using a mix of cover-up and coefficient matching
Decompose $P(x)/Q(x)$ with an irreducible quadratic factor
Complete the square to integrate to $\ln$ or $\tan^{-1}$ as appropriate
04
Key terms
Repeated linear factorA factor $(x-a)^k$ with $k \geq 2$ in $Q(x)$. Contributes $k$ partial-fraction terms with denominators $(x-a), (x-a)^2, \dots, (x-a)^k$.
Irreducible quadraticA quadratic $x^2 + bx + c$ with discriminant $b^2 - 4c < 0$, it cannot be factored further over the reals. Contributes $(Cx + D)/(x^2 + bx + c)$.
Completing the squareRewriting $x^2 + bx + c$ as $(x + b/2)^2 + (c - b^2/4)$. Used to transform an integral into a standard $\tan^{-1}$ or $\ln$ form.
Splitting the numeratorGiven $(Cx + D)/(x^2 + a^2)$, rewrite the top so part of it is $\tfrac{1}{2}\dfrac{d}{dx}(x^2 + a^2) = x$, that part integrates to $\tfrac{C}{2}\ln(x^2 + a^2)$, the rest to a $\tan^{-1}$.
Standard form: $\ln$$\displaystyle \int \dfrac{f'(x)}{f(x)}\,dx = \ln|f(x)| + C$. Used when the numerator (after splitting) is the derivative of the denominator.
Standard form: $\tan^{-1}$$\displaystyle \int \dfrac{1}{x^2 + a^2}\,dx = \dfrac{1}{a}\tan^{-1}\dfrac{x}{a} + C$. Used once the denominator is in completed-square form $u^2 + a^2$.
MEX-C1NESA outcome (Further Integration): integrates rational functions using partial fractions, including repeated linear factors and irreducible quadratic factors.
3
Repeated linear factors and irreducible quadratics
Repeated factor rule.
05
Repeated linear factors and irreducible quadratics
core concept
Repeated factor rule. If $(x - a)^k$ appears in $Q(x)$, the decomposition needs every power from 1 up to $k$:
Irreducible quadratic rule. If $x^2 + bx + c$ has $b^2 - 4c < 0$, the decomposition includes
$$\frac{Cx + D}{x^2 + bx + c}.$$
Working the hook: $\dfrac{3}{(x-1)^2}$ already is a single partial-fraction term (the second one in the repeated-factor template), so its integral is $\int 3(x-1)^{-2}\,dx = -3/(x-1) + C$. For $\dfrac{5}{x^2 + 4}$, the denominator is already $x^2 + 2^2$, so $\int \dfrac{5}{x^2 + 4}\,dx = \dfrac{5}{2}\tan^{-1}\dfrac{x}{2} + C$.
Completing the square in action. To handle $\int \dfrac{1}{x^2 + 2x + 5}\,dx$, write $x^2 + 2x + 5 = (x+1)^2 + 4$. With $u = x + 1$ this becomes $\int \dfrac{du}{u^2 + 4} = \tfrac{1}{2}\tan^{-1}\dfrac{u}{2} + C = \tfrac{1}{2}\tan^{-1}\dfrac{x+1}{2} + C$.
Repeated factor $(x-a)^k$ → $k$ terms: $A_1/(x-a) + A_2/(x-a)^2 + \dots + A_k/(x-a)^k$ · Irreducible quadratic → numerator $Cx + D$ · $\int 1/(x-a)^2\,dx = -1/(x-a) + C$ · Complete the square then use $\tan^{-1}$ standard form
Pause, copy the repeated-factor template (one term per power up to $k$), the irreducible-quadratic numerator $Cx+D$, and $\int 1/(x-a)^2\,dx = -1/(x-a)+C$ into your book.
Quick check: Which is the correct partial-fraction template for $\dfrac{x + 2}{(x-1)^2 (x^2 + 3)}$?
4
Integrating $(Cx + D)/(x^2 + a^2)$, split the numerator
We just saw that a repeated factor $(x-a)^k$ requires $k$ separate partial-fraction terms $A_1/(x-a)+\cdots+A_k/(x-a)^k$, and an irreducible quadratic needs a numerator $Cx+D$.
06
Integrating $(Cx + D)/(x^2 + a^2)$, split the numerator
core concept
We just saw that a repeated factor $(x-a)^k$ requires $k$ separate partial-fraction terms $A_1/(x-a)+\cdots+A_k/(x-a)^k$, and an irreducible quadratic needs a numerator $Cx+D$. That raises a question: how do we actually integrate the $(Cx+D)/(x^2+a^2)$ piece once the decomposition is complete? This card answers it → split: write $Cx = \tfrac{C}{2}\cdot 2x$ to get a $\ln$ term, and the constant $D$ gives $\tfrac{D}{a}\arctan(x/a)$.
Once the decomposition gives you $(Cx + D)/(x^2 + a^2)$, the integration uses a two-part trick: split the numerator into a piece proportional to the derivative of the denominator (giving a $\ln$) and a constant piece (giving a $\tan^{-1}$).
Procedure. The derivative of $x^2 + a^2$ is $2x$. So write $Cx + D = \dfrac{C}{2}(2x) + D$, splitting the integral:
If the denominator is $x^2 + bx + c$ with $b \neq 0$, complete the square first ($x^2 + bx + c = (x + b/2)^2 + (c - b^2/4)$) and substitute $u = x + b/2$ to reach the same standard form.
Common mistake. Students apply $\tan^{-1}$ even when the discriminant is positive (i.e. the quadratic factors over the reals). Always check $b^2 - 4c$ before assuming a quadratic is irreducible. If it factors, you should be using L05 methods, not $\tan^{-1}$.
Split: $Cx + D = \tfrac{C}{2}(2x) + D$, $2x$ is $\frac{d}{dx}(x^2 + a^2)$ · Result: $\tfrac{C}{2}\ln(x^2 + a^2) + \tfrac{D}{a}\tan^{-1}(x/a) + K$ · Complete the square first if $b \neq 0$ · Check discriminant: if $b^2 - 4c \geq 0$, factor instead
Pause, copy the numerator-split: $Cx+D = \tfrac{C}{2}(2x)+D$, giving $\tfrac{C}{2}\ln(x^2+a^2)+\tfrac{D}{a}\arctan(x/a)+K$; complete-the-square first if $b \neq 0$; check discriminant to decide factor vs arctan into your book.
Did you get this? True or false: $\displaystyle \int \dfrac{2x}{x^2 + 9}\,dx = \ln(x^2 + 9) + C$.
5
Worked examples · 3 in a row, reveal as you go
Worked examples · 3 in a row, reveal as you go
Worked examples · 3 in a row, reveal as you go
PROBLEM 1 · REPEATED LINEAR FACTOR
Decompose $\dfrac{2x + 1}{(x - 2)^2}$ into partial fractions, then find $\displaystyle \int \dfrac{2x + 1}{(x - 2)^2}\,dx$.
Split the linear-over-quadratic piece: the $x$ part gives a log (using $f'/f$), the constant part gives a $\tan^{-1}$. Two different standard forms in one expression.
Apply $\int \tfrac{1}{u^2 + a^2}\,du = \tfrac{1}{a}\tan^{-1}(u/a) + C$ with $a = 3$, then back-substitute $u = x + 2$. The $\tfrac{1}{3}$ prefactor is essential.
Fill the gap: Completing the square: $x^2 + 6x + 13 = (x + $ $)^2 + $ . So $\displaystyle \int \dfrac{dx}{x^2 + 6x + 13} = \dfrac{1}{2}\tan^{-1}\dfrac{x + 3}{2} + C$.
6
Misconceptions to fix · the 3 traps that cost marks
Misconceptions to fix · the 3 traps that cost marks
Misconceptions to fix · the 3 traps that cost marks
Trap 01
Omitting the lower-power term for $(x-a)^2$
Some students write only $\dfrac{B}{(x-a)^2}$ for a repeated factor, skipping $\dfrac{A}{x-a}$. The decomposition then has too few degrees of freedom and you'll be unable to solve for the constants. Always write one term per power from 1 to $k$.
Trap 02
Putting a single constant over a quadratic
For an irreducible quadratic $(x^2 + bx + c)$, the numerator must be $Cx + D$ (linear), not just $C$ (constant). A constant numerator would only describe a special case and miss the $x$-coefficient information.
Trap 03
Forgetting the $1/a$ factor in $\tan^{-1}$
$\int \dfrac{1}{x^2 + a^2}\,dx = \dfrac{1}{a}\tan^{-1}\dfrac{x}{a} + C$, note BOTH the $1/a$ prefactor AND the $x/a$ inside. Writing $\tan^{-1}(x)$ instead of $\dfrac{1}{a}\tan^{-1}(x/a)$ is a classic dropped-mark error.
Did you get this? True or false: $\displaystyle \int \dfrac{1}{x^2 + 25}\,dx = \tan^{-1}\dfrac{x}{5} + C$.
7
Revisit your thinking
Activities · practice with the ideas
Activities · practice with the ideas
1
Decompose $\dfrac{3x - 1}{(x + 1)^2}$ into partial fractions.
2
Decompose $\dfrac{5}{(x - 2)(x + 1)^2}$ into partial fractions.
3
Find $\displaystyle \int \dfrac{1}{x^2 + 6x + 10}\,dx$ by completing the square.
4
Decompose $\dfrac{x^2 + 1}{x(x^2 + 1)}$. Hint: simplify first if possible.
5
Find $\displaystyle \int \dfrac{2x + 5}{x^2 + 9}\,dx$ by splitting the numerator.
Odd one out: Three of these denominators are irreducible quadratics (so need the $(Cx+D)/(\text{quadratic})$ template). Which one factors over the reals and so does NOT?
11
Revisit your thinking
Earlier you predicted templates for $\dfrac{3}{(x-1)^2}$ and $\dfrac{5}{x^2+4}$, and which integral would produce $\tan^{-1}$.
$\dfrac{3}{(x-1)^2}$ is already a single partial-fraction term (the second one in the repeated-factor template) and integrates by the power rule to $-3/(x-1) + C$. $\dfrac{5}{x^2 + 4}$ has an irreducible quadratic denominator and integrates to $\tfrac{5}{2}\tan^{-1}(x/2) + C$. Together with L05, you can now decompose and integrate ANY proper rational function that appears on the HSC Extension 2 paper.
auto-saved
1
Show what you have learned
Multiple choice, then short answer under exam conditions.
01
Multiple choice
+5 XP per correct · +25 XP all-correct
Pick your answer, then rate your confidence. That tells the system what to drill next. Each retry pulls a fresh mix from the bank.