Trig power products

Videos

Review Videos

Videos, Math Dr. Bob:

Videos, Organic Chemistry Tutor:

Link to original

01 Theory

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.

Link to original

02 Illustration

Example - Power product - odd power

Power product - odd power

Compute the integral:

cos2xsin5xdx

Solution

(1) Swap over the even bunch:

Max even bunch leaving power-one is sin4x.

sin5xsinx(sin2x)2sinx(1cos2x)2

Apply to sin5x in the integrand:

cos2xsin5xdxcos2xsinx(1cos2x)2dx

(2) Perform u-substitution on the power-one integrand:

Set u=cosx. Hence du=sinxdx. Recognize this in the integrand and convert:

cos2xsinx(1cos2x)2dxcos2x(1cos2x)2(sinxdx)u2(1u2)2du

(3) Integrate using power rule:

u2(1u2)2du=13u325u5+17u7+C

Insert definition u=cosx:

cos2xsin5xdxu2(1u2)2du13cos3x25cos5x+17cos7x+C Link to original

03 Theory

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.

Link to original

04 Illustration

Example - Power product - tan and sec

Power product - tan and sec

Compute the integral:

tan5xsec3xdx

Solution

(1) Try du=sec2xdx:

Factor du out of the integrand:

tan5xsec3xdxtan5xsecx(sec2xdx)

We then must swap over remaining secx into the tanx type.

Cannot do this because secx has odd power. Need even to swap.


(2) Try again: du=secxtanxdx:

Factor du out of the integrand:

tan5xsec3xdxtan4xsec2x(secxtanxdx)

Swap remaining tanx into secx type:

(tan2x)2sec2x(secxtanxdx)(sec2x1)2sec2x(secxtanxdx)

Substitute u=secx and du=secxtanxdx:

(u21)2u2du

(3) Integrate in u and convert back to x:

u62u4+u2duu772u55+u33+Csec7x72sec5x5+sec3x3+C Link to original

Trig substitution

Videos

Review Videos

Videos, Math Dr. Bob:

Link to original

05 Theory

Theory 1

Certain algebraic expressions have a secret meaning that comes from the Pythagorean Theorem. This meaning has a very simple expression in terms of trig functions of a certain angle.

For example, consider the integral:

1x2x29dx

Now consider this triangle:

center

The triangle determines the relation x=3secθ, and it implies x29=3tanθ.

Now plug these into the integrand above:

1x2x29219sec2θ3tanθ

Considering that dx=3secθtanθdθ, we obtain a very reasonable trig integral:

1x2x292dx3secθtanθ27sec2θtanθdθ19cosθdθ19sinθ+C

We must rewrite this in terms of x using x=3secθ to finish the problem. We need to find sinθ assuming that secθ=x3. To do this, refer back to the triangle to see that sinθ=x29x. Plug this in for our final value of the integral:

19sinθ+Cx299x+C

Here is the moral of the story:

Pythagorean expressions

Re-express the Pythagorean expression using a triangle and a trig substitution.

In this way, we are able to eliminate square roots of quadratics.

There are always three steps for these trig sub problems:

  • (1) Identify the trig sub: find the sides of a triangle and relevant angle θ.
  • (2) Solve a trig integral (often a power product).
  • (3) Refer back to the triangle to convert the answer back to x.

To speed up your solution process for these problems, memorize these three transformations:

(1)

a2x2x=asinθa2a2sin2θ=acosθfrom1sin2θ=cos2θ

(2)

a2+x2x=atanθa2+a2tan2θ=asecθfrom1+tan2θ=sec2θ

(3)

x2a2x=asecθa2sec2θa2=atanθfromsec2θ1=tan2θ

For a more complex quadratic with linear and constant terms, you will need to first complete the square for the quadratic and then do the trig substitution.

Link to original

06 Illustration

Example - Trig sub in quadratic: completing the square

Trig sub in quadratic - completing the square

Compute the integral:

dxx26x+11

Solution

(1) Complete the square to obtain Pythagorean form:

x26x+(62)2x26x+9=(x3)2

Add and subtract to get desired constant term:

x26x+11x26x+99+11(x3)2+2

(2) Perform shift substitution:

Set u=x3 as inside the square:

(x3)2+2=u2+2

Infer du=dx. Plug into integrand:

dxx26x+11duu2+2

(3) Trig sub with tanθ:

center

Use substitution u=2tanθ. (From triangle or memorized tip.)

Infer du=2sec2θdθ. Plug in data:

duu2+2sec2θsecθdθ=secθdθ

(4) Integrate using ad hoc memorized formula:

secθdθln|tanθ+secθ|+C

(5) Convert trig back to x:

First in terms of u, referring to the triangle:

tanθ=u2,secθ=u2+22

Then in terms of x using u=x3. Plug everything in:

ln|tanθ+secθ|+Cln|x32+(x3)2+22|+C

(6) Simplify using log rules:

lnf(x)alnf(x)lna

The common denominator 12 can be pulled outside as ln2.

The new term ln2 can be “absorbed into the constant” (redefine C).

So we write our final answer thus:

ln|x3+(x3)2+2|+CLink to original