A lecture on trigonometric integrals and trigonometric substitution


1 Trigonometric Integrals

First, we must recall a few trigonometric identities:

sin2⁡x+cos2⁡x = 1 (1)
sec2⁡x = 1+tan2⁡x (2)
sin2⁡x = 1-cos⁡(2⁢x)2 (3)
cos2⁡x = 1+cos⁡(2⁢x)2 (4)
sin⁡(2⁢x) = 2⁢sin⁡x⁢cos⁡x (5)
cos⁡(2⁢x) = cos2⁡x-sin2⁡x. (6)

The most usual integralsDlmfPlanetmath which involve trigonometric functionsDlmfMathworldPlanetmath can be solved using the identities above.

Example 1.1.

∫sin⁡x⁢d⁢x=-cos⁡x+C and ∫cos⁡x⁢d⁢x=sin⁡x+C are immediate integrals.

Example 1.2.

For ∫sin2⁡x⁢d⁢x,∫cos2⁡x⁢d⁢x we use formulas (3) and (4) respectively, e.g.

∫sin2⁡x⁢d⁢x=∫1-cos⁡(2⁢x)2⁢𝑑x=12⁢∫(1-cos⁡(2⁢x))⁢𝑑x=12⁢(x-sin⁡(2⁢x)2)+C.
Example 1.3.

For integrals of the form ∫cosm⁡x⁢sin⁡x⁢d⁢x or ∫sinm⁡x⁢cos⁡x⁢d⁢x we use substitution with u=cos⁡x or u=sin⁡x respectively, e.g.

∫cos2xsinxdx=∫-u2du=-u33+C=-cos3⁡x3+C.[u=cosx,du=-sinxdx]

In the following examples, we use equations (1) in the forms sin2⁡x=1-cos2⁡x or cos2⁡x=1-sin2⁡x to transform the integral into one of the type described in Example 1.3.

Example 1.4.
∫sin3⁡x⁢d⁢x = ∫sin2⁡x⁢sin⁡x⁢d⁢x=∫(1-cos2⁡x)⁢sin⁡x⁢d⁢x
= ∫sin⁡x⁢d⁢x-∫cos2⁡x⁢sin⁡x⁢d⁢x
= -cos⁡x+cos3⁡x3+C.

Similarly one can solve ∫cos3⁡x⁢d⁢x.

Example 1.5.
∫cos3⁡x⁢sin2⁡x⁢d⁢x = ∫cos2⁡x⁢cos⁡x⁢sin2⁡x⁢d⁢x=∫(1-sin2⁡x)⁢cos⁡x⁢sin2⁡x⁢d⁢x
= ∫cos⁡x⁢sin2⁡x⁢d⁢x-∫cos⁡x⁢sin4⁡x⁢d⁢x
= sin3⁡x3-sin5⁡x5+C.
Example 1.6.

In order to solve ∫cos5⁡x⁢sin3⁡x⁢d⁢x we express it first as ∫cos5⁡x⁢sin2⁡x⁢sin⁡x=∫cos5⁡x⁢(1-cos2⁡x)⁢sin⁡x⁢d⁢x and then proceed as in the previous example.

One can use similar tricks to solve integrals which involve products of powers of sec⁡x and tan⁡x, by using Equation (2). Also, recall that the derivative of tan⁡x is sec2⁡x while the derivative of sec⁡x is sec⁡x⁢tan⁡x.

Example 1.7.
∫tan5⁡x⁢sec4⁡x⁢d⁢x = ∫tan5⁡x⁢sec2⁡x⁢sec2⁡x⁢d⁢x=∫tan5⁡x⁢(1+tan2⁡x)⁢sec2⁡x⁢d⁢x
= ∫tan5⁡x⁢sec2⁡x⁢d⁢x+∫tan7⁡x⁢sec2⁡x⁢d⁢x
= tan6⁡x6+tan8⁡x8+C.
Example 1.8.
∫tan3⁡x⁢sec4⁡x⁢d⁢x = ∫tan⁡x⁢tan2⁡x⁢sec4⁡x⁢d⁢x=∫tan⁡x⁢(sec2⁡x-1)⁢sec4⁡x⁢d⁢x
= ∫tan⁡x⁢sec⁡x⁢sec5⁡x⁢d⁢x-∫tan⁡x⁢sec⁡x⁢sec3⁡x⁢d⁢x
= sec6⁡x6-sec4⁡x4+C.

2 Trigonometric Substitutions

One can easily deduce that ∫011-x2⁢𝑑x has value π4. Why? Simply because the graph of the functionMathworldPlanetmath y=1-x2 is half a circumference of radius r=1 (because if you square both sides of y=1-x2 you obtain x2+y2=1 which is the equation of a circle or radius r=1). Therefore, the area under the graph is a quarter of the area of a circle.

