Skip to content
Skip to page content
soylai.com

Integration by Parts, Partial Fractions and Special Integrals — chapter notes

6 sections 3 min readBeta

1. Integration by parts

From the product rule, ∫u dv=uv−∫v du\displaystyle\int u\,dv = uv - \int v\,du. Choose uu in the order inverse trigonometric, logarithmic, algebraic, trigonometric, exponential. For ∫log⁡x dx\int \log x\,dx and ∫tan⁡−1x dx\int \tan^{-1} x\,dx, take dv=dxdv = dx. When the original integral reappears (as with eaxsin⁡bxe^{ax}\sin bx), apply parts twice with the same kind of choice and solve for it.

Pick $u$ from the higher row; the other factor is $dv$.
Priority for uuTypeExample factor
1Inverse trigonometrictan⁡−1x\tan^{-1} x, sin⁡−1x\sin^{-1} x
2Logarithmiclog⁡x\log x, log⁡3x\log 3x
3Algebraicxx, x2x^2, x3x^3
4Trigonometricsin⁡4x\sin 4x, cos⁡x\cos x
5Exponentiale3xe^{3x}, e−xe^{-x}
When the integral reappears, solve for it.
StepWorking
First partsI=∫exsin⁡2x dx=exsin⁡2x−2∫excos⁡2x dxI = \displaystyle\int e^x\sin 2x\,dx = e^x\sin 2x - 2\int e^x\cos 2x\,dx
Second parts∫excos⁡2x dx=excos⁡2x+2I\displaystyle\int e^x\cos 2x\,dx = e^x\cos 2x + 2I
CombineI=exsin⁡2x−2excos⁡2x−4II = e^x\sin 2x - 2e^x\cos 2x - 4I
SolveI=ex5(sin⁡2x−2cos⁡2x)+CI = \dfrac{e^x}{5}(\sin 2x - 2\cos 2x) + C

Formulas

  • Integration by parts
    ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du

Key terms

First function

The factor uu that is differentiated.

Second function

The factor dvdv that is integrated.

2. The pattern e^x [f(x) + f'(x)]

Since ddx[exf(x)]=ex[f(x)+f′(x)]\dfrac{d}{dx}\left[e^x f(x)\right] = e^x\left[f(x) + f'(x)\right], we have ∫ex[f(x)+f′(x)]dx=exf(x)+C\displaystyle\int e^x\left[f(x) + f'(x)\right]dx = e^x f(x) + C. Rewrite the bracket if necessary, for example x+2(x+3)2=1x+3−1(x+3)2\dfrac{x + 2}{(x + 3)^2} = \dfrac{1}{x + 3} - \dfrac{1}{(x + 3)^2}.

Spot $f$ and $f'$ side by side, then write $e^x f(x) + C$.
f(x)f(x)f′(x)f'(x)∫ex[f(x)+f′(x)] dx\int e^x[f(x) + f'(x)]\,dx
1x\dfrac1x−1x2-\dfrac1{x^2}exx+C\dfrac{e^x}{x} + C
cos⁡x\cos x−sin⁡x-\sin xexcos⁡x+Ce^x\cos x + C
tan⁡x\tan xsec⁡2x\sec^2 xextan⁡x+Ce^x\tan x + C
1x+3\dfrac{1}{x + 3}−1(x+3)2-\dfrac{1}{(x + 3)^2}exx+3+C\dfrac{e^x}{x + 3} + C

