Graphs of Sine and Cosine Functions
In past sections we have seen how to evaluate trigonometric functions using the unit circle. Now
I want to look at the graphs of sine and cosine on the coordinate plane.
The Sine Function: π = ππππ
Domain: (−∞, ∞)
Range: [−1,1]
Start by making a table with values that are found from the unit circle:
π
0
π
0
π
π
π
π
2π
3π
5π
6
4
3
2
3
4
6
1
√2
2
√3
2
1
√3
2
√2
2
1
2
2
π
0
7π
5π
4π
3π
5π
7π
11π
6
4
3
2
3
4
6
1
1
− 2 − √2 − √3 −1 − √3 − √2 − 2
2
2
2
2
Now we can plot these points on a coordinate plane:
Connect the points to obtain the sine curve:
Notice that the graph keeps going. Since the sine function is 2π periodic, the curve keeps
repeating itself off to infinity. Every x interval of length 2π will contain one full sine wave.
Also notice that the curve fluctuates between -1 and 1 since the unit circle has a radius of 1.
© Leslie Loy, School of Mathematical & Statistical Sciences – Arizona State University
2π
0
The Cosine Function: π = ππππ
Domain: (−∞, ∞)
Range: [−1,1]
Start by making a table with values that are found from the unit circle:
π
0
π
1
π
π
π
π
2π
3π
5π
6
4
3
2
3
4
6
√3
2
√2
2
1
0
− 2 − √2 − √3 −1 − √3 − √2 − 2
2
π
7π
5π
4π
3π
5π
7π
11π
6
4
3
2
3
4
6
1
√2
2
√3
2
1
1
2
2
2
2
0
2
2π
1
Now we can plot these points on a coordinate plane:
Connect the points to obtain the cosine curve:
Notice that the graph keeps going, just as we saw with the graph of sine. Since the cosine
function is also 2π periodic, the curve keeps repeating itself off to infinity. Every x interval of
length 2π will contain one full cosine wave.
π
These curves look very similar! If we take the graph of sine and shift it to the left by 2 , we get
π
the graph of cosine. Think about transformations. A horizontal shift left by 2 means we would
π
π
need to add 2 on the inside of the sine function, which gives us: cos(π₯) = sinβ‘ (π₯ + 2 β‘)
Try graphing these two functions on the calculator to verify that this is true. (don’t forget radian mode!)
© Leslie Loy, School of Mathematical & Statistical Sciences – Arizona State University
When graphing sine and cosine, we can perform transformations on the basic graphs. The names
of the transformations are a little different, but the same concepts apply.
Example 1: Graph π¦ = 4cosβ‘(π₯).
This is a transformation we should all be familiar with, a vertical stretch by a factor of 4.
In terms of trig functions, this is called the amplitude.
1
Example 2: Graph π¦ = − 2 sinβ‘(π₯)
This is another example of a vertical transformation, this time a shrink. But wait! There is
a second transformation, an x-axis reflection because of the negative on the outside of the
1
function. The amplitude is 2 and there is an x-axis reflection.
© Leslie Loy, School of Mathematical & Statistical Sciences – Arizona State University
Example 3: Graph π¦ = 3cosβ‘(2π₯)
There are two transformations affecting the graph of π¦ = cosβ‘(π₯), a vertical stretch by 3
(so the amplitude is 3) and a horizontal shrink by 2. This will change the period, which is
how often the wave repeats. Remember, the period of the basic sine and cosine graphs is
2π. Since this graph is shrunk by a factor of 2, the wave repeats in half the distance,
which is π.
To find the new period, divide 2π by
the number multiplied by x.
In this case
2π
2
=π.
There is one full wave on [0, π],
another full wave on [π, 2π] and this
continues infinitely.
π
Example 4: Graph π¦ = sin (π₯ − 4 )
π
Here we have a horizontal shift right by 4 . In trigonometry, we call this a phase shift.
Since we are shifting right, the phase shift is positive.
π
4
π
Black: π¦ = sin (π₯ − 4 )
Red:
π¦ = sin(π₯)
Notice: the distance
between the maximums
π
is 4 .
© Leslie Loy, School of Mathematical & Statistical Sciences – Arizona State University
The general equation can be written as:
Amplitude:
|A|
π = π¨ π¬π’π§(π©π − πͺ) or π = π¨ ππ¨π¬(π©π − πͺ)
The distance between the x-axis and any maximum or minimum point.
(If π΄ < 0, there is also a reflection about the x-axis.)
Period:
ππ
Phase Shift:
πͺ
The length it takes for one full wave to complete.
π©
Equivalent to the horizontal shift.
π©
(A positive phase shift means a shift right, and
a negative phase shift means a shift to the left.)
π
Example 5: Find the amplitude, period and phase shift for the function π¦ = 2 cos (ππ₯ + 2 ).
π
Start by identifying A, B and C: π΄ = 2, π΅ = π, πΆ = − 2
Amplitude: |π΄| = |2| = β‘β‘β‘2
2π
2π
Period: π΅ = π = β‘β‘β‘2
πΆ
−
π
π
1
1
Phase Shift: π΅ = π2 = − 2 β π = β‘β‘β‘ − 2
(remember this is a shift left so the phase shift is negative)
When graphing on the calculator, make
sure you’re in radian mode.
Next, set a good window. Always graph at
least one full wave, so look at the period.
If I choose π₯πππ = 0, then π₯πππ₯ should be
at least 2 since the period is 2. I ended up
setting π₯πππ₯ = 5, which is slightly larger
3π
than 2 , so I could see more than two full
waves.
Setting the π¦ values in the window is
usually easier because you can look at the
amplitude. In this case set π¦πππ = −2 and
π¦πππ₯ = 2.
© Leslie Loy, School of Mathematical & Statistical Sciences – Arizona State University