As we saw in sine and cosine graphs, the graphs of the basic sine and cosine functions are as follows:
From these basic graphs, we can manipulate the functions to obtain new graphs by adding and multiplying by constants:
Let's consider how each of these constants changes the graph:
It stretches the graph vertically. This constant changes the amplitude of the graph, or half the distance from the top of the curve to the bottom of the curve. If is negative, then in addition to changing the amplitude, the graph will also be flipped horizontally.
It contracts or stretches the graph horizontally. Because the constant lies within the trigonometric function, this modifies the input (i.e. the values) and changes the period of the graph. If the graph is contracted, then the period becomes smaller; if the graph is stretched, then the period becomes larger. For example, the function contracts the graph horizontally by a factor of , so the new period is .
It translates the graph horizontally. If is positive, then the graph is translated to the right; if is negative, then the graph is translated to the left. Note that this constant does not change the period or amplitude of the graph.
It translates the graph vertically. This constant is outside of the trigonometric function, so will change the values of the output by vertically shifting the graph. If is positive, then the graph will be shifted up; if is negative, then the graph will be shifted down. Note that this constant does not change the period or amplitude of the graph.
To gain some intuition about the period and horizontal shift, consider the value of which is 0 and the value of which is . This occurs for and , which shows why the horizontal shift is and the period is . To summarize, the resulting graph has
What are the amplitude, period, shift, horizontal shift, and vertical shift of the function
Writing this in the form , we see that . The amplitude of the function is the absolute value of , or 5. The period of the graph is . The horizontal shift of the graph is so the graph is translated to the right by . Finally, the vertical shift of the graph is , so the graph is shifted up by .
Find an equation for the following graph:
First, observe that the maximum value attained by the graph is and the minimum value attained by the graph is . This implies the amplitude of the graph is , which implies the constant multiplying the trigonometric function is . If we consider the sine function, then the vertical shift of the graph is the maximum value minus the amplitude, or The period of the graph is .
One possible equation of the graph is then