<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Dismiss
Skip Navigation
Our Terms of Use (click here to view) and Privacy Policy (click here to view) have changed. By continuing to use this site, you are agreeing to our new Terms of Use and Privacy Policy.

Sine Graph and Cosine Graph

Graph and stretch trig functions

Atoms Practice
Estimated8 minsto complete
%
Progress
Practice Sine Graph and Cosine Graph
Practice
Progress
Estimated8 minsto complete
%
Practice Now
Graphing Sine and Cosine

Your mission, should you choose to accept it, as Agent Trigonometry is to graph the function y=2cosx. What are the minimum and maximum of your graph?

Graphing Sine and Cosine

In this concept, we will take the unit circle, introduced in the previous chapter, and graph it on the Cartesian plane.

To do this, we are going to “unravel” the unit circle. Recall that for the unit circle the coordinates are (cosθ,sinθ) where θ is the central angle. To graph, y=sinx rewrite the coordinates as (x,sinx) where x is the central angle, in radians. Below we expanded the sine coordinates for 3π4.

Notice that the curve ranges from 1 to -1. The maximum value is 1, which is at x=π2. The minimum value is -1 at x=3π2. This “height” of the sine function is called the amplitude. The amplitude is the absolute value of average between the highest and lowest points on the curve.

Now, look at the domain. It seems that, if we had continued the curve, it would repeat. This means that the sine curve is periodic. Look back at the unit circle, the sine value changes until it reaches 2π. After 2π, the sine values repeat. Therefore, the curve above will repeat every 2π units, making the period 2π. The domain is all real numbers.

Similarly, when we expand the cosine curve, y=cosx, from the unit circle, we have:

Notice that the range is also between 1 and -1 and the domain will be all real numbers. The cosine curve is also periodic, with a period of 2π. If we draw the graph past 2π, it would look like:

Comparing y=sinx and y=cosx (below), we see that the curves are almost identical, except that the sine curve starts at y=0 and the cosine curve starts at y=1.

If we shift either curve π2 units to the left or right, they will overlap. Any horizontal shift of a trigonometric function is called a phase shift. We will discuss phase shifts more in the upcoming concepts.

Solve the following problem

Identify the highlighted points on y=sinx and y=cosx below.

For each point, think about what the sine or cosine value is at those values. For point A, sinπ4=22, therefore the point is (π4,22). For point B, we have to work backwards because it is not exactly on a vertical line, but it is on a horizontal one. When is sinx=12? When x=7π6 or 11π6. By looking at point B’s location, we know it is the second option. Therefore, the point is (11π6,12).

For the cosine curve, point C is the same as point A because the sine and cosine for π4 is the same. As for point D, we use the same logic as we did for point B. When does cosx=12? When x=2π3 or 4π3. Again, looking at the location of point D, we know it is the second option. The point is (4π3,12).

Amplitude

In addition to graphing y=sinx and y=cosx, we can stretch the graphs by placing a number in front of the sine or cosine, such as y=asinx or y=acosx. |a| is the amplitude of the curve. In the next concept, we will shift the curves up, down, to the left and right.

Graph the functions

Graph y=3sinx over two periods.

Start with the basic sine curve. Recall that one period of the parent graph, y=sinx, is 2π. Therefore, two periods will be \begin{align*}4 \pi \end{align*}. The 3 indicates that the range will now be from 3 to -3 and the curve will be stretched so that the maximum is 3 and the minimum is -3. The red curve is \begin{align*}y=3 \sin x\end{align*}.

Notice that the \begin{align*}x\end{align*}-intercepts are the same as the parent graph. Typically, when we graph a trigonometric function, we always show two full periods of the function to indicate that it does repeat.

Graph \begin{align*}y=\frac{1}{2}\cos x\end{align*} over two periods.

Now, the amplitude will be \begin{align*}\frac{1}{2}\end{align*} and the function will be “smooshed” rather than stretched.

