Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

7.0: Transformations of Graphs

( \newcommand{\kernel}{\mathrm{null}\,}\)

In Chapter 4 we saw that the amplitude, period, and midline of a sinusoidal graph are determined by the coefficients in its formula. The circular functions (sine and cosine of real numbers) behave the same way.

Period, Midline, and Amplitude

Changes to the amplitude, period, and midline are called transformations of the basic sine and cosine graphs.

• Changing the midline shifts the graph vertically.

• Changing the amplitude stretches or compresses the graph vertically.

• Changing the period stretches or compresses the graph horizontally.

First, we’ll consider changes in amplitude.

Example 7.1

Compare the graphs of f(x)=2sinx and g(x)=0.5sinx with the graph of y=sinx.

Answer

With your calculator set in radian mode, graph the three functions in the ZTrig window (press ZOOM 7). The graphs are shown below.

Screen Shot 2023-01-09 at 9.30.22 PM.png

All three graphs have the same period (2π) and midline (y=0), but the graph of f has amplitude 2, and the graph of g has amplitude 0.5.

The amplitude of y=Asint is given by |A|, and the same is true of y=Acost. In the next exercise, remember that the amplitude is always a nonnegative number.

Checkpoint 7.2

Compare the graphs of f(x)=3cosx and g(x)=3cosx with the graph of y=cosx.

Answer

Both graphs have amplityde 3. The graph of g(x)=3cosx is reflected about the x-axis.

Next we'll consider changes in the period of the graph.

Example 7.3

Compare the graphs of f(x)=cos2x and g(x)=cos13x with the graph of y=cosx.

Answer

With your calculator set in radian mode, graph f(x)=cos2x and y=cosx in the same window, as shown below.

Screen Shot 2023-01-09 at 9.39.19 PM.png

Both graphs have the same amplitude (1) and midline (y=0), but the graph of f completes two cycles from 0 to 2π instead of one. The period of f(x)=cos2x is 2π2=π.

Now graph g(x)=cos13x and y=cosx in the same window. Set Xmin = 0 and Xmax =6 π.

Screen Shot 2023-01-09 at 9.40.45 PM.png

The graph of g(x)=cos13x completes one cycle between 0 and 6π. Its period is 2π13=6π.

The period of y=cosBt is given by 2π|B|, and the same is true of y=sinBt.

Checkpoint 7.4

a Compare the graph of f(x)=sin3x with the graph of y=sinx. Use the window Xmin=0,Xmax=2π,Ymin=2,Ymax=2.

b Compare the graph of g(x)=sin14x with the graph of y=sinx. Use the window Xmin=0,Xmax=8π,Ymin=2,Ymax=2.

Answer

a The graph of f completes 3 cycles from 0 to 2π. Its period is 2π3.

b The graph of g completes one cycle from 0 to 8π. Its period is 8π.

Next we’ll consider changes in midline.

Example 7.5

Compare the graph of f(x)=2+sinx with the graph of y=sinx.

Answer

Graph both functions in the ZTrig window. The graphs are shown below.

Screen Shot 2023-01-09 at 9.55.06 PM.png

Each point on the graph of f(x)=2+sinx has y-coordinate 2 units higher than the corresponding point on the graph of y=sinx. Thus, the graph of f(x)=2+sinx is shifted vertically by 2 units relative to the graph of y=sinx. In particular, the midline of f(x)=2+sinx is the line y=2.

Checkpoint 7.6

Compare the graph of g(x)=3+cosx with the graph of y=cosx.

Answer

The graph of g is shifted down 3 units. Its midline is y=3.

Here is a summary of our findings.

Amplitude, Period, and Midline of Sinusoidal Functions.

1 The graph of

y=Acosx or y=Asinx

has amplitude |A|.

2 The graph of

y=cosBx or y=sinBx

has period 2πB.

3 The graph of

y=k+cosx or y=k+sinx

has midline y=k.

Graphs of Sinusoidal Functions

The values of the parameters A,B, and k determine the shape of the graphs of

y=k+AsinBx or y=k+AcosBx

