Topic 5

Trigonometric Integrals

Most trig integrals end as a substitution. Save one factor as dudu, and rewrite the rest with sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 or tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1. If every power of sin⁡\sin and cos⁡\cos is even, no factor can be saved. Then lower the powers with instead.

4 kinds of question. Open the one you are stuck on.

1

Integrate powers of sine and cosine when one power is odd

e.g. “Evaluate ∫sin⁡mxcos⁡nx dx\int\sin^m x\cos^n x\,dx where mm or nn is odd”
  1. 1
    Peel one factor off the odd power

    Odd power of cos⁡\cos: keep cos⁡x dx\cos x\,dx and set u=sin⁡xu = \sin x. Odd power of sin⁡\sin: keep sin⁡x dx\sin x\,dx and set u=cos⁡xu = \cos x.

  2. 2
    Convert the rest with sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1

    The even power left over becomes a polynomial in uu.

  3. 3
    Substitute uu and integrate the polynomial

    u=cos⁡xu = \cos x gives du=−sin⁡x dxdu = -\sin x\,dx: keep the minus.

  4. 4
    Write the answer in xx, or use the new limits

Remember: Odd one out: peel one off, convert the rest.

See it in a problem3 worked examples

Evaluate ∫sin⁡3xcos⁡4x dx\displaystyle\int\sin^3 x\cos^4 x\,dx.

  1. 1
    Peel one factor off the odd power

    sin⁡3x=sin⁡2x⋅sin⁡x\sin^3 x = \sin^2 x\cdot\sin x: keep sin⁡x dx\sin x\,dx, let u=cos⁡xu = \cos x.

  2. 2
    Convert the rest with sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1

    sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x: ∫(1−cos⁡2x)cos⁡4x sin⁡x dx\int(1 - \cos^2 x)\cos^4 x\,\sin x\,dx.

  3. 3
    Substitute uu and integrate the polynomial

    du=−sin⁡x dxdu = -\sin x\,dx: −∫(u4−u6) du=−u55+u77-\int(u^4 - u^6)\,du = -\dfrac{u^5}{5} + \dfrac{u^7}{7}.

  4. 4
    Write the answer in xx, or use the new limits

    −15cos⁡5x+17cos⁡7x+C-\tfrac15\cos^5 x + \tfrac17\cos^7 x + C.

Answer:

−cos⁡5x5+cos⁡7x7+C-\dfrac{\cos^5 x}{5} + \dfrac{\cos^7 x}{7} + C

Common mistakes4
  • Forgetting the minus in du=−sin⁡x dxdu = -\sin x\,dx.
  • Reaching for double-angle formulas here: much longer, and no help when the other power is a fraction.
  • Both powers odd? Either works, but peeling from the smaller power saves work.
  • Definite integral: change the limits (x=π6x = \tfrac{\pi}{6} gives u=sin⁡π6=12u = \sin\tfrac{\pi}{6} = \tfrac12) or substitute back, never both.
2

Integrate even powers of sine and cosine using double-angle formulas

e.g. “Evaluate ∫sin⁡2x dx\int\sin^2 x\,dx, ∫cos⁡4x dx\int\cos^4 x\,dx or ∫sin⁡2xcos⁡2x dx\int\sin^2 x\cos^2 x\,dx”
  1. 1
    Replace each square with a double-angle formula

    sin⁡2x=12(1−cos⁡2x)\sin^2 x = \tfrac12(1 - \cos 2x),  cos⁡2x=12(1+cos⁡2x)\ \cos^2 x = \tfrac12(1 + \cos 2x).

  2. 2
    Expand the product
  3. 3
    Reduce any new square the same way

    For example, cos⁡22x=12(1+cos⁡4x)\cos^2 2x = \tfrac12(1 + \cos 4x).

  4. 4
    Integrate term by term: ∫cos⁡(kx) dx=1ksin⁡(kx)\int\cos(kx)\,dx = \tfrac1k\sin(kx)

Remember: Double the angle, halve the power.

See it in a problem3 worked examples