Formulas

  • Exponential pattern
    ∫ex[f(x)+f′(x)]dx=exf(x)+C\int e^x\left[f(x) + f'(x)\right]dx = e^x f(x) + C

Key terms

Pattern

An exponential times a function plus its derivative.

3. Partial fractions

For a proper fraction, each linear factor (ax+b)(ax + b) gives Aax+b\dfrac{A}{ax + b}; a repeated factor (ax+b)2(ax + b)^2 gives Aax+b+B(ax+b)2\dfrac{A}{ax + b} + \dfrac{B}{(ax + b)^2}; an irreducible quadratic gives Ax+Bx2+px+q\dfrac{Ax + B}{x^2 + px + q}. An improper fraction is divided first. Find constants by the cover-up rule, then by comparing coefficients; check by recombining at a sample value.

One unknown constant for each degree of the denominator.
Factor in the denominatorPartial-fraction terms
Linear (ax+b)(ax + b)Aax+b\dfrac{A}{ax + b}
Repeated (ax+b)2(ax + b)^2Aax+b+B(ax+b)2\dfrac{A}{ax + b} + \dfrac{B}{(ax + b)^2}
Quadratic x2+px+qx^2 + px + q (no real roots)Ax+Bx2+px+q\dfrac{Ax + B}{x^2 + px + q}
Degree of numerator ≥ degree of denominatorDivide first, then split the remainder
Imagined example; constants recombined at sample points.
StepWorking
Formx+11(x−1)(x+3)=Ax−1+Bx+3\dfrac{x + 11}{(x - 1)(x + 3)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 3}
Cover-upx=1x = 1: A=124=3A = \dfrac{12}{4} = 3; x=−3x = -3: B=8−4=−2B = \dfrac{8}{-4} = -2
Integrate3log⁡∣x−1∣−2log⁡∣x+3∣+C3\log|x - 1| - 2\log|x + 3| + C
A repeated factor gives a power term that integrates without a logarithm.
StepWorking
Form1(x+1)(x−2)2=Ax+1+Bx−2+C(x−2)2\dfrac{1}{(x + 1)(x - 2)^2} = \dfrac{A}{x + 1} + \dfrac{B}{x - 2} + \dfrac{C}{(x - 2)^2}
ConstantsA=19A = \dfrac19 (x=−1x = -1); C=13C = \dfrac13 (x=2x = 2); x2x^2 terms: A+B=0A + B = 0, so B=−19B = -\dfrac19
Integrate19log⁡∣x+1∣−19log⁡∣x−2∣−13(x−2)+C\dfrac19\log|x + 1| - \dfrac19\log|x - 2| - \dfrac{1}{3(x - 2)} + C

Formulas

  • Two linear factors
    px+q(x−a)(x−b)=Ax−a+Bx−b\frac{px + q}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}

Key terms

Proper fraction

Degree of numerator less than degree of denominator.

Cover-up rule

For a simple linear factor, delete it and put its root into what remains.

4. Quadratic denominators and their roots

Complete the square and use: ∫dxx2+a2=1atan⁡−1xa\displaystyle\int \dfrac{dx}{x^2 + a^2} = \dfrac1a\tan^{-1}\dfrac{x}{a}; ∫dxx2−a2=12alog⁡∣x−ax+a∣\displaystyle\int \dfrac{dx}{x^2 - a^2} = \dfrac{1}{2a}\log\left|\dfrac{x - a}{x + a}\right|; ∫dxa2−x2=12alog⁡∣a+xa−x∣\displaystyle\int \dfrac{dx}{a^2 - x^2} = \dfrac{1}{2a}\log\left|\dfrac{a + x}{a - x}\right|; ∫dxa2−x2=sin⁡−1xa\displaystyle\int \dfrac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\dfrac{x}{a}; ∫dxx2±a2=log⁡∣x+x2±a2∣\displaystyle\int \dfrac{dx}{\sqrt{x^2 \pm a^2}} = \log\left|x + \sqrt{x^2 \pm a^2}\right| (each + C+\,C). For px+qax2+bx+c\dfrac{px + q}{ax^2 + bx + c} (or its root form), write px+q=λ(2ax+b)+μpx + q = \lambda(2ax + b) + \mu.

Learn these five; every quadratic form reduces to one of them.
IntegrandIntegral
1x2+a2\dfrac{1}{x^2 + a^2}1atan⁡−1xa+C\dfrac1a\tan^{-1}\dfrac{x}{a} + C
1x2−a2\dfrac{1}{x^2 - a^2}12alog⁡∣x−ax+a∣+C\dfrac{1}{2a}\log\left|\dfrac{x - a}{x + a}\right| + C
1a2−x2\dfrac{1}{a^2 - x^2}12alog⁡∣a+xa−x∣+C\dfrac{1}{2a}\log\left|\dfrac{a + x}{a - x}\right| + C
1a2−x2\dfrac{1}{\sqrt{a^2 - x^2}}sin⁡−1xa+C\sin^{-1}\dfrac{x}{a} + C
1x2±a2\dfrac{1}{\sqrt{x^2 \pm a^2}}log⁡∣x+x2±a2∣+C\log\left|x + \sqrt{x^2 \pm a^2}\right| + C
Halve the coefficient of $x$, square it, add and subtract.
QuadraticCompleted squareForm reached
x2+6x+13x^2 + 6x + 13(x+3)2+22(x + 3)^2 + 2^2u2+a2u^2 + a^2
x2−4x+13x^2 - 4x + 13(x−2)2+32(x - 2)^2 + 3^2u2+a2u^2 + a^2
8+2x−x28 + 2x - x^232−(x−1)23^2 - (x - 1)^2a2−u2a^2 - u^2
2x2+8x+102x^2 + 8x + 102[(x+2)2+1]2\left[(x + 2)^2 + 1\right]take out the 2 first
Numerator = multiple of the derivative + constant.
StepWorking
Split3x−1=32(2x+2)−43x - 1 = \dfrac32(2x + 2) - 4
Log part32∫2x+2x2+2x+5 dx=32log⁡(x2+2x+5)\dfrac32\displaystyle\int \dfrac{2x + 2}{x^2 + 2x + 5}\,dx = \dfrac32\log(x^2 + 2x + 5)
Constant part−4∫dx(x+1)2+4=−2tan⁡−1x+12-4\displaystyle\int \dfrac{dx}{(x + 1)^2 + 4} = -2\tan^{-1}\dfrac{x + 1}{2}
Answer32log⁡(x2+2x+5)−2tan⁡−1x+12+C\dfrac32\log(x^2 + 2x + 5) - 2\tan^{-1}\dfrac{x + 1}{2} + C

