Amplitude and Period

 

Learning Objective(s)

·         Understand amplitude and period.

·         Graph the sine function with changes in amplitude and period.

·         Graph the cosine function with changes in amplitude and period.

·         Match a sine or cosine function to its graph and vice versa.

 

Introduction

 

You know how to graph the functions  and . Now you’ll learn how to graph a whole “family” of sine and cosine functions. These functions have the form  or , where a and b are constants.

 

 

Periodic Functions

 

We used the variable  previously to show an angle in standard position, and we also referred to the sine and cosine functions as  and . Often the sine and cosine functions are used in applications that have nothing to do with triangles or angles, and the letter x is used instead of  for the input (as well as to label the horizontal axis). So from this point forward, we’ll refer to these same functions as  and . This change does not affect the graphs; they remain the same.

 

You know that the graphs of the sine and cosine functions have a pattern of hills and valleys that repeat. The length of this repeating pattern is . That is, the graph of  (or) on the interval  looks like the graph on the interval  or  or . This pattern continues in both directions forever.

 

The graph below shows four repetitions of a pattern of length. Each one contains exactly one complete copy of the “hill and valley” pattern.

 

 

If a function has a repeating pattern like sine or cosine, it is called a periodic function. The period is the length of the smallest interval that contains exactly one copy of the repeating pattern. So the period of  or  is . Any part of the graph that shows this pattern over one period is called a cycle. For example, the graph of  on the interval  is one cycle.

 

 

You know from graphing quadratic functions of the form  that as you changed the value of a you changed the “width” of the graph. Now we’ll look at functions of the form  and see how changes to b will affect the graph. For example, is  periodic, and if so, what is the period? Here is a table with some inputs and outputs for this function.

 

x (in radians)

2x (in radians)

sin2x

0

0

0

1

0

0

 

As the values of x go from 0 to , the values of  go from 0 to . We can see from the graph that the function  is a periodic function, and goes through one full cycle on the interval [0, ], so its period is . If you substituted values of x from  to , the values of  would go from  to , and  would go through another complete cycle of the sine function.

 

 

Notice that has two cycles on the interval [0, 2], which is the interval needs to complete one full cycle.

 

 

What is the smallest positive value for x where  is at its minimum?

 

A)

B)

C)

D)

 

Show/Hide Answer

A)

Incorrect. The function does attain its minimum value at this point, but  is not a positive value. The correct answer is .

 

B)

Incorrect. Perhaps you confused minimum and maximum. The correct answer is .

 

C)

Correct. The minimum value for the sine function is . Look at the graph of . It attains this minimum at the bottom of every valley. The bottom of the first valley where x is positive is at .

 

D)

Incorrect. You may have thought of 0 as the minimum value, but the sine function takes on negative values. The correct answer is .

 

 

What is the period of the function? Here is a table with some inputs and outputs for this function.

 

x (in radians)

3x (in radians)

sin3x

0

0

0

1

0

0

 

As the values of x go from 0 to, the values of  go from 0 to. We can see from the graph that  goes through one full cycle on the interval , so its period is .

 

 

Notice that has three cycles on the interval [0, 2], which is the interval needs to complete one full cycle.

What is the period of the function ? Here is a table with some inputs and outputs for this function.

 

x (in radians)

x (in radians)

sin

0

0

0

1

0

0

 

As the values of x go from 0 to , the values of  go from 0 to .

We can see from the graph that  goes through one full cycle on the interval , so its period is.

 

 

Notice that has half of one full cycle on the interval [0, 2], which is the interval needs to complete one full cycle.

 

Let’s put these results into a table. For the first three functions we have rewritten their periods with the numeratorso that the pattern becomes clear. Can you see a relationship between the function and the denominator in the periods?

 

Function

Period

 

In each case, the period could be found by dividing  by the coefficient of x. In general, the period of  is , and the period of  is . Since the period is the length of an interval, it must always be a positive number. Since it is possible for b to be a negative number, we must use  in the formula to be sure the period, , is always a positive number.

 

The period of  or  is .

 

 

You can think of the different values of b as having an “accordion” (or a spring) effect on the graphs of sine and cosine. A large value of b squeezes them in and a small value of b stretches them out.

 

