52

Learning Objectives

In this section, you will:

  • Graph variations of  y=sin( x )  and  y=cos( x ).
  • Use phase shifts of sine and cosine curves.
A photo of a rainbow colored beam of light stretching across the floor.
Figure 1. Light can be separated into colors because of its wavelike properties. (credit: “wonderferret”/ Flickr)

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. (Figure) lists some of the values for the sine function on a unit circle.

[latex]x[/latex] [latex]0[/latex] [latex]\frac{\pi }{6}[/latex] [latex]\frac{\pi }{4}[/latex] [latex]\frac{\pi }{3}[/latex] [latex]\frac{\pi }{2}[/latex] [latex]\frac{2\pi }{3}[/latex] [latex]\frac{3\pi }{4}[/latex] [latex]\frac{5\pi }{6}[/latex] [latex]\pi[/latex]
[latex]\mathrm{sin}\left(x\right)[/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).

A graph of sin(x). Local maximum at (pi/2, 1). Local minimum at (3pi/2, -1). Period of 2pi.
Figure 2. The sine function

Notice how the sine values are positive between 0 and[latex]\,\pi ,\,[/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]\,\pi \,[/latex]and[latex]\,2\pi ,\,[/latex]which correspond to the values of the sine function in quadrants III and IV on the unit circle. See (Figure).

A side-by-side graph of a unit circle and a graph of sin(x). The two graphs show the equivalence of the coordinates.
Figure 3. Plotting values of the sine function

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. (Figure) lists some of the values for the cosine function on a unit circle.

[latex]\mathbf{x}[/latex] [latex]0[/latex] [latex]\frac{\pi }{6}[/latex] [latex]\frac{\pi }{4}[/latex] [latex]\frac{\pi }{3}[/latex] [latex]\frac{\pi }{2}[/latex] [latex]\frac{2\pi }{3}[/latex] [latex]\frac{3\pi }{4}[/latex] [latex]\frac{5\pi }{6}[/latex] [latex]\pi[/latex]
[latex]\mathbf{cos}\left(\mathbf{x}\right)[/latex] [latex]1[/latex] [latex]\frac{\sqrt{3}}{2}[/latex] [latex]\frac{\sqrt{2}}{2}[/latex] [latex]\frac{1}{2}[/latex] [latex]0[/latex] [latex]-\frac{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).

A graph of cos(x). Local maxima at (0,1) and (2pi, 1). Local minimum at (pi, -1). Period of 2pi.
Figure 4. The cosine function

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]\,\left[-1,1\right].[/latex]

In both graphs, the shape of the graph repeats after[latex]\,2\pi ,\,[/latex]which means the functions are periodic with a period of[latex]\,2\pi .\,[/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\left(x+P\right)=f\left(x\right)\,[/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) shows several periods of the sine and cosine functions.

Side-by-side graphs of sin(x) and cos(x). Graphs show period lengths for both functions, which is 2pi.
Figure 5.

Looking again at the sine and cosine functions on a domain centered at the y-axis helps reveal symmetries. As we can see in (Figure), the sine function is symmetric about the origin. Recall from The Other Trigonometric Functions that we determined from the unit circle that the sine function is an odd function because[latex]\,\mathrm{sin}\left(-x\right)=-\mathrm{sin}\,x.\,[/latex]
Now we can clearly see this property from the graph.

A graph of sin(x) that shows that sin(x) is an odd function due to the odd symmetry of the graph.
Figure 6. Odd symmetry of the sine function

(Figure) 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]\mathrm{cos}\left(-x\right)=\mathrm{cos}\text{ }x.[/latex]

A graph of cos(x) that shows that cos(x) is an even function due to the even symmetry of the graph.
Figure 7. Even symmetry of the cosine function

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\pi .[/latex]
  • The domain of each function is[latex]\,\left(-\infty ,\infty \right)\,[/latex]and the range is[latex]\,\left[-1,1\right].[/latex]
  • The graph of[latex]\,y=\mathrm{sin}\text{ }x\,[/latex]is symmetric about the origin, because it is an odd function.
  • The graph of[latex]\,y=\mathrm{cos}\text{ }x\,[/latex]is symmetric about the[latex]\,y\text{-}[/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

[latex]\begin{array}{l}y=A\mathrm{sin}\left(Bx-C\right)+D\hfill \\ \text{ and}\hfill \\ y=A\mathrm{cos}\left(Bx-C\right)+D\hfill \end{array}[/latex]

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\pi }{|B|}.\,[/latex]If[latex]\,|B|>1,\,[/latex]then the period is less than[latex]\,2\pi \,[/latex]and the function undergoes a horizontal compression, whereas if[latex]\,|B|<1,\,[/latex]then the period is greater than[latex]\,2\pi \,[/latex]and the function undergoes a horizontal stretch. For example,[latex]\,f\left(x\right)=\mathrm{sin}\left(x\right),\,[/latex][latex]B=1,\,[/latex]so the period is[latex]\,2\pi ,\text{}[/latex]which we knew. If[latex]\,f\left(x\right)=\mathrm{sin}\left(2x\right),\,[/latex]then[latex]\,B=2,\,[/latex]so the period is[latex]\,\pi \,[/latex]and the graph is compressed. If[latex]\,f\left(x\right)=\mathrm{sin}\left(\frac{x}{2}\right),\,[/latex]then[latex]\,B=\frac{1}{2},\,[/latex]so the period is[latex]\,4\pi \,[/latex]and the graph is stretched. Notice in (Figure) how the period is indirectly related to[latex]\,|B|.[/latex]

