Theory 1

Review: trig identities

  • sin2x+cos2x=1
  • sin2x=12(1cos2x)
  • cos2x=12(1+cos2x)

Trig power product: sin/cos

A sin/cos power product has this form:

cosmxsinnxdx

for some integers m and n (even negative!).

To compute these integrals, use a sequence of these techniques:

  • Swap an even bunch.
  • u-sub for power-one.
  • Power-to-frequency conversion.

Memorize these three techniques!

Examples of trig power products:

  • sinxcos7xdx
  • sin3xdx
  • sin2xcos2xdx

Swap an even bunch

If either cosmx or sinnx is an odd power, use

sin2x1cos2xORcos2x1sin2x

(maybe repeatedly) to convert an even bunch to the opposite trig type.

An even bunch is all but one from the odd power.

For example:

sin5xcos8xsinx(sin2x)2cos8xsinx(1cos2x)2cos8xsinx(12cos2x+cos4x)cos8xsinx(cos8x2cos10x+cos12x)sinxcos8x2sinxcos10x+sinxcos12x

u-sub for power-one

If m=1 or n=1, perform u-substitution to do the integral.

The other trig power becomes a u power; the power-one becomes du.

For example, using u=cosx and thus du=sinxdx we can do:

sinxcos8xdxcos8x(sinxdx)u8du

By combining these tricks you can do any power product with at least one odd power! Make sure to leave a power-one from the odd power when swapping an even bunch.

Notice

Even powers: 1=sin0x=cos0x. So the method works for sin3xdx and similar.

Power-to-frequency conversion

Using these ‘power-to-frequency’ identities (maybe repeatedly):

sin2x=12(1cos2x),cos2x=12(1+cos2x)

change an even power (either type) into an odd power of cosine.

For example, consider the power product:

sin4xcos6x

You can substitute appropriate powers of sin2x=12(1cos2x) and cos2x=12(1+cos2x):

sin4xcos6x(sin2x)2(cos2x)3(12(1cos2x))2(12(1+cos2x))3

By doing some annoying algebra, this expression can be expanded as a sum of smaller powers of cos2x:

(12(1cos2x))2(12(1+cos2x))3132(1+cos(2x)2cos2(2x)2cos3(2x)+cos4(2x)+cos5(2x))

Each of these terms can be integrated by repeating the same techniques.

Theory 2

Trig power product: tan/sec or cot/csc

A tan/sec power product has this form:

tanmxsecnxdx

A cot/csc power product has this form:

cotmxcscnxdx

To integrate these, swap an even bunch using:

  • tan2x+1=sec2x

OR:

  • cot2x+1=csc2x

Or do u-substitution using:

  • u=tanxdu=sec2xdx
  • u=secxdu=secxtanxdx

OR:

  • u=cotxdu=csc2xdx
  • u=cscxdu=cscucotudx

Note

There is no simple “power-to-frequency conversion” for tan / sec !

We can modify the power-one technique to solve some of these. We need to swap over an even bunch from the odd power so that exactly the du factor is left behind.

Considering all the possibilities, one sees that this method works when:

  • tanmx is an odd power (with some secants present!)
  • secnx is an even power

Quite a few cases escape this method:

  • Any tanmxdx with no power of secx
  • Any tanmxsecnxdx for m even and n odd

These tricks don’t work for tanxdx or secxdx or tan4xsec5xdx, among others.

Special integrals: tan and sec

We have:

tanxdx=ln|secx|+Csecxdx=ln|secx+tanx|+C

Note

These integrals should be memorized individually.

Extra - Deriving special integrals: tan and sec

The first formula can be found by u-substitution, considering that tanx=sinxcosx.

The second formula can be derived by multiplying secx by a special “1”, computing instead secx(secx+tanx)secx+tanxdx by expanding the numerator and doing u-sub on the denominator.