← Back to all lessons
Class 12Calculus11:48Published 30 Sept 2024

Integration by Parts: Trigonometric and Inverse Trig Functions

Work through seven integration by parts problems involving trigonometric and inverse trigonometric functions, using the ILATE rule to choose the first and second functions.

This Class 12 lesson applies integration by parts to a series of sure-shot exam questions built around trigonometric and inverse trigonometric functions. It uses the ILATE rule to decide which factor to differentiate and which to integrate, and combines this with substitution where it helps. Worked examples range from a straightforward x times sine integral to harder cases such as the integral of inverse sine squared.

What you'll learn

  • How to use the ILATE rule to pick the first and second functions for integration by parts
  • Integrating products of a power of x with sine, secant squared, and inverse trigonometric functions
  • Combining integration by parts with substitution to handle awkward inner integrals
  • Tackling the integral of inverse sine squared by substitution followed by two rounds of parts

Lesson chapters

0:00ILATE rule and the integral of x times sine 3x
1:15Integral of x inverse sine over root one minus x squared
2:51Integral of x times secant squared x
3:29Integral of x times inverse sine x
6:21Integral of inverse tangent x
7:33Integral of inverse sine x
8:50Integral of inverse sine x squared

Lesson notes

This lesson works through integration by parts for products that involve trigonometric and inverse trigonometric functions. Throughout we use the ILATE rule (Inverse, Logarithmic, Algebraic, Trigonometric, Exponential) to decide which factor is the first function (the one we differentiate) and which is the second (the one we integrate), and the by-parts formula

∫u v dx=u∫v dx−∫(dudx∫v dx)dx.\int u\,v\,dx = u\int v\,dx - \int\left(\frac{du}{dx}\int v\,dx\right)dx.

Integral of xsin⁡3xx\sin 3x

Here xx is algebraic and sin⁡3x\sin 3x is trigonometric, so by ILATE xx is the first function.

∫xsin⁡3x dx=x(−cos⁡3x3)−∫1⋅(−cos⁡3x3)dx.\int x\sin 3x\,dx = x\left(-\tfrac{\cos 3x}{3}\right) - \int 1\cdot\left(-\tfrac{\cos 3x}{3}\right)dx.

=−x3cos⁡3x+13∫cos⁡3x dx=−x3cos⁡3x+19sin⁡3x+c.= -\tfrac{x}{3}\cos 3x + \tfrac{1}{3}\int\cos 3x\,dx = -\tfrac{x}{3}\cos 3x + \tfrac{1}{9}\sin 3x + c.

Integral of xsin⁡−1x1−x2\dfrac{x\sin^{-1}x}{\sqrt{1-x^2}}

Now sin⁡−1x\sin^{-1}x is inverse trigonometric, so it is the first function and x1−x2\dfrac{x}{\sqrt{1-x^2}} is the second.

Inner integral. With 1−x2=t1-x^2 = t, so −2x dx=dt-2x\,dx = dt and x dx=−12dtx\,dx = -\tfrac{1}{2}dt:

∫x1−x2 dx=−12∫t−1/2 dt=−t=−1−x2.\int\frac{x}{\sqrt{1-x^2}}\,dx = -\tfrac{1}{2}\int t^{-1/2}\,dt = -\sqrt{t} = -\sqrt{1-x^2}.

By parts.

∫xsin⁡−1x1−x2 dx=sin⁡−1x(−1−x2)−∫11−x2(−1−x2)dx.\int\frac{x\sin^{-1}x}{\sqrt{1-x^2}}\,dx = \sin^{-1}x\left(-\sqrt{1-x^2}\right) - \int\frac{1}{\sqrt{1-x^2}}\left(-\sqrt{1-x^2}\right)dx.

=−1−x2 sin⁡−1x+∫1 dx=−1−x2 sin⁡−1x+x+c.= -\sqrt{1-x^2}\,\sin^{-1}x + \int 1\,dx = -\sqrt{1-x^2}\,\sin^{-1}x + x + c.

Integral of xsec⁡2xx\sec^2 x

Here xx is the first function and sec⁡2x\sec^2 x the second, since ∫sec⁡2x dx=tan⁡x\int\sec^2 x\,dx = \tan x.

∫xsec⁡2x dx=xtan⁡x−∫1⋅tan⁡x dx=xtan⁡x−log⁡∣sec⁡x∣+c.\int x\sec^2 x\,dx = x\tan x - \int 1\cdot\tan x\,dx = x\tan x - \log\lvert\sec x\rvert + c.

Integral of xsin⁡−1xx\sin^{-1}x

This time substitute first. Put sin⁡−1x=t\sin^{-1}x = t, so x=sin⁡tx = \sin t and dx=cos⁡t dtdx = \cos t\,dt:

∫xsin⁡−1x dx=∫t sin⁡tcos⁡t dt=12∫t sin⁡2t dt.\int x\sin^{-1}x\,dx = \int t\,\sin t\cos t\,dt = \tfrac{1}{2}\int t\,\sin 2t\,dt.

