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

Translating Sine and Cosine Functions

Graph shifted trig functions

Atoms Practice
Estimated10 minsto complete
Practice Translating Sine and Cosine Functions
This indicates how strong in your memory this concept is
Estimated10 minsto complete
Practice Now
Turn In
Translating Sine and Cosine Functions

Your best friend asks you to describe how the graph of y=sin(xπ)2 is different from the graph of y=sinx. What do you tell your friend?

Translating Sine and Cosine Functions

Just like other functions, sine and cosine curves can be moved to the left, right, up and down. The general equation for a sine and cosine curve is y=asin(xh)+k and y=acos(xh)+k, respectively. Also, just like in other functions, h is the horizontal shift, also called a phase shift, and k is the vertical shift. Notice, that because it is xh in the equation, h will always shift in the opposite direction of what is in the equation.

Let's graph y=cos(xπ4).

This function will be shifted π4 units to the right. The easiest way to sketch the curve, is to start with the parent graph and then move it to the right the correct number of units.

Now, let's graph y=sin(x+2)+3.

Because -2 is not written in terms of π (like the x-axis), we need to estimate where it would be on the axis. 3π4=2.35 So, -2 will be shifted not quite to the 3π4 tic mark. Then, the entire function will be shifted up 3 units. The red graph is the final answer.

Finally, let's find the equation of the sine curve below.

First, we know the amplitude is 1 because the average between 2 and 0 (the maximum and minimum) is 1. Next, we can find the vertical shift. Recall that the maximum is usually 1, in this equation it is 2. That means that the function is shifted up 1 unit (21). The horizontal shift is the hardest to find. Because sine curves are periodic, the horizontal shift can either be positive or negative.

Because π is 3.14, we can say that “moves back almost π units” is -3 units. So, the equation is y=sin(x+3)+1. If we did the positive horizontal shift, we could say that the equation would be y=sin(x3.28)+1.

To determine the value of the horizontal shift, you might have to estimate. For example, we estimated that the negative shift was -3 because the maximum value of the parent graph is at x=π2 and the maximum to the left of it didn’t quite make it to x=π2 (the distance between π2 and π2 is π). Then, to determine the positive shift equation, recall that a period is 2π, which is 6.28 So, the positive shift would be 2π3 or 6.283=3.28..


Example 1

Earlier, you were asked to tell your friend how the graph of y=sin(xπ)2 is different from the graph of y=sinx

If you compare y=sin(xπ)2 to the general equation y=asin(xh)+k, you see that h=π and k=2.

h is the horizontal shift, so the function is π units to the right of y=sinx.

k is the vertical shift, so the function is 2 units down from y=sinx.

Therefore, the graph of y=sin(xπ)2 is shifted π units to the right and two units down from the graph of y=sinx.

In Examples 2 & 3, graph the function from [π,3π].

Example 2


Shift the parent graph down one unit.

Example 3


Shift the parent graph to the left π3 units and down 2 units.

Example 4

Find the equation of the cosine curve below.

The parent graph is in green. It moves up 3 units and to the right 3π4 units. Therefore, the equation is y=cos(x3π4)+3.

If you moved the cosine curve backward, then the equation would be \begin{align*}y=\cos \left(x+\frac{5 \pi}{4}\right)+3\end{align*}.


For questions 1-4, match the equation with its graph.

  1. \begin{align*}y=\sin \left(x-\frac{\pi}{2}\right)\end{align*}
  2. \begin{align*}y=\cos \left(x-\frac{\pi}{4}\right)+3\end{align*}
  3. \begin{align*}y=\cos \left(x+\frac{\pi}{4}\right)-2\end{align*}
  4. \begin{align*}y=\sin \left(x-\frac{\pi}{4}\right)+2\end{align*}

Which graph above also represents these equations?

  1. \begin{align*}y=\cos(x-\pi)\end{align*}
  2. \begin{align*}y=\sin \left(x+\frac{3 \pi}{4}\right)-2\end{align*}
  3. Write another sine equation for graph A.
  4. Writing How many sine (or cosine) equations can be generated for one curve? Why?
  5. Fill in the blanks below.
    1. \begin{align*}\sin x=\cos(x-\underline{\;\;\;\;\;})\end{align*}
    2. \begin{align*}\cos x=\sin(x-\underline{\;\;\;\;\;})\end{align*}

For questions 10-15, graph the following equations from \begin{align*}[-2\pi, 2\pi]\end{align*}.

  1. \begin{align*}y=\sin \left(x+\frac{\pi}{4}\right)\end{align*}
  2. \begin{align*}y=1+\cos x\end{align*}
  3. \begin{align*}y=\cos(x+\pi)-2\end{align*}
  4. \begin{align*}y=\sin(x+3)-4\end{align*}
  5. \begin{align*}y=\sin \left(x-\frac{\pi}{6}\right)\end{align*}
  6. \begin{align*}y=\cos(x-1)-3\end{align*}
  7. Critical Thinking Is there a difference between \begin{align*}y=\sin x +1\end{align*} and \begin{align*}y=\sin(x+1)\end{align*}? Explain your answer.

Answers for Review Problems

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

Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Please to create your own Highlights / Notes
Show More

Image Attributions

Explore More

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