
# 6.1 Sinusoidal Graphs

The London Eye[1] is a huge Ferris wheel with diameter 135 meters (443 feet) in London, England, which completes one rotation every 30 minutes. When we look at the behavior of this Ferris wheel it is clear that it completes 1 cycle, or 1 revolution, and then repeats this revolution over and over again. This is an example of a periodic function, because the Ferris wheel repeats its revolution or one cycle every 30 minutes, and so we say it has a period of 30 minutes.

In this section, we will work to sketch a graph of a rider’s height above the ground over time and express this height as a function of time.

Definition: Periodic Functions

A periodic function is a function for which a specific horizontal shift, P, results in the original function:  for all values of x.   When this occurs we call the smallest such horizontal shift with P > 0 the period of the function.

You might immediately guess that there is a connection here to finding points on a circle, since the height above ground would correspond to the y value of a point on the circle. We can determine the y value by using the sine function. To get a better sense of this function’s behavior, we can create a table of values we know, and use them to sketch a graph of the sine and cosine functions.

Listing some of the values for sine and cosine on a unit circle,

 θ 0 cos 1 0 -1 sin 0 1 0

Here you can see how for each angle, we use the y value of the point on the circle to determine the output value of the sine function.

Plotting more points gives the full shape of the sine and cosine functions.

 f(θ) = sin(θ)

 θ

Notice how the sine values are positive between $$,0$$ and $$\pi$$ which correspond to the values of sine in quadrants 1 and 2 on the unit circle, and the sine values are negative between $$\pi$$ and $$2\pi$$, corresponding to quadrants 3 and 4.

 g(θ) = cos(θ)
 θ

Like the sine function we can track the value of the cosine function through the 4 quadrants of the unit circle as we place it on a graph.

Both of these functions are defined for all real numbers, since we can evaluate the sine and cosine of any angle. By thinking of sine and cosine as coordinates of points on a unit circle, it becomes clear that the range of both functions must be the interval .

Definition: Domain and Range

The domain of sine and cosine is all real numbers, .

The range of sine and cosine is the interval [-1, 1].

Both these graphs are called sinusoidal graphs.

In both graphs, the shape of the graph begins repeating after $$2\pi$$. Indeed, since any coterminal angles will have the same sine and cosine values, we could conclude that  and .

In other words, if you were to shift either graph horizontally by $$2\pi$$, the resulting shape would be identical to the original function.  Sinusoidal functions are a specific type of periodic function.

Definition: Period of Sine and Cosine

The periods of the sine and cosine functions are both $$2\pi$$.

Looking at these functions on a domain centered at the vertical axis helps reveal symmetries.

sine                                                                  cosine

The sine function is symmetric about the origin, the same symmetry the cubic function has, making it an odd function. The cosine function is clearly symmetric about the y axis, the same symmetry as the quadratic function, making it an even function.

Definition: Negative Angle Identities

The sine is an odd function, symmetric about the origin, so .

The cosine is an even function, symmetric about the y-axis, so .

These identities can be used, among other purposes, for helping with simplification and proving identities.

You may recall the cofunction identity from last chapter;.  Graphically, this tells us that the sine and cosine graphs are horizontal transformations of each other.  We can prove this by using the cofunction identity and the negative angle identity for cosine.

Now we can clearly see that if we horizontally shift the cosine function to the right by $$\frac{\pi}{2}$$ we get the sine function.

Remember this shift is not representing the period of the function. It only shows that the cosine and sine function are transformations of each other.

Example 1

Simplify .

Using the even/odd identity

Rewriting the tangent

Inverting and multiplying

Simplifying we get

### Transforming Sine and Cosine

Example 2

A point rotates around a circle of radius 3.  Sketch a graph of the y coordinate of the point.

Recall that for a point on a circle of radius r, the y coordinate of the point is , so in this case, we get  the equation

The constant 3 causes a vertical stretch of the y values of the function by a factor of 3.

Notice that the period of the function does not change.

Since the outputs of the graph will now oscillate between -3 and 3, we say that the amplitude of the sine wave is 3.

Try it Now: 1

What is the amplitude of the function?  Sketch a graph of this function.

Example 3

Example 3

A circle with radius 3 feet is mounted with its center 4 feet off the ground.  The point closest to the ground is labeled P.  Sketch a graph of the height above ground of the point P as the circle is rotated, then find a function that gives the height in terms of the angle of rotation.

Sketching the height, we note that it will start 1 foot above the ground, then increase up to 7 feet above the ground, and continue to oscillate 3 feet above and below the center value of 4 feet.

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.

