<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Skip Navigation

2.13: Horizontal Translations or Phase Shifts

Difficulty Level: At Grade Created by: CK-12
Atoms Practice
Estimated7 minsto complete
Practice Horizontal Translations or Phase Shifts
This indicates how strong in your memory this concept is
Estimated7 minsto complete
Estimated7 minsto complete
Practice Now
This indicates how strong in your memory this concept is
Turn In

You are working on a graphing project in your math class, where you are supposed to graph several functions. Things seem to be going well, until you realize that there is a bold, vertical line three units to the left of where you placed your "y" axis! As it turns out, you've accidentally shifted your entire graph. You didn't notice that your instructor had placed a bold line where the "y" axis was supposed to be. And now, all of the points for your graph of the cosine function are three points farther to the right than they are supposed to be along the "x" axis.

You might be able to keep all of your work, if you can find a way to rewrite the equation so that it takes into account the change in your graph.

Can you think of a way to rewrite the function so that the graph is correct the way you plotted it?

Keep reading, and at the end of this Concept, you'll know how to do exactly that using a "horizontal shift".

Watch This

In the first part of this video you'll learn how to perform horizontal translations of sine and cosine graphs.

James Sousa: Horizontal and Vertical Translations of Sine and Cosine


Horizontal translations involve placing a constant inside the argument of the trig function being plotted. If we return to the example of the parabola, \begin{align*}y = x^2\end{align*}y=x2, what change would you make to the equation to have it move to the right or left? Many students guess that if you move the graph vertically by adding to the \begin{align*}y-\end{align*}yvalue, then we should add to the \begin{align*}x-\end{align*}xvalue in order to translate horizontally. This is correct, but the graph itself behaves in the opposite way than what you may think.

Here is the graph of \begin{align*}y = (x + 2)^2\end{align*}y=(x+2)2.

Notice that adding 2 to the \begin{align*}x-\end{align*}xvalue shifted the graph 2 units to the left, or in the negative direction.

To compare, the graph \begin{align*}y = (x - 2)^2\end{align*}y=(x2)2 moves the graph 2 units to the right or in the positive direction.

We will use the letter \begin{align*}C\end{align*}C to represent the horizontal shift value. Therefore, subtracting \begin{align*}C\end{align*}C from the \begin{align*}x-\end{align*}xvalue will shift the graph to the right and adding \begin{align*}C\end{align*}C will shift the graph \begin{align*}C\end{align*}C units to the left.

Adding to our previous equations, we now have \begin{align*}y=D \pm \sin (x \pm C)\end{align*}y=D±sin(x±C) and \begin{align*}y=D \pm \cos (x \pm C)\end{align*}y=D±cos(x±C) where \begin{align*}D\end{align*}D is the vertical translation and \begin{align*}C\end{align*}C is the opposite sign of the horizontal shift.

Example A

Sketch \begin{align*}y=\sin \left( x - \frac{\pi}{2} \right)\end{align*}

Solution: This is a sine wave that has been translated \begin{align*}\frac{\pi}{2}\end{align*} units to the right.

Horizontal translations are also referred to as phase shifts. Two waves that are identical, but have been moved horizontally are said to be “out of phase” with each other. Remember that cosine and sine are really the same waves with this phase variation.

\begin{align*}y = \sin x\end{align*} can be thought of as a cosine wave shifted horizontally to the right by \begin{align*}\frac{\pi}{2}\end{align*} radians.

Alternatively, we could also think of cosine as a sine wave that has been shifted \begin{align*}\frac{\pi}{2}\end{align*} radians to the left.

Example B

Draw a sketch of \begin{align*}y = 1 + \cos (x - \pi)\end{align*}

Solution: This is a cosine curve that has been translated up 1 unit and \begin{align*}\pi\end{align*} units to the right. It may help you to use the quadrant angles to draw these sketches. Plot the points of \begin{align*}y = \cos x\end{align*} at \begin{align*}0, \frac{\pi}{2}, \pi, \frac{3\pi}{2}, 2\pi\end{align*} (as well as the negatives), and then translate those points before drawing the translated curve. The blue curve below is the final answer.

Example C

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

