Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Calculus Volume 2

3.2 Trigonometric Integrals

Calculus Volume 23.2 Trigonometric Integrals

Learning Objectives

  • 3.2.1 Solve integration problems involving products and powers of sin x sin x and cos x . cos x .
  • 3.2.2 Solve integration problems involving products and powers of tan x tan x and sec x . sec x .
  • 3.2.3 Use reduction formulas to solve trigonometric integrals.

In this section we look at how to integrate a variety of products of trigonometric functions. These integrals are called trigonometric integrals. They are an important part of the integration technique called trigonometric substitution, which is featured in Trigonometric Substitution. This technique allows us to convert algebraic expressions that we may not be able to integrate into expressions involving trigonometric functions, which we may be able to integrate using the techniques described in this section. In addition, these types of integrals appear frequently when we study polar, cylindrical, and spherical coordinate systems later. Let’s begin our study with products of sinxsinx and cosx.cosx.

Integrating Products and Powers of sinx and cosx

A key idea behind the strategy used to integrate combinations of products and powers of sinxsinx and cosxcosx involves rewriting these expressions as sums and differences of integrals of the form sinjxcosxdxsinjxcosxdx or cosjxsinxdx.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 3.8

Integrating cosjxsinxdxcosjxsinxdx

Evaluate cos3xsinxdx.cos3xsinxdx.

Checkpoint 3.5

Evaluate sin4xcosxdx.sin4xcosxdx.

Example 3.9

A Preliminary Example: Integrating cosjxsinkxdxcosjxsinkxdx Where k is Odd

Evaluate cos2xsin3xdx.cos2xsin3xdx.

Checkpoint 3.6

Evaluate cos3xsin2xdx.cos3xsin2xdx.

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

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

and

cos2x=12+12cos(2x)=1+cos(2x)2cos2x=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)=cos2xsin2xcos(2x)=cos2xsin2x and the Pythagorean identity cos2x+sin2x=1.cos2x+sin2x=1.

Example 3.10

Integrating an Even Power of sinxsinx

Evaluate sin2xdx.sin2xdx.

Checkpoint 3.7

Evaluate cos2xdx.cos2xdx.

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

Problem-Solving Strategy

Integrating Products and Powers of sin x and cos x

To integrate cosjxsinkxdxcosjxsinkxdx use the following strategies:

  1. If kk is odd, rewrite sinkx=sink1xsinxsinkx=sink1xsinx and use the identity sin2x=1cos2xsin2x=1cos2x to rewrite sink1xsink1x in terms of cosx.cosx. Integrate using the substitution u=cosx.u=cosx. This substitution makes du=sinxdx.du=sinxdx.
  2. If jj is odd, rewrite cosjx=cosj1xcosxcosjx=cosj1xcosx and use the identity cos2x=1sin2xcos2x=1sin2x to rewrite cosj1xcosj1x in terms of sinx.sinx. Integrate using the substitution u=sinx.u=sinx. This substitution makes du=cosxdx.du=cosxdx. (Note: If both jj and kk are odd, either strategy 1 or strategy 2 may be used.)
  3. If both jj and kk are even, use sin2x=(1/2)(1/2)cos(2x)sin2x=(1/2)(1/2)cos(2x) and cos2x=(1/2)+(1/2)cos(2x).cos2x=(1/2)+(1/2)cos(2x). After applying these formulas, simplify and reapply strategies 1 through 3 as appropriate.

Example 3.11

Integrating cosjxsinkxdxcosjxsinkxdx where k is Odd

Evaluate cos8xsin5xdx.cos8xsin5xdx.

Example 3.12

Integrating cosjxsinkxdxcosjxsinkxdx where k and j are Even

Evaluate sin4xdx.sin4xdx.

Checkpoint 3.8

Evaluate cos3xdx.cos3xdx.

Checkpoint 3.9

Evaluate cos2(3x)dx.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(ax), sin(bx),sin(bx), cos(ax),cos(ax), and cos(bx).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(ax), sin(bx),sin(bx), cos(ax),cos(ax), and cos(bx),cos(bx), use the substitutions

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

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

Example 3.13

Evaluating sin(ax)cos(bx)dxsin(ax)cos(bx)dx

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

Checkpoint 3.10

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

Integrating Products and Powers of tanx and secx

Before discussing the integration of products and powers of tanxtanx and secx,secx, it is useful to recall the integrals involving tanxtanx and secxsecx we have already learned:

  1. sec2xdx=tanx+Csec2xdx=tanx+C
  2. secxtanxdx=secx+Csecxtanxdx=secx+C
  3. tanxdx=ln|secx|+Ctanxdx=ln|secx|+C
  4. secxdx=ln|secx+tanx|+C.secxdx=ln|secx+tanx|+C.

For most integrals of products and powers of tanxtanx and secx,secx, we rewrite the expression we wish to integrate as the sum or difference of integrals of the form tanjxsec2xdxtanjxsec2xdx or secjxtanxdx.secjxtanxdx. As we see in the following example, we can evaluate these new integrals by using u-substitution.

Example 3.14

Evaluating secjxtanxdxsecjxtanxdx