Evaluate ∫sin⁡2(3x) dx\displaystyle\int\sin^2(3x)\,dx.

  1. 1
    Replace each square with a double-angle formula

    sin⁡2(3x)=12(1−cos⁡(6x))\sin^2(3x) = \tfrac12\big(1 - \cos(6x)\big).

  2. 2
    Expand the product

    12−12cos⁡(6x)\tfrac12 - \tfrac12\cos(6x).

  3. 3
    Reduce any new square the same way

    Nothing squared is left.

  4. 4
    Integrate term by term: ∫cos⁡(kx) dx=1ksin⁡(kx)\int\cos(kx)\,dx = \tfrac1k\sin(kx)

    x2−112sin⁡(6x)+C\dfrac{x}{2} - \dfrac{1}{12}\sin(6x) + C.

Answer:

x2−sin⁡(6x)12+C\dfrac{x}{2} - \dfrac{\sin(6x)}{12} + C

Common mistakes3
  • Writing ∫sin⁡2x dx=sin⁡3x3\int\sin^2 x\,dx = \dfrac{\sin^3 x}{3}: the power rule needs a cos⁡x\cos x beside it.
  • Forgetting the 1k\tfrac1k: ∫cos⁡4x dx=14sin⁡4x\int\cos 4x\,dx = \tfrac14\sin 4x.
  • Missing the second round: cos⁡22x\cos^2 2x is still an even power.
3

Integrate powers of tangent and secant

e.g. “Evaluate ∫tan⁡mxsec⁡nx dx\int\tan^m x\sec^n x\,dx”
  1. 1
    Even power of sec⁡\sec: u=tan⁡xu = \tan x. Odd power of tan⁡\tan: u=sec⁡xu = \sec x

    The even power of sec⁡\sec must be 22 or more. With an odd power of tan⁡\tan, u=sec⁡xu = \sec x works for any power of sec⁡\sec, even a negative or fractional one. Rewrite sin⁡\sin/cos⁡\cos quotients in tan⁡\tan and sec⁡\sec first.

  2. 2
    Peel off dudu: sec⁡2x dx\sec^2 x\,dx or sec⁡xtan⁡x dx\sec x\tan x\,dx
  3. 3
    Convert the rest with tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1

    Everything left must be in uu.

  4. 4
    Integrate in uu and substitute back

Remember: Even sec: save sec². Odd tan: save sec tan.

See it in a problem3 worked examples

Evaluate ∫tan⁡2xsec⁡4x dx\displaystyle\int\tan^2 x\sec^4 x\,dx.

  1. 1
    Even power of sec⁡\sec: u=tan⁡xu = \tan x. Odd power of tan⁡\tan: u=sec⁡xu = \sec x

    sec⁡4x\sec^4 x is an even power: u=tan⁡xu = \tan x.

  2. 2
    Peel off dudu: sec⁡2x dx\sec^2 x\,dx or sec⁡xtan⁡x dx\sec x\tan x\,dx

    sec⁡4x=sec⁡2x⋅sec⁡2x\sec^4 x = \sec^2 x\cdot\sec^2 x; keep sec⁡2x dx=du\sec^2 x\,dx = du.

  3. 3
    Convert the rest with tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1

    sec⁡2x=1+tan⁡2x\sec^2 x = 1 + \tan^2 x: ∫tan⁡2x(1+tan⁡2x)sec⁡2x dx=∫(u2+u4) du\int\tan^2 x(1 + \tan^2 x)\sec^2 x\,dx = \int(u^2 + u^4)\,du.

  4. 4
    Integrate in uu and substitute back

    13tan⁡3x+15tan⁡5x+C\tfrac13\tan^3 x + \tfrac15\tan^5 x + C.

Answer:

tan⁡3x3+tan⁡5x5+C\dfrac{\tan^3 x}{3} + \dfrac{\tan^5 x}{5} + C