By adjusting the amplitude, period, and midline of the sine or cosine graph, we can sketch these sinusoidal functions.

Example 7.7

a State the amplitude, period, and midline of y=2+3cos4t.

b Sketch by hand a graph of y=2+3cos4t.

Answer

a The amplitude of the graph is 3, its midline is y=2, and its period is 2π4=π2.

b One way to make a quick sketch of a sinusoidal graph is to use a table of values. The trick is to choose convenient values for the input variable. In the table below, notice that we choose the quadrantal angles as the input values for the trigonometric function.

t 4t cos4t 3cos4t y=2+cos4t
  0 1    
  π2 0    
  π -1    
  3π2 0    
  2π 1    

Now we work backwards from 4t to find the values of t, and forwards from cos4t to find the values of y.

t 4t cos4t 3cos4t y=2+cos4t
0 0 1 3 5
π8 π2 0 0 2
π4 π -1 -3 -1
3π8 3π2 0 0 2
π2 2π 1 3 5

Notice from the table that the graph completes one cycle from t=0 to t=π2, which confirms that the period is π2. Finally, we plot the points (t,y) from the table, and use them as "guidepoints" to sketch a sinusoidal graph, as shown below.

Screen Shot 2023-01-09 at 10.13.54 PM.png

Checkpoint 7.8

a State the amplitude, period, and midline of the graph of y=42sint3.

b Complete the table and sketch a graph of y=42sint3.

t t3 sint3 2sint3 y=42sint3
  0      
  π2      
  π      
  3π2      
  2π      
Screen Shot 2023-01-09 at 10.19.10 PM.png
Answer

a Amplitude: 2, period: 6π, midline: y=4.

t t3 sint3 2sint3 y=42sint3
0 0 0 0 4
3π2 π2 1 -2 2
3π π 0 0 4
9π2 3π2 -1 2 6
6π 2π 0 0 4

Screen Shot 2023-01-09 at 10.20.25 PM.png

Modeling with Sinusoidal Functions

Sinusoidal functions are used to model a great variety of physical phenomena, including sound and light waves, tides and planetary orbits, and the life cycles of plants and animals. They are also often used to approximate periodic functions that are not exactly sinusoidal, such as blood pressure.

Example 7.9

A typical blood pressure for a healthy adult, measured in millimeters of mercury, varies between 70 and 110, and a typical heart rate is 60 beats per minute. Write a sinusoidal function that approximates blood pressure, and sketch its graph.

Answer

We would like a function of the form y=k+asinBt, so we must find the values of the parameters A,B and k.

  • The midline of the graph is y=70+1102=90, and the amplitude is 11090=20, so A=20 and k=90.
  • The graph repeats 60 times per minute, so the period is 160 minute, and B=2π160=120π

Thus,

y=90+20sin120πt

The graph of the function is shown below.

Screen Shot 2023-01-09 at 10.24.51 PM.png

Note 7.10 In Example 5, we could have chosen either a sine or a cosine function to model blood pressure; both describe the periodic behavior described. However, if we are given, or would like to specify, the starting point for a sinusoidal function, one choice can be more suitable than the other. Consider the functions graphed below.

Screen Shot 2023-01-09 at 10.25.30 PM.png

All four functions have the same amplitude and period, but they start at different points on the cycle.

  • The graphs in (a) and (b) start on the midline, so they are best modeled by sine functions.
  • The graph in (b) starts out decreasing instead of increasing, so the coefficient A is negative.
  • The graph in (c) is modeled by a cosine, because it starts at the maximum point, and the graph in (d) starts at the minimum point, so we choose a negative cosine to model it.

(In Section 7.2, we’ll consider sinusoidal functions that start at other positions on the cycle.)

In Exercise 5, note the starting point of the graph, and choose the most appropriate sinusoidal function to model the function.

Checkpoint 7.11

The graph below shows the voltage of a generator, as seen on an oscilloscope.

a Write a sinusoidal function for the voltage level.

b What is the frequency of the signal, in cycles per second?

Screen Shot 2023-01-09 at 10.27.53 PM.png

Answer

a y=35cos100πt