Formulas

  • Linear numerator split
    px+q=λ ddx(ax2+bx+c)+μpx + q = \lambda\,\frac{d}{dx}(ax^2 + bx + c) + \mu

Key terms

Completing the square

Writing x2+bx+cx^2 + bx + c as (x+b2)2+(c−b24)\left(x + \frac{b}{2}\right)^2 + \left(c - \frac{b^2}{4}\right).

5. Square roots of quadratics

∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+C\displaystyle\int \sqrt{a^2 - x^2}\,dx = \dfrac{x}{2}\sqrt{a^2 - x^2} + \dfrac{a^2}{2}\sin^{-1}\dfrac{x}{a} + C; ∫x2±a2 dx=x2x2±a2±a22log⁡∣x+x2±a2∣+C\displaystyle\int \sqrt{x^2 \pm a^2}\,dx = \dfrac{x}{2}\sqrt{x^2 \pm a^2} \pm \dfrac{a^2}{2}\log\left|x + \sqrt{x^2 \pm a^2}\right| + C. For (px+q)ax2+bx+c(px + q)\sqrt{ax^2 + bx + c}, split px+qpx + q as above: the derivative part gives a power 23(…)3/2\dfrac23(\ldots)^{3/2}, the constant part one of these three results.

Same first term each time; the second term changes.
IntegrandIntegral
a2−x2\sqrt{a^2 - x^2}x2a2−x2+a22sin⁡−1xa+C\dfrac{x}{2}\sqrt{a^2 - x^2} + \dfrac{a^2}{2}\sin^{-1}\dfrac{x}{a} + C
x2+a2\sqrt{x^2 + a^2}x2x2+a2+a22log⁡∣x+x2+a2∣+C\dfrac{x}{2}\sqrt{x^2 + a^2} + \dfrac{a^2}{2}\log\left|x + \sqrt{x^2 + a^2}\right| + C
x2−a2\sqrt{x^2 - a^2}x2x2−a2−a22log⁡∣x+x2−a2∣+C\dfrac{x}{2}\sqrt{x^2 - a^2} - \dfrac{a^2}{2}\log\left|x + \sqrt{x^2 - a^2}\right| + C
  • y=9−x2y = \sqrt{9 - x^2}
The curve is a semicircle; this is why $\sin^{-1}$ appears in its integral.

Formulas

  • Root of a sum of squares
    ∫x2+a2 dx=x2x2+a2+a22log⁡∣x+x2+a2∣+C\int \sqrt{x^2 + a^2}\,dx = \frac{x}{2}\sqrt{x^2 + a^2} + \frac{a^2}{2}\log\left|x + \sqrt{x^2 + a^2}\right| + C

Key terms

Root form

An integrand containing the square root of a quadratic.

6. Trigonometric forms and the special integrals

With t=tan⁡x2t = \tan\dfrac{x}{2}: sin⁡x=2t1+t2\sin x = \dfrac{2t}{1 + t^2}, cos⁡x=1−t21+t2\cos x = \dfrac{1 - t^2}{1 + t^2}, dx=2 dt1+t2dx = \dfrac{2\,dt}{1 + t^2} — for 1a+bcos⁡x\dfrac{1}{a + b\cos x}, 1a+bsin⁡x\dfrac{1}{a + b\sin x}, 1acos⁡x+bsin⁡x+c\dfrac{1}{a\cos x + b\sin x + c}. For 1acos⁡2x+bsin⁡2x+c\dfrac{1}{a\cos^2 x + b\sin^2 x + c} divide by cos⁡2x\cos^2 x and put t=tan⁡xt = \tan x. For ccos⁡x+dsin⁡xacos⁡x+bsin⁡x\dfrac{c\cos x + d\sin x}{a\cos x + b\sin x}, write the numerator as A(den)+B(den)′A(\text{den}) + B(\text{den})'. Special integrals: divide 1±x21+x4\dfrac{1 \pm x^2}{1 + x^4} by x2x^2 and put t=x∓1xt = x \mp \dfrac1x; for tan⁡x\sqrt{\tan x} or cot⁡x\sqrt{\cot x} put tan⁡x=t2\tan x = t^2.