Graph \begin{align*}y=-\sin x\end{align*} over two periods.

The last two examples dealt with changing \begin{align*}a\end{align*} and \begin{align*}a\end{align*} was positive. Now, \begin{align*}a\end{align*} is negative. Just like with other functions, when the leading coefficient is negative, the function is reflected over the \begin{align*}x\end{align*}-axis. \begin{align*}y=-\sin x\end{align*} is in red.

Examples

Example 1

Earlier, you were asked what are the minimum and maximum of your graph. 

 The 2 in front of the cosine function indicates that the range will now be from 2 to –2 and the curve will be stretched so that the maximum is 2 and the minimum is –2.

Example 2

Is the point \begin{align*}\left(\frac{5 \pi}{6},\frac{1}{2}\right)\end{align*} on \begin{align*}y=\sin x\end{align*}? How do you know?

Substitute in the point for \begin{align*}x\end{align*} and \begin{align*}y\end{align*} and see if the equation holds true.

\begin{align*}\frac{1}{2}=\sin\left(\frac{5 \pi}{6}\right)\end{align*}

This is true, so \begin{align*}\left(\frac{5 \pi}{6},\frac{1}{2}\right)\end{align*} is on the graph.

Graph the following functions for two full periods.

Example 3

\begin{align*}y=6 \cos x\end{align*}

Stretch the cosine curve so that the maximum is 6 and the minimum is -6.

Example 4

\begin{align*}y=-3 \cos x\end{align*}

The graph is reflected over the \begin{align*}x\end{align*}-axis and stretched so that the amplitude is 3.

Example 5

\begin{align*}y=\frac{3}{2} \sin x\end{align*}

The fraction is equivalent to 1.5, making 1.5 the amplitude.

Review

  1. Determine the exact value of each point on \begin{align*}y=\sin x\end{align*} or \begin{align*}y=\cos x\end{align*}.
  2. List all the points in the interval \begin{align*}[0,4 \pi]\end{align*} where \begin{align*}\sin x=\cos x\end{align*}. Use the graph from #1 to help you.
  3. Draw from \begin{align*}y=\sin x\end{align*} from \begin{align*}[0, 2 \pi]\end{align*}. Find \begin{align*}f \left(\frac{\pi}{3}\right)\end{align*} and \begin{align*}f \left(\frac{5 \pi}{3}\right)\end{align*}. Plot these values on the curve.

For questions 4-12, graph the sine or cosine curve over two periods.

  1. \begin{align*}y=2 \sin x\end{align*}
  2. \begin{align*}y=-5 \cos x\end{align*}
  3. \begin{align*}y=\frac{1}{4} \cos x\end{align*}
  4. \begin{align*}y=- \frac{2}{3} \sin x\end{align*}
  5. \begin{align*}y=4 \sin x\end{align*}
  6. \begin{align*}y=-1.5 \cos x\end{align*}
  7. \begin{align*}y=\frac{5}{3} \cos x\end{align*}
  8. \begin{align*}y=10 \sin x\end{align*}
  9. \begin{align*}y=-7.2 \sin x\end{align*}
  10. Graph \begin{align*}y=\sin x\end{align*} and \begin{align*}y=\cos x\end{align*} on the same set of axes. How many units would you have to shift the sine curve (to the left or right) so that it perfectly overlaps the cosine curve?
  11. Graph \begin{align*}y=\sin x\end{align*} and \begin{align*}y=-\cos x\end{align*} on the same set of axes. How many units would you have to shift the sine curve (to the left or right) so that it perfectly overlaps \begin{align*}y=- \cos x\end{align*}?

Write the equation for each sine or cosine curve below. \begin{align*}a>0\end{align*} for both questions.

Answers for Review Problems

To see the Review answers, open this PDF file and look for section 14.1. 

Image Attributions

Explore More

Sign in to explore more, including practice questions and solutions for Sine Graph and Cosine Graph.
Please wait...
Please wait...