Login
📚 Trigonometry
Chapters ▾

7.1 Transformations of Graphs

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.

Function graph showing y = sin(x), y = a*sin(x) + k and y = k. Adjustable parameters: Amplitude a (a) = 2, Midline k (k) = 0. Viewing window: x from -8.26 to 8.26, y from -5.11 to 5.11.
The transformations this section studies, applied live to y = a sin x + k against the basic graph y = sin x (gray). The slider a stretches the wave vertically: the amplitude is |a|, and dragging a negative reflects the graph about its midline — compare a = 2 with a = −2. The slider k slides the whole wave up or down: the dashed line y = k is the midline, and the graph always stays within |a| of it. Neither slider changes where the wave crosses its midline — the period stays 2π — which is exactly why amplitude, midline, and period are three independent transformations.
  • 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.

The amplitude of   y = A sin ( t )   is given by | A | , and the same is true of   y = A cos ( t ) . In the next exercise, remember that the amplitude is always a nonnegative number.

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

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

cosines

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

The period of   y = cos ( B t )   is given by 2 π | B | , and the same is true of   y = sin ( B t ) .

  1. Compare the graph of   f ( x ) = sin ( 3 x )   with the graph of   y = sin ( x )   for 0 x 2 π .
  2. Compare the graph of   g ( x ) = sin ( 1 4 x )   with the graph of   y = sin ( x )   for 0 x 8 π .
  1. The graph of f completes 3 cycles from 0 to 2 π . Its period is 2 π 3 .
  2. The graph of g completes one cycle from 0 to 8 π . Its period is 8 π .

Next we'll consider changes in midline.

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

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

Here is a summary of our findings.

Graphs of Sinusoidal Functions

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

y = k + A sin ( B x )         or         y = k + A cos ( B x )

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

  1. State the amplitude, period, and midline of the graph of   y = 4 2 sin ( t 3 ) .
  2. Complete the table and sketch a graph of   y = 4 2 sin ( t 3 ) .
    t t 3 sin ( t 3 ) 2 sin ( t 3 ) y = 4 2 sin ( t 3 )
    00 0 0000 0000 0000
    π 2 0000 0000 0000
    π 0000 0000 0000
    3 π 2 0000 0000 0000
    2 π 0000 0000 0000
    grid
  1. Amplitude: 2, period: 6 π , midline: y = 4 .
  2. t t 3 sin ( t 3 ) 2 sin ( t 3 ) y = 4 2 sin ( t 3 )
    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
    Graph of y=4-2sin(t/3)

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.