Every trigonometric form in the syllabus becomes a rational function of $t$.
With t=tan⁡x2t = \tan\dfrac{x}{2}Replace by
sin⁡x\sin x2t1+t2\dfrac{2t}{1 + t^2}
cos⁡x\cos x1−t21+t2\dfrac{1 - t^2}{1 + t^2}
dxdx2 dt1+t2\dfrac{2\,dt}{1 + t^2}
acos⁡2x+bsin⁡2x+ca\cos^2 x + b\sin^2 x + c formsdivide by cos⁡2x\cos^2 x; put t=tan⁡xt = \tan x
For $x > 0$; root tan and root cot on $\left(0, \tfrac{\pi}{2}\right)$.
IntegrandDivide by x2x^2; substituteResult
1+x21+x4\dfrac{1 + x^2}{1 + x^4}t=x−1xt = x - \dfrac1x; t2+2t^2 + 212tan⁡−1x2−12 x+C\dfrac{1}{\sqrt2}\tan^{-1}\dfrac{x^2 - 1}{\sqrt2\,x} + C
1−x21+x4\dfrac{1 - x^2}{1 + x^4}t=x+1xt = x + \dfrac1x; t2−2t^2 - 2122log⁡∣x2+2x+1x2−2x+1∣+C\dfrac{1}{2\sqrt2}\log\left|\dfrac{x^2 + \sqrt2 x + 1}{x^2 - \sqrt2 x + 1}\right| + C
tan⁡x\sqrt{\tan x}, cot⁡x\sqrt{\cot x}tan⁡x=t2\tan x = t^2, then the two forms abovesum or difference of the two results
A scaled version of the special form; $x > 0$.
StepWorking
Divide by x2x^21+4x2x2+16x2\dfrac{1 + \frac{4}{x^2}}{x^2 + \frac{16}{x^2}}
Substitutet=x−4xt = x - \dfrac4x: dt=(1+4x2)dxdt = \left(1 + \dfrac{4}{x^2}\right)dx, x2+16x2=t2+8x^2 + \dfrac{16}{x^2} = t^2 + 8
Integrate∫dtt2+8=122tan⁡−1t22\displaystyle\int \dfrac{dt}{t^2 + 8} = \dfrac{1}{2\sqrt2}\tan^{-1}\dfrac{t}{2\sqrt2}
Answer122tan⁡−1(x2−422 x)+C\dfrac{1}{2\sqrt2}\tan^{-1}\left(\dfrac{x^2 - 4}{2\sqrt2\,x}\right) + C

Formulas

  • Special integral
    ∫1+x21+x4 dx=12tan⁡−1x2−12 x+C\int \frac{1 + x^2}{1 + x^4}\,dx = \frac{1}{\sqrt2}\tan^{-1}\frac{x^2 - 1}{\sqrt2\,x} + C

Key terms

Half-angle substitution

t=tan⁡x2t = \tan\frac{x}{2}, which makes sin⁡x\sin x, cos⁡x\cos x and dxdx rational in tt.

Exam tips

How ISC marks are awarded

  • By parts (2–3 marks): choice of uu and dvdv, the formula applied correctly, the final answer.
  • Partial fractions (2–5 marks): the correct form, the constants, the integration.
  • Quadratic and root forms (2–3 marks): completed square, standard result, answer.
  • Trigonometric forms (3–5 marks): substitution, simplified integral, answer in xx.
  • Section D (5 marks): questions come in parts such as 2 + 3; label each part.

Common mistakes

  • Choosing uu against the order (for example differentiating exe^x and integrating log⁡x\log x).
  • Too few constants for a repeated factor, or a constant numerator over a quadratic factor.
  • Forgetting to divide an improper fraction first.
  • Losing the factor taken out of ax2+bx+cax^2 + bx + c when completing the square.
  • Mixing up the factors 1a\dfrac1a and 12a\dfrac{1}{2a}, or the sign of the log term in ∫x2−a2 dx\int\sqrt{x^2 - a^2}\,dx.