There is another way to describe this effect. In the interval ,  goes through one cycle while  goes through two cycles. If you go back and check all of the examples above, you will see that  has  cycles in the interval . Likewise,  has  cycles in the interval .

 

 

Example

Problem

What are the periods of  and ?

 

For , . Substitute this value into the formula.

 

For , .

Answer

The period of  is , and the period of  is .

 

 

Amplitude

 

As you have seen, the graphs of all of these sine and cosine functions alternate between hills and valleys. The height of one hill (which equals the depth of one valley) is called the amplitude. You can see that for all the graphs we have looked at so far, the amplitude equals 1.

 

 

The formal way to say this for any periodic function is:

 

 

You know that the maximum value of  or  is 1 and the minimum value of either is . So if you applied the above definition, you would get:

 

 

This result agrees with what was observed from the graph.

 

You have seen that changing the value of b in  or  either stretches or squeezes the graph like an accordion or a spring, but it does not change the maximum or minimum values. For all of these functions, the maximum is 1 and the minimum is . So if you applied the definition of amplitude, you would be doing the exact same calculation as we just did above. The amplitude of any of these functions is 1.

 

Let’s look at a different kind of change to a function by graphing the function . Here’s a table with some values of this function.

 

x (in radians)

sinx

2sinx

0

0

0

1

1

2

1

0

0

 

We’ll take the first and third columns to make part of the graph and then extend that pattern to the left and to the right.

 

 

Now you can use this graph in the following example.

 

 

Example

Problem

What is the amplitude of ?

 

You can find the maximum and minimum values of the function from the graph. For example, at  the value is 2, and at  the value is .

 

Use the definition of amplitude.

 

Notice that the height of each hill is 2, and the depth of each valley is 2. This is equal to the amplitude, as we mentioned at the start.

 

Notice also that the amplitude is equal to the coefficient of the function:

This is not a coincidence.

Answer

The amplitude is 2.

 

 

 

Let’s compare the graph of this function to the graph of the sine function.

 

 

The effect of multiplying  by 2 is to stretch the graph vertically by a factor of 2. Because it has been stretched vertically by this factor, the amplitude is twice as much, or 2. If we had looked at , the graph would have been stretched vertically by a factor of 3, and the amplitude of this function is 3. Again, this is equal to the coefficient of the function. In general, we have the following rule.

 

The amplitude of  or  is .

 

 

As the last example, , shows, multiplying by a constant on the outside affects the amplitude. If you multiply by a constant on the outside and on the inside, as in , you will affect both the amplitude and the period. Here is the graph of :

 

 

 

Example

Problem

Determine the amplitude and period of .

 

Use the formula for amplitude, with .

 

Use the formula for period, with .

Answer

The amplitude is 3 and the period is .

 

 

 

In this example, you could have found the period by looking at the graph above. One complete cycle is shown, for example, on the interval , so the period is .

 

In the functions  and , multiplying by the constant a only affects the amplitude, not the period. As we said earlier, changing the value of b only affects the period, not the amplitude. The general result is as follows.

 

The amplitude of  or  is .

 

The period of  or  is .

 

 

To help you understand changes in amplitude and period for both the sine function and cosine function, try the following interactive exercise:

 

This is a Java Applet created using GeoGebra from www.geogebra.org - it looks like you don't have Java installed, please go to www.java.com

 

 

What are the amplitude and period of ?

 

A) The amplitude is , and the period is .

B) The amplitude is , and the period is .

C) The amplitude is 1, and the period is .

D) The amplitude is 1, and the period is .

 

Show/Hide Answer

A) The amplitude is , and the period is .

Correct. In this function, , so this is the amplitude. The period equals .

 

B) The amplitude is , and the period is .

Incorrect. The amplitude is correct, but the period is not. You probably multiplied  by 4 instead of dividing. The correct answer is A.

 

C) The amplitude is 1, and the period is .

Incorrect. The period is correct, but the amplitude is not. You may have thought the amplitude is the maximum minus the minimum, but it is half of this. The correct answer is A.

 

D) The amplitude is 1, and the period is .