b 50 cycles per second

The Tangent Function

The transformations of shifting and stretching can be applied to the tangent function as well. The graph of y=tanx does not have an amplitude, but we can see any vertical stretch by comparing the function values at the guidepoints.

Example 7.12

1. Graph y=1+3tan2x.

2. Describe the transformations of the graph, compared to y=tanx.

Answer

a Recall that the period of the tangent function is π. We make a table of values for one cycle of the function, choosing multiples of π4 as the inputs for the tangent function. Then we plot the guidepoints, and sketch a tangent function through them. The graph is shown below.

x 2x tan2x 1+3tan2x
0 0 0 1
π8 π4 1 4
π4 π2 --- ---
3π8 3π4 -1 -2
π2 π 0 1

Screen Shot 2023-01-09 at 10.36.05 PM.png

b Writing the formula as

y=AtanBx+k=3tan2x+1

we see that the graph is stretched vertically by a factor of A=3. The midline is y=1, so the graph is shifted up by 1 unit. Finally, the coefficient B=2 compresses the graph horizontally by a factor of 2, so the period of the graph is π2, and there are four cycles between 0 and 2π

Checkpoint 7.13

a Identify the midline and period of the tangent graph shown below.

Find an equation of the form

y=AtanBx+k

Screen Shot 2023-01-09 at 10.39.30 PM.png

b for the graph.

Answer

a Midline: y=2, period = 2

b y=3+2tanπx

Review the following skills you will need for this section.

Algebra Refresher 7.1

Complete the table.

1.
t 0 π2 π 3π2 2π
t+π6          
2.
t 0 π2 π 3π2 2π
tπ6          
3.
x 0 π2 π 3π2 2π
xπ3          
4.
x 0 π2 π 3π2 2π
x+π3          
Answer
1.
t 0 π2 π 3π2 2π
t+π6 π6 2π3 7π6 5π3 13π6
2.
t 0 π2 π 3π2 2π
tπ6 π6 π3 5π6 4π3 11π6
3.
x 0 π2 π 3π2 2π
xπ3 π3 π6 2π3 7π6 5π3
4.
x 0 π2 π 3π2 2π
x+π3 π3 5π6 4π3 11π6 7π3

Section 7.1 Summary

Vocabulary

• Transformation

• Amplitude

• Period

• Midline

Concepts

1 Changes to the amplitude, period, and midline of the basic sine and cosine graphs are called transformations. Changing the midline shifts the graph vertically, changing the amplitude stretches or compresses the graph vertically, and changing the period stretches or compresses the graph horizontally.

Amplitude, Period, and Midline of Sinusoidal Functions.

2

1 The graph of

y=Acosx or y=Asinx

has amplitude |A|.

2 The graph of

y=cosBx or y=sinBx

has period 2πB.

3 The graph of

y=k+cosx or y=k+sinx

has midline y=k.

3 One way to make a quick sketch of a sinusoidal graph is to use a table of values. The trick is to choose convenient values for the input variable.

4 The transformations of shifting and stretching can be applied to the tangent function as well.

Study Questions

1 Count from 0 to 2π by multiples of π4.
2 Count from 0 to 2π by multiples of π6.
3 Transformationhe maximum value of a certain sinusoidal function is M, and its minimum value is m. What is the midline of the function? What is its amplitude?
4 f(x)=k+Atanx, and f(0)=4,f(π4)=6. What are the values of k and A?

Skills

1 Identify the amplitude, period, and midline of a circular function #1–8, 23–30

2 Graph a circular function #9–16, 31–44

3 Find a formula for the graph of a circular function #17–30

4 Model periodic phenomena with circular functions #45–52

5 Graph transformations of the tangent function #535–8

6 Solve trigonometric equations graphically #59–70

Homework 7-1

For Problems 1–8, state the amplitude, period, and midline of the graph.

1. y=3+2sinx

2. y=43cosx

3. y=cos4x

4. y=sin3x

5. y=5sinx3

6. y=6cosx2

7. y=1cosπx

8. y=2+sin2πx

