← Back to all lessons
Class 12Calculus13:56Published 22 Sept 2024

Class 12 Integration: Partial Fractions and Substitution (Part 2)

Four Class 12 integration questions from Exercise 7.5, each solved by substituting to remove the trigonometry or the square term, then splitting into partial fractions.

This lesson works through four exam-style integration problems that mix substitution with partial fractions. The first two replace a sine with a new variable so a trigonometric integral becomes a rational one, while the last two set x squared equal to a new variable to simplify a ratio of even-powered polynomials. In every case the integrand is broken into partial fractions and then integrated term by term, with the full working shown so you can follow each step.

What you'll learn

  • How to turn a trigonometric integral into a rational one by substituting for the sine
  • How to break a fraction into partial fractions, including the case of a repeated factor
  • How to handle a fraction in x squared by substituting first and re-substituting after splitting it up
  • How to divide first when the top and bottom have the same degree before splitting into partial fractions

Lesson chapters

0:00First integral: substituting sine and a repeated factor
3:15Question 17: substitution giving two simple factors
5:46Integral in x squared split into inverse tangents
8:49Question 18: dividing first, then partial fractions

Lesson notes

This lesson solves four integration questions from Exercise 7.5, each one combining a substitution with a partial fraction split. The first two remove the trigonometry by substituting for the sine, and the last two simplify a ratio of even powers by substituting for x2x^2.

First integral: a substitution leading to a repeated factor

We want to evaluate

I=(3sinx2)cosx5cos2x4sinxdx.I = \int \frac{(3\sin x - 2)\cos x}{5 - \cos^2 x - 4\sin x} \, dx.

Replace cos2x\cos^2 x with 1sin2x1 - \sin^2 x in the denominator:

5(1sin2x)4sinx=4+sin2x4sinx.5 - (1 - \sin^2 x) - 4\sin x = 4 + \sin^2 x - 4\sin x.

Put sinx=y\sin x = y, so cosxdx=dy\cos x \, dx = dy, and the integral becomes rational:

I=3y2y24y+4dy=3y2(y2)2dy.I = \int \frac{3y - 2}{y^2 - 4y + 4} \, dy = \int \frac{3y - 2}{(y - 2)^2} \, dy.

Partial fractions

Because (y2)2(y - 2)^2 is a repeated factor, we write

3y2(y2)2=Ay2+B(y2)2.\frac{3y - 2}{(y - 2)^2} = \frac{A}{y - 2} + \frac{B}{(y - 2)^2}.

Multiplying through by (y2)2(y - 2)^2 gives 3y2=A(y2)+B3y - 2 = A(y - 2) + B. Putting y=2y = 2 leaves B=3(2)2=4B = 3(2) - 2 = 4, and comparing the coefficients of yy gives A=3A = 3. So

3y2(y2)2=3y2+4(y2)2.\frac{3y - 2}{(y - 2)^2} = \frac{3}{y - 2} + \frac{4}{(y - 2)^2}.

Integrating

Using dxx2=1x\int \dfrac{dx}{x^2} = -\dfrac{1}{x},

I=3logy24y2+C.I = 3\log|y - 2| - \frac{4}{y - 2} + C.

Now substitute y=sinxy = \sin x. Since 2sinx2 - \sin x is always positive, y2=2sinx|y - 2| = 2 - \sin x, and

I=3log(2sinx)+42sinx+C.I = 3\log(2 - \sin x) + \frac{4}{2 - \sin x} + C.

Question 17: a substitution giving two simple factors

We want

I=cosx(1sinx)(2sinx)dx.I = \int \frac{\cos x}{(1 - \sin x)(2 - \sin x)} \, dx.

Put sinx=t\sin x = t, so cosxdx=dt\cos x \, dx = dt:

I=dt(1t)(2t).I = \int \frac{dt}{(1 - t)(2 - t)}.

Partial fractions

Write

1(1t)(2t)=A1t+B2t,\frac{1}{(1 - t)(2 - t)} = \frac{A}{1 - t} + \frac{B}{2 - t},

so 1=A(2t)+B(1t)1 = A(2 - t) + B(1 - t). Putting t=1t = 1 gives A=1A = 1, and putting t=2t = 2 gives 1=B1 = -B, so B=1B = -1. Then

I=dt1tdt2t.I = \int \frac{dt}{1 - t} - \int \frac{dt}{2 - t}.

Integrating

Dividing by the derivative of each linear term,