Evaluate sec5xtanxdx.sec5xtanxdx.

Media

You can read some interesting information at this website to learn about a common integral involving the secant.

Checkpoint 3.11

Evaluate tan5xsec2xdx.tan5xsec2xdx.

We now take a look at the various strategies for integrating products and powers of secxsecx and tanx.tanx.

Problem-Solving Strategy

Integrating tankxsecjxdxtankxsecjxdx

To integrate tankxsecjxdx,tankxsecjxdx, use the following strategies:

  1. If jj is even and j2,j2, rewrite secjx=secj2xsec2xsecjx=secj2xsec2x and use sec2x=tan2x+1sec2x=tan2x+1 to rewrite secj2xsecj2x in terms of tanx.tanx. Let u=tanxu=tanx and du=sec2xdx.du=sec2xdx.
  2. If kk is odd and j1,j1, rewrite tankxsecjx=tank1xsecj1xsecxtanxtankxsecjx=tank1xsecj1xsecxtanx and use tan2x=sec2x1tan2x=sec2x1 to rewrite tank1xtank1x in terms of secx.secx. Let u=secxu=secx and du=secxtanxdx.du=secxtanxdx. (Note: If jj is even and kk is odd, then either strategy 1 or strategy 2 may be used.)
  3. If kk is odd where k3k3 and j=0,j=0, rewrite tankx=tank2xtan2x=tank2x(sec2x1)=tank2xsec2xtank2x.tankx=tank2xtan2x=tank2x(sec2x1)=tank2xsec2xtank2x. It may be necessary to repeat this process on the tank2xtank2x term.
  4. If kk is even and jj is odd, then use tan2x=sec2x1tan2x=sec2x1 to express tankxtankx in terms of secx.secx. Use integration by parts to integrate odd powers of secx.secx.

Example 3.15

Integrating tankxsecjxdxtankxsecjxdx when jj is Even

Evaluate tan6xsec4xdx.tan6xsec4xdx.

Example 3.16

Integrating tankxsecjxdxtankxsecjxdx when kk is Odd

Evaluate tan5xsec3xdx.tan5xsec3xdx.

Example 3.17

Integrating tankxdxtankxdx where kk is Odd and k3k3

Evaluate tan3xdx.tan3xdx.

Example 3.18

Integrating sec3xdxsec3xdx

Integrate sec3xdx.sec3xdx.

Checkpoint 3.12

Evaluate tan3xsec7xdx.tan3xsec7xdx.

Reduction Formulas

Evaluating secnxdxsecnxdx for values of nn where nn is odd requires integration by parts. In addition, we must also know the value of secn2xdxsecn2xdx to evaluate secnxdx.secnxdx. The evaluation of tannxdxtannxdx also requires being able to integrate tann2xdx.tann2xdx. To make the process easier, we can derive and apply the following power reduction formulas. These rules allow us to replace the integral of a power of secxsecx or tanxtanx with the integral of a lower power of secxsecx or tanx.tanx.

Rule: Reduction Formulas for sec n x d x sec n x d x and tan n x d x tan n x d x

secnxdx=1n1secn2xtanx+n2n1secn2xdxsecnxdx=1n1secn2xtanx+n2n1secn2xdx
(3.6)
tannxdx=1n1tann1xtann2xdxtannxdx=1n1tann1xtann2xdx
(3.7)

The first power reduction rule may be verified by applying integration by parts. The second may be verified by following the strategy outlined for integrating odd powers of tanx.tanx.

Example 3.19

Revisiting sec3xdxsec3xdx

Apply a reduction formula to evaluate sec3xdx.sec3xdx.

Example 3.20

Using a Reduction Formula

Evaluate tan4xdx.tan4xdx.

Checkpoint 3.13

Apply the reduction formula to sec5xdx.sec5xdx.

Section 3.2 Exercises

Fill in the blank to make a true statement.

69.

sin 2 x + _______ = 1 sin 2 x + _______ = 1

70.

sec 2 x 1 = _______ sec 2 x 1 = _______

Use an identity to reduce the power of the trigonometric function to a trigonometric function raised to the first power.

71.

sin 2 x = _______ sin 2 x = _______

72.

cos 2 x = _______ cos 2 x = _______

Evaluate each of the following integrals by u-substitution.

73.

sin 3 x cos x d x sin 3 x cos x d x

74.

cos x sin x d x cos x sin x d x

75.

tan 5 ( 2 x ) sec 2 ( 2 x ) d x tan 5 ( 2 x ) sec 2 ( 2 x ) d x

76.

sin 7 ( 2 x ) cos ( 2 x ) d x sin 7 ( 2 x ) cos ( 2 x ) d x

77.

tan ( x 2 ) sec 2 ( x 2 ) d x tan ( x 2 ) sec 2 ( x 2 ) d x

78.

tan 2 x sec 2 x d x tan 2 x sec 2 x d x

Compute the following integrals using the guidelines for integrating powers of trigonometric functions. Use a CAS to check the solutions. (Note: Some of the problems may be done using techniques of integration learned previously.)

79.

sin 3 x d x sin 3 x d x

