Integrating Products and Powers of sinx and cosx

Learning Outcomes

  • Solve integration problems involving products and powers of sinx and cosx

A key idea behind the strategy used to integrate combinations of products and powers of sinx and cosx involves rewriting these expressions as sums and differences of integrals of the form sinjxcosxdx or cosjxsinxdx. After rewriting these integrals, we evaluate them using u-substitution.

Before describing the general process in detail, let’s take a look at the following examples.

Example: Integrating cosjxsinxdx

Evaluate cos3xsinxdx.

try it

Evaluate sin4xcosxdx.

Watch the following video to see the worked solution to the above Try It

For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.

You can view the transcript for this segmented clip of “3.2 Trigonometric Integrals” here (opens in new window).

In addition to the technique of u substitution, the problems in this section and the next make frequent use of the Pythagorean Identity and its implications for how to rewrite trigonometric functions in terms of other trigonometric functions. We briefly review the relationships between these functions below.

Recall: The Pythagorean Identity

For any angle x:

sin2x+cos2x=1

Subtracting by sin2x allows a square power of cosine in terms of sine:
cos2x=1sin2x

Subtracting instead by cos2x allows a square power of sine to be written in terms of cosine:

sin2x=1cos2x

Example: Integrating cosjxsinkxdx Where k is Odd

Evaluate cos2xsin3xdx.

try it

Evaluate cos3xsin2xdx.

Watch the following video to see the worked solution to the above Try It

.

For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.

You can view the transcript for this segmented clip of “3.2 Trigonometric Integrals” here (opens in new window).

In the next example, we see the strategy that must be applied when there are only even powers of sinx and cosx. For integrals of this type, the identities

sin2x=1212cos(2x)=1cos(2x)2

 

and

cos2x=12+12cos(2x)=1+cos(2x)2

 

are invaluable. These identities are sometimes known as power-reducing identities and they may be derived from the double-angle identity cos(2x)=cos2xsin2x and the Pythagorean identity cos2x+sin2x=1.

example: Integrating an Even Power of sinx

Evaluate sin2xdx.

try it

Evaluate cos2xdx.

Try It

The general process for integrating products of powers of sinx and cosx is summarized in the following set of guidelines.

Problem-Solving Strategy: Integrating Products and Powers of sin x and cos x


To integrate cosjxsinkxdx use the following strategies:

  1. If k is odd, rewrite sinkx=sink1xsinx and use the identity sin2x=1cos2x to rewrite sink1x in terms of cosx. Integrate using the substitution u=cosx. This substitution makes du=-sinxdx.
  2. If j is odd, rewrite cosjx=cosj1xcosx and use the identity cos2x=1sin2x to rewrite cosj1x in terms of sinx. Integrate using the substitution u=sinx. This substitution makes du=cosxdx. (Note: If both j and k are odd, either strategy 1 or strategy 2 may be used.)
  3. If both j and k are even, use sin2x=1212cos(2x) and cos2x=12+12cos(2x). After applying these formulas, simplify and reapply strategies 1 through 3 as appropriate.

Example: Integrating cosjxsinkxdx where k is Odd

Evaluate cos8xsin5xdx.

Example: Integrating cosjxsinkxdx where k and j are Even

Evaluate sin4xdx.

try it

Evaluate cos3xdx.

try it

Evaluate cos2(3x)dx.

In some areas of physics, such as quantum mechanics, signal processing, and the computation of Fourier series, it is often necessary to integrate products that include sin(ax), sin(bx), cos(ax), and cos(bx). These integrals are evaluated by applying trigonometric identities, as outlined in the following rule.

Rule: Integrating Products of Sines and Cosines of Different Angles


To integrate products involving sin(ax), sin(bx), cos(ax), and cos(bx), use the substitutions

sin(ax)sin(bx)=12cos((ab)x)12cos((a+b)x)
sin(ax)cos(bx)=12sin((ab)x)+12sin((a+b)x)
cos(ax)cos(bx)=12cos((ab)x)+12cos((a+b)x)

These formulas may be derived from the sum-of-angle formulas for sine and cosine.

Example: Evaluating sin(ax)cos(bx)dx

Evaluate sin(5x)cos(3x)dx.

try it

Evaluate cos(6x)cos(5x)dx.