A graph with three items. The x-axis ranges from 0 to 2pi. The y-axis ranges from -1 to 1. The first item is the graph of sin(x) for one full period. The second is the graph of sin(2x) over two periods. The third is the graph of sin(x/2) for one half of a period.
Figure 8.

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\mathrm{sin}\left(Bx\right)[/latex]
[latex]y=A\mathrm{cos}\left(Bx\right)[/latex]

The period is[latex]\,\frac{2\pi }{|B|}.[/latex]

Identifying the Period of a Sine or Cosine Function

Determine the period of the function[latex]\,f\left(x\right)=\mathrm{sin}\left(\frac{\pi }{6}x\right).[/latex]

Show Solution

Let’s begin by comparing the equation to the general form[latex]\,y=A\mathrm{sin}\left(Bx\right).[/latex]

In the given equation,[latex]\,B=\frac{\pi }{6},\,[/latex]so the period will be

[latex]\begin{array}{l}\begin{array}{l}\\ P=\frac{2\pi }{|B|}\end{array}\hfill \\ \text{ }=\frac{2\pi }{\frac{\pi }{6}}\hfill \\ \text{ }=2\pi \cdot \frac{6}{\pi }\hfill \\ \text{ }=12\hfill \end{array}[/latex]

Try It

Determine the period of the function[latex]\,g\left(x\right)=\mathrm{cos}\left(\frac{x}{3}\right).[/latex]

Show Solution

[latex]\,6\pi \,[/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]\,|A|\,[/latex]is the amplitude. The local maxima will be a distance[latex]\,|A|\,[/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\left(x\right)=4\,\mathrm{sin}\,x\,[/latex]is twice the amplitude of[latex]\,f\left(x\right)=2\,\mathrm{sin}\,x.\,[/latex]If[latex]\,|A|<1,\,[/latex]the function is compressed. (Figure) compares several sine functions with different amplitudes.

A graph with four items. The x-axis ranges from -6pi to 6pi. The y-axis ranges from -4 to 4. The first item is the graph of sin(x), which has an amplitude of 1. The second is a graph of 2sin(x), which has amplitude of 2. The third is a graph of 3sin(x), which has an amplitude of 3. The fourth is a graph of 4 sin(x) with an amplitude of 4.
Figure 9.

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\mathrm{sin}\left(Bx\right)\text{ and }y=A\mathrm{cos}\left(Bx\right)[/latex]

The amplitude is[latex]\,A,\,[/latex]and the vertical height from the midline is[latex]\,|A|.\,[/latex]In addition, notice in the example that

[latex]|A|\text{ = amplitude = }\frac{1}{2}|\text{maximum }-\text{ minimum}|[/latex]

Identifying the Amplitude of a Sine or Cosine Function

What is the amplitude of the sinusoidal function[latex]\,f\left(x\right)=-4\mathrm{sin}\left(x\right)?\,[/latex]Is the function stretched or compressed vertically?

Show Solution

Let’s begin by comparing the function to the simplified form[latex]\,y=A\mathrm{sin}\left(Bx\right).[/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).

A graph of -4sin(x). The function has an amplitude of 4. Local minima at (-3pi/2, -4) and (pi/2, -4). Local maxima at (-pi/2, 4) and (3pi/2, 4). Period of 2pi.
Figure 10.

Try It

What is the amplitude of the sinusoidal function[latex]\,f\left(x\right)=\frac{1}{2}\mathrm{sin}\left(x\right)?\,[/latex]Is the function stretched or compressed vertically?

[latex]\frac{1}{2}\,[/latex]compressed

Analyzing Graphs of Variations of y = sin x and y = cos x

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:

[latex]\begin{array}{c}y=A\mathrm{sin}\left(Bx-C\right)+D\text{ and }y=A\mathrm{cos}\left(Bx-C\right)+D\\ or\\ y=A\mathrm{sin}\left(B\left(x-\frac{C}{B}\right)\right)+D\text{ and }y=A\mathrm{cos}\left(B\left(x-\frac{C}{B}\right)\right)+D\end{array}[/latex]

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) shows that the graph of[latex]\,f\left(x\right)=\mathrm{sin}\left(x-\pi \right)\,[/latex]shifts to the right by[latex]\,\pi \,[/latex]units, which is more than we see in the graph of[latex]\,f\left(x\right)=\mathrm{sin}\left(x-\frac{\pi }{4}\right),\,[/latex]which shifts to the right by[latex]\,\frac{\pi }{4}\,[/latex]units.

A graph with three items. The first item is a graph of sin(x). The second item is a graph of sin(x-pi/4), which is the same as sin(x) except shifted to the right by pi/4. The third item is a graph of sin(x-pi), which is the same as sin(x) except shifted to the right by pi.
Figure 11.

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). The function[latex]\,y=\mathrm{cos}\left(x\right)+D\,[/latex]has its midline at[latex]\,y=D.[/latex]

A graph of y=Asin(x)+D. Graph shows the midline of the function at y=D.
Figure 12.

Any value of[latex]\,D\,[/latex]other than zero shifts the graph up or down. (Figure) compares[latex]\,f\left(x\right)=\mathrm{sin}\,x\,[/latex]with[latex]\,f\left(x\right)=\mathrm{sin}\,x+2,\,[/latex]which is shifted 2 units up on a graph.

