Skip to content

Mathematics · Ch 10 — Indefinite Integration

The Integration-by-Parts Theorem and the LIATE Rule

10.3.1

The Integration-by-Parts Theorem and the LIATE Rule

Theorem. If u,vu,v are differentiable functions of xx, then ∫uv dx=u∫v dx−∫(dudx∫v dx)dx\int uv\,dx=u\int v\,dx-\int\left(\dfrac{du}{dx}\int v\,dx\right)dx.

Reasoning: let w=∫v dxw=\int v\,dx, so v=dwdxv=\frac{dw}{dx}. Then ddx(uw)=udwdx+wdudx=uv+wdudx\frac{d}{dx}(uw)=u\frac{dw}{dx}+w\frac{du}{dx}=uv+w\frac{du}{dx}. Integrating both sides and using the definition of integration, uw=∫uv dx+∫wdudx dxuw=\int uv\,dx+\int w\frac{du}{dx}\,dx, i.e. u∫v dx=∫uv dx+∫dudx(∫v dx)dxu\int v\,dx=\int uv\,dx+\int\frac{du}{dx}\left(\int v\,dx\right)dx — rearranged, this is exactly the stated theorem.

Choosing uu — the LIATE rule. The factor taken as uu (the one that gets differentiated) should be the one appearing earliest in the order Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential. The wrong choice can make the integral harder rather than easier: for ∫xex dx\int xe^x\,dx, taking u=x, v=exu=x,\ v=e^x (correct LIATE order) gives I=xex−∫ex dx=xex−ex+cI=xe^x-\int e^x\,dx=xe^x-e^x+c in one short step. Reversing the choice, u=ex, v=xu=e^x,\ v=x, gives I=12exx2−12∫exx2 dxI=\frac12e^xx^2-\frac12\int e^xx^2\,dx — a harder integral than the one we started with. This illustrates why the LIATE order matters. Likewise for ∫xsin⁡x dx\int x\sin x\,dx: LIATE puts xx (Algebraic) ahead of sin⁡x\sin x (Trigonometric), so u=xu=x, v=sin⁡xv=\sin x: I=x(−cos⁡x)−∫(1)(−cos⁡x) dx=−xcos⁡x+sin⁡x+cI=x(-\cos x)-\int(1)(-\cos x)\,dx=-x\cos x+\sin x+c.

Further worked examples, all following the LIATE order:

∫x2 5x dx\int x^2\,5^x\,dx. u=x2u=x^2 (Algebraic beats Exponential), applied twice in succession (since differentiating x2x^2 twice reaches a constant): I=5xlog⁡5[x2−2xlog⁡5+2(log⁡5)2]+cI=\dfrac{5^x}{\log5}\left[x^2-\dfrac{2x}{\log5}+\dfrac{2}{(\log5)^2}\right]+c.

∫xtan⁡−1x dx\int x\tan^{-1}x\,dx. u=tan⁡−1xu=\tan^{-1}x (Inverse trig beats Algebraic): I=tan⁡−1x⋅x22−∫11+x2⋅x22 dxI=\tan^{-1}x\cdot\dfrac{x^2}2-\displaystyle\int\dfrac{1}{1+x^2}\cdot\dfrac{x^2}2\,dx. Since x21+x2=1−11+x2\dfrac{x^2}{1+x^2}=1-\dfrac1{1+x^2}, the remaining integral is 12[x−tan⁡−1x]\frac12\left[x-\tan^{-1}x\right]. Result: I=12x2tan⁡−1x−12x+12tan⁡−1x+cI=\dfrac12x^2\tan^{-1}x-\dfrac12x+\dfrac12\tan^{-1}x+c.

∫x1−sin⁡x dx\int\dfrac{x}{1-\sin x}\,dx. First rationalise: multiply by 1+sin⁡x1+sin⁡x\frac{1+\sin x}{1+\sin x}, giving x(1+sin⁡x)cos⁡2x=x(sec⁡2x+sec⁡xtan⁡x)\dfrac{x(1+\sin x)}{\cos^2x}=x(\sec^2x+\sec x\tan x). By parts with u=xu=x on each piece: I=xtan⁡x−log⁡∣sec⁡x∣+xsec⁡x−log⁡∣sec⁡x+tan⁡x∣+cI=x\tan x-\log|\sec x|+x\sec x-\log|\sec x+\tan x|+c.

∫e2xsin⁡3x dx\int e^{2x}\sin3x\,dx (cyclic/recurring integration by parts). By parts twice (either factor may be uu each time, but keep the same choice throughout): the first application gives I=−13e2xcos⁡3x+23∫e2xcos⁡3x dxI=-\frac13e^{2x}\cos3x+\frac23\int e^{2x}\cos3x\,dx; applying by parts again to the remaining integral gives ∫e2xcos⁡3x dx=13e2xsin⁡3x−23I\int e^{2x}\cos3x\,dx=\frac13e^{2x}\sin3x-\frac23I. Substituting back: I=−13e2xcos⁡3x+23[13e2xsin⁡3x−23I]I=-\frac13e^{2x}\cos3x+\frac23\left[\frac13e^{2x}\sin3x-\frac23I\right], i.e. I+49I=e2x9[2sin⁡3x−3cos⁡3x]I+\frac49I=\frac{e^{2x}}9[2\sin3x-3\cos3x], so I=e2x13[2sin⁡3x−3cos⁡3x]+cI=\dfrac{e^{2x}}{13}[2\sin3x-3\cos3x]+c. (The same recurring trick, worked out once for general a,ba,b, gives the standing results ∫eaxsin⁡(bx+c) dx=eaxa2+b2[asin⁡(bx+c)−bcos⁡(bx+c)]+c\int e^{ax}\sin(bx+c)\,dx=\frac{e^{ax}}{a^2+b^2}[a\sin(bx+c)-b\cos(bx+c)]+c and ∫eaxcos⁡(bx+c) dx=eaxa2+b2[acos⁡(bx+c)+bsin⁡(bx+c)]+c\int e^{ax}\cos(bx+c)\,dx=\frac{e^{ax}}{a^2+b^2}[a\cos(bx+c)+b\sin(bx+c)]+c.) …