Section 3.1 – Graphs of Sine and Cosine Functions
Learning Objectives
Welcome to Section 3.1! In this section, you will…
- Graph variations of [latex]y=\sin(x)[/latex] and [latex]y=\cos(x)[/latex].
- Use phase shifts of sine and cosine curves.
White light, such as the light from the sun, is not actually white at all. Instead, it is a composition of all the colors of the rainbow in the form of waves. The individual colors can be seen only when white light passes through an optical prism that separates the waves according to their wavelengths to form a rainbow.
Light waves can be represented graphically by the sine function. In the chapter on Trigonometric Functions, we examined trigonometric functions such as the sine function. In this section, we will interpret and create graphs of sine and cosine functions.
Graphing Sine and Cosine Functions
Recall that the sine and cosine functions relate real number values to the x– and y-coordinates of a point on the unit circle. So what do they look like on a graph on a coordinate plane? Let’s start with the sine function. We can create a table of values and use them to sketch a graph. Table 1 lists some of the values for the sine function on a unit circle.
[latex]x[/latex] | [latex]0[/latex] | [latex]\frac{π}{6}[/latex] | [latex]\frac{π}{4}[/latex] | [latex]\frac{π}{3}[/latex] | [latex]\frac{π}{2}[/latex] | [latex]\frac{2π}{3}[/latex] | [latex]\frac{3π}{4}[/latex] | [latex]\frac{5π}{6}[/latex] | [latex]π[/latex] |
[latex]\sin(x)[/latex] | [latex]0[/latex] | [latex]\frac{1}{2}[/latex] | [latex]\frac{\sqrt{2}}{2}[/latex] | [latex]\frac{\sqrt{3}}{2}[/latex] | [latex]1[/latex] | [latex]\frac{\sqrt{3}}{2}[/latex] | [latex]\frac{\sqrt{2}}{2}[/latex] | [latex]\frac{1}{2}[/latex] | [latex]0[/latex] |
Plotting the points from the table and continuing along the x-axis gives the shape of the sine function. See Figure 2.
Notice how the sine values are positive between 0 and [latex]π[/latex], which correspond to the values of the sine function in quadrants I and II on the unit circle, and the sine values are negative between [latex]π[/latex] and [latex]2π[/latex], which correspond to the values of the sine function in quadrants III and IV on the unit circle. See Figure 3.
Now let’s take a similar look at the cosine function. Again, we can create a table of values and use them to sketch a graph. Table 2 lists some of the values for the cosine function on a unit circle.
[latex]x[/latex] | [latex]0[/latex] | [latex]\frac{π}{6}[/latex] | [latex]\frac{π}{4}[/latex] | [latex]\frac{π}{3}[/latex] | [latex]\frac{π}{2}[/latex] | [latex]\frac{2π}{3}[/latex] | [latex]\frac{3π}{4}[/latex] | [latex]\frac{5π}{6}[/latex] | [latex]π[/latex] |
[latex]\cos{(x)}[/latex] | [latex]1[/latex] | [latex]\frac{\sqrt{3}}{2}[/latex] | [latex]\frac{\sqrt{2}}{2}[/latex] | [latex]\frac{\sqrt{1}}{2}[/latex] | [latex]0[/latex] | [latex]\frac{\sqrt{−1}}{2}[/latex] | [latex]\frac{\sqrt{−2}}{2}[/latex] | [latex]\frac{\sqrt{−3}}{2}[/latex] | [latex]−1[/latex] |
As with the sine function, we can plots points to create a graph of the cosine function as in Figure 4.
Because we can evaluate the sine and cosine of any real number, both of these functions are defined for all real numbers. By thinking of the sine and cosine values as coordinates of points on a unit circle, it becomes clear that the range of both functions must be the interval [latex][−1,1][/latex].
In both graphs, the shape of the graph repeats after [latex]2π[/latex], which means the functions are periodic with a period of [latex]2π[/latex]. A periodic function is a function for which a specific horizontal shift, P, results in a function equal to the original function: [latex]f(x+P)=f(x)[/latex] for all values of [latex]x[/latex] in the domain of [latex]f[/latex]. When this occurs, we call the smallest such horizontal shift with [latex]P>0[/latex] the period of the function. Figure 5 shows several periods of the sine and cosine functions.
Looking again at the sine and cosine functions on a domain centered at the y-axis helps reveal symmetries. As we can see in The Other Trigonometric Functions that we determined from the unit circle that the sine function is an odd function because [latex]\sin(−x)=−\sin(x)[/latex].
Now we can clearly see this property from the graph.
Figure 7 shows that the cosine function is symmetric about the y-axis. Again, we determined that the cosine function is an even function. Now we can see from the graph that [latex]\cos(−x)=\cos(x)[/latex].
Characteristics of Sine and Cosine Functions
The sine and cosine functions have several distinct characteristics:
- They are periodic functions with a period of [latex]2π[/latex].
- The domain of each function is [latex](−∞,∞)[/latex] and the range is [latex][−1,1][/latex].
- The graph of [latex]y=\sin(x)[/latex] is symmetric about the origin, because it is an odd function.
- The graph of [latex]y=\cos(x)[/latex] is symmetric about the [latex]y[/latex]-axis, because it is an even function.
Investigating Sinusoidal Functions
As we can see, sine and cosine functions have a regular period and range. If we watch ocean waves or ripples on a pond, we will see that they resemble the sine or cosine functions. However, they are not necessarily identical. Some are taller or longer than others. A function that has the same general shape as a sine or cosine function is known as a sinusoidal function. The general forms of sinusoidal functions are as follows:
Determining the Period of Sinusoidal Functions
Looking at the forms of sinusoidal functions, we can see that they are transformations of the sine and cosine functions. We can use what we know about transformations to determine the period.
In the general formula, [latex]B[/latex] is related to the period by [latex]P=\frac{2π}{|B|}[/latex]. If [latex]|B|>1[/latex], then the period is less than [latex]2π[/latex] and the function undergoes a horizontal compression, whereas if [latex]|B|<1[/latex], then the period is greater than [latex]2π[/latex] and the function undergoes a horizontal stretch. For example, [latex]f(x)=\sin(x)[/latex], [latex]B=1[/latex], so the period is [latex]2π[/latex], which we knew. If [latex]f(x)=\sin(2x)[/latex], then [latex]B=2[/latex], so the period is [latex]π[/latex] and the graph is compressed. If [latex]f(x)=\sin(\frac{x}{2})[/latex], then [latex]B=\frac{1}{2}[/latex], so the period is [latex]4π[/latex] and the graph is stretched. Notice in Figure 8 how the period is indirectly related to [latex]\lvert B \rvert[/latex].
Period of Sinusoidal Functions
If we let [latex]C=0[/latex] and [latex]D=0[/latex] in the general form equations of the sine and cosine functions, we obtain the forms
[latex]y=A\sin Bx[/latex]
[latex]y=A\cos Bx[/latex]
The period is [latex]\frac{2π}{|B|}[/latex].
Example 1
Identifying the Period of a Sine or Cosine Function
Determine the period of the function [latex]f(x)=\sin(\frac{π}{6}x)[/latex].
Show/Hide Solution
Let’s begin by comparing the equation to the general form [latex]y=A\sin(Bx)[/latex].
In the given equation, [latex]B=\frac{π}{6}[/latex], so the period will be
Try It #1
Determine the period of the function [latex]g(x)=\cos(\frac{x}{3})[/latex].
Determining Amplitude
Returning to the general formula for a sinusoidal function, we have analyzed how the variable [latex]B[/latex] relates to the period. Now let’s turn to the variable [latex]A[/latex] so we can analyze how it is related to the amplitude, or greatest distance from rest. [latex]A[/latex] represents the vertical stretch factor, and its absolute value [latex]\lvert A \rvert[/latex] is the amplitude. The local maxima will be a distance [latex]\lvert A \rvert[/latex] above the horizontal midline of the graph, which is the line [latex]y=D[/latex]; because [latex]D=0[/latex] in this case, the midline is the x-axis. The local minima will be the same distance below the midline. If [latex]|A|>1[/latex],
the function is stretched. For example, the amplitude of [latex]f(x)=4\sin x[/latex] is twice the amplitude of
[latex]f(x)=2\sin x[/latex].
If [latex]|A|<1[/latex], the function is compressed. Figure 9 compares several sine functions with different amplitudes.
Amplitude of Sinusoidal Functions
If we let [latex]C=0[/latex] and [latex]D=0[/latex] in the general form equations of the sine and cosine functions, we obtain the forms
[latex]y=A\sin(Bx)[/latex] and [latex]y=A\cos(Bx)[/latex]
The amplitude is [latex]|A|[/latex], which is the vertical height from the midline. In addition, notice in the example that
[latex]A = amplitude = \frac{1}{2}|maximum − minimum|[/latex]
Example 2
Identifying the Amplitude of a Sine or Cosine Function
What is the amplitude of the sinusoidal function [latex]f(x)=−4\sin(x)?[/latex]? Is the function stretched or compressed vertically?
Show/Hide Solution
Let’s begin by comparing the function to the simplified form [latex]y=A\sin(Bx)[/latex].
In the given function, [latex]A=−4[/latex], so the amplitude is [latex]|A|=|−4|=4[/latex]. The function is stretched.
Analysis
The negative value of [latex]A[/latex] results in a reflection across the x-axis of the sine function, as shown in Figure 10.
Try It #2
What is the amplitude of the sinusoidal function [latex]f(x)=\frac{1}{2}\sin(x)?[/latex]? Is the function stretched or compressed vertically?
Analyzing Graphs of Variations of Sine and Cosine
Now that we understand how [latex]A[/latex] and [latex]B[/latex] relate to the general form equation for the sine and cosine functions, we will explore the variables [latex]C[/latex] and [latex]D[/latex]. Recall the general form:
The value [latex]\frac{C}{B}[/latex] for a sinusoidal function is called the phase shift, or the horizontal displacement of the basic sine or cosine function. If [latex]C>0[/latex], the graph shifts to the right. If [latex]C<0[/latex], the graph shifts to the left. The greater the value of [latex]|C|[/latex], the more the graph is shifted. Figure 11 shows that the graph of [latex]f(x)=\sin(x−π)[/latex] shifts to the right by [latex]π[/latex] units, which is more than we see in the graph of [latex]f(x)=\sin(x−\frac{π}{4})[/latex], which shifts to the right by [latex]\frac{π}{4}[/latex] units.
While [latex]C[/latex] relates to the horizontal shift, [latex]D[/latex] indicates the vertical shift from the midline in the general formula for a sinusoidal function. See Figure 12. The function [latex]y=\cos(x)+D[/latex] has its midline at [latex]y=D[/latex].
Any value of [latex]D[/latex] other than zero shifts the graph up or down. Figure 13 compares [latex]f(x)=\sin(x)[/latex] with [latex]f(x)=\sin(x)+2[/latex], which is shifted 2 units up on a graph.
Variations of Sine and Cosine Functions
Given an equation in the form [latex]f(x)=A\sin(Bx−C)+D[/latex] or [latex]f(x)=A\cos(Bx−C)+D[/latex], [latex]\frac{C}{B}[/latex] is the phase shift and [latex]D[/latex] is the vertical shift.
Example 3
Identifying the Phase Shift of a Function
Determine the direction and magnitude of the phase shift for [latex]f(x)=\sin(x+\frac{π}{6})−2[/latex].
Show/Hide Solution
Let’s begin by comparing the equation to the general form [latex]y=A\sin(Bx−C)+D[/latex].
In the given equation, notice that [latex]B=1[/latex] and [latex]C=−\frac{π}{6}[/latex].
So the phase shift is:
or [latex]\frac{π}{6}[/latex] units to the left.
Analysis
We must pay attention to the sign in the equation for the general form of a sinusoidal function. The equation shows a minus sign before [latex]C[/latex]. Therefore [latex]f(x)=\sin(x+\frac{π}{6})−2[/latex] can be rewritten as [latex]f(x)=\sin(x−(−\frac{π}{6}))−2[/latex]. If the value of [latex]C[/latex] is negative, the shift is to the left.
Try It #3
Determine the direction and magnitude of the phase shift for [latex]f(x)=3\cos(x−\frac{π}{2})[/latex].
Example 4
Identifying the Vertical Shift of a Function
Determine the direction and magnitude of the vertical shift for [latex]f(x)=\cos(x)−3[/latex].
Show/Hide Solution
Let’s begin by comparing the equation to the general form [latex]y=A\cos(Bx−C)+D[/latex].
In the given equation, [latex]D=−3[/latex] so the shift is 3 units downward.
Try It #4
Determine the direction and magnitude of the vertical shift for [latex]f(x)=3\sin(x)+2[/latex].
How To
Given a sinusoidal function in the form [latex]f(x)=A\sin(Bx−C)+D[/latex], identify the midline, amplitude, period, and phase shift.
- Determine the amplitude as [latex]|A|[/latex].
- Determine the period as [latex]P=\frac{2π}{B}[/latex].
- Determine the phase shift as [latex]\frac{C}{B}[/latex].
- Determine the midline as [latex]y=D[/latex].
Example 5
Identifying the Variations of a Sinusoidal Function from an Equation
Determine the midline, amplitude, period, and phase shift of the function [latex]y=3\sin(2x)+1[/latex].
Show/Hide Solution
Let’s begin by comparing the equation to the general form [latex]y=A\sin(Bx−C)+D[/latex].
[latex]A=3[/latex], so the amplitude is [latex]|A|=3[/latex].
Next, [latex]B=2[/latex], so the period is [latex]P=\frac{2π}{B}=\frac{2π}{2}=π[/latex].
There is no added constant inside the parentheses, so [latex]C=0[/latex] and the phase shift is [latex]\frac{C}{B}=\frac{0}{2}=0[/latex].
Finally, [latex]D=1[/latex], so the midline is [latex]y=1[/latex].
Analysis
Inspecting the graph, we can determine that the period is [latex]π[/latex], the midline is [latex]y=1[/latex], and the amplitude is 3. See Figure 14.
Try It #5
Determine the midline, amplitude, period, and phase shift of the function [latex]y=\frac{1}{2}\cos(\frac{x}{3}−\frac{π}{3})[/latex].
Example 6
Identifying the Equation for a Sinusoidal Function from a Graph
Determine the formula for the cosine function in Figure 15.
Show/Hide Solution
To determine the equation, we need to identify each value in the general form of a sinusoidal function.
The graph could represent either a sine or a cosine function that is shifted and/or reflected. When [latex]x=0[/latex], the graph has an extreme point, [latex]0,0[/latex]. Since the cosine function has an extreme point for [latex]x=0[/latex], let us write our equation in terms of a cosine function.
Let’s start with the midline. We can see that the graph rises and falls an equal distance above and below [latex]y=0.5[/latex]. This value, which is the midline, is [latex]D[/latex] in the equation, so [latex]D=0.5[/latex].
The greatest distance above and below the midline is the amplitude. The maxima are 0.5 units above the midline and the minima are 0.5 units below the midline. So [latex]|A|=0.5[/latex]. Another way we could have determined the amplitude is by recognizing that the difference between the height of local maxima and minima is 1, so [latex]|A|=\frac{1}{2}=0.5[/latex]. Also, the graph is reflected about the x-axis so that [latex]A=−0.5[/latex].
The graph is not horizontally stretched or compressed, so [latex]B=1[/latex]; and the graph is not shifted horizontally, so [latex]C=0[/latex].
Putting this all together,
[latex]gx=−0.5\cos(x)+0.5[/latex]
Try It #6
Determine the formula for the sine function in Figure 16.
Example 7
Identifying the Equation for a Sinusoidal Function from a Graph
Determine the equation for the sinusoidal function in Figure 17.
Show/Hide Solution
With the highest value at 1 and the lowest value at [latex]−5[/latex], the midline will be halfway between at [latex]−2[/latex]. So [latex]D=−2[/latex].
The distance from the midline to the highest or lowest value gives an amplitude of [latex]|A|=3[/latex].
The period of the graph is 6, which can be measured from the peak at [latex]x=1[/latex] to the next peak at [latex]x=7[/latex], or from the distance between the lowest points. Therefore, [latex]P=\frac{2π}{|B|}=6[/latex].
Using the positive value for [latex]B[/latex], we find that
[latex]B=\frac{2π}{P}=\frac{2π}{6}=\frac{π}{3}[/latex]
So far, our equation is either [latex]y=3\sin(\frac{π}{3}x−C)−2[/latex] or [latex]y=3\cos(\frac{π}{3}x−C)−2[/latex]. For the shape and shift, we have more than one option. We could write this as any one of the following:
- a cosine shifted to the right
- a negative cosine shifted to the left
- a sine shifted to the left
- a negative sine shifted to the right
While any of these would be correct, the cosine shifts are easier to work with than the sine shifts in this case because they involve integer values. So our function becomes:
[latex]y=3\cos(\frac{π}{3}x−\frac{π}{3})−2[/latex] or [latex]y=−3\cos(\frac{π}{3}x+\frac{2π}{3})−2[/latex]
Again, these functions are equivalent, so both yield the same graph.
Try It #7
Write a formula for the function graphed in Figure 18.
Graphing Variations of Sine and Cosine
Throughout this section, we have learned about types of variations of sine and cosine functions and used that information to write equations from graphs. Now we can use the same information to create graphs from equations.
Instead of focusing on the general form equations
[latex]y=A\sin(Bx−C)+D[/latex] and [latex]y=A\cos(Bx−C)+D[/latex],
we will let [latex]C=0[/latex] and [latex]D=0[/latex] and work with a simplified form of the equations in the following examples.
How To
Given the function [latex]y=A\sin(Bx)[/latex], sketch its graph.
- Identify the amplitude, [latex]|A|[/latex].
- Identify the period, [latex]P=\frac{2π}{|B|}[/latex].
- Start at the origin, with the function increasing to the right if [latex]A[/latex] is positive or decreasing if [latex]A[/latex] is negative.
- At [latex]x=\frac{π}{2|B|}[/latex] there is a local maximum for [latex]A>0[/latex] or a minimum for [latex]A<0[/latex], with [latex]y=A[/latex].
- The curve returns to the x-axis at [latex]x=\frac{π}{|B|}[/latex].
- There is a local minimum for [latex]A>0[/latex] (maximum for [latex]A<0[/latex] ) at [latex]x=\frac{3π}{2|B|}[/latex] with [latex]y=–A[/latex].
- The curve returns again to the x-axis at [latex]x=\frac{2π}{|B|}[/latex].
Example 8
Graphing a Function and Identifying the Amplitude and Period
Sketch a graph of [latex]f(x)=−2\sin(\frac{πx}{2})[/latex].
Show/Hide Solution
Let’s begin by comparing the equation to the form [latex]y=A\sin(Bx)[/latex].
- Step 1. We can see from the equation that [latex]A=−2[/latex], so the amplitude is 2.
[latex]|A|=2[/latex]
- Step 2. The equation shows that [latex]B=\frac{π}{2}[/latex], so the period is
- Step 3. Because [latex]A[/latex] is negative, the graph descends as we move to the right of the origin.
- Step 4–7. The x-intercepts are at the beginning of one period, [latex]x=0[/latex], the horizontal midpoints are at [latex]x=2[/latex] and at the end of one period at [latex]x=4[/latex].
The quarter points include the minimum at [latex]x=1[/latex] and the maximum at [latex]x=3[/latex].
A local minimum will occur 2 units below the midline, at [latex]x=1[/latex], and a local maximum will occur at 2 units above the midline, at [latex]x=3[/latex]. Figure 19 shows the graph of the function.
Try It #8
Sketch a graph of [latex]g(x)=−0.8\cos(2x)[/latex].
Determine the midline, amplitude, period, and phase shift.
How To
Given a sinusoidal function with a phase shift and a vertical shift, sketch its graph.
- Express the function in the general form [latex]y=A\sin(Bx−C)+D[/latex] or [latex]y=A\cos(Bx−C)+D[/latex].
- Identify the amplitude, [latex]|A|[/latex].
- Identify the period, [latex]P=\frac{2π}{B}[/latex].
- Identify the phase shift, [latex]\frac{C}{B}[/latex].
- Draw the graph of [latex]f(x)=A\sin(Bx)[/latex] shifted to the right or left by [latex]\frac{C}{B}[/latex] and up or down by [latex]D[/latex].
Example 9
Graphing a Transformed Sinusoid
Sketch a graph of [latex]f(x)=3\sin(\frac{π}{4}x−\frac{π}{4})[/latex].
Show/Hide Solution
- Step 1. The function is already written in general form: [latex]f(x)=3\sin(\frac{π}{4}x−\frac{π}{4})[/latex]. This graph will have the shape of a sine function, starting at the midline and increasing to the right.
- Step 2. [latex]|A|=|3|=3[/latex]. The amplitude is 3.
- Step 3. Since [latex]|B|=|\frac{π}{4}|=\frac{π}{4}[/latex], we determine the period as follows.
[latex]P=\frac{2π}{|B|}=\frac{2π}{\frac{π}{4}}=2π⋅\frac{4}{π}=8[/latex].
The period is 8.
- Step 4. Since [latex]C=\frac{π}{4}[/latex],
the phase shift is
[latex]\frac{C}{B}=\frac{\frac{π}{4}}{\frac{π}{4}}=1[/latex].
- The phase shift is 1 unit.
- Step 5. Figure 20 shows the graph of the function.
Try It #9
Draw a graph of [latex]g(x)=−2\cos(\frac{π}{3}x+\frac{π}{6})[/latex]. Determine the midline, amplitude, period, and phase shift.
Example 10
Identifying the Properties of a Sinusoidal Function
Given [latex]y=−2\cos(\frac{π}{2}x+π)+3[/latex], determine the amplitude, period, phase shift, and vertical shift. Then graph the function.
Show/Hide Solution
Begin by comparing the equation to the general form and use the steps outlined in Example 9
[latex]y=A\cos(Bx−C)+D[/latex]
- Step 1. The function is already written in general form.
- Step 2. Since [latex]A=−2[/latex], the amplitude is [latex]|A|=2[/latex].
- Step 3. [latex]|B|=\frac{π}{2}[/latex], so the period is [latex]P=\frac{2π}{B}=\frac{2π}{\frac{π}{2}}=2π⋅\frac{2}{π}=4[/latex]. The period is 4.
- Step 4. [latex]C=−π[/latex], so we calculate the phase shift as [latex]\frac{C}{B}=\frac{−π}{\frac{π}{2}}=−π⋅\frac{2}{π}=−2[/latex]. The phase shift is [latex]−2[/latex].
- Step 5. [latex]D=3[/latex], so the midline is [latex]y=3, [/latex] and the vertical shift is up 3.
Since [latex]A[/latex] is negative, the graph of the cosine function has been reflected about the x-axis.
Figure 21 shows one cycle of the graph of the function.
Using Transformations of Sine and Cosine Functions
We can use the transformations of sine and cosine functions in numerous applications. As mentioned at the beginning of the chapter, circular motion can be modeled using either the sine or cosine function.
Example 11
Finding the Vertical Component of Circular Motion
A point rotates around a circle of radius 3 centered at the origin. Sketch a graph of the y-coordinate of the point as a function of the angle of rotation.
Show/Hide Solution
Recall that, for a point on a circle of radius r, the y-coordinate of the point is [latex]y=r\sin(x)[/latex], so in this case, we get the equation [latex]y(x)=3\sin(x)[/latex]. The constant 3 causes a vertical stretch of the y-values of the function by a factor of 3, which we can see in the graph in Figure 22.
Analysis
Notice that the period of the function is still [latex]2π[/latex]; as we travel around the circle, we return to the point [latex](3,0)[/latex] for [latex]x=2π,4π,6π,..[/latex]. Because the outputs of the graph will now oscillate between [latex]–3[/latex] and [latex]3[/latex], the amplitude of the sine wave is [latex]3[/latex].
Try It #10
What is the amplitude of the function [latex]f(x)=7\cos(x)[/latex]? Sketch a graph of this function.
Example 12
Finding the Vertical Component of Circular Motion
A circle with radius 3 ft is mounted with its center 4 ft off the ground. The point closest to the ground is labeled P, as shown in Figure 23. Sketch a graph of the height above the ground of the point [latex]P[/latex] as the circle is rotated; then find a function that gives the height in terms of the angle of rotation.
Show/Hide Solution
Sketching the height, we note that it will start 1 ft above the ground, then increase up to 7 ft above the ground, and continue to oscillate 3 ft above and below the center value of 4 ft, as shown in Figure 24.
Although we could use a transformation of either the sine or cosine function, we start by looking for characteristics that would make one function easier to use than the other. Let’s use a cosine function because it starts at the highest or lowest value, while a sine function starts at the middle value. A standard cosine starts at the highest value, and this graph starts at the lowest value, so we need to incorporate a vertical reflection.
Second, we see that the graph oscillates 3 above and below the center, while a basic cosine has an amplitude of 1, so this graph has been vertically stretched by 3, as in the last example.
Finally, to move the center of the circle up to a height of 4, the graph has been vertically shifted up by 4. Putting these transformations together, we find that
[latex]y=−3\cos(x)+4[/latex]
Try It #11
A weight is attached to a spring that is then hung from a board, as shown in Figure 25. As the spring oscillates up and down, the position [latex]y[/latex] of the weight relative to the board ranges from [latex]–1[/latex] in. (at time [latex]x=0)[/latex] to [latex]–7[/latex] in. (at time [latex]x=π[/latex]) below the board. Assume the position of [latex]y[/latex] is given as a sinusoidal function of [latex]x[/latex]. Sketch a graph of the function, and then find a cosine function that gives the position [latex]y[/latex] in terms of [latex]x[/latex].
Example 13
Determining a Rider’s Height on a Ferris Wheel
The London Eye is a huge Ferris wheel with a diameter of 135 meters (443 feet). It completes one rotation every 30 minutes. Riders board from a platform 2 meters above the ground. Express a rider’s height above ground as a function of time in minutes.
Show/Hide Solution
With a diameter of 135 m, the wheel has a radius of 67.5 m. The height will oscillate with amplitude 67.5 m above and below the center.
Passengers board 2 m above ground level, so the center of the wheel must be located [latex]67.5+2=69.5[/latex] m above ground level. The midline of the oscillation will be at 69.5 m.
The wheel takes 30 minutes to complete 1 revolution, so the height will oscillate with a period of 30 minutes.
Lastly, because the rider boards at the lowest point, the height will start at the smallest value and increase, following the shape of a vertically reflected cosine curve.
- Amplitude: [latex]67.5[/latex], so [latex]A=67.5[/latex]
- Midline: [latex]69.5[/latex], so [latex]D=69.5[/latex]
- Period: [latex]30[/latex], so [latex]B=\frac{2π}{30}=\frac{π}{15}[/latex]
- Shape: [latex]−\cos(t)[/latex]
An equation for the rider’s height would be
[latex]y=−67.5\cos(\frac{π}{15})t+69.5[/latex]
where [latex]t[/latex] is in minutes and [latex]y[/latex] is measured in meters.
Media
Access these online resources for additional instruction and practice with graphs of sine and cosine functions.
3.1 Section Exercises
Verbal
1. Why are the sine and cosine functions called periodic functions?
2. How does the graph of [latex]y=\sin x[/latex] compare with the graph of [latex]y=\cos x?[/latex] Explain how you could horizontally translate the graph of [latex]y=\sin x[/latex] to obtain [latex]y=\cos x[/latex].
3. For the equation [latex]A\cos(Bx+C)+D[/latex],
what constants affect the range of the function and how do they affect the range?
4. How does the range of a translated sine function relate to the equation [latex]y=A\sin(Bx+C)+D?[/latex]
5. How can the unit circle be used to construct the graph of [latex]f(t)=\sin t?[/latex]
Graphical
For the following exercises, graph two full periods of each function and state the amplitude, period, and midline. State the maximum and minimum y-values and their corresponding x-values on one period for [latex]x>0[/latex]. Round answers to two decimal places if necessary.
6. [latex]f(x)=2\sin(x)[/latex]
7. [latex]f(x)=\frac{2}{3}\cos(x)[/latex]
8. [latex]f(x)=−3\sin(x)[/latex]
9. [latex]f(x)=4\sin(x)[/latex]
10. [latex]f(x)=2\cos(x)[/latex]
11. [latex]f(x)=\cos(2x)[/latex]
12. [latex]f(x)=2\sin(\frac{1}{2}x)[/latex]
13. [latex]f(x)=4\cos(πx)[/latex]
14. [latex]f(x)=3\cos(\frac{6}{5}x)[/latex]
15. [latex]y=3\sin(8(x+4))+5[/latex]
16. [latex]y=2\sin(3x−21)+4[/latex]
17. [latex]y=5\sin(5x+20)−2[/latex]
For the following exercises, graph one full period of each function, starting at [latex]x=0[/latex]. For each function, state the amplitude, period, and midline. State the maximum and minimum y-values and their corresponding x-values on one period for [latex]x>0[/latex]. State the phase shift and vertical translation, if applicable. Round answers to two decimal places if necessary.
18. [latex]f(t)=2\sin(t−\frac{5π}{6})[/latex]
19. [latex]f(t)=−\cos(t+\frac{π}{3})+1[/latex]
20. [latex]f(t)=4\cos(2(t+\frac{π}{4}))−3[/latex]
21. [latex]f(t)=−\sin(\frac{1}{2}t+\frac{5π}{3})[/latex]
22. [latex]f(x)=4\sin(\frac{π}{2}(x−3))+7[/latex]
23. Determine the amplitude, midline, period, and an equation involving the sine function for the graph shown in Figure 26.
24. Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in Figure 27.
25. Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in Figure 28.
26. Determine the amplitude, period, midline, and an equation involving sine for the graph shown in Figure 29.
27. Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in Figure 30.
28. Determine the amplitude, period, midline, and an equation involving sine for the graph shown in Figure 31.
29. Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in Figure 32.
30. Determine the amplitude, period, midline, and an equation involving sine for the graph shown in Figure 33.
Algebraic
For the following exercises, let [latex]f(x)=\sin(x)[/latex].
31. On [latex][0,2π)[/latex], solve [latex]f(x)=0[/latex].
32. On [latex][0,2π)[/latex], solve [latex]f(x)=\frac{1}{2}[/latex].
33. Evaluate [latex]f(\frac{π}{2}[/latex].
34. On [latex][0,2π),f(x)=\frac{\sqrt{2}}{2}[/latex]. Find all values of [latex]x[/latex].
35. On [latex][0,2π)[/latex], the maximum value(s) of the function occur(s) at what x-value(s)?
36. On [latex][0,2π)[/latex], the minimum value(s) of the function occur(s) at what x-value(s)?
37. Show that [latex]f(−x)=−f(x)[/latex]. This means that [latex]f(x)=\sin(x)[/latex] is an odd function and possesses symmetry with respect to ________________.
For the following exercises, let [latex]f(x)=\cos x[/latex].
38. On [latex][0,2π)[/latex], solve the equation [latex]f(x)=\cos(x)=0[/latex].
39. On [latex][0,2π)[/latex], solve [latex]f(x)=\frac{1}{2}[/latex].
40. On [latex][0,2π)[/latex], find the x-intercepts of [latex]f(x)=\cos(x)[/latex].
41. On [latex][0,2π)[/latex], find the x-values at which the function has a maximum or minimum value.
42. On [latex][0,2π)[/latex], solve the equation [latex]f(x)=32[/latex].
Technology
43. Graph [latex]h(x)=x+\sin x[/latex] on [latex][0,2π][/latex].
Explain why the graph appears as it does.
44. Graph [latex]h(x)=x+\sin x[/latex] on [latex][−100,100][/latex]. Did the graph appear as predicted in the previous exercise?
45. Graph [latex]f(x)=x\sin(x)[/latex] on [latex][0,2π][/latex] and verbalize how the graph varies from the graph of [latex]f(x)=\sin x[/latex].
46. Graph [latex]f(x)=x\sin(x)[/latex] on the window [latex][−10,10][/latex] and explain what the graph shows.
47. Graph [latex]f(x)=\frac{\sin(x)}{x}[/latex] on the window [latex][−5π,5π][/latex] and explain what the graph shows.
Real-World Applications
48. A Ferris wheel is 25 meters in diameter and boarded from a platform that is 1 meter above the ground. The six o’clock position on the Ferris wheel is level with the loading platform. The wheel completes 1 full revolution in 10 minutes. The function [latex]h(t)[/latex] gives a person’s height in meters above the ground t minutes after the wheel begins to turn.
- ⓐ Find the amplitude, midline, and period of [latex]h(t)[/latex].
- ⓑ Find a formula for the height function [latex]h(t)[/latex].
- ⓒ How high off the ground is a person after 5 minutes?