Incorrect. You may have thought the amplitude is the maximum minus the minimum, but it is half of this. You probably multiplied  by 4, instead of dividing, to find the period. The correct answer is A.

 

 

Graphs of Sine Functions

 

You know the function  has amplitude  and period . You can use these facts to draw the graph of any function in the form  by starting with the graph of  and modifying it.

 

For example, suppose you wanted the graph of . Since , this function has the same period as . Since , the amplitude is 4. Therefore, you would take the graph of  and simply stretch it vertically by a factor of 4. Here is one cycle for these two functions.

 

 

Note that the points that were on the x-axis “remain” on the x-axis. At these points (where ), the value of  is 0. If you multiply 0 by 4 (or anything else), you will still have a value of 0. So the points will still be on the x-axis. On the other hand, the highest and lowest points have moved away from the x-axis. They had y-values of 1 and  for , and they have y-values of 4 and  for .

 

 

Example

Problem

Graph  on the interval .

 

The value of b is 1, so the graph has a period of , as does .

 

The value of a is , so the graph has an amplitude of 1, as does .

 

Though the amplitude and the period are the same as the function , the graph is not exactly the same. The effect of multiplying by  is to replace y-values by their opposites. So the graph of  gets reflected over the x-axis.

 

 

 

Answer

 

 

If you want to check these graphs with a graphing calculator, make sure that the graphing window has the correct settings. For this last example, you would use  and . In general, you would probably want to adjust the x-values to show one full cycle and the y-values using the amplitude.

 

If the values of a and b are both different from 1, then you need to combine the effects of the two changes.

 

 

Example

Problem

Graph  on the interval .

 

The value of a is 3, so the graph has an amplitude of 3. This has the effect of taking the graph of  and stretching it vertically by a factor of 3.

 

The value of b is , so the graph has a period of . This is twice the period of . This has the effect of taking the graph of  and stretching it horizontally by a factor of 2. (The alternative way to say this is that  has  of a cycle on the interval .)

 

To make the graph of , you must combine the two effects described above.

 

Answer

 

 

Sometimes you need to stretch the graph of the sine function, and sometimes you need to shrink it.

 

 

Example

Problem

Graph two cycles of a sine function whose amplitude is  and whose period is.

 

There are different functions of the form  that fit this description because a and b could be positive or negative. We will draw the graph assuming these are positive.

 

Because the amplitude is , this has the effect of taking the graph of  and shrinking it vertically by a factor of 2.

 

The period is , which is  the period of . This has the effect of taking the graph of  and shrinking it horizontally by a factor of 3.

 

To make the graph, you must combine the two effects described above.

Answer

 

 

Even without knowing the specific value of a constant, you can sometimes still narrow down the possibilities for the shape of a graph.

 

 

The graph of a function , where a is a constant, is drawn on the interval .

 

Which of the following options could be this graph?

 

A)                                                               B)

              

 

C)                                                               D)

              

 

Show/Hide Answer

A)

Incorrect. This has the correct shape and period, but it is in the wrong position. Regardless of the value of a, the graph must pass through the x-axis at , which it does not. The correct answer is D.

 

B)

Incorrect. This is the graph of a cosine function. Regardless of the value of a, the graph must pass through the x-axis at . The correct answer is D.

 

C)

Incorrect. Because the coefficient of x is 1, the graph should have a period of , but this graph has a period of . The correct answer is D.

 

D)

Correct. Because the coefficient of x is 1, the graph has a period of , which this option has. The factor a could stretch or shrink the graph, but it must still pass through the x-axis at the points , which it does.

 

 

Graphs of Cosine Functions

 

You know the function  has amplitude  and period . Just as you did with sine functions, you can use these facts to draw the graph of any function in the form  by starting with the graph of  and modifying it.

 

For example, suppose you wanted the graph of . Since, it has the same amplitude as . And, because , the period is given by:

 

 

Since this is twice the period of , you would take the graph of  and stretch it horizontally by a factor of 2. Here is a side-by-side comparison of these two graphs.

 

 

 

Note that in the interval , the graph of  has one full cycle. Since , the graph of  has  of a cycle in that interval.

 

