Number & algebra · AA HL
Partial fractions
Split a rational expression into simpler fractions so that integration and algebra become manageable.
Course focus: AA HL: this guide develops additional higher-level content; it is not required for AA SL.
Before you start: Polynomial division, factorisation and simultaneous equations.
Build it from the beginning
HL contentA rational expression can sometimes be written as a sum of simpler fractions. The equality must hold for every allowed input, not just one chosen value. Clear denominators first, then compare coefficients or choose values that remove an unknown.
A first walkthrough
Decompose \(1/[x(x+1)]\).
- Set \(1/[x(x+1)]=A/x+B/(x+1)\).
- Multiplying by \(x(x+1)\) gives \(1=A(x+1)+Bx\).
- At \(x=0\), \(A=1\); at \(x=-1\), \(B=-1\). Thus the result is \(1/x-1/(x+1)\) on the original domain.
The foundations behind the method
Understand what the symbols mean
A rational expression is a quotient of polynomials. Division first separates a polynomial part when the numerator's degree is at least the denominator's. Partial fractions then rewrite the proper remainder as simpler fractions whose denominators reflect the factorisation. Original excluded values stay excluded after simplification.
How the ideas connect
For repeated factors you need every power, not just the highest one. Multiplying the proposed decomposition by the denominator creates a polynomial identity; matching coefficients or selecting convenient x values determines the constants. Substitution at a denominator root is performed in this cleared identity, not in the original undefined fraction.
Start with the idea
Build your understanding
Partial fractions replace one rational expression with a sum of simpler rational expressions. The denominators reveal the required form; solving the constants is only the second step. The goal is an identity, valid across the original domain.
Proper expression
The numerator degree must be lower than the denominator degree before decomposition. Polynomial division separates a polynomial part when this fails.
Repeated factor
A repeated linear factor requires a contribution for each power up to its multiplicity, not just one fraction with the highest power.
Compare the approaches
Choose by the information in the question, rather than the formula you recognise first.
Distinct linear factors
When it helpsUse one constant numerator over each factor.
Check before using itSubstitution at roots is performed after clearing denominators.
Repeated or irreducible factors
When it helpsInclude all powers and the appropriate numerator degree.
Check before using itThe assumed form must be complete before finding coefficients.
Your method plan
- Divide if the rational expression is improper.
- Factor the denominator and write the full decomposition template.
- Clear denominators, solve constants, then recombine to check.
Learn the methods
Learn step by step
1. Proper fractions first
A rational expression is proper when the numerator degree is smaller than the denominator degree. If it is not, divide first. The quotient becomes a polynomial and only the remainder needs decomposition. Keep the original excluded denominator roots even when cancellation later removes a factor.
2. Choose the right form
A distinct linear factor \(x-a\) needs \(A/(x-a)\). A repeated factor \((x-a)^m\) needs every power from 1 to m. An irreducible quadratic needs a linear numerator \(Bx+C\). Writing the correct form is essential; missing a term makes the identity impossible to satisfy.
Distinct linear factors
Why this formula works
Multiplying by the denominator turns the proposed decomposition into a polynomial identity. Matching coefficients determines the constants. The method works because the simpler denominators preserve the original poles.
\(\frac{P(x)}{(x-a)(x-b)}=\frac A{x-a}+\frac B{x-b}\), for \(a\ne b\) and a proper numerator.
Quick example
\(1/[x(x+1)]=1/x-1/(x+1)\) for \(x\ne 0,-1\). Combining the right side produces numerator \((x+1)-x=1\).
Repeated factor
Why this formula works
A repeated factor can contribute several different pole orders. Including only its highest power misses possible terms; the complete form supplies enough independent constants to match the original numerator.
\(\frac{P(x)}{(x-a)^2(x-b)}=\frac A{x-a}+\frac B{(x-a)^2}+\frac C{x-b}\).
Quick example
\(1/[x(x+1)^2]=1/x-1/(x+1)-1/(x+1)^2\). Both powers of \(x+1\) are needed.
Worked example: A repeated factor
Decompose \(1/[x(x+1)^2]\).
- Use \(A/x+B/(x+1)+C/(x+1)^2\).
- Clearing denominators gives \(1=A(x+1)^2+Bx(x+1)+Cx\). At \(x=0\), \(A=1\); at \(x=-1\), \(C=-1\).
- The \(x^{2}\) coefficient gives \(B=-1\), so the result is \(1/x-1/(x+1)-1/(x+1)^2\).
3. Find the constants
Multiply by the complete denominator to form a polynomial identity. Substitute roots of linear factors to isolate coefficients, then compare coefficients or use additional values for any remaining unknowns. The identity after clearing denominators is valid as a polynomial, so substituting an excluded root is legitimate for finding coefficients.
Worked example: Two linear factors
Decompose \((3x+5)/[(x+1)(x+2)]\) and integrate.
- Write \(A/(x+1)+B/(x+2)\). Clearing denominators gives \(3x+5=A(x+2)+B(x+1)\).
- At \(x=-1\), \(A=2\). At \(x=-2\), \(B=1\).
- The integral is \(2\ln|x+1|+\ln|x+2|+C\), on an interval avoiding −1 and −2.
4. Integrate the pieces
A linear denominator integrates to a logarithm of its absolute value, with a chain-rule correction if its slope is not 1. Higher powers use the power rule. For an irreducible quadratic, completing the square may lead to an arctangent, or separating a derivative-of-denominator term may lead to a log.
Linear log integral
Why this formula works
Differentiating \(ln|ax+b|\) gives \(\frac{a}{ax+b}\) wherever \(ax+b\ne 0\). Dividing by a reverses this extra chain factor, explaining the coefficient in the integral. The absolute value permits either nonzero sign of the denominator on an interval that does not cross its pole.
\(\int\frac{dx}{ax+b}=\frac1a\ln|ax+b|+C\) \(a\ne 0\), on an interval avoiding the pole.
Quick example
\(\int dx/(2x+3)=\tfrac12\ln|2x+3|+C\). Its derivative is \((\frac{1}{2})\times \frac{2}{2x+3}\), the original integrand.
5. Check your decomposition
Combine the fractions again or substitute several allowed values. Check coefficient identities exactly; a graph or decimal check alone is not a proof. For definite integrals, make sure no pole lies inside the integration interval before applying an antiderivative.
Quick formula reference
For revision once you understand the methods above. Check the conditions before using a formula.
Distinct linear factors
\(\frac{P(x)}{(x-a)(x-b)}=\frac A{x-a}+\frac B{x-b}\), for \(a\ne b\) and a proper numerator.
Return to the explanation →Repeated factor
\(\frac{P(x)}{(x-a)^2(x-b)}=\frac A{x-a}+\frac B{(x-a)^2}+\frac C{x-b}\).
Return to the explanation →Linear log integral
\(\int\frac{dx}{ax+b}=\frac1a\ln|ax+b|+C\), \(a\ne 0\), on an interval avoiding the pole.
Return to the explanation →Learn to diagnose an error
Spot the mistake
The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.
Decompose \(1/[x(x+1)]\) as \(1/x+1/(x+1)\).
Explain and repair the mistake
Combining that sum gives \((2x+1)/[x(x+1)]\). The correct identity is \(1/x-1/(x+1)\), for \(x\ne0,-1\). Always recombine as a check.
Connect and apply
Put the ideas together
A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.
Use both coefficient matching and substitution
Decompose \(\frac{x+3}{(x-1)^2}\).
- A repeated factor requires \(\frac A{x-1}+\frac B{(x-1)^2}\). Both terms are necessary; the original domain excludes \(x=1\).
- After clearing denominators, \(x+3=A(x-1)+B\). Comparing coefficients of \(x\) gives \(A=1\).
- Setting \(x=1\) in this polynomial identity gives \(B=4\). This substitution does not evaluate the original rational function at its undefined input.
- Recombine: \(\frac1{x-1}+\frac4{(x-1)^2}=\frac{x-1+4}{(x-1)^2}\), recovering the numerator.
What is an antiderivative on an interval excluding 1?
Check your reasoning
\(\ln|x-1|-\frac4{x-1}+C\). Differentiating gives the two decomposed fractions. The interval must not cross the pole.
Common mistakes and how to avoid them
- Divide first if numerator degree is at least denominator degree.
- Repeated factors need all lower powers in the decomposition.
- Cancellation does not restore excluded values to the original function.
Practise independently
Build confidence, then apply it
Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.
- 1
Build confidence
HL extensionDecompose \(3/[x(x+3)]\).
Need a starting point?
Use the two simple linear denominators.
Show the worked solution
- \(3=A(x+3)+Bx\) gives \(A=1\) and \(B=-1\).
- The decomposition is \(1/x-1/(x+3)\) for \(x\ne0,-3\).
- 2
Apply and explain
HL extensionWhy must the exclusions remain after decomposition?
Need a starting point?
An identity does not redefine the original expression.
Show the worked solution
- The original denominator vanishes at the excluded inputs.
- The decomposition is equivalent only on the original domain; it cannot assign those missing values.
- 3
Check your understanding
What form is needed for denominator \((x-2)^2(x+1)\)?
Show the worked solution
Use \(A/(x-2)+B/(x-2)^2+C/(x+1)\), assuming the fraction is proper. Omitting the first-power term can make the identity impossible.
- 4
Use the method
Decompose \(1/[x(x+2)]\).
Show the worked solution
\(\frac12(1/x-1/(x+2))\), with \(x\ne 0,-2\). Clearing denominators verifies the numerator is 1.
Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.
Using these methods in exam questions
AA Paper 1
No calculatorPractise the algebra and exact values by hand. Keep fractions, surds and multiples of π exact where required. Show the steps that justify the result.
AA Paper 2
GDC requiredUse graphing, numerical solving or statistical tools when appropriate. Write the setup before giving the output, and keep extra precision until the final answer.
For this topic: Keep algebraic transformations visible. State restrictions before cancelling or taking logarithms, and check whether the question needs an exact expression or a rounded value.
Paper 3: build a connected argument
Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.
- Identify what the first part establishes and record the conditions under which it holds.
- When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
- Check the conclusion against an earlier numerical case and explain its meaning or limitation.
For the first-assessment-2021 courses. IB assessment reference ↗
Find a specific method or formula
Now practise the method
If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.
Practise this subtopic →Want a broader practice session? Explore IB Maths AA HL practice questions →Try free IB Maths exam-style questions and worked solutions →
Original Arc Practice teaching notes for Maths AA. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.