I=log1t+log2t+C=log2t1t+C.I = -\log|1 - t| + \log|2 - t| + C = \log\left|\frac{2 - t}{1 - t}\right| + C.

Substituting t=sinxt = \sin x,

I=log2sinx1sinx+C.I = \log\left|\frac{2 - \sin x}{1 - \sin x}\right| + C.

An integral in x2x^2 split into inverse tangents

We want

I=x2(x2+1)(x2+4)dx.I = \int \frac{x^2}{(x^2 + 1)(x^2 + 4)} \, dx.

Here there is no xdxx \, dx in the numerator, so we put x2=tx^2 = t only to do the partial fractions, then re-substitute before integrating:

t(t+1)(t+4)=At+1+Bt+4.\frac{t}{(t + 1)(t + 4)} = \frac{A}{t + 1} + \frac{B}{t + 4}.

From t=A(t+4)+B(t+1)t = A(t + 4) + B(t + 1), putting t=1t = -1 gives 1=3A-1 = 3A, so A=13A = -\tfrac{1}{3}, and putting t=4t = -4 gives 4=3B-4 = -3B, so B=43B = \tfrac{4}{3}. Re-substituting t=x2t = x^2,

x2(x2+1)(x2+4)=13x2+1+43x2+4.\frac{x^2}{(x^2 + 1)(x^2 + 4)} = \frac{-\tfrac{1}{3}}{x^2 + 1} + \frac{\tfrac{4}{3}}{x^2 + 4}.

Integrating

Using dxx2+a2=1atan1xa\int \dfrac{dx}{x^2 + a^2} = \dfrac{1}{a}\tan^{-1}\dfrac{x}{a},

I=13tan1x+4312tan1x2+C=13tan1x+23tan1x2+C.I = -\frac{1}{3}\tan^{-1} x + \frac{4}{3} \cdot \frac{1}{2}\tan^{-1}\frac{x}{2} + C = -\frac{1}{3}\tan^{-1} x + \frac{2}{3}\tan^{-1}\frac{x}{2} + C.

Question 18: dividing first, then partial fractions

We want

I=(x2+1)(x2+2)(x2+3)(x2+4)dx.I = \int \frac{(x^2 + 1)(x^2 + 2)}{(x^2 + 3)(x^2 + 4)} \, dx.

Put x2=tx^2 = t to simplify the ratio:

(t+1)(t+2)(t+3)(t+4)=t2+3t+2t2+7t+12.\frac{(t + 1)(t + 2)}{(t + 3)(t + 4)} = \frac{t^2 + 3t + 2}{t^2 + 7t + 12}.

The numerator and denominator have the same degree, so divide first:

t2+3t+2t2+7t+12=1+4t10(t+3)(t+4).\frac{t^2 + 3t + 2}{t^2 + 7t + 12} = 1 + \frac{-4t - 10}{(t + 3)(t + 4)}.

Partial fractions

Split 4t+10(t+3)(t+4)=At+3+Bt+4\dfrac{4t + 10}{(t + 3)(t + 4)} = \dfrac{A}{t + 3} + \dfrac{B}{t + 4}, so 4t+10=A(t+4)+B(t+3)4t + 10 = A(t + 4) + B(t + 3). Putting t=4t = -4 gives 6=B-6 = -B, so B=6B = 6, and putting t=3t = -3 gives 2=A-2 = A. Therefore

(x2+1)(x2+2)(x2+3)(x2+4)=1+2x2+36x2+4.\frac{(x^2 + 1)(x^2 + 2)}{(x^2 + 3)(x^2 + 4)} = 1 + \frac{2}{x^2 + 3} - \frac{6}{x^2 + 4}.

Integrating

Using the standard inverse tangent integral with a=3a = \sqrt{3} and a=2a = 2,

I=x+23tan1x33tan1x2+C.I = x + \frac{2}{\sqrt{3}}\tan^{-1}\frac{x}{\sqrt{3}} - 3\tan^{-1}\frac{x}{2} + C.

Key takeaways

  • Substituting sinx=y\sin x = y turns a trigonometric integral into a rational one; a repeated factor (y2)2(y - 2)^2 needs both Ay2\dfrac{A}{y - 2} and B(y2)2\dfrac{B}{(y - 2)^2} terms.
  • For an integrand in x2x^2 with no xdxx \, dx on top, substitute x2=tx^2 = t just to find the partial fractions, then put t=x2t = x^2 back before integrating into inverse tangents.
  • When the numerator and denominator have equal degree, divide first, then split the remainder into partial fractions.