Your math teacher has decided to give you a quiz to see if you recognize how to combine changes to graphs of sine and cosine functions. You recall that you've learned about shifting graphs, as well as stretching/dilating them. But now your teacher wants to see if you know how to combine both of these effects into one graph. She gives you the equation:

and asks you to plot the equation, and then identify what each part of the above equation does to change the graph.

Can you accomplish this task?

Read on, and at the conclusion of this Concept, you'll know how to plot this equation and identify which parts of it make changes to the graph.

### Watch This

James Sousa Example: Graphing a Transformation of Sine and Cosine

### Guidance

In other Concepts, you learned how to translate and dilate sine and cosine waves both horizontally and vertically. Combining all the information learned, the general equations are: or , where is the amplitude, is the frequency, is the horizontal translation, and is the vertical translation.

Recall the relationship between period, , and frequency, .

With this knowledge, we should be able to sketch any sine or cosine function as well as write an equation given its graph.

#### Example A

Given the function:

a. Identify the period, amplitude, and frequency.

b. Explain any vertical or horizontal translations present in the equation.

c. Sketch the graph from to .

**
Solution:
**
a. From the equation, the amplitude is 2 and the frequency is also 2. To find the period we use:

So, there are two complete waves from and each individual wave requires radians to complete.

b. and , so this graph has been translated 1 unit up, and units to the left.

c. To sketch the graph, start with the graph of

Translate the graph units to the left (the value).

Next, move the graph 1 unit up ( value)

Now we can add the dilations. Remember that the “starting point” of the wave is because of the horizontal translation. A normal sine wave takes units to complete a cycle, but this wave completes one cycle in units. The first wave will complete at 0, then we will see a second wave from 0 to and a third from to . Start by placing points at these values:

Using symmetry, each interval needs to cross the line through the center of the wave.

One sine wave contains a “mountain” and a “valley”. The mountain “peak” and the valley low point must occur halfway between the points above.

Extend the curve through the domain.

Finally, extend the minimum and maximum points to match the amplitude of 2.

#### Example B

Given the function:

a. Identify the period, amplitude, and frequency.

b. Explain any vertical or horizontal translations present in the equation.

c. Sketch the graph from to .

**
Solution:
**
a. From the equation, the amplitude is 3 and the frequency is
. To find the period we use:

So, there is only one half of a cosine curve from 0 to and each individual wave requires radians to complete.

b. and , so this graph has been translated 3 units up, and units to the right.

c. To sketch the graph, start with the graph of

Adjust the amplitude so the cosine wave reaches up to 3 and down to negative three. This affects the maximum points, but the points on the
axis remain the same. These points are sometimes called
**
nodes.
**

According to the period, we should see one of these shapes every units. Because the interval specified is and the cosine curve “starts” at the axis, at (0, 3) and at the value is -3. Conversely, at , the function is also -3.

Now, shift the graph units to the right.

Finally, we need to adjust for the vertical shift by moving it up 3 units.

#### Example C

Find the equation of the sinusoid graphed here.

**
Solution:
**
First of all, remember that either sine or cosine could be used to model these graphs. However, it is usually easier to use cosine because the horizontal shift is easier to locate in most cases. Therefore, the model that we will be using is
.

First, if we think of the graph as a cosine function, it has a horizontal translation of zero. The maximum point is also the
intercept of the graph, so there is no need to shift the graph horizontally and therefore,
. The amplitude is the height from the center of the wave. If you can’t find the center of the wave by sight, you can calculate it. The center should be halfway between the highest and the lowest points, which is really the
**
average
**
of the maximum and minimum. This value will actually be the vertical shift, or
value.

The amplitude is the height from the center line, or vertical shift, to either the minimum or the maximum. So, .

The last value to find is the frequency. In order to do so, we must first find the period. The period is the distance required for one complete wave. To find this value, look at the horizontal distance between two consecutive maximum points.

On our graph, from maximum to maximum is 3.

Therefore, the period is 3, so the frequency is .

We have now calculated each of the four parameters necessary to write the equation. Replacing them in the equation gives:

If we had chosen to model this curve with a sine function instead, the amplitude, period and frequency, as well as the vertical shift would all be the same. The only difference would be the horizontal shift. The sine wave starts in the middle of an upward sloped section of the curve as shown by the red circle.

This point intersects with the vertical translation line and is a third of the distance back to -3. So, in this case, the sine wave has been translated 1 unit
*
to the left
*
. The equation using a sine function instead would have been:

### Guided Practice

1. Identify the amplitude, period, frequency, maximum and minimum points, vertical shift, and horizontal shift of

2. Identify the amplitude, period, frequency, maximum and minimum points, vertical shift, and horizontal shift of

3. Identify the amplitude, period, frequency, maximum and minimum points, vertical shift, and horizontal shift of

**
Solutions:
**

1. This is a sine wave that has been translated 1 unit to the right and 2 units up. The amplitude is 3 and the frequency is 2. The period of the graph is . The function reaches a maximum point of 5 and a minimum of -1.

2. This is a sine wave that has been translated 1 unit down and radians to the left. The amplitude is 1 and the period is 2. The frequency of the graph is . The function reaches a maximum point of 0 and a minimum of -2.

3. This is a cosine wave that has been translated 5 units up and 120 radians to the right. The amplitude is 1 and the frequency is 40. The period of the graph is . The function reaches a maximum point of 6 and a minimum of 4.

### Concept Problem Solution

With your advanced knowledge of sinusoidal equations, you can identify in the equation:

The vertical shift of the graph is 3 units up. The amplitude of the graph is 7. The horizontal shift of the graph is units to the left. The frequency is 4.

Since the frequency is 4, the period can be calculated:

This means that the graph takes units to make one complete cycle.

The graph of this equation looks like this:

### Explore More

For each equation below, identify the period, amplitude, frequency, and any vertical/horizontal translations.

Graph each of the following equations from to .

Find the equation of each sinusoid.