How does one compute ∫011-x2⁢𝑑x without using the geometry of the problem? This is the prototype of integral where a trigonometric substitution will work very nicely. Notice that neither substitution nor integration by parts will work appropriately.

Example 2.1.

Suppose we want to solve ∫011-x2⁢𝑑x with analytic methods. We will use a substitution x=sin⁡θ (so θ will be our new variable of integration), because, as we know from Equation (1), 1-x2=1-sin2⁡θ=cos⁡θ, thus getting rid of the pesky square root. Notice that d⁢x=cos⁡θ⁢d⁢θ. We also need to find the new limits of integration with respect to the new variable of integration, namely θ. When x=0=sin⁡θ we must have θ=0. Similarly, when x=1=sin⁡θ one has θ=π/2. We are now ready to integrate:

∫011-x2⁢𝑑x = ∫0π/2(cos⁡θ)⁢cos⁡θ⁢d⁢θ=∫0π/2cos2⁡θ⁢d⁢θ
= ∫0π/21+cos⁡(2⁢θ)2⁢𝑑θ=12⁢(θ+sin⁡(2⁢θ)2)0π/2=π/4.

Notice that we made use of Equation (4) in the second line.

Example 2.2.

Similarly, one can solve ∫0rr2-x2⁢𝑑x by using a substitution x=r⁢sin⁡θ. Indeed, r2-x2=r2-r2⁢sin2⁡θ=r⁢cos⁡θ and d⁢x=r⁢cos⁡θ⁢d⁢θ. The limits of integration with respect to θ are again θ=0 to θ=π/2 (check this!). Thus:

∫0rr2-x2⁢𝑑x = ∫0π/2r2⁢(cos⁡θ)⁢cos⁡θ⁢d⁢θ=r2⁢∫0π/2cos2⁡θ⁢d⁢θ
= r2⁢∫0π/21+cos⁡(2⁢θ)2⁢𝑑θ=r22⁢(θ+sin⁡(2⁢θ)2)0π/2=r2⁢π/4.

Thus, we have proved that a quarter of a circle of radius r has area r2⁢π/4 which implies that the area of such a circle is π⁢r2, as usual.

The trigonometric substitutions usually work when expressions like r2-x2, r2+x2, x2-r2 appear in the integral at hand, for some real number r. Here is a table of the suggested change of variables in each particular case:

If you see… try this… because…
1-x2 x=sin⁡θ 1-sin2⁡θ=cos⁡θ
r2-x2 x=r⁢sin⁡θ r2-sin2⁡θ=r⁢cos⁡θ
1+x2 x=tan⁡θ 1+tan2⁡θ=sec⁡θ
r2+x2 x=r⁢tan⁡θ r2+tan2⁡θ=r⁢sec⁡θ
x2-1 x=sec⁡θ sec2⁡θ-1=tan⁡θ
x2-r2 x=r⁢sin⁡θ sec2⁡θ-1=r⁢tan⁡θ
Remark 2.3.

The above are “suggested” substitutions, they may not be the most ideal choice! For example, for the integral ∫2⁢x⁢1-x2⁢𝑑x, the change u=1-x2 will work much better than x=sin⁡θ.

Example 2.4.

We would like to find the value of

∫221x3⁢x2-1⁢𝑑x.

Since neither a u-substitution nor integration by parts seem appropriate, we try x=sec⁡θ, d⁢x=sec⁡θ⁢tan⁡θ⁢d⁢θ. When x=2=sec⁡θ one has θ=π/4 while x=2 implies θ=π/3. Hence:

∫221x3⁢x2-1⁢𝑑x = ∫π/4π/3sec⁡θ⁢tan⁡θsec3⁡θ⁢tan⁡θ⁢𝑑θ=∫π/4π/31sec2⁡θ⁢𝑑θ=∫π/4π/3cos2⁡θ⁢d⁢θ

and the last integral is easy to compute using Equation (4).

Title A lecture on trigonometric integrals and trigonometric substitution
Canonical name ALectureOnTrigonometricIntegralsAndTrigonometricSubstitution
Date of creation 2013-03-22 15:38:39
Last modified on 2013-03-22 15:38:39
Owner alozano (2414)
Last modified by alozano (2414)
Numerical id 4
Author alozano (2414)
Entry type Feature
Classification msc 26A36
Related topic ALectureOnIntegrationByParts
Related topic ALectureOnIntegrationBySubstitution
Related topic ALectureOnThePartialFractionDecompositionMethod