Common mistakes3
  • Choosing u=tan⁡xu = \tan x with an odd power of sec⁡x\sec x: the leftover sec⁡x\sec x cannot be written in tan⁡x\tan x without a root.
  • ddxsec⁡x=sec⁡xtan⁡x\dfrac{d}{dx}\sec x = \sec x\tan x, not sec⁡2x\sec^2 x.
  • Two right answers can look different: 12tan⁡2x\tfrac12\tan^2 x and 12sec⁡2x\tfrac12\sec^2 x differ by a constant.
4

Integrate a power of tangent with no secant

e.g. “Evaluate ∫tan⁡nx dx\int\tan^n x\,dx: no sec⁡x\sec x to save”
  1. 1
    Split off tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1

    tan⁡nx=tan⁡n−2xsec⁡2x−tan⁡n−2x\tan^n x = \tan^{n-2}x\sec^2 x - \tan^{n-2}x.

  2. 2
    Integrate tan⁡n−2xsec⁡2x\tan^{n-2}x\sec^2 x with u=tan⁡xu = \tan x

    It gives tan⁡n−1xn−1\dfrac{\tan^{n-1}x}{n - 1}.

  3. 3
    Repeat on the leftover tan⁡n−2x\tan^{n-2}x
  4. 4
    Finish with ∫tan⁡x dx=log⁡∣sec⁡x∣\int\tan x\,dx = \log|\sec x| or ∫dx=x\int dx = x

Remember: Trade tan² for sec² − 1 and step down by two.

See it in a problem2 worked examples

Evaluate ∫tan⁡7x dx\displaystyle\int\tan^7 x\,dx.

  1. 1
    Split off tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1

    tan⁡7x=tan⁡5xsec⁡2x−tan⁡5x\tan^7 x = \tan^5 x\sec^2 x - \tan^5 x.

  2. 2
    Integrate tan⁡n−2xsec⁡2x\tan^{n-2}x\sec^2 x with u=tan⁡xu = \tan x

    u=tan⁡xu = \tan x: ∫tan⁡5xsec⁡2x dx=∫u5 du=16tan⁡6x\int\tan^5 x\sec^2 x\,dx = \int u^5\,du = \tfrac16\tan^6 x.

  3. 3
    Repeat on the leftover tan⁡n−2x\tan^{n-2}x

    Two more rounds on the leftover: −∫tan⁡5x dx=−14tan⁡4x+∫tan⁡3x dx=−14tan⁡4x+12tan⁡2x−∫tan⁡x dx-\int\tan^5 x\,dx = -\tfrac14\tan^4 x + \int\tan^3 x\,dx = -\tfrac14\tan^4 x + \tfrac12\tan^2 x - \int\tan x\,dx.

  4. 4
    Finish with ∫tan⁡x dx=log⁡∣sec⁡x∣\int\tan x\,dx = \log|\sec x| or ∫dx=x\int dx = x

    −∫tan⁡x dx=−log⁡∣sec⁡x∣-\int\tan x\,dx = -\log|\sec x|. Total: 16tan⁡6x−14tan⁡4x+12tan⁡2x−log⁡∣sec⁡x∣+C\tfrac16\tan^6 x - \tfrac14\tan^4 x + \tfrac12\tan^2 x - \log|\sec x| + C.

Answer:

16tan⁡6x−14tan⁡4x+12tan⁡2x−log⁡∣sec⁡x∣+C\dfrac16\tan^6 x - \dfrac14\tan^4 x + \dfrac12\tan^2 x - \log|\sec x| + C

Common mistakes2
  • ∫tan⁡x dx=log⁡∣sec⁡x∣+C\int\tan x\,dx = \log|\sec x| + C, not sec⁡2x\sec^2 x (that is its derivative).
  • Each round subtracts, so the signs alternate.

Need the formulas? Must memorize · Flashcards

Found this helpful? Leave us a review on Google ↗Spotted a mistake?

Which topics are you reviewing?

The topic list, Flashcards, Must memorize and Exam words will only show these. Change it any time with the Topics button above the topic list.

The integral
Techniques of integration
Applications
Sequences & series
7 of 20 topics selected