Now apply by parts with tt first and sin⁡2t\sin 2t second:

12∫tsin⁡2t dt=12[t(−cos⁡2t2)−∫(−cos⁡2t2)dt].\tfrac{1}{2}\int t\sin 2t\,dt = \tfrac{1}{2}\left[t\left(-\tfrac{\cos 2t}{2}\right) - \int\left(-\tfrac{\cos 2t}{2}\right)dt\right].

=14(−tcos⁡2t+sin⁡2t2).= \tfrac{1}{4}\left(-t\cos 2t + \tfrac{\sin 2t}{2}\right).

Write cos⁡2t=1−2sin⁡2t\cos 2t = 1 - 2\sin^2 t and sin⁡2t=2sin⁡tcos⁡t\sin 2t = 2\sin t\cos t, then put t=sin⁡−1xt = \sin^{-1}x, sin⁡t=x\sin t = x, cos⁡t=1−x2\cos t = \sqrt{1-x^2}:

=2x2−14sin⁡−1x+x1−x24+c.= \tfrac{2x^2-1}{4}\sin^{-1}x + \tfrac{x\sqrt{1-x^2}}{4} + c.

Integral of tan⁡−1x\tan^{-1}x

With a single function, multiply by 11 and take tan⁡−1x\tan^{-1}x as the first function, 11 as the second.

∫tan⁡−1x dx=xtan⁡−1x−∫x1+x2 dx.\int\tan^{-1}x\,dx = x\tan^{-1}x - \int\frac{x}{1+x^2}\,dx.

For the remaining integral put 1+x2=t1+x^2 = t, so 2x dx=dt2x\,dx = dt:

∫x1+x2 dx=12∫dtt=12log⁡∣1+x2∣.\int\frac{x}{1+x^2}\,dx = \tfrac{1}{2}\int\frac{dt}{t} = \tfrac{1}{2}\log\lvert 1+x^2\rvert.

∫tan⁡−1x dx=xtan⁡−1x−12log⁡∣1+x2∣+c.\int\tan^{-1}x\,dx = x\tan^{-1}x - \tfrac{1}{2}\log\lvert 1+x^2\rvert + c.

Integral of sin⁡−1x\sin^{-1}x

Again multiply by 11, with sin⁡−1x\sin^{-1}x first.

∫sin⁡−1x dx=xsin⁡−1x−∫x1−x2 dx.\int\sin^{-1}x\,dx = x\sin^{-1}x - \int\frac{x}{\sqrt{1-x^2}}\,dx.

The inner integral is −1−x2-\sqrt{1-x^2} (from the substitution used earlier), so

∫sin⁡−1x dx=xsin⁡−1x+1−x2+c.\int\sin^{-1}x\,dx = x\sin^{-1}x + \sqrt{1-x^2} + c.

Integral of (sin⁡−1x)2(\sin^{-1}x)^2

Put sin⁡−1x=θ\sin^{-1}x = \theta, so x=sin⁡θx = \sin\theta and dx=cos⁡θ dθdx = \cos\theta\,d\theta:

∫(sin⁡−1x)2 dx=∫θ2cos⁡θ dθ.\int(\sin^{-1}x)^2\,dx = \int\theta^2\cos\theta\,d\theta.

By parts, with θ2\theta^2 first and cos⁡θ\cos\theta second:

=θ2sin⁡θ−∫2θsin⁡θ dθ=θ2sin⁡θ−2∫θsin⁡θ dθ.= \theta^2\sin\theta - \int 2\theta\sin\theta\,d\theta = \theta^2\sin\theta - 2\int\theta\sin\theta\,d\theta.

Apply by parts once more to ∫θsin⁡θ dθ=−θcos⁡θ+sin⁡θ\int\theta\sin\theta\,d\theta = -\theta\cos\theta + \sin\theta:

=θ2sin⁡θ+2θcos⁡θ−2sin⁡θ.= \theta^2\sin\theta + 2\theta\cos\theta - 2\sin\theta.

Finally put θ=sin⁡−1x\theta = \sin^{-1}x, sin⁡θ=x\sin\theta = x, cos⁡θ=1−x2\cos\theta = \sqrt{1-x^2}:

∫(sin⁡−1x)2 dx=x(sin⁡−1x)2+21−x2 sin⁡−1x−2x+c.\int(\sin^{-1}x)^2\,dx = x(\sin^{-1}x)^2 + 2\sqrt{1-x^2}\,\sin^{-1}x - 2x + c.

Key takeaways

  • Use ILATE to choose the first function: an inverse trig factor is differentiated, a trig factor is usually integrated.
  • When the inner integral is awkward, a substitution (often 1−x2=t1-x^2=t or 1+x2=t1+x^2=t) clears it up before you finish the by-parts step.
  • For inverse trig functions on their own, multiply by 11 so by parts can be applied; harder powers like (sin⁡−1x)2(\sin^{-1}x)^2 need a substitution followed by two rounds of parts.