Solution: This is a sine curve that has been translated 2 units down and moved \begin{align*}\frac{3\pi}{2}\end{align*} radians to the left. Again, start with the quadrant angles on \begin{align*}y = \sin x\end{align*} and translate them down 2 units.

Then, take that result and shift it \begin{align*}\frac{3\pi}{2}\end{align*} to the left. The blue graph is the final answer.


Phase Shift: A phase shift is a horizontal translation.

Guided Practice

1. Draw a sketch of \begin{align*}y = 3 + \cos (x - \frac{\pi}{2})\end{align*}

2. Draw a sketch of \begin{align*}y = \sin (x + \frac{\pi}{4})\end{align*}

3. Draw a sketch of \begin{align*}y = 2 + \cos (x + 2\pi)\end{align*}



As we've seen, the 3 shifts the graph vertically 3 units, while the \begin{align*}-\frac{\pi}{2}\end{align*} shifts the graph to the right by \begin{align*}\frac{\pi}{2}\end{align*} units.


The \begin{align*}\frac{\pi}{4}\end{align*} shifts the graph to the left by \begin{align*}\frac{\pi}{4}\end{align*}.


The 2 added to the function shifts the graph up by 2 units, and the \begin{align*}2\pi\end{align*} added in the argument of the function brings the function back to where it started, so the cosine graph isn't shifted horizontally at all.

Concept Problem Solution

As you've now seen by reading this Concept, it is possible to shift an entire graph to the left or the right by changing the argument of the graph.

So in this case, you can keep your graph by changing the function to \begin{align*}y = \cos(x - 3)\end{align*}


Graph each of the following functions.

  1. \begin{align*}y=\cos(x-\frac{\pi}{2})\end{align*}
  2. \begin{align*}y=\sin(x+\frac{3\pi}{2})\end{align*}
  3. \begin{align*}y=\cos(x+\frac{\pi}{4})\end{align*}
  4. \begin{align*}y=\cos(x-\frac{3\pi}{4})\end{align*}
  5. \begin{align*}y=-1+\cos(x-\frac{\pi}{4})\end{align*}
  6. \begin{align*}y=1+\sin(x+\frac{\pi}{2})\end{align*}
  7. \begin{align*}y=-2+\cos(x+\frac{\pi}{4})\end{align*}
  8. \begin{align*}y=3+\cos(x-\frac{3\pi}{2})\end{align*}
  9. \begin{align*}y=-4+\sec(x-\frac{\pi}{4})\end{align*}
  10. \begin{align*}y=3+\csc(x-\frac{\pi}{2})\end{align*}
  11. \begin{align*}y=2+\tan(x+\frac{\pi}{4})\end{align*}
  12. \begin{align*}y=-3+\cot(x-\frac{3\pi}{2})\end{align*}
  13. \begin{align*}y=1+\cos(x-\frac{3\pi}{4})\end{align*}
  14. \begin{align*}y=5+\sec(x+\frac{\pi}{2})\end{align*}
  15. \begin{align*}y=-1+\csc(x+\frac{\pi}{4})\end{align*}
  16. \begin{align*}y=3+\tan(x-\frac{3\pi}{2})\end{align*}

Notes/Highlights Having trouble? Report an issue.

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


Amplitude The amplitude of a wave is one-half of the difference between the minimum and maximum values of the wave, it can be related to the radius of a circle.
Horizontal shift A horizontal shift is the result of adding a constant term to the function inside the parentheses. A positive term results in a shift to the left and a negative term in a shift to the right.
periodic function A periodic function is a function with a predictable repeating pattern. Sine waves and cosine waves are periodic functions.
Phase Shift A phase shift is a horizontal translation or shift.
sinusoidal axis The sinusoidal axis is the neutral horizontal line that lies between the crests and the troughs of the graph of a sine or cosine function.
sinusoidal function A sinusoidal function is a sine or cosine wave.
sinusoidal functions A sinusoidal function is a sine or cosine wave.

Image Attributions

Show Hide Details
Difficulty Level:
At Grade
Date Created:
Sep 26, 2012
Last Modified:
Aug 11, 2016
Files can only be attached to the latest version of Modality
Please wait...
Please wait...
Image Detail
Sizes: Medium | Original