top of page

11.5 Integrating Rational Functions

OCR A-level Maths Year 2 · H240 · Chapter 11: Further Integration Techniques

What is in the full lesson (8 activities)

Every item below opens free in the course.

A free OCR A-level Maths Year 2 lesson for OCR A Level Mathematics A (H240) from OBA School: using partial fractions, simplification and division to integrate algebraic fractions (OCR H240: 1.08j). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Split a fraction with linear factors in the denominator into partial fractions and integrate it
  • Deal with a repeated linear factor
  • Spot when (f ′(x))/(f(x)) or simple cancelling is quicker
  • Divide an improper fraction before integrating

Key words

  • Rational function: A fraction with polynomials on the top and bottom, such as (x + 7)/(x² − x − 2).
  • Partial fractions: A sum of simpler fractions equal to the original fraction.
  • Repeated factor: A squared factor such as (x − 1)². It needs terms B/(x − 1) + C/((x − 1)²).
  • Improper fraction: The degree of the numerator is at least the degree of the denominator.

Distinct linear factors

Split the fraction, then each part integrates to a logarithm. Remember the modulus signs, and divide by the coefficient of x in each bracket.

Key result: ∫ A/(ax + b) dx = (A/a)ln |ax + b| + c

Worked example: two brackets

Find ∫ (5x + 1)/((x − 1)(x + 2)) dx
5x + 1 = A(x + 2) + B(x − 1). x = 1: 6 = 3A, A = 2. x = −2: −9 = −3B, B = 3
∫ (2/(x − 1) + 3/(x + 2))dx

Answer: 2 ln |x − 1| + 3 ln |x + 2| + c

Worked example: a coefficient of x

Find ∫ from 0 to 1, 1/((2x + 1)(x + 1)) dx
1 = A(x + 1) + B(2x + 1). x = −1: B = −1. x = −1/2: A = 2
∫ from 0 to 1, (2/(2x + 1) − 1/(x + 1))dx = [ln (2x + 1) − ln (x + 1)]₀¹ = ln 3 − ln 2

Answer: ln 3/2

A repeated factor

A squared bracket needs two terms. The term with the square integrates to a power, not a logarithm: ∫ C/((x − 1)²) dx = −C/(x − 1).

Worked example: three partial fractions

Find ∫ from 2 to 3, 4/((x + 1)(x − 1)²) dx
4 = A(x − 1)² + B(x + 1)(x − 1) + C(x + 1). x = 1: C = 2. x = −1: A = 1. x² terms: 0 = A + B, B = −1
[ln (x + 1) − ln (x − 1) − 2/(x − 1)]₂³ = (ln 4 − ln 2 − 1) − (ln 3 − 0 − 2)

Answer: 1 + ln 2/3

Check for a shortcut first

Before splitting, look at the fraction. If the numerator is a multiple of the derivative of the denominator, the answer is a logarithm straight away. If it factorises and cancels, simplify.

Worked example: derivative over function

∫ (2x + 3)/(x² + 3x − 4) dx: the numerator is the derivative of the denominator

Answer: ln |x² + 3x − 4| + c

Worked example: cancel

∫ (x² − 9)/(x + 3) dx = ∫ (x − 3) dx

Answer: x²/2 − 3x + c

Improper fractions

If the top has the same or higher degree than the bottom, divide first (or split the numerator) to get a polynomial plus a proper fraction.

Worked example: split the numerator

Find ∫ (2x + 5)/(x + 1) dx
(2(x + 1) + 3)/(x + 1) = 2 + 3/(x + 1)

Answer: 2x + 3 ln |x + 1| + c

Worked example: polynomial division

Find ∫ from 2 to 3, (x² + 1)/(x − 1) dx
x² + 1 = (x − 1)(x + 1) + 2, so (x² + 1)/(x − 1) = x + 1 + 2/(x − 1)
[x²/2 + x + 2 ln (x − 1)]₂³ = (9/2 + 3 + 2 ln 2) − (2 + 2)

Answer: 7/2 + 2 ln 2

Common mistakes

  • Forgetting to divide by the coefficient of x: ∫ 2/(2x + 1) dx = ln |2x + 1|, not 2 ln |2x + 1|.
  • Writing ∫ 1/((x − 1)²) dx = ln (x − 1)². Only power −1 gives a logarithm.
  • Using partial fractions on an improper fraction without dividing first.
  • Combining logarithms wrongly: ln a − ln b = ln a/b, not (ln a)/(ln b).

Revision questions

Try these, then check your answers below each one.

Question 1. Find ∫ 1/((x − 1)(x + 3)) dx, x > 1. (Choose from: (1/4)ln ((x − 1)/(x + 3)) + c; ln (x − 1)(x + 3) + c; (1/4)ln ((x + 3)/(x − 1)) + c; 4 ln ((x − 1)/(x + 3)) + c.)

Answer: (1/4)ln ((x − 1)/(x + 3)) + c

Working: (1/4)ln (x − 1) − (1/4)ln (x + 3) = (1/4)ln (x − 1)/(x + 3) + c.

Question 2. Given (x + 4)/(x(x + 2)) = 2/x − 1/(x + 2), find ∫ from 2 to 4, (x + 4)/(x(x + 2)) dx, to 3 decimal places.

Answer: 0.981

Working: [2 ln x − ln (x + 2)]₂⁴ = (2 ln 4 − ln 6) − (2 ln 2 − ln 4) = ln 8/3 = 0.981.

Question 3. Find ∫ x/(x + 1) dx, x > −1. (Choose from: x − ln (x + 1) + c; x + ln (x + 1) + c; (x²/2)ln (x + 1) + c; ln (x + 1) + c.)

Answer: x − ln (x + 1) + c

Working: x/(x + 1) = 1 − 1/(x + 1), which integrates to x − ln (x + 1) + c.

Related lessons

Continue in the full course

This lesson is section 11.5 of our free OCR A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 11.5 in the free course →

 

 

 

 

 

 

 

bottom of page