In Problems 9–16, we use transformations to sketch graphs of the functions in Problems 1–8. Sketch one cycle of each graph by hand and label scales on the axes.

9.

a y=sinx

b y=2sinx

c y=3+2sinx

10.

a y=cosx

b y=3cosx

c y=43cosx

11.

a y=cosx

b y=cos4x

c y=cosx

12.

a y=sinx

b y=sin3x

c y=sin3x

13.

a y=sinx

b y=sinx3

с y=5sinx3

14.

a y=cosx

b y=cosx2

c y=6cosx2

15.

a y=cosx

b y=cosπx

c y=1cosπx

16.

a y=sinx

b y=sin2πx

c y=2+sin2πx

For Problems 17–22, write an equation for the graph using sine or cosine.

17. Screen Shot 2023-01-10 at 11.32.46 PM.png

18. Screen Shot 2023-01-10 at 11.32.53 PM.png

19. Screen Shot 2023-01-10 at 11.32.58 PM.png

20. Screen Shot 2023-01-10 at 11.33.04 PM.png

21. Screen Shot 2023-01-10 at 11.33.11 PM.png

22. Screen Shot 2023-01-10 at 11.33.16 PM.png

For Problems 23–30,

a State the amplitude, period, and midline of the graph.

b Write an equation for the graph using sine or cosine.

23. Screen Shot 2023-01-10 at 11.41.03 PM.png

24. Screen Shot 2023-01-10 at 11.41.08 PM.png

25. Screen Shot 2023-01-10 at 11.41.15 PM.png

26. Screen Shot 2023-01-10 at 11.41.21 PM.png

27. Screen Shot 2023-01-10 at 11.41.30 PM.png

28. Screen Shot 2023-01-10 at 11.41.38 PM.png

29. Screen Shot 2023-01-10 at 11.41.45 PM.png

30. Screen Shot 2023-01-10 at 11.41.53 PM.png

In Problems 31–36, we use a table of values to sketch circular functions.

a Complete the table of values for the function.

b Sketch a graph of the function and label the scales on the axes.

31. y=25cos2t

t 2t cos2t 5cos2t 25cos2t
  0      
  π2      
  π      
  3π2      
  2π      

Screen Shot 2023-01-10 at 11.51.10 PM.png

32. y=2+4sin3t

t 3t sin3t 4sin3t 2+4sin3t
  0      
  π2      
  π      
  3π2      
  2π      

Screen Shot 2023-01-10 at 11.51.10 PM.png

33. y=1+3cost2

t t2 cost2 3cost2 1+3cost2
  0      
  π2      
  π      
  3π2      
  2π      

Screen Shot 2023-01-10 at 11.51.10 PM.png

34. y=23sint4

t t4 sint4 3sint4 23sint4
  0      
  π2      
  π      
  3π2      
  2π      

Screen Shot 2023-01-10 at 11.51.10 PM.png

35. y=3+2sint3

         
         
         
         
         
         

Screen Shot 2023-01-10 at 11.51.10 PM.png

36. y=1+4cost6

         
         
         
         
         
         

Screen Shot 2023-01-10 at 11.51.10 PM.png

For Problems 37–44, label the scales on the axes for the graph.

37. y=34sin2x

Screen Shot 2023-01-10 at 11.56.33 PM.png

38. y=2cos5x+2

Screen Shot 2023-01-10 at 11.56.43 PM.png

39. y=12sin3x+32

Screen Shot 2023-01-10 at 11.56.51 PM.png

40. y=25cos6x+45

Screen Shot 2023-01-10 at 11.56.59 PM.png

41. 5030sinx4

Screen Shot 2023-01-10 at 11.57.08 PM.png

42. 25cosx3+15

Screen Shot 2023-01-10 at 11.57.21 PM.png

43. y=4sinπx3

Screen Shot 2023-01-10 at 11.57.29 PM.png

44. y=12cosπx2+2

Screen Shot 2023-01-10 at 11.57.37 PM.png

45. The height of the tide in Cabot Cove can be approximated by a sinusoidal function. At 5 am on July 23, the water level reached its high mark at the 20-foot line on the pier, and at 11 am, the water level was at its lowest at the 4-foot line.

