Lecture14 Graphs of The Sine and Cosine Functions
Lecture14 Graphs of The Sine and Cosine Functions
2
5
6
7
6
3
2
11
6
2
sinx 0
1
2
1
1
2
0 -
1
2
-1 -
1
2
0
Plotting the points listed in the above table and connecting them with a
smooth curve we obtain the graph of one period (also known as one cycle)
of the sine function as shown in Figure 14.1.
Figure 14.1
1
Now to obtain the graph of y = sinx we repeat the above cycle in each
direction as shown in Figure 14.2.
Figure 14.2
Graph of y = cos x
We proceed as we did with the sine function by constructing the table below.
x 0
3
2
2
3
4
3
3
2
5
3
2
cos x 1
1
2
0
1
2
-1 -
1
2
0
1
2
1
A one cycle of the graph is shown in Figure 14.3.
Figure 14.3
2
A complete graph of y = cos x is given in Figure 14.4
Figure 14.4
Amplitude and period of y = a sin(bx), y = a cos (bx), b > 0
We now consider graphs of functions that are transformations of the sine
and cosine functions.
The parameter a: This is outside the function and so deals with the out-
put (i.e. the y values). The facts 1 sin(bx) 1 and 1 cos (bx) 1
imply a a sin(bx) a and a a cos (bx) a. So, the range of the
function y = a sin(bx) or the function y = a cos (bx) is the closed interval
[a, a]. The number |a| is called the amplitude. Graphically, this number
describes how tall the graph is. The amplitude is half the distance from the
top of the curve to the bottom of the curve. If b = 1, the amplitude |a|
indicates a vertical stretch of the basic sine or cosine curve if a > 1, and a
vertical compression if 0 < a < 1. If a < 0 then a reection about the x-axis
is required.
Figure 14.5 shows the graph of y = 2 sinx and the graph of y = 3 sinx.
Figure 14.5
3
The parameter b: This is inside the function and so aects the input
(i.e. x values). Now, the graph of either y = a sin(bx) or y = a cos (bx)
completes one period from bx = 0 to bx = 2. By solving for x we nd the
interval of one period to be [0,
2
b
]. Thus, the above mentioned functions have
a period of
2
b
. The number b tells you the number of cylces of y = a cos (bx)
or y = a sin(bx) in the interval [0, 2]. Graphically, b either stretches (if
b < 1) or compresses (if b > 1) the graph horizontally.
Figure 14.6 shows the function y = sinx with period 2 and the function
y = sin(2x) with period .
Figure 14.6
Guidelines for Sketching Graphs of Sine and Cosine Functions
To graph y = a sin(bx) or y = a cos (bx), with b > 0, follow these steps.
1. Find the period,
2
b
. Start at 0 on the x-axis, and lay o a distance
of
2
b
.
2. Divide the interval into four equal parts by means of the points: 0,
2b
,
b
,
3
2b
,
and
2
b
.
3. Evaluate the function for each of the ve x-values resulting from step
2. The points will be maximum points, minimum points, x-intercepts and
x-intercepts.
4. Plot the points found in step 3, and join them with a sinusoidal curve
with amplitude |a|.
5. Draw additional cycles of the graph, to the right and to the left, as
needed.
Example 14.1
(a) What are the zeros of y = a sin(bx) on the interval [0,
2
b
]?
(b) What are the zeros of y = a cos (bx) on the interval [0,
2
b
]?
4
Solution.
(a) The zeros of the sine function y = a sin(bx) on the interval [0, 2] occur
at bx = 0, bx = , and bx = 2. That is, at x = 0, x =
b
, and x =
2
b
.
The maximum value occurs at bx =
2
or x =
2b
. The minimum value occurs
at bx =
3
2
or x =
3
2b
.
(b) The zeros of the cosine function y = a cos (bx) occur at bx =
2
and
bx =
3
2
. That is, at x =
2b
and x =
3
2b
.
The maximum value occurs at bx = 0 or bx = 2. That is, at x = 0 or
x =
2
b
. The minimum value occurs at bx = or x =
b
.
Example 14.2
Sketch one cycle of the graph of y = 2 cos x.
Solution.
The amplitude of y = 2 cos x is 2 and the period is 2. Finding ve points
on the graph to obtain
x 0
2
3
2
2
y 2 0 -2 0 2
The graph is a vertical stretch by a factor of 2 of the graph of cos x as shown
in Figure 14.7.
Figure 14.7
Example 14.3
Sketch one cycle of the graph of y = cos x.
Solution.
The amplitude of the function is 1 and the period is
2
b
=
2
= 2.
x 0
1
2
1
3
2
2
y 1 0 -1 0 1
5
The graph is a horizontal compression by a factor of
1