A graph with two items. The first item is a graph of sin(x). The second item is a graph of sin(x)+2, which is the same as sin(x) except shifted up by 2.
Figure 13.

Variations of Sine and Cosine Functions

Given an equation in the form[latex]\,f\left(x\right)=A\mathrm{sin}\left(Bx-C\right)+D\,[/latex]or[latex]\,f\left(x\right)=A\mathrm{cos}\left(Bx-C\right)+D,\,[/latex][latex]\frac{C}{B}\,[/latex]is the phase shift and[latex]\,D\,[/latex]is the vertical shift.

Identifying the Phase Shift of a Function

Determine the direction and magnitude of the phase shift for[latex]\,f\left(x\right)=\mathrm{sin}\left(x+\frac{\pi }{6}\right)-2.[/latex]

Show Solution

Let’s begin by comparing the equation to the general form[latex]\,y=A\mathrm{sin}\left(Bx-C\right)+D.[/latex]

In the given equation, notice that[latex]\,B=1\,[/latex]and[latex]\,C=-\frac{\pi }{6}.\,[/latex]So the phase shift is

[latex]\begin{array}{r}\hfill \\ \hfill \frac{C}{B}=-\frac{\frac{\pi }{6}}{1}\\ \hfill \text{ }=-\frac{\pi }{6}\end{array}[/latex]

or[latex]\,\frac{\pi }{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\left(x\right)=\mathrm{sin}\left(x+\frac{\pi }{6}\right)-2\,[/latex]can be rewritten as[latex]\,f\left(x\right)=\mathrm{sin}\left(x-\left(-\frac{\pi }{6}\right)\right)-2.\,[/latex]If the value of[latex]\,C\,[/latex]is negative, the shift is to the left.

Try It

Determine the direction and magnitude of the phase shift for[latex]\,f\left(x\right)=3\mathrm{cos}\left(x-\frac{\pi }{2}\right).[/latex]

Show Solution

[latex]\frac{\pi }{2};\,[/latex]right

Identifying the Vertical Shift of a Function

Determine the direction and magnitude of the vertical shift for[latex]\,f\left(x\right)=\mathrm{cos}\left(x\right)-3.[/latex]

Show Solution

Let’s begin by comparing the equation to the general form[latex]\,y=A\mathrm{cos}\left(Bx-C\right)+D.[/latex]

In the given equation,[latex]\,D=-3\,[/latex]so the shift is 3 units downward.

Try It

Determine the direction and magnitude of the vertical shift for[latex]\,f\left(x\right)=3\mathrm{sin}\left(x\right)+2.[/latex]

Show Solution

2 units up

Given a sinusoidal function in the form[latex]\,f\left(x\right)=A\mathrm{sin}\left(Bx-C\right)+D,\,[/latex]identify the midline, amplitude, period, and phase shift.

  1. Determine the amplitude as[latex]\,|A|.[/latex]
  2. Determine the period as[latex]\,P=\frac{2\pi }{|B|}.[/latex]
  3. Determine the phase shift as[latex]\,\frac{C}{B}.[/latex]
  4. Determine the midline as[latex]\,y=D.[/latex]

Identifying the Variations of a Sinusoidal Function from an Equation

Determine the midline, amplitude, period, and phase shift of the function[latex]\,y=3\mathrm{sin}\left(2x\right)+1.[/latex]

Show Solution

Let’s begin by comparing the equation to the general form[latex]\,y=A\mathrm{sin}\left(Bx-C\right)+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\pi }{|B|}=\frac{2\pi }{2}=\pi .[/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]\,\pi ,\,[/latex]the midline is[latex]\,y=1,\,[/latex]and the amplitude is 3. See (Figure).

A graph of y=3sin(2x)+1. The graph has an amplitude of 3. There is a midline at y=1. There is a period of pi. Local maximum at (pi/4, 4) and local minimum at (3pi/4, -2).
Figure 14.

Try It

Determine the midline, amplitude, period, and phase shift of the function[latex]\,y=\frac{1}{2}\mathrm{cos}\left(\frac{x}{3}-\frac{\pi }{3}\right).[/latex]

Show Solution

midline:[latex]\,y=0;\,[/latex]amplitude:[latex]\,|A|=\frac{1}{2};\,[/latex]period:[latex]\,P=\frac{2\pi }{|B|}=6\pi ;\,[/latex]phase shift:[latex]\,\frac{C}{B}=\pi[/latex]

Identifying the Equation for a Sinusoidal Function from a Graph

Determine the formula for the cosine function in (Figure).

A graph of -0.5cos(x)+0.5. The graph has an amplitude of 0.5. The graph has a period of 2pi. The graph has a range of [0, 1]. The graph is also reflected about the x-axis from the parent function cos(x).
Figure 15.
Show Solution

To determine the equation, we need to identify each value in the general form of a sinusoidal function.

[latex]\begin{array}{l}y=A\mathrm{sin}\left(Bx-C\right)+D\hfill \\ y=A\mathrm{cos}\left(Bx-C\right)+D\hfill \end{array}[/latex]

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]\,\left(0,0\right).\,[/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]g\left(x\right)=-0.5\mathrm{cos}\left(x\right)+0.5[/latex]

Try It

Determine the formula for the sine function in (Figure).

A graph of sin(x)+2. Period of 2pi, amplitude of 1, and range of [1, 3].
Figure 16.
Show Solution

[latex]f\left(x\right)=\mathrm{sin}\left(x\right)+2[/latex]