a Sketch a graph of W(t), the water level as a function of time, from 5 am on July 23 to 5 am on July 24.

b Write an equation for the function.

46. The population of mosquitoes at Marsh Lake is a sinusoidal function of time. The population peaks around June 1 at about 6000 mosquitoes per square kilometer, and is smallest on December 1, at 1000 mosquitoes per square kilometer.

a Sketch a graph of M(t), the number of mosquitoes as a function of the month, where t=0 on June 1.

b Write an equation for the function.

47. The paddlewheel on the Delta Queen steamboat is 28 feet in diameter, and is rotating once every ten seconds. The bottom of the paddlewheel is 4 feet below the surface of the water.

a The ship's logo is painted on one of the paddlewheel blades. At t=0, the blade with the logo is at the top of the wheel. Sketch a graph of the logo's height above the water as a function of t.

b Write an equation for the function.

48. Delbert’s bicycle wheel is 24 inches in diameter, and he has a light attached to the spokes 10 inches from the center of the wheel. It is dark, and he is cycling home slowly from work. The bicycle wheel makes one revolution every second.

a At t=0, the light is at its highest point the bicycle wheel. Sketch a graph of the light's height as a function of t.

b Write an equation for the function.

For Problems 49–52, write an equation for the sinusoidal function whose graph is shown.

49. The number of hours of daylight in Salt Lake City varies from a minimum of 9.6 hours on the winter solstice to a maximum of 14.4 hours on the summer solstice. Time is measured in months, starting at the winter solstice.

Screen Shot 2023-01-11 at 12.03.07 AM.png

50. A weight is 6.5 feet above the floor, suspended from the ceiling by a spring. The weight is pulled down to 5 feet above the floor and released, rising past 6.5 feet in 0.5 seconds before attaining its maximum height of feet. The weight oscillates between its minimum and maximum height.

Screen Shot 2023-01-11 at 12.03.14 AM.png

51. The voltage used in U.S. electrical current changes from 155V to 155V and back 60 times each second.

Screen Shot 2023-01-11 at 12.03.22 AM.png

52. Although the moon is spherical, what we see from earth looks like a disk, sometimes only partly visible. The percentage of the moon’s disk that is visible varies between 0 (at new moon) to 100 (at full moon), over a 28-day cycle.

Screen Shot 2023-01-11 at 12.04.21 AM.png

For Problems 53–58,

a Make a table of values and sketch a graph of the function.

b Give its period and midline.

53. y=tan2x

54. y=tan4x

55. y=4+2tan3x

56. y=3+12tan2x

57. y=3tanx4

58. y=12tanx3

For Problems 59-64, use the graph to find all solutions between 0 and 2π.

59. 3cos4x=1.5

Screen Shot 2023-01-11 at 12.09.02 AM.png

60. 2sin3x=2

Screen Shot 2023-01-11 at 12.09.07 AM.png

61. 2+3sin2x=0.5

Screen Shot 2023-01-11 at 12.09.17 AM.png

62. 2+4cos2x=4

Screen Shot 2023-01-11 at 12.09.26 AM.png

63. 3+tan3x=2

Screen Shot 2023-01-11 at 12.09.36 AM.png

64. 2+tany4x=3

Screen Shot 2023-01-11 at 12.09.41 AM.png

For Problems 65–70,

a Use a calculator to graph the function for 0x2π.

b Use the intersect feature to find all solutions between 0 and 2π. Round your answers to hundredths.

65.

a f(x)=3sin2x

b 3sin2x=1.5

66.

a g(x)=2cos3x

b 2cos3x=1

67.

a h(x)=24cosx4

b 24cosx4=0

68.

a H(x)=3+2sinx2

b 3+2sinx2=5

69.

a G(x)=1+3cos3x

b 1+3cos3x=1

70.

a F(x)=43sin2x

b 43sin2x=2.5


This page titled 7.0: Transformations of Graphs is shared under a GNU Free Documentation License 1.3 license and was authored, remixed, and/or curated by Katherine Yoshiwara via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?