If you are using a graphing calculator, you need to adjust the settings for each graph to get a graphing window that shows all the features of the graph. For the last example, you would use  and . In general, you would probably want to adjust the x-values to show one full cycle and the y-values to show the highest and lowest points. In the next example, you would use  and  for the graphing window because you are specifically asked to graph it over the domain  and the graph will have an amplitude of 2, going as low as -2 and as high as +2.

 

 

Example

Problem

Graph  on the interval .

 

The amplitude equals . This has the effect of taking the graph of  and stretching it vertically by a factor of 2. The negative sign on the “outside” has an additional effect: the y-values are replaced by their opposites, so the graph is also flipped over the x-axis.

 

The value of b is 1, so the graph has a period of , as does .

 

When the only change is a vertical stretch, compression, or flip, the x-intercepts remain the same. So the graph will pass through the x-axis at  and .

Answer

 

 

Again, if the values of a and b are both different from 1, you need to combine the effects of the two changes. In the next example, you will see a variation that you have not seen before. Up to this point, all of the values of b have been rational numbers, but here we are using the irrational number . This situation does not really change the procedure, but you will see that it changes the scale on the x-axis in a new way.

 

 

Example

Problem

Graph  on the interval .

 

The value of a is 4, so the graph has an amplitude of 4. This has the effect of taking the graph of  and stretching it vertically by a factor of 4.

 

The value of b is , so the graph has a period of . This has the effect of shrinking the graph of  horizontally by a factor of , causing it to complete one complete cycle on the interval [0, 2].

 

Note the effect on the x-values of the intercepts, the high points, and the low points. Because the period is 2, the first cycle of the graph will have high points at  and 2. The low point will still be midway between these, so it is at . The x-intercepts are still midway between the high and the low points, so they will be at  and . The second cycle of the graph has all of these points shifted to the right 2 units.

 

To make the graph of , you must combine the effects described above.

Answer

 

 

In two previous examples (and) you saw that a negative sign on the outside (a negative value of a) has the effect of flipping the graph around the x-axis. In the next example, you will see the effect of a negative sign on the “inside” (a negative value of b).

 

One last hint: besides trying to figure out the overall effect of the value of a or b on the graph, you might want to check specific points. For example, just substitute  into the function and see where that point will end up.

 

 

Which of the following options is the graph of  on the interval ?

 

A)                                                            B)

              

 

C)                                                            D)

              

 

Show/Hide Answer

A)

Incorrect. This is the graph of . Remember to check specific points like . At that point, . So the point  should be on the graph. The correct answer is C.

 

B)

Incorrect. You confused the effects of a and b. This is the graph of . The correct answer is C.

 

C)

Correct. The value of a is , which will stretch the graph vertically by a factor of . The period of the graph is , as is the period of . The effect of the negative sign on the inside is to replace x-values by their opposites. This will flip the graph around the y-axis. However, because the graph of cosine is symmetric about the y-axis, this has no effect at all. So the only change to the graph of  is the vertical stretch.

 

D)

Incorrect. This graph has the correct period and amplitude. However, you have confused the effect of a minus sign on the inside with a minus sign on the outside. The correct answer is C.

 

 

Matching Graphs and Functions

 

Given any function of the form  or , you know how to find the amplitude and period and how to use this information to graph the functions.

 

Given a graph of a sine or cosine function, you also can determine the amplitude and period of the function. From this information, you can find values of a and b, and then a function that matches the graph.

 

Remember that along with finding the amplitude and period, it’s a good idea to look at what is happening at . If a and b are any nonzero constants, the functions  and  will have the following values at :

 

 

This tells you that the graph of  passes through  regardless of the values of a and b, and the graph of  never passes through  regardless of the values of a and b. So, for example, if you are given a graph passing through the origin and are asked to determine which function it represents, you know right away that it is not in the form .

 

You need to be careful about the sign of a. You might determine that a function has an amplitude of 4, for example. Though it is possible that , it is also possible that . Here is an example of each of these two possibilities.

 

 

You will need to compare the graph to that of  or  to see if, in addition to any stretching or shrinking, there has been a reflection over the x-axis. The graph above on the right can be thought of as the result of stretching and reflecting the graph of across the x-axis. If there has been a reflection, then the value of a will be negative. Once you have determined if a is positive or negative, you can always choose a positive value of b.

 