Identifying the Equation for a Sinusoidal Function from a Graph

Determine the equation for the sinusoidal function in (Figure).

A graph of 3cos(pi/3x-pi/3)-2. Graph has amplitude of 3, period of 6, range of [-5,1].
Figure 17.
Show 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\pi }{|B|}=6.\,[/latex]Using the positive value for[latex]\,B,[/latex]we find that

[latex]B=\frac{2\pi }{P}=\frac{2\pi }{6}=\frac{\pi }{3}[/latex]

So far, our equation is either[latex]\,y=3\mathrm{sin}\left(\frac{\pi }{3}x-C\right)-2\,[/latex]or[latex]\,y=3\mathrm{cos}\left(\frac{\pi }{3}x-C\right)-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\mathrm{cos}\left(\frac{\pi }{3}x-\frac{\pi }{3}\right)-2\text{ or }y=-3\mathrm{cos}\left(\frac{\pi }{3}x+\frac{2\pi }{3}\right)-2[/latex]

Again, these functions are equivalent, so both yield the same graph.

Try It

Write a formula for the function graphed in (Figure).

A graph of 4sin((pi/5)x-pi/5)+4. Graph has period of 10, amplitude of 4, range of [0,8].
Figure 18.
Show Solution

two possibilities:[latex]\,y=4\mathrm{sin}\left(\frac{\pi }{5}x-\frac{\pi }{5}\right)+4\,[/latex]or[latex]\,y=-4\mathrm{sin}\left(\frac{\pi }{5}x+\frac{4\pi }{5}\right)+4[/latex]

Graphing Variations of y = sin x and y = cos x

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\mathrm{sin}\left(Bx-C\right)+D\text{ and }y=A\mathrm{cos}\left(Bx-C\right)+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.

Given the function[latex]\,y=A\mathrm{sin}\left(Bx\right),\,[/latex]sketch its graph.

  1. Identify the amplitude,[latex]\,|A|.[/latex]
  2. Identify the period,[latex]\,P=\frac{2\pi }{|B|}.[/latex]
  3. 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.
  4. At[latex]\,x=\frac{\pi }{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]
  5. The curve returns to the x-axis at[latex]\,x=\frac{\pi }{|B|}.[/latex]
  6. There is a local minimum for[latex]\,A>0\,[/latex](maximum for[latex]\,A<0[/latex]) at[latex]\,x=\frac{3\pi }{2|B|}\,[/latex]with[latex]\,y=–A.[/latex]
  7. The curve returns again to the x-axis at[latex]\,x=\frac{2\pi }{|B|}.[/latex]

Graphing a Function and Identifying the Amplitude and Period

Sketch a graph of[latex]\,f\left(x\right)=-2\mathrm{sin}\left(\frac{\pi x}{2}\right).[/latex]

Show Solution

Let’s begin by comparing the equation to the form[latex]\,y=A\mathrm{sin}\left(Bx\right).[/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{\pi }{2},\,[/latex]so the period is
    [latex]\begin{array}{l}P=\frac{2\pi }{\frac{\pi }{2}}\hfill \\ \text{ }=2\pi \cdot \frac{2}{\pi }\hfill \\ \text{ }=4\hfill \end{array}[/latex]
  • 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) shows the graph of the function.

A graph of -2sin((pi/2)x). Graph has range of [-2,2], period of 4, and amplitude of 2.
Figure 19.

Try It

Sketch a graph of[latex]\,g\left(x\right)=-0.8\mathrm{cos}\left(2x\right).\,[/latex]Determine the midline, amplitude, period, and phase shift.

Show Solution

A graph of -0.8cos(2x). Graph has range of [-0.8, 0.8], period of pi, amplitude of 0.8, and is reflected about the x-axis compared to it's parent function cos(x).

midline:[latex]\,y=0;\,[/latex]amplitude:[latex]\,|A|=0.8;\,[/latex]period:[latex]\,P=\frac{2\pi }{|B|}=\pi ;\,[/latex]phase shift:[latex]\,\frac{C}{B}=0\,[/latex] or none

Given a sinusoidal function with a phase shift and a vertical shift, sketch its graph.

  1. Express the function in the general form[latex]\,y=A\mathrm{sin}\left(Bx-C\right)+D\text{ or }y=A\mathrm{cos}\left(Bx-C\right)+D.[/latex]
  2. Identify the amplitude,[latex]\,|A|.[/latex]
  3. Identify the period,[latex]\,P=\frac{2\pi }{|B|}.[/latex]
  4. Identify the phase shift,[latex]\,\frac{C}{B}.[/latex]
  5. Draw the graph of[latex]\,f\left(x\right)=A\mathrm{sin}\left(Bx\right)\,[/latex] shifted to the right or left by[latex]\,\frac{C}{B}\,[/latex]and up or down by[latex]\,D.[/latex]

Graphing a Transformed Sinusoid

Sketch a graph of[latex]\,f\left(x\right)=3\mathrm{sin}\left(\frac{\pi }{4}x-\frac{\pi }{4}\right).[/latex]