(In The General Sinusoidal Function, we'll consider sinusoidal functions that start at other positions on the cycle.)

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

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

  1. Write a sinusoidal function for the voltage level.
  2. What is the frequency of the signal, in cycles per second?
sinusoidal function
  1. y = 35 cos ( 100 π t )
  2. 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 = tan x   does not have an amplitude, but we can see any vertical stretch by comparing the function values at the guidepoints.

  1. Identify the midline and period of the tangent graph shown below.
  2. Find an equation of the form

    y = A tan ( B x ) + k

    for the graph.

    transformed tangent graph
  1. Midline: y = 2 , period = 1
  2. y = 3 + 2 tan ( π x )

Review the following skills you will need for this section.

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.
  2. 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.
  3. 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 + A tan ( x ) , 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.

y = 3 + 2 sin ( x )

amplitude 2 , period 2 π , midline y = 3

y = 4 3 cos ( x )

y = cos ( 4 x )

amplitude 1 , period π 2 , midline y = 0

y = sin ( 3 x )

y = 5 sin ( x 3 )

amplitude 5 , period 6 π , midline y = 0

y = 6 cos ( x 2 )

y = 1 cos ( π x )

amplitude 1 , period 2 , midline y = 1

y = 2 + sin ( 2 π 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.

  1. y = sin ( x )
  2. y = 2 sin ( x )
  3. y = 3 + 2 sin ( x )
transformations of sine graph
  1. y = cos ( x )
  2. y = 3 cos ( x )
  3. y = 4 3 cos ( x )
  1. y = cos ( x )
  2. y = cos ( 4 x )
  3. y = cos ( x )
transformations of cosine
  1. y = sin ( x )
  2. y = sin ( 3 x )
  3. y = sin ( 3 x )
  1. y = sin ( x )
  2. y = sin ( x 3 )
  3. y = 5 sin ( x 3 )
transformations of sine
  1. y = cos ( x )
  2. y = cos ( x 2 )
  3. y = 6 cos ( x 2 )
  1. y = cos ( x )
  2. y = cos ( π x )
  3. y = 1 cos ( π x )
cosine transformations
  1. y = sin ( x )
  2. y = sin ( 2 π x )
  3. y = 2 + sin ( 2 π x )

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

sinusoidal graph

y = 2 sin ( x )

sinusoidal graph
sinusoidal graph

y = 2 cos ( x )

sinusoidal graph
sinusoidal graph

y = 0.75 cos ( x )

sinusoidal graph

For Problems 23–30,

  1. State the amplitude, period, and midline of the graph.
  2. Write an equation for the graph using sine or cosine.
sinusoidal graph
  1. amplitude 2 , period 2 π 3 , midline y = 0
  2. y = 2 sin ( 3 x )
sinusoidal graph
sinusoidal graph
  1. amplitude 3 , period 2 π , midline y = 0
  2. y = 3 sin ( x 2 )
sinusoidal graph
sinusoidal graph
  1. amplitude 0.5 , period 4 π , midline y = 3.5
  2. y = 0.5 cos ( x 2 ) + 3.5
sinusoidal graph
sinusoidal graph
  1. amplitude 2 , period 4 , midline y = 1
  2. y = 1 + 2 sin ( π x 2 )
sinusoidal graph

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

  1. Complete the table of values for the function.
  2. Sketch a graph of the function and label the scales on the axes.

y = 2 5 cos ( 2 t )

t 2 t cos ( 2 t ) 5 cos ( 2 t ) 2 5 cos ( 2 t )
0000 0 0000 0000 0000
0000 π 2 0000 0000 0000
0000 π 0000 0000 0000
0000 3 π 2 0000 0000 0000
0000 2 π 0000 0000 0000
grid
  1. t 2 t cos ( 2 t ) 5 cos ( 2 t ) 2 5 cos ( 2 t )
    0 0 1 5 3
    π 4 π 2 0 0 2
    π 2 π 1 5 7
    3 π 4 3 π 2 0 0 2
    π 2 π 1 5 3
  2. sinusoidal graph

y = 2 + 4 sin ( 3 t )

t 3 t sin ( 3 t ) 4 sin ( 3 t ) 2 + 4 sin ( 3 t )
0000 0 0000 0000 0000
0000 π 2 0000 0000 0000
0000 π 0000 0000 0000
0000 3 π 2 0000 0000 0000
0000 2 π 0000 0000 0000
grid

y = 1 + 3 cos ( t 2 )

t t 2 cos ( t 2 ) 3 cos ( t 2 ) 1 + 3 cos ( t 2 )
0000 0 0000 0000 0000
0000 π 2 0000 0000 0000
0000 π 0000 0000 0000
0000 3 π 2 0000 0000 0000
0000 2 π 0000 0000 0000
grid
  1. t t 2 cos ( t 2 ) 3 cos ( t 2 ) 1 + 3 cos ( t 2 )
    0 0 1 3 4
    π π 2 0 0 1
    2 π π 1 3 2
    3 π 3 π 2 0 0 1
    4 π 2 π 1 3 4
  2. sinusoidal graph

y = 2 3 sin ( t 4 )

t t 4 sin ( t 4 ) 3 sin ( t 4 ) 2 3 sin ( t 4 )
0000 0 0000 0000 0000
0000 π 2 0000 0000 0000
0000 π 0000 0000 0000
0000 3 π 2 0000 0000 0000
0000 2 π 0000 0000 0000
grid

y = 3 + 2 sin ( t 3 )

0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
grid
  1. t t 3 sin ( t 3 ) 2 sin ( t 3 ) 3 + 2 sin ( t 3 )
    0 0 0 0 3
    3 π 2 π 2 1 2 1
    3 π π 0 0 3
    9 π 2 3 π 2 1 2 5
    6 π 2 π 0 0 3
  2. sinusoidal graph

y = 1 + 4 cos ( t 6 )

0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
0000 0000 0000 0000 0000
grid

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

y = 3 4 sin ( 2 x )

sinusoidal graph, no scale on axes
sinusoidal graph

y = 2 cos ( 5 x ) + 2

sinusoidal graph

y = 1 2 sin ( 3 x ) + 3 2

sinusoidal graph, no scale
sinusoidal graph

y = 2 5 cos ( 6 x ) + 4 5

sinusoidal graph

50 30 sin ( x 4 )

sinusoidal graph, no scale
sinusoidal graph

25 cos ( x 3 ) + 15

sinusoidal graph

y = 4 sin ( π x ) 3

sinusoidal graph
sinusoidal graph

y = 1 2 cos ( π x 2 ) + 2

sinusoidal graph

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.

  1. 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.
  2. Write an equation for the function.
  1. sinusoidal graph
  2. W ( t ) = 12 + 8 cos ( π t 6 )

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.

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

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.

  1. 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 heightabove the water as a function of t .
  2. Write an equation for the function.
  1. sinusoidal graph
  2. h = 10 + 14 cos ( π t 5 )

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.

  1. 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 .
  2. Write an equation for the function.

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

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.

sinusoidal graph

H = 12 2.4 cos ( π t 6 )

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 second before attaining its maximum height of 8 feet. The weight oscillates between its minimum and maximum height.

sinusoidal graph

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

voltage

y = 155 cos ( 120 π t )

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.

sinusoidal graph

For Problems 53–58,

  1. Make a table of values and sketch a graph of the function.
  2. Give its period and midline.

y = tan ( 2 x )

  1. x π 4 π 8 0 π 8 π 4
    tan 2 x undef 1 0 1 undef
    transformed tangent function
  2. period π 2 , midline y = 0

y = tan ( 4 x )

y = 4 + 2 tan ( 3 x )

  1. x π 6 π 12 0 π 12 π 6
    4 + 2 tan 3 x undef 2 0 6 undef
    transformed tangent graph
  2. period π 3 , midline y = 4

y = 3 + 1 2 tan ( 2 x )

y = 3 tan ( x 4 )

  1. x 2 π π 0 π 2 π
    3 tan ( x 4 ) undef 4 0 2 undef
    transformed tangent graph
  2. period 4 π , midline y = 3

y = 1 2 tan ( x 3 )

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

3 cos ( 4 x ) = 1.5

sinusoidal graph and horizontal line

π 12 ,   5 π 12 ,   7 π 12 ,   11 π 12 ,   13 π 12 ,   17 π 12 ,   19 π 12 ,   23 π 12

2 sin ( 3 x ) = 2

sinusoidal graph and horizontal line

2 + 3 sin ( 2 x ) = 0.5

sinusoidal graph and horizontal line

7 π 12 ,   11 π 12 ,   19 π 12 ,   23 π 12

2 + 4 cos ( 2 x ) = 4

sinusoidal graph and horizontal line

3 + tan ( 3 x ) = 2

transformed tangent and horizontal line

π 12 ,   5 π 12 ,   3 π 4 ,   13 π 12 ,   17 π 12 ,   7 π 4

2 + tan ( 4 x ) = 3

transformed tangent and horizontal line

For Problems 65–70,

  1. Use technology to graph the function for 0 x 2 π .
  2. Use the intersect feature to find all solutions between 0 and 2 π . Round your answers to hundredths.
  1. f ( x ) = 3 sin ( 2 x )
  2. 3 sin ( 2 x ) = 1.5

1.83 ,   2.88 ,   4.97 ,   6.02

  1. g ( x ) = 2 cos ( 3 x )
  2. 2 cos ( 3 x ) = 1
  1. h ( x ) = 2 4 cos ( x 4 )
  2. 2 4 cos ( x 4 ) = 0

4.19

  1. H ( x ) = 3 + 2 sin ( x 2 )
  2. 3 + 2 sin ( x 2 ) = 5
  1. G ( x ) = 1 + 3 cos ( 3 x )
  2. 1 + 3 cos ( 3 x ) = 1

0.28 ,   1.81 ,   2.37 ,   3.91 ,   4.47 ,   6.00

  1. F ( x ) = 4 3 sin ( 2 x )
  2. 4 3 sin ( 2 x ) = 2.5

Trigonometry by Katherine Yoshiwara (yoshiwarabooks.org), GNU Free Documentation License 1.2 or later. Adapted for the XYZ HTML edition with the authors' permission (recorded 2026-07-04). License: GFDL-1.2-or-later.