Calculus/Integration techniques/Trigonometric Integrals
From Wikibooks, the open-content textbooks collection
When the integrand is primarily or exclusively based on trigonometric functions, the following techniques are useful.
Contents |
[edit] Powers of Sine and Cosine
We will give a general method to solve generally integrands of the form cosm (x)sinn(x). First let us work through an example.
Notice that the integrand contains an odd power of cos. So rewrite it as
We can solve this by making the substitution u = sin(x) so du = cos(x) dx. Then we can write the whole integrand in terms of u by using the identity
- cos(x)2 = 1 - sin2(x)=1-u2.
So
This method works whenever there is an odd power of sine or cosine.
To evaluate
when either m or n is odd.
- If m is odd substitute u=sin x and use the identity cos2x = 1 - sin2x=1-u2.
- If n is odd substitute u=cos x and use the identity sin2x = 1 - cos2x=1-u2.
[edit] Example
Find
.
As there is an odd power of sin we let u = cosx so du = - sin(x)dx. Notice that when x=0 we have u=cos(0)=1 and when x = π / 2 we have u = cos(π / 2) = 0.
![\begin{matrix}
\int_0^{\pi/2} \cos^{40}(x)\sin^3(x) dx &=& \int_0^{\pi/2} \cos^{40}(x)\sin^2(x) \sin(x) dx \\
&=& -\int_{1}^{0} u^{40} (1-u^2) du \\
&=&\int_{0}^{1} u^{40} (1-u^2) du\\
&=& \int_{0}^{1} u^{40} - u^{42} du \\
&=& [\frac{1}{41}u^{41} - \frac{1}{43}u^{43}]_0^1 \\
&=& \frac{1}{41}-\frac{1}{43}.
\end{matrix}](http://upload.wikimedia.org/math/0/9/7/097fa5c552fdcce4b7115eb64153026e.png)
When both m and n are even things get a little more complicated.
To evaluate
when both m and n are even.
Use the identities sin2x = 1/2 (1- cos 2x) and cos2x = 1/2 (1+ cos 2x).
[edit] Example
Find 
As sin2x = 1/2 (1- cos 2x) and cos2x = 1/2 (1+ cos 2x) we have
and expanding, the integrand becomes
Using the multiple angle identities
then we obtain on evaluating
[edit] Powers of Tan and Secant
To evaluate
.
[edit] Example 1
Find
.
There is an even power of secx. Substituting u = tanx gives du = sec2xdx so

[edit] Example 2
Find
.
Let u = cosx so du = − sinxdx. Then

[edit] Example 3
Find
.
The trick to do this is to multiply and divide by the same thing like this:

Making the substitution u = secx + tanx so du = secxtanx + sec2xdx,

[edit] More trigonometric combinations
For the integrals
or
or
use the identities
[edit] Example 1
Find 
We can use the fact that sin a cos b=(1/2)(sin(a+b)+sin(a-b)), so
Now use the oddness property of sin(x) to simplify
And now we can integrate
[edit] Example 2
Find:
.
Using the identities
Then



when either m or n is odd.



.
then substitute u=tan x and use the 
or
or
use the 