Show Solution
  • Step 1. The function is already written in general form:[latex]\,f\left(x\right)=3\mathrm{sin}\left(\frac{\pi }{4}x-\frac{\pi }{4}\right).[/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{\pi }{4}|=\frac{\pi }{4},\,[/latex]we determine the period as follows.
    [latex]P=\frac{2\pi }{|B|}=\frac{2\pi }{\frac{\pi }{4}}=2\pi \cdot \frac{4}{\pi }=8[/latex]

    The period is 8.

  • Step 4. Since[latex]\,C=\frac{\pi }{4},\,[/latex]the phase shift is
    [latex]\frac{C}{B}=\frac{\frac{\pi }{4}}{\frac{\pi }{4}}=1.[/latex]

    The phase shift is 1 unit.

  • Step 5.(Figure) shows the graph of the function.
    A graph of 3sin(*(pi/4)x-pi/4). Graph has amplitude of 3, period of 8, and a phase shift of 1 to the right.
    Figure 20. A horizontally compressed, vertically stretched, and horizontally shifted sinusoid

Try It

Draw a graph of[latex]\,g\left(x\right)=-2\mathrm{cos}\left(\frac{\pi }{3}x+\frac{\pi }{6}\right).\,[/latex]Determine the midline, amplitude, period, and phase shift.

Show Solution

A graph of -2cos((pi/3)x+(pi/6)). Graph has amplitude of 2, period of 6, and has a phase shift of 0.5 to the left.

midline:[latex]\,y=0;\,[/latex]amplitude:[latex]\,|A|=2;\,[/latex]period:[latex]\,P=\frac{2\pi }{|B|}=6;\,[/latex]phase shift:[latex]\,\frac{C}{B}=-\frac{1}{2}[/latex]

Identifying the Properties of a Sinusoidal Function

Given[latex]\,y=-2\mathrm{cos}\left(\frac{\pi }{2}x+\pi \right)+3,\,[/latex]determine the amplitude, period, phase shift, and horizontal shift. Then graph the function.

Show Solution

Begin by comparing the equation to the general form and use the steps outlined in (Figure).

[latex]y=A\mathrm{cos}\left(Bx-C\right)+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{\pi }{2},\,[/latex]so the period is[latex]\,P=\frac{2\pi }{|B|}=\frac{2\pi }{\frac{\pi }{2}}=2\pi \cdot \frac{2}{\pi }=4.\,[/latex]The period is 4.
  • Step 4.[latex]\,C=-\pi ,[/latex]so we calculate the phase shift as[latex]\,\frac{C}{B}=\frac{-\pi ,}{\frac{\pi }{2}}=-\pi \cdot \frac{2}{\pi }=-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) shows one cycle of the graph of the function.

A graph of -2cos((pi/2)x+pi)+3. Graph shows an amplitude of 2, midline at y=3, and a period of 4.
Figure 21.

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.

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 Solution

Recall that, for a point on a circle of radius r, the y-coordinate of the point is[latex]\,y=r\,\mathrm{sin}\left(x\right),\,[/latex]
so in this case, we get the equation[latex]\,y\left(x\right)=3\,\mathrm{sin}\left(x\right).\,[/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).

A graph of 3sin(x). Graph has period of 2pi, amplitude of 3, and range of [-3,3].
Figure 22.

Analysis

Notice that the period of the function is still[latex]\,2\pi ;\,[/latex]as we travel around the circle, we return to the point[latex]\,\left(3,0\right)\,[/latex]for[latex]\,x=2\pi ,4\pi ,6\pi ,....[/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

What is the amplitude of the function[latex]\,f\left(x\right)=7\mathrm{cos}\left(x\right)?\,[/latex]Sketch a graph of this function.

Show Solution

7

A graph of 7cos(x). Graph has amplitude of 7, period of 2pi, and range of [-7,7].

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). 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.

An illustration of a circle lifted 4 feet off the ground. Circle has radius of 3 ft. There is a point P labeled on the circle's circumference.
Figure 23.
Show 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).

A graph of -3cox(x)+4. Graph has midline at y=4, amplitude of 3, and period of 2pi.
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\mathrm{cos}\left(x\right)+4[/latex]

Try It

A weight is attached to a spring that is then hung from a board, as shown in (Figure). 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=\pi )\,[/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]

An illustration of a spring with length y.
Figure 25.
Show Solution

[latex]y=3\mathrm{cos}\left(x\right)-4[/latex]

A cosine graph with range [-1,-7]. Period is 2 pi. Local maximums at (0,-1), (2pi,-1), and (4pi, -1). Local minimums at (pi,-7) and (3pi, -7).

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 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]\,\text{67}\text{.5,}\,[/latex]so[latex]\,A=67.5[/latex]
  • Midline:[latex]\,\text{69}\text{.5,}\,[/latex]so[latex]\,D=69.5[/latex]
  • Period:[latex]\,\text{30,}\,[/latex]so[latex]\,B=\frac{2\pi }{30}=\frac{\pi }{15}[/latex]
  • Shape:[latex]\,\mathrm{-cos}\left(t\right)[/latex]

An equation for the rider’s height would be

[latex]y=-67.5\mathrm{cos}\left(\frac{\pi }{15}t\right)+69.5[/latex]

where[latex]\,t\,[/latex]is in minutes and[latex]\,y\,[/latex]is measured in meters.

Access these online resources for additional instruction and practice with graphs of sine and cosine functions.

Key Equations

 
Sinusoidal functions [latex]\begin{array}{l}f\left(x\right)=A\mathrm{sin}\left(Bx-C\right)+D\\ f\left(x\right)=A\mathrm{cos}\left(Bx-C\right)+D\end{array}[/latex]

Key Concepts

Section Exercises

Verbal

Why are the sine and cosine functions called periodic functions?

Show Solution