We decide to 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 one, 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,

Definition: Midline

The center value of a sinusoidal function, the value that the function oscillates above and below, is called the midline of the function, corresponding to a vertical shift.

The function  has midline at $$y = k$$.

Try it Now: 2

What is the midline of the function?  Sketch a graph of the function

To answer the Ferris wheel problem at the beginning of the section, we need to be able to express our sine and cosine functions at inputs of time.  To do so, we will utilize composition.  Since the sine function takes an input of an angle, we will look for a function that takes time as an input and outputs an angle.  If we can find a suitable function, then we can compose this with our function to obtain a sinusoidal function of time: .

Example 4

A point completes 1 revolution every 2 minutes around a circle of radius 5.  Find the x coordinate of the point as a function of time, if it starts at (5, 0).

SOLUTION

Normally, we would express the x coordinate of a point on a unit circle using, here we write the function .

 x(θ)

The rotation rate of 1 revolution every 2 minutes is an angular velocity.  We can use this rate to find a formula for the angle as a function of time.  The point begins at an angle of 0.  Since the point rotates 1 revolution = 2π radians every 2 minutes, it rotates π radians every minute.  After t minutes, it will have rotated:

 θ

Composing this with the cosine function, we obtain a function of time.

Notice that this composition has the effect of a horizontal compression, changing the period of the function.

To see how the period relates to the stretch or compression coefficient B in the equation , note that the period will be the time it takes to complete one full revolution of a circle.  If a point takes P minutes to complete 1 revolution, then the angular velocity is .  Then .  Composing with a sine function,

From this, we can determine the relationship between the coefficient B and the period:  .  Notice that the stretch or compression coefficient B is a ratio of the “normal period of a sinusoidal function” to the “new period.”   If we know the stretch or compression coefficient B, we can solve for the “new period”:

Example 5

What is the period of the function ?

Using the relationship above, the stretch/compression factor is , so the period will be .

While it is common to compose sine or cosine with functions involving time, the composition can be done so that the input represents any reasonable quantity.

Example 6

A bicycle wheel with radius 14 inches has the bottom-most point on the wheel marked in red.  The wheel then begins rolling down the street.  Write a formula for the height above ground of the red point after the bicycle has travelled x inches.

The height of the point begins at the lowest value, 0, increases to the highest value of 28 inches, and continues to oscillate above and below a center height of 14 inches.  In terms of the angle of rotation, θ:

In this case, x is representing a linear distance the wheel has travelled, corresponding to an arclength along the circle.  Since arclength and angle can be related by , in this case we can write , which allows us to express the angle in terms of x

Composing this with our cosine-based function from above,

The period of this function would be , the circumference of the circle.  This makes sense – the wheel completes one full revolution after the bicycle has travelled a distance equivalent to the circumference of the wheel.

### Summarizing our transformations so far:

Transformations of Sine and Cosine

Given an equation in the form  or

A is the vertical stretch, and is the amplitude of the function.

B is the horizontal stretch/compression, and is related to the period, P, by .

k is the vertical shift and determines the midline of the function.

Example 7

Determine the midline, amplitude, and period of the function .

SOLUTION

The amplitude is 3

The period is

The midline is at

Amplitude, midline, and period, when combined with vertical flips, allow us to write equations for a variety of sinusoidal situations.

Try it Now: 3

If a sinusoidal function starts on the midline at point (0,3), has an amplitude of 2, and a period of 4, write a formula for the function.

Example 8

Find a formula for the sinusoidal function graphed here.

The graph oscillates from a low of -1 to a high of 3, putting the midline at y = 1, halfway between.

The amplitude will be 2, the distance from the midline to the highest value (or lowest value) of the graph.

The period of the graph is 8.  We can measure this from the first peak at x = -2 to the second at x = 6.  Since the period is 8, the stretch/compression factor we will use will be

At x = 0, the graph is at the midline value, which tells us the graph can most easily be represented as a sine function.  Since the graph then decreases, this must be a vertical reflection of the sine function.  Putting this all together,

With these transformations, we are ready to answer the Ferris wheel problem from the beginning of the section.
Example 9

The London Eye is a huge Ferris wheel with diameter 135 meters (443 feet) in London, England, which 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.

With a diameter of 135 meters, the wheel has a radius of 67.5 meters.  The height will oscillate with amplitude of 67.5 meters above and below the center.

