Maths › Integration › Integrating rational functions
Integrating rational functions
A fraction of polynomials rarely integrates as it stands, but algebra can always reshape it until it does. Partial fractions split one stubborn fraction into pieces that each make a logarithm, while other bottoms hide a reversed chain or a plain negative power, and telling the cases apart is the whole skill.
Builds on Partial fractions and Integration by substitution and by parts.
IN THIS TOPIC
- Split a rational integrand into partial fractions and integrate each piece.
- Recognise f'/f numerators and negative-power forms that need no split at all.
- Evaluate definite integrals of rational functions, compressing the answer with log laws.
WHAT YOU PROBABLY THINK
∫ 1/f(x) dx = ln|f(x)| + c.
Split, then integrate
No shelf entry covers a general fraction of polynomials, and the way in is algebra done first. The partial fractions lesson taught the split; this lesson is where the split earns its keep, because each linear piece integrates to a logarithm on sight, with the bottom's own coefficient dividing,
which differentiating back confirms, the chain rule's 3 cancelling the ⅔.
WORKED EXAMPLE
Two logs from one fraction
Find ∫(x + 7)/((x − 1)(x + 3)) dx.
Split first. (x + 7)/((x − 1)(x + 3)) = A/(x − 1) + B/(x + 3), and the cover-up method gives A = 2 and B = −1.
Each piece is a log: ∫(2/(x − 1) − 1/(x + 3)) dx.
The integral is 2 ln|x − 1| − ln|x + 3| + c.
All the calculus took one line. The algebra before it was the actual work, which is the standing shape of this topic.
YOUR TURN
The definite version
Using the split above, find the exact value of ∫25 (x + 7)/((x − 1)(x + 3)) dx, before opening the working.
Show the working
The brackets are [2 ln(x − 1) − ln(x + 3)] from 2 to 5; no modulus needed, since both bottoms stay positive across the interval.
At 5: 2 ln 4 − ln 8 = ln 16 − ln 8 = ln 2. At 2: 2 ln 1 − ln 5 = −ln 5.
Subtracting, ln 2 + ln 5 = ln 10.
Papers ask for a single log, and the log laws from the exponentials unit are what compress four terms into one.
When the split is the wrong tool
Now for the lie at the top. ∫x/(x2 + 5) dx really is ½ ln(x2 + 5) + c, but only because the numerator is half the derivative of the bottom, the f'/f pattern from the substitution lesson. Drop the x from the top and the claim collapses: differentiating ln(x2 + 5) produces 2x/(x2 + 5), not 1/(x2 + 5). A logarithm appears when the top is the bottom's derivative, up to a constant, and at no other time.
YOUR TURN
Two without a split
Find ∫x/(x2 + 5) dx and ∫2/(2x − 1)4 dx.
Show the working
The first is f'/f with a factor missing: ½ ln(x2 + 5) + c, no modulus required because x2 + 5 is never negative.
The second rewrites as 2(2x − 1)−4, a power, and reversing the power rule with the inner 2 dividing gives −1/(3(2x − 1)3) + c.
Neither needed partial fractions. Reading the bottom, and its relationship to the top, chooses the method.
TRY IT UNSEEN
A repeated factor
Find ∫(3x + 1)/(x + 1)2 dx.
Show the working
The repeated-factor template applies: (3x + 1)/(x + 1)2 = A/(x + 1) + B/(x + 1)2, and matching gives A = 3, B = −2.
The first piece logs; the second is a negative power, integrating to +2/(x + 1).
The integral is 3 ln|x + 1| + 2/(x + 1) + c.
One split produced one log and one power. Expecting a log from every piece is the same lie in a new spot.
THE EXAM BIT
- Algebra first: split into partial fractions before any integrating, and quote the split as working; it carries its own marks.
- A linear bottom gives a log divided by the bottom's coefficient; differentiate back to check the adjustment.
- A log arises only when the top is the bottom's derivative up to a constant; otherwise suspect a negative power.
- Definite log answers compress by the log laws, and questions usually say 'in the form ln k' to signal it.
- Keep the modulus in ln|x − a| unless the interval keeps the bracket positive, and say so when you drop it.
CHECK YOURSELF
Find the exact value of ∫02 2/((x + 1)(x + 3)) dx, giving the answer as a single logarithm.
Show a hint
Cover-up gives 1/(x + 1) − 1/(x + 3); then log laws.
Show the answer
The split is 2/((x + 1)(x + 3)) = 1/(x + 1) − 1/(x + 3).
The brackets give [ln(x + 1) − ln(x + 3)] from 0 to 2 = (ln 3 − ln 5) − (0 − ln 3).
That is 2 ln 3 − ln 5 = ln(9/5).
Split, two logs, compress: the full method of the lesson in three lines.
Split a rational integrand by partial fractions; every linear piece becomes a logarithm.
Logs come from f'/f and nowhere else; other bottoms are powers written in fraction notation.
CHECK YOUR PROGRESS
Rate how confident you feel with each objective for this lesson. Ratings are saved in this browser, on this device only.
- Split a rational integrand into partial fractions and integrate each piece.
- Recognise f'/f numerators and negative-power forms that need no split at all.
- Evaluate definite integrals of rational functions, compressing the answer with log laws.
No animated video for this topic yet; these notes stand alone.