The sine and cosine functions have the property that[latex]\,f\left(x+P\right)=f\left(x\right)\,[/latex]for a certain[latex]\,P.\,[/latex]This means that the function values repeat for every[latex]\,P\,[/latex]units on the x-axis.

How does the graph of[latex]\,y=\mathrm{sin}\,x\,[/latex]
compare with the graph of[latex]\,y=\mathrm{cos}\,x?\,[/latex]
Explain how you could horizontally translate the graph of[latex]\,y=\mathrm{sin}\,x\,[/latex]
to obtain[latex]\,y=\mathrm{cos}\,x.[/latex]

For the equation[latex]\,A\,\mathrm{cos}\left(Bx+C\right)+D,[/latex]what constants affect the range of the function and how do they affect the range?

Show Solution

The absolute value of the constant[latex]\,A\,[/latex](amplitude) increases the total range and the constant[latex]\,D\,[/latex](vertical shift) shifts the graph vertically.

How does the range of a translated sine function relate to the equation[latex]\,y=A\,\mathrm{sin}\left(Bx+C\right)+D?[/latex]

How can the unit circle be used to construct the graph of[latex]\,f\left(t\right)=\mathrm{sin}\,t?[/latex]

Show Solution

At the point where the terminal side of[latex]\,t\,[/latex]intersects the unit circle, you can determine that the[latex]\,\mathrm{sin}\,t\,[/latex]equals the y-coordinate of the point.

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.

[latex]f\left(x\right)=2\mathrm{sin}\,x[/latex]

[latex]f\left(x\right)=\frac{2}{3}\mathrm{cos}\,x[/latex]

Show Solution

A graph of (2/3)cos(x). Graph has amplitude of 2/3, period of 2pi, and range of [-2/3, 2/3].

amplitude:[latex]\,\frac{2}{3};\,[/latex]period:[latex]\,2\pi ;\,[/latex]midline:[latex]\,y=0;\,[/latex]maximum:[latex]\,y=\frac{2}{3}\,[/latex]occurs at[latex]\,x=0;\,[/latex]minimum:[latex]\,y=-\frac{2}{3}\,[/latex]occurs at[latex]\,x=\pi ;\,[/latex]for one period, the graph starts at 0 and ends at[latex]\,2\pi[/latex]

[latex]f\left(x\right)=-3\mathrm{sin}\,x[/latex]

[latex]f\left(x\right)=4\mathrm{sin}\,x[/latex]

Show Solution

A graph of 4sin(x). Graph has amplitude of 4, period of 2pi, and range of [-4, 4].

amplitude: 4; period:[latex]\,2\pi ;\,[/latex]midline:[latex]\,y=0;\,[/latex]maximum[latex]\,y=4\,[/latex]occurs at[latex]\,x=\frac{\pi }{2};\,[/latex]minimum:[latex]\,y=-4\,[/latex]occurs at[latex]\,x=\frac{3\pi }{2};\,[/latex]one full period occurs from[latex]\,x=0\,[/latex]to[latex]\,x=2\pi[/latex]

[latex]f\left(x\right)=2\mathrm{cos}\,x[/latex]

[latex]f\left(x\right)=\mathrm{cos}\left(2x\right)[/latex]

Show Solution

A graph of cos(2x). Graph has amplitude of 1, period of pi, and range of [-1,1].

amplitude: 1; period:[latex]\,\pi ;\,[/latex]midline:[latex]\,y=0;\,[/latex]maximum:[latex]\,y=1\,[/latex]occurs at[latex]\,x=\pi ;\,[/latex]minimum:[latex]\,y=-1\,[/latex]occurs at[latex]\,x=\frac{\pi }{2};\,[/latex]one full period is graphed from[latex]\,x=0\,[/latex]to[latex]\,x=\pi[/latex]

[latex]f\left(x\right)=2\,\mathrm{sin}\left(\frac{1}{2}x\right)[/latex]

[latex]f\left(x\right)=4\,\mathrm{cos}\left(\pi x\right)[/latex]

Show Solution

A graph of 4cos(pi*x). Grpah has amplitude of 4, period of 2, and range of [-4, 4].

amplitude: 4; period: 2; midline:[latex]\,y=0;\,[/latex]maximum:[latex]\,y=4\,[/latex]occurs at[latex]\,x=0;\,[/latex]minimum:[latex]\,y=-4\,[/latex]occurs at[latex]\,x=1[/latex]

[latex]f\left(x\right)=3\,\mathrm{cos}\left(\frac{6}{5}x\right)[/latex]

[latex]y=3\,\mathrm{sin}\left(8\left(x+4\right)\right)+5[/latex]

Show Solution

A graph of 3sin(8(x+4))+5. Graph has amplitude of 3, range of [2, 8], and period of pi/4.

amplitude: 3; period:[latex]\,\frac{\pi }{4};\,[/latex]midline:[latex]\,y=5;\,[/latex]maximum:[latex]\,y=8\,[/latex]occurs at[latex]\,x=0.12;\,[/latex]minimum:[latex]\,y=2\,[/latex]occurs at[latex]\,x=0.516;\,[/latex]horizontal shift:[latex]\,-4;\,[/latex]vertical translation 5; one period occurs from[latex]\,x=0\,[/latex]to[latex]\,x=\frac{\pi }{4}[/latex]

[latex]y=2\,\mathrm{sin}\left(3x-21\right)+4[/latex]

[latex]y=5\,\mathrm{sin}\left(5x+20\right)-2[/latex]

Show Solution

