Download TrigIntegrals

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Trigonometric functions wikipedia , lookup

Transcript
8.2
1
8.2 Trigonometric Integrals
Products of Powers of Sines and Cosines
We wish to evaluate integrals of the form:
ˆ
sinm x cosn x dx
where m and n are nonnegative integers.
Recall the double angle formulas for the sine and cosine functions.
sin 2x = 2 sin x cos x
cos 2x = cos2 x − sin2 x
= 2 cos2 x − 1
= 1 − 2 sin2 x
The cosine formulas can be used to to derive the very important “trig reduction” formulas.
(1)
(2)
1
(1 + cos 2x)
2
1
sin2 x = (1 − cos 2x)
2
cos2 x =
8.2
2
Equations (1) and (2) are very useful when integrating even powers of sine and cosine.
Example 1.
a.
ˆ
Evaluate the following integrals.
cos2 x dx
By (1) we have
ˆ
1
cos x dx =
2
2
1
=
2
b.
ˆ
ˆ
(1 + cos 2x) dx
sin 2x
x+
+C
2
sin4 x dx
Using reduction (twice) we have
sin4 x = sin2 x
2
1
(1 − cos 2x)2
4
1
1 − 2 cos 2x + cos2 2x
=
4
1
1
=
1 − 2 cos 2x + (1 + cos 4x)
4
2
=
=
1
(3 − 4 cos 2x + cos 4x)
8
8.2
3
It follows that
ˆ
Example 2.
1
sin x dx =
8
ˆ
1
=
8
4
(3 − 4 cos 2x + cos 4x) dx
sin 4x
3x − 2 sin 2x +
4
+C
Even Products
Evaluate
ˆ
sin4 x cos6 x dx
This is not too difficult since
sin4 x cos6 x = sin2 x
2
cos6 x
2
= 1 − cos2 x cos6 x
= 1 − 2 cos2 x + cos4 x cos6 x
= cos6 x − 2 cos8 x + cos10 x
Thus
ˆ
sin4 x cos6 x dx
=
ˆ
6
cos x dx − 2
ˆ
8
cos x dx +
ˆ
cos10 x dx
and we can proceed as before (to handle the odd powers that appear, see Example 3 below).
For example, to integrate the last term above, we expand
32 cos10 x = (1 + cos 2x)5
= 1 + 5 cos 2x + 10 cos2 2x + 10 cos3 2x + 5 cos4 2x + cos5 2x
Now the odd-powered terms are easy to handle (see below). For the even-powered terms, we
must repeat the trig reduction formulas (1) and (2) as many times as necessary to obtain a
workable integrand.
8.2
4
Thus
32 cos10 x = (1 + cos 2x)5
= 1 + 5 cos 2x + 10 cos2 2x + 10 cos3 2x + 5 cos4 2x + cos5 2x
= 1 + 5 cos 2x + 5(1 + cos 4x)
5
+ 10 cos3 2x + (1 + cos 4x)2 + cos5 2x
4
= 1 + 5 cos 2x + 5(1 + cos 4x)
5
+ 10 cos3 2x + (1 + 2 cos 4x + cos2 4x) + cos5 2x
4
29
5
5
=
+ 5 cos 2x + 5 cos 4x + 10 cos3 2x + cos 8x + (cos2 8x) + cos5 2x
4
2
4
Odd powers are somehow easier.
Example 3.
Evaluate
ˆ
ˆ
cos 4x dx =
ˆ
=
ˆ
3
cos3 4x dx
cos2 4x cos 4x dx
1 − sin2 4x cos 4x dx
Now let u = sin 4x. Then du = 4 cos 4x dx and
ˆ
1
(1 − u2 ) du
=
4
1
u3
=
u−
+C
4
3
sin3 4x
1
sin 4x −
+C
=
4
3
8.2
Example 4.
5
Evaluate
ˆ
sin4 x cos5 x dx
Guided by example 2 we might try
=
ˆ
sin4 x (cos2 x)2 cos x dx
=
ˆ
sin4 x (1 − sin2 x)2 cos x dx
=
ˆ
u4 (1 − u2 )2 du
=
ˆ
=
u5 2u7 u9
−
+
+C
5
7
9
=
sin5 x 2 sin7 x sin9 x
−
+
+C
5
7
9
Now we let u = sin x. Then
u4 − 2u6 + u8 du
8.2
6
Integrals of Powers of Tangent and Secant
Example 5. Powers of Secant
ˆ
Evaluate sec3 x dx.
We try integration by parts.
dv = sec2 x dx
u = sec x
du = sec x tan x dx
v = tan x
Thus
ˆ
sec x dx = sec x tan x −
ˆ
= sec x tan x +
ˆ
3
tan2 x sec x dx
sec x dx −
ˆ
sec3 x dx
and this looks familiar. As we saw earlier, we can now “solve for the integral”.
ˆ
ˆ
3
2 sec x dx = sec x tan x + sec x dx
= sec x tan x + ln |sec x + tan x| + C
Thus
ˆ
sec3 x dx =
1
1
sec x tan x + ln |sec x + tan x| + C
2
2
8.2
7
Products to Sum Formulas
Recall the addition and subtraction formulas for sine and cosine.
(3)
sin(u ± v) = sin u cos v ± sin v cos u
(4)
cos(u ± v) = cos u cos v ∓ sin u sin v
For example, using (4) one can find the exact value of cos π/12.
π π π
cos
= cos
−
12
3
4
π
π
π
π
= cos cos + sin sin
3
4
3
4
√
√ √
3 2
1 2
+
=
2 2
2 2
Now let m and n be real numbers. Notice that
sin(m − n)x = sin mx cos nx − sin nx cos mx
and
sin(m + n)x = sin mx cos nx + sin nx cos mx
Which implies that
sin(m − n)x + sin(m + n)x = 2 sin mx cos nx
´
Now we can evaluate integrals of the form sin mx cos nx dx. For example,
ˆ
ˆ
1
sin 5x cos 3x dx =
sin(5 + 3)x + sin(5 − 3)x dx
2
−1 cos 8x cos 2x
=
+
+C
2
8
2
8.2
8
As we might expect, there are 3 product-to-sum formulas.
(5)
2 sin mx sin nx = cos(m − n)x − cos(m + n)x
(6)
2 sin mx cos nx = sin(m − n)x + sin(m + n)x
(7)
2 cos mx cos nx = cos(m − n)x + cos(m + n)x
We derived (6) above. The other two identities are proven in a similar manner. These identities
turn out to be important in Fourier Analysis.
Example 6.
The Orthogonality of Sine and Cosine on [−π, π]
Suppose m and n are positive integers. Then
ˆ π
sin mx cos nx dx = 0
−π
ˆ
ˆ
π
sin mx sin nx dx =
ˆ
π
ˆ
π
cos mx cos nx dx = 0,
−π
−π
π
sin mx sin mx dx =
m 6= n
cos mx cos mx dx = π
−π
−π
For example, sin mx cos nx is an odd function hence
ˆ π
sin mx cos nx dx = 0.
−π
Recall that sin kπ = 0 whenever k is an integer. Then by (6) we have
ˆ π
ˆ
1 π
sin mx sin nx dx =
(cos(m − n)x − cos(m + n)x) dx
2 −π
−π
π
1 sin(m − n)x sin(m + n)x
=
+
2
m−n
m+n
−π
=0
since m ± n is an integer. The remaining identities are proven in a similar fashion.
8.2
9
In 1822 Jean Baptiste Joseph Fourier published The Analytical Theory of Heat. In chapter III he
made the bold claim that an arbitrary function f (x) defined on the interval [−π, π] could be
expressed as an infinite trigonometric series of the form
(8)
∞
∞
X
a0 X
+
an cos nx +
bn sin nx
2
n=1
n=1
Although Daniel Bernoulli had earlier (c. 1740) suggested such a representation, he was unable
to show how the coefficients could be computed. On the other hand, Fourier claimed that
ˆ
1 π
f (x) dx
a0 =
π −π
and for n > 0,
ˆ
1 π
f (x) cos nx dx
an =
π −π
ˆ
1 π
bn =
f (x) sin nx dx
π −π
It would take many years before Fourier’s claims could be rigorously proven (albeit, for a much
smaller class of functions). Today, Fourier series are an integral part of many undergraduate
curriculums.
Exactly what do we mean by the infinite summations in (8). Briefly, when an infinite series, such
as third term in (8), exists as a real number, it is said to converge. In chapter 10 we will define
and study the convergence of these infinite series.
8.2
Example 7.
10
Compute the Fourier Coefficients for f (x) = x
Notice that a0 is 0 since f (x) = x is an odd function. Also, x cos nx is odd, hence an = 0 for all
n > 0. On the other hand, if we let u = x and dv = sin nx dx, then partial integration yields
ˆ
1 π
x sin nx dx
bn =
π −π
ˆ π
−1 x cos nx π
1
=
cos nx dx
+
π
n
nπ −π
−π
−1
(π cos nπ + π cos(−nπ)) + 0
nπ
2(−1)n+1
=
n
=
In other words,
(9)
x =?
∞
X
2(−1)n+1
n=1
n
sin nx
The right-hand side of (9) is called the Fourier (Sine) series of f (x) = x. The question mark is
a reminder that we are not quite sure what is meant by the right-hand side of the equality.
8.2
11
Now let N be a positive integer. Then the finite sum
SN (x) =
(10)
N
X
2(−1)n+1
n
n=1
sin nx
is called the N th partial sum (of the series (9)). For any N > 0 it is clear these finite sums exist.
Below we plot a few of these partial sums for small values of N .
3
S100 (x)
2
1
b
−3
b
−2
−1
1
2
3
−1
−2
S4 (x)
−3
It seems believable that if x is somehow represented by the infinite series given in (9), then the
100th partial sum should be a better approximation than the 4th. The annoying artifact visible
near ±π for S100 (x) shows what can go wrong. It is known as Gibbs Phenomenon and it is
unavoidable whenever one attempts to represent a non-periodic function, such as f (x) = x,
using Fourier series. Over the years many researchers have expended much time and effort in
an attempt to find alternative series representations of such functions in the hope of reducing
these effects.