IB Analysis and Approaches HL · Integral calculus · Section 4 of 13

Integrating rational functions

3 worked examples · By Álvaro López

Key idea

A rational function is a quotient of polynomials, . To integrate it, divide if necessary and split it into partial fractions, each of which has an immediate antiderivative (a logarithm, an arctangent or a power). This is the method that earns the most marks in the long integration questions at HL.

Preliminary step: division

If the degree of is greater than or equal to that of , divide: where is a polynomial (easy to integrate) and the remainder has a smaller degree than . The problem then reduces to the case where the numerator is "smaller" than the denominator.

Partial fraction decomposition

With , factorise and write one fraction for each factor:

A factor repeated times contributes fractions, with all powers from 1 up to . An irreducible quadratic factor contributes a numerator of degree 1, not a constant.

Fractions with an irreducible quadratic are integrated by splitting into a part that is the derivative of the denominator (giving a logarithm) and a constant part (giving an arctangent).

When there are no real roots: completing the square

For with a negative discriminant, complete the square: . With the substitution you obtain .

Worked examples

Example 1 Basic

Two distinct roots

Calculate , for .

Solution

Decompose: With : , so . With : , so .

Example 2 Medium

Prior division, a repeated root and completing the square

Calculate:

a) , for .

b) , for .

c) .

Solution

a) Same degree, so divide: , so (The two fractions: ; with this gives , and with it gives .) Then

b) The factor is repeated: With : . With : , so . With : , so . Then

c) The discriminant is . Complete the square: . With :

Example 3 Hard

An irreducible quadratic factor with limits

Let .

a) Find the constants , and such that .

b) Calculate the exact value of .

Solution

a) Multiplying by : With : . Equating coefficients of : , so . From : . Then

b) Integrate each fraction: and . (Approximately .)

In the exam: in a) marks are given for the form of the second term; if you put a constant over the quadratic you will not be able to match the numerator. In b) leave the exact answer.

Common mistakes

Summary

  • If , divide first: .
  • Factorise and decompose: one fraction per linear factor, one per power of a repeated factor, and for an irreducible quadratic.
  • Find the letters by substituting the roots of and, if any are missing, other values or the coefficients.
  • Resulting integrals: ; ; quadratics after completing the square.
  • For definite integrals, evaluate the limits in the exact result using and .
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp