Transcript (a) y

7
Trigonometric Functions:
Unit Circle Approach
Copyright © Cengage Learning. All rights reserved.
5.3
Trigonometric Graphs
Copyright © Cengage Learning. All rights reserved.
Objectives
► Graphs of Sine and Cosine
► Graphs of Transformations of Sine and Cosine
► Using Graphing Devices to Graph
Trigonometric Functions
3
Trigonometric Graphs
The graph of a function gives us a better idea of its
behavior.
So, in this section we graph the sine and cosine functions
and certain transformations of these functions.
4
Graphs of Sine and Cosine
5
Graphs of Sine and Cosine
To help us graph the sine and cosine functions, we first
observe that these functions repeat their values in a regular
fashion.
In other words,
sin(t + 2nπ) = sin t
for any integer n
cos(t + 2nπ) = cos t
for any integer n
Thus, the sine and cosine functions are periodic according
to the following definition: A function f is periodic if there is
a positive number p such that f(t + p) = f(t) for every t.
6
Graphs of Sine and Cosine
The least such positive number (if it exists) is the period
of f. If f has period p, then the graph of f on any interval of
length p is called one complete period of f.
So the sine and cosine functions repeat their values in any
interval of length 2π. To sketch their graphs, we first graph
one period.
7
Graphs of Sine and Cosine
To sketch the graphs on the interval 0 ≤ t ≤ 2π, we could try
to make a table of values and use those points to draw the
graph.
To draw the graphs more accurately, we find a few other
values of sin t and cos t in Table 2. We could find still other
values with the aid of a calculator.
Table 2
8
Graphs of Sine and Cosine
Now we use this information to graph the functions sin t
and cos t for t between 0 and 2π in Figures 2 and 3.
Graph of sin t
Figure 2
9
Graphs of Sine and Cosine
Graph of cos t
Figure 3
These are the graphs of one period. Using the fact that
these functions are periodic with period 2π, we get their
complete graphs by continuing the same pattern to the left
and to the right in every successive interval of length 2π.
10
Graphs of Sine and Cosine
The graph of the sine function is symmetric with respect to
the origin. This is as expected, since sine is an odd
function.
Since the cosine function is an even function, its graph is
symmetric with respect to the y-axis.
11
Graphs of Transformations
of Sine and Cosine
12
Graphs of Transformations of Sine and Cosine
We now consider graphs of functions that are
transformations of the sine and cosine functions.
13
Example 1 – Cosine Curves
Sketch the graph of each function.
(a) f(x) = 2 + cos x
(b) g(x) = –cos x
Solution:
(a) The graph of y = 2 + cos x is
the same as the graph of
y = cos x, but shifted up
2 units (see Figure 4(a)).
Figure 4(a)
14
Example 1 – Solution
cont’d
(b) The graph of y = –cos x in Figure 4(b) is the reflection of
the graph of y = cos x in the x-axis.
Figure 4(b)
15
Graphs of Transformations of Sine and Cosine
Let’s graph y = 2 sin x. We start with the graph of
y = sin x and multiply the y-coordinate of each point by 2.
This has the effect of stretching the graph vertically by a
factor of 2. To graph y = sin x, we start with the graph of
y = sin x and multiply the y-coordinate of each point by .
This has the effect of shrinking
the graph vertically by a factor
of (see Figure 5).
Figure 5
16
Graphs of Transformations of Sine and Cosine
In general, for the functions
y = a sin x
and
y = a cos x
the number |a| is called the
amplitude and is the largest
value these functions attain.
Graphs of y = a sin x for
several values of a are shown
in Figure 6.
Figure 6
17
Example 2 – Stretching a Cosine Curve
Find the amplitude of y = –3 cos x, and sketch its graph.
Solution:
The amplitude is |–3| = 3, so the largest value the graph
attains is 3 and the smallest value is –3.
To sketch the graph, we begin
with the graph of y = cos x,
stretch the graph vertically by
a factor of 3, and reflect in the
x-axis, arriving at the graph
in Figure 7.
Figure 7
18
Graphs of Transformations of Sine and Cosine
Since the sine and cosine functions have period 2π, the
functions
y = a sin kx and
y = a cos kx
(k > 0)
complete one period as kx varies from 0 to 2π, that is,
for 0 ≤ kx ≤ 2π or for 0 ≤ x ≤ 2π/k. So these functions
complete one period as x varies between 0 and 2π /k and
thus have period 2π/k.
The graphs of these functions are called sine curves and
cosine curves, respectively. (Collectively, sine and cosine
curves are often referred to as sinusoidal curves.)
19
Graphs of Transformations of Sine and Cosine
To see how the value of k affects the graph of y = sin kx,
let’s graph the sine curve y = sin 2x.
20
Graphs of Transformations of Sine and Cosine
Since the period is 2 π/2 =π, the graph completes one
period in the interval 0 ≤ x ≤ π (see Figure 8(a)). For the
sine curve y = sin x, the period is 2π÷ =4π, so the
graph completes one period in the interval 0 ≤ x ≤ 4π (see
Figure 8(b)).
Figure 8(a)
Figure 8(b)
21
Graphs of Transformations of Sine and Cosine
We see that the effect is to shrink the graph horizontally
if k > 1 or to stretch the graph horizontally if k < 1.
For comparison, in Figure 9 we show the graphs of one
period of the sine curve y = a sin kx for several values of k.
Figure 9
22
Example 3 – Amplitude and Period
Find the amplitude and period of each function, and sketch
its graph.
(a) y = 4 cos 3x
(b) y = –2 sin x
Solution:
(a) We get the amplitude and period from the form of the
function as follows:
23
Example 3 – Solution
cont’d
The amplitude is 4 and the period is 2 π/3. The graph is
shown in Figure 10.
Figure 10
24
Example 3 – Solution
cont’d
(b) For y = –2 sin x
amplitude = |a| = | –2| = 2
period =
= 4π
The graph is shown in Figure 11.
Figure 11
25
Graphs of Transformations of Sine and Cosine
The graphs of functions of the form y = a sin k(x – b) and
y = a cos k(x – b) are simply sine and cosine curves shifted
horizontally by an amount |b|.
They are shifted to the right if b > 0 or to the left if b < 0.
The number b is the phase shift.
26
Graphs of Transformations of Sine and Cosine
We summarize the properties of these functions in the
following box.
27
Example 4 – A Shifted Sine Curve
Find the amplitude, period, and phase shift of
y = 3 sin 2
, and graph one complete period.
Solution:
We get the amplitude, period, and phase shift from the form
of the function as follows:
28
Example 4 – Solution
cont’d
Since the phase shift is π/4 and the period is π, one
complete period occurs on the interval
As an aid in sketching the graph,
we divide this interval into four
equal parts, then graph a sine
curve with amplitude 3 as in
Figure 13.
Figure 13
29
Example 5 – A Shifted Cosine Curve
Find the amplitude, period, and phase shift of
and graph one complete period.
Solution:
We first write this function in the form y = a cos k(x – b).
To do this, we factor 2 from the expression 2x +
to get
30
Example 5 – Solution
cont’d
Thus we have
amplitude = |a| =
period =
phase shift = b =
=π
Shift
to the left
From this information it follows that one period of this
cosine curve begins at –π/3 and ends at
(–π/3) + π = 2π/3.
31
Example 5 – Solution
cont’d
To sketch the graph over the interval [–π/3, 2π/3], we
divide this interval into four equal parts and graph a cosine
curve with amplitude as shown in Figure 14.
Figure 14
32
Using Graphing Devices to
Graph Trigonometric Functions
33
Using Graphing Devices to Graph Trigonometric Functions
When using a graphing calculator or a computer to graph a
function, it is important to choose the viewing rectangle
carefully in order to produce a reasonable graph of the
function.
34
Example 6 – Choosing the Viewing Rectangle
Graph the function f(x) = sin 50x in an appropriate viewing
rectangle.
Solution:
Figure 15(a) shows the graph of f produced by a graphing
calculator using the viewing rectangle [–12, 12] by
[–1.5, 1.5].
Figure 15(a)
35
Example 6 – Solution
cont’d
At first glance the graph appears to be reasonable.
But if we change the viewing rectangle to the ones shown
in Figure 15, the graphs look very different. Something
strange is happening.
(a)
(c)
(b)
(d)
Graphs of f(x) = sin 50x in different viewing rectangles
Figure 15
36
Example 6 – Solution
cont’d
To explain the big differences in appearance of these
graphs and to find an appropriate viewing rectangle, we
need to find the period of the function y = sin 50x:
This suggests that we should deal only with small values
of x in order to show just a few oscillations of the graph.
37
Example 6 – Solution
cont’d
If we choose the viewing rectangle [–0.25, 0.25] by
[–1.5, 1.5], we get the graph shown in Figure 16.
f(x) = sin 50x
Figure 16
38
Example 6 – Solution
cont’d
Now we see what went wrong in Figure 15. The oscillations
of y = sin 50x are so rapid that when the calculator plots
points and joins them, it misses most of the maximum and
minimum points and therefore gives a very misleading
impression of the graph.
(a)
(c)
(b)
(d)
Graphs of f(x) = sin 50x in different viewing rectangles
Figure 15
39
Using Graphing Devices to Graph Trigonometric Functions
In general, if f(x) = a(x) sin kx or f(x) = a(x) cos kx, the
function a determines how the amplitude of f varies, and
the graph of f lies between the graphs of y = –a(x) and
y = a(x). Here is another example.
40
Example 9 – A Cosine Curve with Variable Amplitude
Graph the function f(x) = cos 2πx cos 16πx.
Solution:
The graph is shown in Figure 19.
f(x) = cos 2πx cos 16πx.
Figure 19
41
Example 9 – Solution
cont’d
Although it was drawn by a computer, we could have drawn
it by hand, by first sketching the boundary curves
y = cos 2πx and y = –cos 2πx.
The graph of f is a cosine curve that lies between the
graphs of these two functions.
42
Example 10 – A Sine Curve with Decaying Amplitude
The function f(x) =
is important in calculus. Graph this
function and comment on its behavior when x is close to 0.
Solution:
The viewing rectangle [–15, 15] by [–0.5, 1.5] shown in
Figure 20(a) gives a good global view of the graph of f.
Figure 20(a)
43
Example 10 – Solution
cont’d
The viewing rectangle [–1, 1] by [–0.5, 1.5] in Figure 20(b)
focuses on the behavior of f when x ≠ 0.
Figure 20(b)
Notice that although f(x) is not defined when x = 0 (in other
words, 0 is not in the domain of f), the values of f seem to
approach 1 when x gets close to 0. This fact is crucial in
calculus.
44
Using Graphing Devices to Graph Trigonometric Functions
The function in Example 10 can be written as
and may thus be viewed as a sine function whose
amplitude is controlled by the function a(x) = 1/x.
45