A graph of 5sin(5x+20)-2. Graph has an amplitude of 5, period of 2pi/5, and range of [-7,3].

amplitude: 5; period:[latex]\,\frac{2\pi }{5};\,[/latex]midline:[latex]\,y=-2;\,[/latex]maximum:[latex]\,y=3\,[/latex]occurs at[latex]\,x=0.08;\,[/latex]minimum:[latex]\,y=-7\,[/latex]occurs at[latex]\,x=0.71;\,[/latex]phase shift:[latex]\,-4;\,[/latex]vertical translation:[latex]\,-2;\,[/latex]one full period can be graphed on[latex]\,x=0\,[/latex]to[latex]\,x=\frac{2\pi }{5}[/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.

[latex]f\left(t\right)=2\mathrm{sin}\left(t-\frac{5\pi }{6}\right)[/latex]

[latex]f\left(t\right)=-\mathrm{cos}\left(t+\frac{\pi }{3}\right)+1[/latex]

Show Solution

A graph of -cos(t+pi/3)+1. Graph has amplitude of 1, period of 2pi, and range of [0,2]. Phase shifted pi/3 to the left.

amplitude: 1 ; period:[latex]\,2\pi ;\,[/latex]midline:[latex]\,y=1;\,[/latex]maximum:[latex]\,y=2\,[/latex]occurs at[latex]\,x=2.09;\,[/latex]maximum:[latex]\,y=2\,[/latex]occurs at[latex]\,t=2.09;\,[/latex]minimum:[latex]\,y=0\,[/latex]occurs at[latex]\,t=5.24;\,[/latex]phase shift:[latex]\,-\frac{\pi }{3};\,[/latex]vertical translation: 1; one full period is from[latex]\,t=0\,[/latex]to[latex]\,t=2\pi[/latex]

[latex]f\left(t\right)=4\mathrm{cos}\left(2\left(t+\frac{\pi }{4}\right)\right)-3[/latex]

[latex]f\left(t\right)=-\mathrm{sin}\left(\frac{1}{2}t+\frac{5\pi }{3}\right)[/latex]

Show Solution

A graph of -sin((1/2)*t + 5pi/3). Graph has amplitude of 1, range of [-1,1], period of 4pi, and a phase shift of -10pi/3.amplitude: 1; period:[latex]\,4\pi ;\,[/latex]midline:[latex]\,y=0;\,[/latex]maximum:[latex]\,y=1\,[/latex]occurs at[latex]\,t=11.52;\,[/latex]minimum:[latex]\,y=-1\,[/latex]occurs at[latex]\,t=5.24;\,[/latex]phase shift:[latex]\,-\frac{10\pi }{3};\,[/latex]vertical shift: 0

[latex]f\left(x\right)=4\mathrm{sin}\left(\frac{\pi }{2}\left(x-3\right)\right)+7[/latex]

Determine the amplitude, midline, period, and an equation involving the sine function for the graph shown in (Figure).

A sinusoidal graph with amplitude of 2, range of [-5, -1], period of 4, and midline at y=-3.
Figure 26.
Show Solution

amplitude: 2; midline:[latex]\,y=-3;\,[/latex]period: 4; equation:[latex]\,f\left(x\right)=2\mathrm{sin}\left(\frac{\pi }{2}x\right)-3[/latex]

Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in (Figure).

A graph with a cosine parent function, with amplitude of 3, period of pi, midline at y=-1, and range of [-4,2]
Figure 27.

Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in (Figure).

A graph with a cosine parent function with an amplitude of 2, period of 5, midline at y=3, and a range of [1,5].
Figure 28.
Show Solution

amplitude: 2; period: 5; midline:[latex]\,y=3;\,[/latex]equation:[latex]\,f\left(x\right)=-2\mathrm{cos}\left(\frac{2\pi }{5}x\right)+3[/latex]

Determine the amplitude, period, midline, and an equation involving sine for the graph shown in (Figure).

A sinusoidal graph with amplitude of 4, period of 10, midline at y=0, and range [-4,4].
Figure 29.

Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in (Figure).

A graph with cosine parent function, range of function is [-4,4], amplitude of 4, period of 2.
Figure 30.
Show Solution

amplitude: 4; period: 2; midline:[latex]\,y=0;\,[/latex]equation:[latex]\,f\left(x\right)=-4\mathrm{cos}\left(\pi \left(x-\frac{\pi }{2}\right)\right)[/latex]

Determine the amplitude, period, midline, and an equation involving sine for the graph shown in (Figure).

A graph with sine parent function. Amplitude 2, period 2, midline y=0
Figure 31.

Determine the amplitude, period, midline, and an equation involving cosine for the graph shown in (Figure).

A graph with cosine parent function. Amplitude 2, period 2, midline y=1
Figure 32.
Show Solution

amplitude: 2; period: 2; midline[latex]\,y=1;\,[/latex]equation:[latex]\,f\left(x\right)=2\mathrm{cos}\left(\pi x\right)+1[/latex]

Determine the amplitude, period, midline, and an equation involving sine for the graph shown in (Figure).

A graph with a sine parent function. Amplitude 1, period 4 and midline y=0.
Figure 33.

Algebraic

For the following exercises, let[latex]\,f\left(x\right)=\mathrm{sin}\,x.[/latex]

On[latex]\,\left[0,2\pi \right),[/latex]solve[latex]\,f\left(x\right)=0.[/latex]

On[latex]\,\left[0,2\pi \right),[/latex]solve[latex]\,f\left(x\right)=\frac{1}{2}.[/latex]

Show Solution

[latex]\frac{\pi }{6},\frac{5\pi }{6}[/latex]

Evaluate[latex]\,f\left(\frac{\pi }{2}\right).[/latex]

On[latex]\,\left[0,2\pi \right),f\left(x\right)=\frac{\sqrt{2}}{2}.\,[/latex]Find all values of[latex]\,x.[/latex]

Show Solution

[latex]\frac{\pi }{4},\frac{3\pi }{4}[/latex]

On[latex]\,\left[0,2\pi \right),[/latex]the maximum value(s) of the function occur(s) at what x-value(s)?

On[latex]\,\left[0,2\pi \right),[/latex]the minimum value(s) of the function occur(s) at what x-value(s)?

Show Solution

[latex]\frac{3\pi }{2}[/latex]

Show that[latex]\,f\left(-x\right)=-f\left(x\right).\,[/latex]This means that[latex]\,f\left(x\right)=\mathrm{sin}\,x\,[/latex]is an odd function and possesses symmetry with respect to ________________.

For the following exercises, let[latex]\,f\left(x\right)=\mathrm{cos}\,x.[/latex]

On[latex]\,\left[0,2\pi \right),[/latex]solve the equation[latex]\,f\left(x\right)=\mathrm{cos}\,x=0.[/latex]

Show Solution

[latex]\frac{\pi }{2},\frac{3\pi }{2}[/latex]

On[latex]\,\left[0,2\pi \right),[/latex]solve[latex]\,f\left(x\right)=\frac{1}{2}.[/latex]

On[latex]\,\left[0,2\pi \right),[/latex]find the x-intercepts of[latex]\,f\left(x\right)=\mathrm{cos}\,x.[/latex]

Show Solution

[latex]\frac{\pi }{2},\frac{3\pi }{2}[/latex]

On[latex]\,\left[0,2\pi \right),[/latex]find the x-values at which the function has a maximum or minimum value.

On[latex]\,\left[0,2\pi \right),[/latex]solve the equation[latex]\,f\left(x\right)=\frac{\sqrt{3}}{2}.[/latex]

Show Solution

[latex]\frac{\pi }{6},\frac{11\pi }{6}[/latex]

Technology

Graph[latex]\,h\left(x\right)=x+\mathrm{sin}\,x\,[/latex]on[latex]\,\left[0,2\pi \right].\,[/latex]Explain why the graph appears as it does.

Graph[latex]\,h\left(x\right)=x+\mathrm{sin}\,x\,[/latex]on[latex]\,\left[-100,100\right].\,[/latex]Did the graph appear as predicted in the previous exercise?

Show Solution

The graph appears linear. The linear functions dominate the shape of the graph for large values of[latex]\,x.[/latex]

A sinusoidal graph that increases like the function y=x, shown from 0 to 100.

Graph[latex]\,f\left(x\right)=x\,\mathrm{sin}\,x\,[/latex]on[latex]\,\left[0,2\pi \right]\,[/latex]and verbalize how the graph varies from the graph of[latex]\,f\left(x\right)=\mathrm{sin}\,x.[/latex]

Graph[latex]\,f\left(x\right)=x\,\mathrm{sin}\,x\,[/latex]on the window[latex]\,\left[-10,10\right]\,[/latex]and explain what the graph shows.

Show Solution

The graph is symmetric with respect to the y-axis and there is no amplitude because the function is not periodic.

A sinusoidal graph that has increasing peaks and decreasing lows as the absolute value of x increases.

Graph[latex]\,f\left(x\right)=\frac{\mathrm{sin}\,x}{x}\,[/latex]on the window[latex]\,\left[-5\pi ,5\pi \right]\,[/latex]and explain what the graph shows.

Real-World Applications

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\left(t\right)\,[/latex]gives a person’s height in meters above the ground t minutes after the wheel begins to turn.

  1. Find the amplitude, midline, and period of[latex]\,h\left(t\right).[/latex]
  2. Find a formula for the height function[latex]\,h\left(t\right).[/latex]
  3. How high off the ground is a person after 5 minutes?
Show Solution
  1. Amplitude: 12.5; period: 10; midline:[latex]\,y=13.5;[/latex]
  2. [latex]h\left(t\right)=12.5\mathrm{sin}\left(\frac{\pi }{5}\left(t-2.5\right)\right)+13.5;[/latex]
  3. 26 ft

Glossary

amplitude
the vertical height of a function; the constant[latex]\,A\,[/latex]appearing in the definition of a sinusoidal function
midline
the horizontal line[latex]\,y=D,\,[/latex]where[latex]\,D\,[/latex]appears in the general form of a sinusoidal function
periodic function
a function[latex]\,f\left(x\right)\,[/latex]that satisfies[latex]\,f\left(x+P\right)=f\left(x\right)\,[/latex]for a specific constant[latex]\,P\,[/latex]and any value of[latex]\,x[/latex]
phase shift
the horizontal displacement of the basic sine or cosine function; the constant[latex]\,\frac{C}{B}[/latex]
sinusoidal function
any function that can be expressed in the form[latex]\,f\left(x\right)=A\mathrm{sin}\left(Bx-C\right)+D\,[/latex]or[latex]\,f\left(x\right)=A\mathrm{cos}\left(Bx-C\right)+D[/latex]

License

Icon for the Creative Commons Attribution 4.0 International License

Test Internal Clone for Comparison Copyright © 2015 by OpenStax is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book