80.

cos 3 x d x cos 3 x d x

81.

sin x cos x d x sin x cos x d x

82.

cos 5 x d x cos 5 x d x

83.

sin 5 x cos 2 x d x sin 5 x cos 2 x d x

84.

sin 3 x cos 3 x d x sin 3 x cos 3 x d x

85.

sin x cos x d x sin x cos x d x

86.

sin x cos 3 x d x sin x cos 3 x d x

87.

sec x tan x d x sec x tan x d x

88.

tan ( 5 x ) d x tan ( 5 x ) d x

89.

tan 2 x sec x d x tan 2 x sec x d x

90.

tan x sec 3 x d x tan x sec 3 x d x

91.

sec 4 x d x sec 4 x d x

92.

cot x d x cot x d x

93.

csc x d x csc x d x

94.

tan 3 x sec x d x tan 3 x sec x d x

For the following exercises, find a general formula for the integrals.

95.

sin 2 a x cos a x d x sin 2 a x cos a x d x

96.

sin a x cos a x d x . sin a x cos a x d x .

Use the double-angle formulas to evaluate the following integrals.

97.

0 π sin 2 x d x 0 π sin 2 x d x

98.

0 π sin 4 x d x 0 π sin 4 x d x

99.

cos 2 3 x d x cos 2 3 x d x

100.

sin 2 x cos 2 x d x sin 2 x cos 2 x d x

101.

sin 2 x d x + cos 2 x d x sin 2 x d x + cos 2 x d x

102.

sin 2 x cos 2 ( 2 x ) d x sin 2 x cos 2 ( 2 x ) d x

For the following exercises, evaluate the definite integrals. Express answers in exact form whenever possible.

103.

0 2 π cos x sin 2 x d x 0 2 π cos x sin 2 x d x

104.

0 π sin 3 x sin 5 x d x 0 π sin 3 x sin 5 x d x

105.

0 π cos ( 99 x ) sin ( 101 x ) d x 0 π cos ( 99 x ) sin ( 101 x ) d x

106.

π π cos 2 ( 3 x ) d x π π cos 2 ( 3 x ) d x

107.

0 2 π sin x sin ( 2 x ) sin ( 3 x ) d x 0 2 π sin x sin ( 2 x ) sin ( 3 x ) d x

108.

0 4 π cos ( x / 2 ) sin ( x / 2 ) d x 0 4 π cos ( x / 2 ) sin ( x / 2 ) d x

109.

π/6π/3cos3xsinxdxπ/6π/3cos3xsinxdx (Round this answer to three decimal places.)

110.

π / 3 π / 3 sec 2 x 1 d x π / 3 π / 3 sec 2 x 1 d x

111.

0 π / 2 1 cos ( 2 x ) d x 0 π / 2 1 cos ( 2 x ) d x

112.

Find the area of the region bounded by the graphs of the equations y=sinx,y=sin3x,x=0,andx=π2.y=sinx,y=sin3x,x=0,andx=π2.

113.

Find the area of the region bounded by the graphs of the equations y=cos2x,y=sin2x,x=π4,andx=π4.y=cos2x,y=sin2x,x=π4,andx=π4.

114.

A particle moves in a straight line with the velocity function v(t)=sin(ωt)cos2(ωt).v(t)=sin(ωt)cos2(ωt). Find its position function x=f(t)x=f(t) if f(0)=0.f(0)=0.

115.

Find the average value of the function f(x)=sin2xcos3xf(x)=sin2xcos3x over the interval [π,π].[π,π].

For the following exercises, solve the differential equations.

116.

dydx=sin2x.dydx=sin2x. The curve passes through point (0,0).(0,0).

117.

d y d θ = sin 4 ( π θ ) d y d θ = sin 4 ( π θ )

118.

Find the length of the curve y=ln(cscx),π4xπ2.y=ln(cscx),π4xπ2.

119.

Find the length of the curve y=ln(sinx),π3xπ2.y=ln(sinx),π3xπ2.

120.

Find the volume generated by revolving the curve y=cos(3x)y=cos(3x) about the x-axis, 0xπ36.0xπ36.

For the following exercises, use this information: The inner product of two functions f and g over [a,b][a,b] is defined by f(x)·g(x)=f,g=abf·gdx.f(x)·g(x)=f,g=abf·gdx. Two distinct functions f and g are said to be orthogonal if f,g=0.f,g=0.

121.

Show that {sin(2x),cos(3x)}{sin(2x),cos(3x)} are orthogonal over the interval [π,π].[π,π].

122.

Evaluate ππsin(mx)cos(nx)dx.ππsin(mx)cos(nx)dx.

123.

Integrate y=tanxsec4x.y=tanxsec4x.

For each pair of integrals, determine which one is more difficult to evaluate. Explain your reasoning.

124.

sin456xcosxdxsin456xcosxdx or sin2xcos2xdxsin2xcos2xdx

125.

tan350xsec2xdxtan350xsec2xdx or tan350xsecxdxtan350xsecxdx

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/calculus-volume-2/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/calculus-volume-2/pages/1-introduction
Citation information

© Jul 25, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.