<meta http-equiv="refresh" content="1; url=/nojavascript/"> Vertical Translations ( Read ) | Trigonometry | CK-12 Foundation

# Vertical Translations

%
Best Score
Practice Vertical Translations
Best Score
%
Vertical Translations
0  0  0

You are working on a graphing project in your math class, where you are supposed to graph several functions. You are working on graphing a cosine function, and things seem to be going well, until you realize that there is a bold, horizontal line two units above where you placed your "x" 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 "x" axis was supposed to be. And now, all of the points for your graph of the cosine function are two points lower than they are supposed to be along the "y" 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 "vertical shift".

### Watch This

In the second portion of this video you will learn how to perform vertical translations of the sine and cosine functions.

### Guidance

When you first learned about vertical translations in a coordinate grid, you started with simple shapes. Here is a rectangle:

To translate this rectangle vertically, move all points and lines up by a specified number of units. We do this by adjusting the $y-$ coordinate of the points. So to translate this rectangle 5 units up, add 5 to every $y-$ coordinate.

This process worked the same way for functions. Since the value of a function corresponds to the $y-$ value on its graph, to move a function up 5 units, we would increase the value of the function by 5. Therefore, to translate $y=x^2$ up five units, you would increase the $y-$ value by 5. Because $y$ is equal to $x^2$ , then the equation $y = x^2 + 5$ , will show this translation.

Hence, for any graph, adding a constant to the equation will move it up, and subtracting a constant will move it down. From this, we can conclude that the graphs of $y = \sin x$ and $y = \cos x$ will follow the same rules. That is, the graph of $y = \sin(x) + 2$ will be the same as $y = \sin x$ , only it will be translated, or shifted, 2 units up.

To avoid confusion, this translation is usually written in front of the function: $y = 2 + \sin x$ .

Various texts use different notation, but we will use $D$ as the constant for vertical translations. This would lead to the following equations: $y=D \pm \sin x$ and $y=D \pm \cos x$ where $D$ is the vertical translation. $D$ can be positive or negative .

Another way to think of this is to view sine or cosine curves “wrapped” around a horizontal line. For $y = \sin x$ and $y = \cos x$ , the graphs are wrapped around the $x-$ axis, or the horizontal line, $y = 0$ .

For $y = 3 + \sin x$ , we know the curve is translated up 3 units. In this context, think of the sine curve as being “wrapped” around the line, $y = 3$ .

Either method works for the translation of a sine or cosine curve. Pick the thought process that works best for you.

#### Example A

Find the minimum and maximum of $y = -6 + \cos x$

Solution: This is a cosine wave that has been shifted down 6 units, or is now wrapped around the line $y = -6$ . Because the graph still rises and falls one unit in either direction, the cosine curve will extend one unit above the “wrapping line” and one unit below it. The minimum is $-7$ and the maximum is $-5$ .

#### Example B

Graph $y=4+\cos x$ .

Solution: This will be the basic cosine curve, shifted up 4 units.

#### Example C

Find the minimum and maximum of $y = \sin x + 3$

Solution: This is a sine wave that has been shifted up 3 units, so now instead of going up and down around the 'x' axis, it will go up and down around the line y = 3. Since the sine function rises and falls one unit in each direction, the new minimum is 2 and the new maximum is 4.

### Vocabulary

Vertical Translation: A vertical translation is a shift in a graph up or down along the "y" axis, generated by adding a constant to the original function.

### Guided Practice

1. Which of the following is true for the equation: $y=\sin \left(x-\frac{\pi}{2} \right)$

The minimum value is 0.

The maximum value is 3.

The $y-$ intercept is -2.

The $y-$ intercept is -1.

This is the same graph as $y = \cos (x)$ .

2. Which of the following is true for the equation: $y = 1 + \sin x$

The minimum value is 0.

The maximum value is 3.

The $y-$ intercept is -2.

The $y-$ intercept is -1.

This is the same graph as $y = \cos (x)$ .

3. Which of the following is true for the equation: $y = 2 + \cos x$

The minimum value is 0.

The maximum value is 3.

The $y-$ intercept is -2.

The $y-$ intercept is -1.

This is the same graph as $y = \cos (x)$ .

Solutions:

1. "This is the same graph as $y = \cos (x)$ ." is the answer to this question, since the $\frac{\pi}{2}$ is a shift to the graph which makes it the same as a cosine graph.

2. "The minimum value is 0." is the answer to this question, since this graph is the same as a regular sine graph, which ranges from -1 to 1, but shifted upward one unit on the "y" axis, so it ranges from 0 to 2.

3. "The maximum value is 3." is the answer to this question, since a cosine graph (which normally ranges between -1 and 1) shifted upward by two units. Therefore its new range is from 1 to 3.

### Concept Problem Solution

Since you now know how to shift a graph vertically by adding or removing a constant after the function, you can keep your graph by changing the equation to $y = \cos(x) - 2$

### Practice

Use vertical translations to graph each of the following functions.

1. $y=x^3+4$
2. $y=x^2-3$
3. $y=\sin(x)-4$
4. $y=\cos(x)+7$
5. $y=\sec(x)-3$
6. $y=\tan(x)+2$
7. $y=3+\sin(x)$
8. $y=\cos(x)+1$
9. $y=6+\sec(x)$
10. $y=\tan(x)-4$

Find the minimum and maximum value of each of the following functions.

1. $y=\sin(x)+6$
2. $y=\cos(x)-1$
3. $y=\sin(x)-4$
4. $y=-3+\cos(x)$
5. $y=2+\cos(x)$
6. Give an example of a sine function with a y-intercept of 6.
7. Give an example of a cosine function with a maximum of -1.
8. Give an example of a sine function with a minimum of 0.