Passengers board 2 meters above ground level, so the center of the wheel must be located 67.5 + 2 = 69.5 meters above ground level.  The midline of the oscillation will be at 69.5 meters.

The wheel takes 30 minutes to complete 1 revolution, so the height will oscillate with period of 30 minutes.

Lastly, since the rider boards at the lowest point, the height will start at the smallest value and increase, following the shape of a flipped cosine curve.

Putting these together:

Amplitude: 67.5

Midline: 69.5

Period: 30, so

Shape: -cos

An equation for the rider’s height would be

Try it Now

1. The Ferris wheel at the Puyallup Fair[2] has a diameter of about 70 feet and takes 3 minutes to complete a full rotation.  Passengers board from a platform 10 feet above the ground.  Write an equation for a rider’s height above ground over time.

While these transformations are sufficient to represent many situations, occasionally we encounter a sinusoidal function that does not have a vertical intercept at the lowest point, highest point, or midline.  In these cases, we need to use horizontal shifts.  Recall that when the inside of the function is factored, it reveals the horizontal shift.

Horizontal Shifts of Sine and Cosine

Given an equation in the form  or

h is the horizontal shift of the function

Example 10

Sketch a graph of .

To reveal the horizontal shift, we first need to factor inside the function:

This graph will have the shape of a sine function, starting at the midline and increasing, with an amplitude of 3.  The period of the graph will be .  Finally, the graph will be shifted to the right by 1.

In some physics and mathematics books, you will hear the horizontal shift referred to as phase shift.  In other physics and mathematics books, they would say the phase shift of the equation above is , the value in the unfactored form.  Because of this ambiguity, we will not use the term phase shift any further, and will only talk about the horizontal shift.

Example 11

Find a formula for the function graphed here.

With highest value at 1 and lowest value at -5, the midline will be halfway between at -2.

The distance from the midline to the highest or lowest value gives an amplitude of 3.

The period of the graph is 6, which can be measured from the peak at x = 1 to the next peak at x = 7, or from the distance between the lowest points.  This gives .

For the shape and shift, we have more than one option.  We could either write this as:

•  A cosine shifted 1 to the right
•  A negative cosine shifted 2 to the left
•  A sine shifted ½ to the left
•  A negative sine shifted 2.5 to the right

While any of these would be fine, the cosine shifts are easier to work with than the sine shifts in this case, because they involve integer values.  Writing these:

or

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

Try it Now: 5

Write a formula for the function graphed here.

### Important Topics of This Section

• Periodic functions
• Sine and cosine function from the unit circle
• Domain and range of sine and cosine functions
• Sinusoidal functions
• Negative angle identity
• Simplifying expressions
• Transformations
• Amplitude
• Midline
• Period
• Horizontal shifts

1. 7

2. -4

3.

4.

5. Two possibilities:  or

### Section 6.1 Exercises

1. Sketch a graph of .
2. Sketch a graph of .
3. Sketch a graph of .
4.  Sketch a graph of .

For the graphs below, determine the amplitude, midline, and period, then find a formula for the function.

5.                                                                     6.

7.                                                                     8.

9.                                                                     10.

For each of the following equations, find the amplitude, period, horizontal shift, and midline.

11.

12.

13.

14.

15.

16.

Find a formula for each of the functions graphed below.

17.

18.

19.

20.

1. Outside temperature over the course of a day can be modeled as a sinusoidal function. Suppose you know the temperature is 50 degrees at midnight and the high and low temperature during the day are 57 and 43 degrees, respectively. Assuming t is the number of hours since midnight, find a function for the temperature, D, in terms of t.

1. Outside temperature over the course of a day can be modeled as a sinusoidal function. Suppose you know the temperature is 68 degrees at midnight and the high and low temperature during the day are 80 and 56 degrees, respectively. Assuming t is the number of hours since midnight, find a function for the temperature, D, in terms of t.

1. A Ferris wheel is 25 meters in diameter and boarded from a platform that is 1 meters 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  gives your height in meters above the ground t minutes after the wheel begins to turn.
1. Find the amplitude, midline, and period of .
2. Find a formula for the height function .
3. How high are you off the ground after 5 minutes?

1. A Ferris wheel is 35 meters in diameter and boarded from a platform that is 3 meters 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 8 minutes. The function  gives your height in meters above the ground t minutes after the wheel begins to turn.
1. Find the amplitude, midline, and period of .
2. Find a formula for the height function .
3. How high are you off the ground after 4 minutes?

### Contributors

• David Lippman (Pierce College)
• Melonie Rasmussen (Pierce College)