Here are some examples of this process.

 

 

Example

Problem

Determine a function of the form  or  whose graph is shown below.

 

First, observe that the graph passes through the origin, so you are looking for a function of the form .

 

Next, observe that the maximum value of the function is 2 and the minimum is , so the amplitude is 2. The graph has the same “orientation” as . (It starts with a hill to the right of the y-axis.) This implies that a is positive, and in particular, .

 

Finally, observe that the graph shows two cycles and that one entire cycle is contained in the interval . Therefore, the period is . Since , . According to our process, once you have determined if a is positive or negative, you can always choose a positive value of b. So .

 

Combine these three pieces of information.

Answer

 

 

Example

Problem

Determine a function of the form  or  whose graph is shown below.

 

First, observe that the graph does not pass through the origin, but rather crests, reaching a maximum when x = 0, so you are looking for a function of the form .

 

Next, observe that the maximum value of the function is  and the minimum is , so the amplitude is . The graph has the same “orientation” as . (It has a hill with the y-axis running through the middle.) This implies that a is positive, and in particular, .

 

Finally, observe that the graph shows two cycles and that one entire cycle is contained in the interval . Therefore, the period is . Because , . According to our process, once you have determined if a is positive or negative, you can always choose a positive value of b. So .

 

Combine these three pieces of information.

Answer

 

 

Make sure that you recognize where a cycle starts and ends. The period is the length of the interval over which the one cycle runs.

 

 

Which of the following functions is represented by the graph below?

 

 

A)

B)

C)

D)

 

Show/Hide Answer

A)

Incorrect. You correctly recognized the graph as a reflected sine function, but the period is incorrect. Perhaps you saw the  on the right and used that as the length of one cycle. However, the entire graph is one cycle, and the period equals . The correct answer is D.

 

B)

Incorrect. You correctly found the amplitude and period of this sine function. However, you also need to check the orientation of the graph. Notice that to the right of the y-axis you have a valley instead of a hill. The correct answer is D.

 

C)

Incorrect. You correctly found the amplitude and the orientation of this sine function. However, the period is incorrect. Perhaps you recognized that the period of the graph is twice the period of , and thought that the value of b would be 2. But to find the value of b, you must set the period equal to . The correct answer is D.

 

D)

Correct. The graph passes through the origin, so the function could have the form , but not . The amplitude is 1. The graph has a valley on the right, which could be the result of a reflection of  over the x-axis. Therefore, . The graph shows one cycle, so the period is . Since , the value of b could be . So this could be the graph of .

 

 

Remember that when writing a function you can use the notation  in place of the variable y.

 

 

Which of the following graphs represents ?

 

A)                                                                B)

           

C)                                                                D)

                  

 

Show/Hide Answer

A)

Incorrect. This is the graph of a function of the form . Remember to check the value of the function at . Since , the function  passes through , not the origin as shown in this graph. The correct answer is B.

 

B)

Correct. First, this graph has the shape of a cosine function. Second, because  in the equation, the amplitude is 3. Finally, because , the period of this function is . The graph in this answer completes one full cycle between and  so its period is as needed.

C)

Incorrect. This graph does have the shape of a cosine function, and the amplitude is 3, which is correct. However, the period is incorrect. You probably multiplied  by  instead of dividing. The correct answer is B.

 

D)

Incorrect. This graph does have the shape of a cosine function. However, in determining the graph, it appears that you switched the values of a and b. The correct answer is B.

 

 

Summary

 

The functions  and  are periodic functions: their graphs have a repeating pattern of hills and valleys that continues in both directions forever. The height of the hill or the depth of the valley is called the amplitude, and is equal to . Any one full pattern in the graph is called a cycle, and the length of an interval over which a cycle occurs is called the period. The period is equal to the value .

 

You can use this information to graph any of these functions by starting with the basic graph of  or  and then doing a combination of stretching or shrinking the graph vertically based on the value of a, stretching or shrinking the graph horizontally based on the value of b, or reflecting it based on the signs of a and b.

 

You can also start with a graph, determine the values of a and b, and then determine a function that it represents.