<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Sine Graph and Cosine Graph

## Graph and stretch trig functions

Estimated9 minsto complete
%
Progress
Practice Sine Graph and Cosine Graph
Progress
Estimated9 minsto complete
%
Graphing Sine and Cosine

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

### Guidance

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 $(\sin \theta, \cos \theta)$ where $\theta$ is the central angle. To graph, $y=\sin x$ rewrite the coordinates as $(x, \sin x)$ where $x$ is the central angle, in radians. Below we expanded the sine coordinates for $\frac{3\pi}{4}$ .

Notice that the curve ranges from 1 to -1. The maximum value is 1, which is at $x=\frac{\pi}{2}$ . The minimum value is -1 at $x=\frac{3 \pi}{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 \pi$ . After $2 \pi$ , the sine values repeat. Therefore, the curve above will repeat every $2 \pi$ units, making the period $2 \pi$ . The domain is all real numbers.

Similarly, when we expand the cosine curve, $y=\cos x$ , 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 \pi$ . If we draw the graph past $2\pi$ , it would look like:

Comparing ${\color{red}y=\sin x}$ and ${\color{blue}y=\cos x}$ (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 $\frac{\pi}{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.

#### Example A

Identify the highlighted points on $y=\sin x$ and $y=\cos x$ below.

,

Solution: For each point, think about what the sine or cosine value is at those values. For point $A$ , $\sin \frac{\pi}{4}=\frac{\sqrt{2}}{2}$ , therefore the point is $\left(\frac{\pi}{4},\frac{\sqrt{2}}{2}\right)$ . 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 $\sin x=-\frac{1}{2}$ ? When $x=\frac{7 \pi}{6}$ or $\frac{11 \pi}{6}$ . By looking at point $B$ ’s location, we know it is the second option. Therefore, the point is $\left(\frac{11 \pi}{6},\frac{1}{2}\right)$ .

For the cosine curve, point $C$ is the same as point $A$ because the sine and cosine for $\frac{\pi}{4}$ is the same. As for point $D$ , we use the same logic as we did for point $B$ . When does $\cos x = -\frac{1}{2}$ ? When $x=\frac{2 \pi}{3}$ or $\frac{4\pi}{3}$ . Again, looking at the location of point $D$ , we know it is the second option. The point is $\left(\frac{4\pi}{3},\frac{1}{2}\right)$ .

### More Guidance

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

#### Example B

Graph $y=3 \sin x$ over two periods.

Solution: Start with the basic sine curve. Recall that one period of the parent graph, $y=\sin x$ , is $2 \pi$ . Therefore, two periods will be $4 \pi$ . 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 $y=3 \sin x$ .

Notice that the $x$ -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.

#### Example C

Graph $y=\frac{1}{2}\cos x$ over two periods.

Solution: Now, the amplitude will be $\frac{1}{2}$ and the function will be “smooshed” rather than stretched.

#### Example D

Graph $y=-\sin x$ over two periods.

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

Concept Problem Revisit 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.

### Guided Practice

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

Graph the following functions for two full periods.

2. $y=6 \cos x$

3. $y=-3 \cos x$

4. $y=\frac{3}{2} \sin x$

1. Substitute in the point for $x$ and $y$ and see if the equation holds true.

$\frac{1}{2}=\sin\left(\frac{5 \pi}{6}\right)$

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

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

3. The graph is reflected over the $x$ -axis and stretched so that the amplitude is 3.

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

### Vocabulary

Trigonometric Function
When the sine, cosine, or tangent of an angle is plotted in the $x-y$ plane such that $(x,f(x))$ , where $x$ is the central angle from the unit circle and $f(x)$ is the sine, cosine, or tangent of that angle.
Amplitude
The height of a sine or cosine curve. In the equation, $y=a\sin x$ or $y = a\cos x$ , the amplitude is $|a|$ .
Periodic
When a function repeats its $y$ -values over a regular interval.
Period
The regular interval over which a periodic function repeats itself.
Phase Shift
The horizontal shift of a trigonometric function.

### Practice

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

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

1. $y=2 \sin x$
2. $y=-5 \cos x$
3. $y=\frac{1}{4} \cos x$
4. $y=- \frac{2}{3} \sin x$
5. $y=4 \sin x$
6. $y=-1.5 \cos x$
7. $y=\frac{5}{3} \cos x$
8. $y=10 \sin x$
9. $y=-7.2 \sin x$
10. Graph $y=\sin x$ and $y=\cos x$ 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 $y=\sin x$ and $y=-\cos x$ 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 $y=- \cos x$ ?

Write the equation for each sine or cosine curve below. $a>0$ for both questions.