Login
📚 Trigonometry
Chapters ▾

4.2 Graphs of Trigonometric Functions

A Periodic Function of Angle

Imagine that you are riding on a Ferris wheel. As the wheel turns, your height above the ground increases and then decreases again, repeating the same pattern each time the Ferris wheel makes a complete rotation. This pattern is an example of a periodic function. We use periodic functions to model phenomena that exhibit cyclical behavior, such as the height of tides, seasonal patterns of growth in plants and animals, radio waves, and planetary motion.

Function graph showing the parametric curve (10*cos(t), 11 + 10*sin(t)) for t in [0, 6.28], the parametric curve (t*10*cos(a*pi/180), 11 + t*10*sin(a*pi/180)) for t in [0, 1], the parametric curve (10*cos(a*pi/180) + 0.7*cos(t), 11 + 10*sin(a*pi/180) + 0.7*sin(t)) for t in [0, 6.28] and the parametric curve (10*cos(a*pi/180), t*(11 + 10*sin(a*pi/180))) for t in [0, 1]. Adjustable parameter: Angle turned (a) = 30 °. Viewing window: x from -20 to 20, y from -1.37 to 23.37.
The Ferris wheel this paragraph imagines: a wheel of radius 10 meters whose hub sits 11 meters up. Drag the angle slider to ride: your height above the ground is 11 + 10 sin(a°), climbing to 21 meters at the top of the wheel (a = 90°) and dipping to 1 meter at the bottom (a = 270°). Keep dragging past 360° — the same heights return in the same order, once each full turn. That repetition, the same output every 360° of input, is what the section goes on to name a periodic function, and it is the reason the graph of sin θ you are about to meet is a wave.

We'll create a mathematical model for a ride on a Ferris wheel that has a radius of 100 feet and rotates counterclockwise. Our model will be a function that describes your height above the ground as you ride the wheel. In order to graph the Ferris wheel function, we must first specify the input and output variables, and then choose a coordinate system to display their values.

We'll place the origin at the center of the Ferris wheel. Then the line from the origin to your position on the wheel makes an angle with the horizontal, as shown at right. This angle, θ , will be the input variable for the function. Your height, h , is also a variable, and is related to the y -coordinate of your position; in fact, we see that h = y + 100 , because the center of the wheel is 100 feet above the ground.

ferris wheel

To simplify the model, we'll first graph y as the output variable, instead of h . As the angle θ increases from 0 to 90 , your y -coordinate increases from 0 to 100. You are then at the top of the wheel. Then, as θ increases from 90 to 180 , your y -coordinate decreases from 100 back to 0.

ferris wheel and sine function

Finally, as θ increases from 180 to 360 , your y -coordinate decreases from 0 to 100 and then increases from 100 back to 0. You have made one complete rotation on the Ferris wheel. If you go around again, θ increases from 360 to 720 , and the graph of your y -coordinate will repeat the pattern of the first rotation. The figure above shows how your y -coordinate is plotted as a function of the angle θ .

Look back at the diagram of the Ferris wheel and notice that   sin ( θ ) = y 100 , so

y = 100 sin ( θ )

For example, when θ = 30 , the y -coordinate is

y = 100 sin ( 30 ) = 100 ( 1 2 ) = 50

and your height above the ground is

h = y + 100 = 150     feet

ferris wheel at 30 degrees

In general, then, h is given as a function of θ by

h = y + 100 = 100 sin ( θ ) + 100

This is our model for your height on a Ferris wheel ride.

The Sine Function

Our Ferris wheel model used values of sin ( θ ) , so let us explore its properties. Remember that the trigonometric ratio sin ( θ ) is actually a function of the angle θ . Thus, for each value of θ , there is only one value of sin ( θ ) , and we may write f ( θ ) = sin ( θ ) .

If we continue the graph for angles larger than 360 or smaller than 0 , we find that the same pattern repeats, as shown below. This should not be surprising, because we know that coterminal angles have the same trigonometric ratios.

sine graph

The sine is an example of a periodic function. The smallest interval on which the graph repeats is called the period of the graph. From the graph in the previous example, we make the following observations:

You can use your calculator to graph the sine function, by entering

Y 1 = SIN   X , T , θ , n

and pressing ZOOM 7 for the trig window. The graph shows two periods of the sine function, from θ = 360 to θ = 360 .

Your height h on the Ferris wheel is a function of θ ,

h = 100 + y = 100 + 100 sin ( θ )

  1. Complete the table of values and graph the Ferris wheel function, h = F ( θ ) .
    θ 0 30 60 90 120 150 180
    sin ( θ ) 0000 0000 0000 0000 0000 0000 0000
    h = F ( θ ) 0000 0000 0000 0000 0000 0000 0000
    θ 210 240 270 300 330 360
    sin ( θ ) 0000 0000 0000 0000 0000 0000
    h = F ( θ ) 0000 0000 0000 0000 0000 0000
    grid
  2. Give the period, amplitude, and midline of the graph.
  1. θ 0 30 60 90 120 150 180
    sin ( θ ) 0 0.5 0.866 1.0 0.866 0.5 0
    h = F ( θ ) 100 150 186.6 200 186.6 150 100
    θ 210 240 270 300 330 360
    sin ( θ ) 0.5 0.866 1.0 0.866 0.5 0
    h = F ( θ ) 50 13.4 0 13.4 50 100
    sine graph
  2. Period: 360 , amplitude: 100, midline: h = 100

The Cosine Function

In the previous exercise you graphed the height of a person riding on a Ferris wheel. Your graph involved sin ( θ ) , because the sine function tells us the y -coordinate of a point that travels around a circle. The cosine function tells us the x -coordinate of a point that travels around a circle.

In the example above, the period is 360 , the amplitude is 18 cm, and the midline is d = 18 .

You can see that the cosine graph is similar to the sine graph, but they are not identical.

  1. Complete the table below with values rounded to two decimal places. Use the table and your knowledge of reference angles to graph the cosine function,   f ( θ ) = cos ( θ ) ,   from 180 to 540 .
    θ 0 10 20 30 40 50 60 70 80 90
    cos ( θ ) 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    grid
  2. Use your graph to find the period, amplitude, and midline of the cosine function. How does the graph of cosine differ from the graph of sine? (Hint: Consider the intercepts of the graph, and the location of the maximum and minimum values.)
  1. θ 0 10 20 30 40 50 60 70 80 90
    cos ( θ ) 1 0.98 0.94 0.87 0.77 0.64 0.50 0.34 0.17 0
    cosine graph
  2. Period: 360 , amplitude: 1 , midline: y = 0 . The cosine graph starts ( θ = 0 ) at its high point, while the sine graph starts ( θ = 0 ) at its midline.

Interlude: Review of Function Notation

Perhaps it is time to review our use of function notation. Recall that we use the notation   y = f ( x )   to indicate that y is a function of x , that is, x is the input variable and y is the output variable.

Of course, we don't always use x and y for the input and output variables. In the previous example, we could write   w = f ( t ) = 9 t 2   for the function, so that t is the input and w is the output. The table of values and the graph are the same; only the names of the variables have changed.

Sketch a graph of each function, and label the axes.

  1. d = F ( ϕ ) = sin ( ϕ )
  2. t = G ( β ) = cos ( β )

In particular, we label the axes with the given variables.

  1. sine graph
  2. cosine graph

The Tangent Function

The tangent function is periodic, but its graph is not similar to the graphs of sine and cosine. Recall that the tangent of an angle in standard position is defined by

tan ( θ ) = y x

Study the figure at right to see that as θ increases from 0 to 90 , y increases while x remains constant, so the value of tan ( θ ) increases.

Right triangles with a common base x and increasing y

Now let's consider the graph of f ( θ ) = tan ( θ ) in the third and fourth quadrants. The tangent is positive in the third quadrant, and negative in the fourth quadrant. In fact, from the figure below you can see that the angles θ and 180 + θ are vertical angles.

angles differing by 180 degrees
angles differing by 180 deg

Because θ and 180 + θ have the same reference angle, they have the same tangent. For example,

tan ( 200 ) = tan ( 20 ) tan ( 230 ) = tan ( 50 ) tan ( 250 ) = tan ( 70 )

Thus, the graph of tan ( θ ) in the third quadrant is the same as its graph in the first quadrant. Similarly, the graph of the tangent function in the fourth quadrant is the same as its graph in the second quadrant. The completed graph is shown below.

tangent graph
  1. What is the period of the tangent function?
  2. Does the graph of tangent have an amplitude?
  3. For what values of θ is tan ( θ ) undefined?
  4. Give the equations of any horizontal or vertical asymptotes for 0 θ 360 .
  1. 180
  2. No
  3. 90 ,   270 , and their coterminal angles
  4. The graph has vertical asymptotes at θ = 90 and θ = 270

Period, Midline and Amplitude

All sine and cosine graphs have the characteristic "wave" shape we've seen in previous examples. But we can alter the size and frequency of the waves by changing the formula for the function. In the next example we consider three variations of the sine function.

The graphs in the previous example illustrate a general rule about sine and cosine graphs.

Sketch a graph for each of the following functions. Describe how each is different from the graph of y = cos θ .

  1. h ( θ ) = 2 cos ( θ )
  2. g ( θ ) = cos ( 2 θ )
  3. f ( θ ) = 2 + cos ( θ )
  1. graph of 2 cosine

    The amplitude is 2.

  2. graph of cosine 2 theta

    The period is 180 .

  3. graph of 2+cosine

    The midline is y = 2 .

The quantities A , B , and k in the equations above are called parameters, and their values for a particular function give us information about its graph.

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

y = 1 3 sin ( 2 θ )

and graph the function.

Amplitude 3 , period 180 , midline y = 1

sinusoidal graph

Section 4.2 Summary

Vocabulary

  • Input variable
  • Output variable
  • Periodic function
  • Period
  • Midline
  • Amplitude
  • Asymptote

Concepts

  1. We use the notation y = f ( x ) to indicate that y is a function of x , that is, x is the input variable and y is the output variable.
  2. Periodic functions are used to model phenomena that exhibit cyclical behavior.
  3. The trigonometric ratios sin ( θ ) and cos ( θ ) are functions of the angle θ .
  4. The period of the sine function is 360 . Its midline is the horizontal line y = 0 , and the amplitude of the sine function is 1.
  5. The graph of the cosine function has the same period, midline, and amplitude as the graph of the sine function. However, the locations of the intercepts and of the maximum and minimum values are different.
  6. The tangent function has period 180 . It is undefined at odd multiples of 90 , and is increasing on each interval of its domain.

Study Questions

  1. Use the figure to help you fill in the blanks.

    circle
    1. As θ increases from 0 to 90 , f ( θ ) = sin ( θ ) ______ from ____ to ____.
    2. As θ increases from 90 to 180 , f ( θ ) = sin ( θ ) ______ from ____ to ____.
    3. As θ increases from 180 to 270 , f ( θ ) = sin ( θ ) ______ from ____ to ____.
    4. As θ increases from 270 to 360 , f ( θ ) = sin ( θ ) ______ from ____ to ____.
  2. Use the figure to help you fill in the blanks.

    circle
    1. As θ increases from 0 to 90 , f ( θ ) = cos ( θ ) ______ from ____ to ____.
    2. As θ increases from 90 to 180 , f ( θ ) = cos ( θ ) ______ from ____ to ____.
    3. As θ increases from 180 to 270 , f ( θ ) = cos ( θ ) ______ from ____ to ____.
    4. As θ increases from 270 to 360 , f ( θ ) = cos ( θ ) ______ from ____ to ____.
  3. List several ways in which the graph of y = tan θ is different from the graphs of y = sin ( θ ) and y = cos ( θ ) .
  4. State the period, midline, and amplitude of the graph of H = 5 + 0.2 cos ( 3 α ) .

Skills

  1. Sketch graphs of the sine and cosine functions #1-4, 9-10, 19-22
  2. Find the coordinates of points on a sine or cosine graph #5-8, 37-42
  3. Use function notation #11-18
  4. Graph the tangent function #23-24
  5. Write an equation for a sine or cosine graph #25-30, 49-66
  6. Graph a sine or cosine function and state the period, midline, and amplitude #31-36, 43-48

Homework 4.2

  1. Prepare a graph with the horizontal axis scaled from 0 to 360 in multiples of 45 .
  2. Sketch a graph of f ( θ ) = sin ( θ ) by plotting points for multiples of 45 .
sine graph
  1. Prepare a graph with the horizontal axis scaled from 0 to 360 in multiples of 45 .
  2. Sketch a graph of f ( θ ) = cos ( θ ) by plotting points for multiples of 45 .
  1. Prepare a graph with the horizontal axis scaled from 0 to 360 in multiples of 30 .
  2. Sketch a graph of f ( θ ) = cos ( θ ) by plotting points for multiples of 30 .
cosine graph
  1. Prepare a graph with the horizontal axis scaled from 0 to 360 in multiples of 30 .
  2. Sketch a graph of f ( θ ) = sin ( θ ) by plotting points for multiples of 30 .

For Problems 5–8, give the coordinates of each point on the graph of f ( θ ) = sin ( θ ) or f ( θ ) = cos ( θ ) .

sine graph
  1. ( 225 , 1 2 )
  2. ( 135 , 1 2 )
  3. ( 90 , 1 )
  4. ( 45 , 1 2 )
  5. ( 180 , 0 )
  6. ( 315 , 1 2 )
sine graph
cosine graph
  1. ( 240 , 1 2 )
  2. ( 210 , 3 2 )
  3. ( 60 , 1 2 )
  4. ( 30 , 3 2 )
  5. ( 120 , 1 2 )
  6. ( 270 , 0 )
cosine graph

Make a short table of values like the one shown, and sketch the function by hand. Be sure to label the x -axis and y -axis appropriately.

θ 0 90 180 270 360
f ( θ ) 0000 0000 0000 0000 0000
  1. f ( θ ) = sin ( θ )
  2. f ( θ ) = cos ( θ )
  1. θ 0 90 180 270 360
    f ( θ ) 0 1 0 1 0
    cosine graph
  2. θ 0 90 180 270 360
    f ( θ ) 1 0 1 0 1
    cosine graph

One of these graphs is y = A sin ( k θ ) , and the other is y = A cos ( k θ ) . Explain how you know which is which.

sinusoidal graphs

For Problems 11–18, evaluate the expression for f ( θ ) = sin ( θ ) and g ( θ ) = cos ( θ ) .

3 + f ( 30 )

7 2

3 f ( 30 )

4 g ( 225 ) 1

2 2 1

4 + 2 g ( 225 )

2 f ( 3 θ ) , for θ = 90

2

6 f ( θ 2 ) , for θ = 90

8 5 g ( θ 3 ) , for θ = 360

21 2

1 4 g ( 4 θ ) , for θ = 135

The graph shows your height as a function of angle as you ride the Ferris wheel. For each location A E on the Ferris wheel, mark the corresponding point on the graph.

circle and graph
sine graph

The graph shows your height as a function of angle as you ride the Ferris wheel. For each location F J on the graph, mark the corresponding point on the Ferris wheel.

circle and graph

The graph shows the horizontal displacement of your foot from the center of the chain gear as you pedal a bicycle. For each location K O on the chain gear, mark the corresponding point on the graph.

circle and graph
graph

The graph shows the horizontal displacement of your foot from the center of the chain gear as you pedal a bicycle. For each location P T on the graph, mark the corresponding point on the chain gear.

circle and graph
  1. Fill in the table for values of tan ( θ ) . Round your answers to three decimal places.
    θ 81 82 83 84 85 86 87 88 89
    tan ( θ ) 0000 0000 0000 0000 0000 0000 0000 0000 0000
  2. What happens to tan ( θ ) as θ increases toward 90 ?
  3. Fill in the table for values of tan ( θ ) . Round your answers to three decimal places.
    θ 99 98 97 96 95 94 93 92 91
    tan ( θ ) 0000 0000 0000 0000 0000 0000 0000 0000 0000
  4. What happens to tan ( θ ) as θ decreases toward 90 ?
  5. What value does your calculator give for tan ( 90 ) ? Why?
  1. θ 81 82 83 84 85 86 87 88 89
    tan ( θ ) 6.314 7.115 8.144 9.514 11.43 14.301 19.081 28.636 57.29
  2. tan ( θ )   approaches  
  3. θ 99 98 97 96 95 94 93 92 91
    tan ( θ ) 6.314 7.115 8.144 9.514 11.43 14.301 19.081 28.636 57.29
  4. tan ( θ )   approaches  
  5. The calculator gives an error message because tan ( 90 ) is undefined.
  1. Fill in the table with exact values of tan ( θ ) . Then give decimal approximations to two places.
    θ 0 30 45 60 90 120 135 150 180
    tan ( θ ) (exact) 0000 0000 0000 0000 0000 0000 0000 0000 0000
    tan ( θ ) (approx.) 0000 0000 0000 0000 0000 0000 0000 0000 0000
  2. Fill in the table with exact values of tan ( θ ) . Then give decimal approximations to two places.
    θ 180 210 225 240 270 300 315 330 360
    tan ( θ ) (exact) 0000 0000 0000 0000 0000 0000 0000 0000 0000
    tan ( θ ) (approx.) 0000 0000 0000 0000 0000 0000 0000 0000 0000
  3. Plot the points from the tables and sketch a graph of f ( θ ) = tan ( θ ) .
    tan grid

Write an equation for a sine function with amplitude 6.

y = 6 sin ( θ )

Write an equation for a cosine function with amplitude 1 2 .

Write an equation for a cosine function with midline 5 .

y = cos ( θ ) 5

Write an equation for a sine function with midline 2.

Write an equation for a sine function with period 90 .

y = sin ( 4 θ )

Write an equation for a cosine function with period 720 .

For Problems 31–36,

  1. Graph the function.
  2. State the amplitude, period and midline of the function.

y = 3 cos ( θ )

grid
graph of y = 3 cos theta

y = 4 sin ( θ )

grid

y = 3 + sin ( θ )

grid
graph of 3 + sin theta

y = 2 + cos ( θ )

grid

y = cos ( 3 θ )

grid
graph of cos 3 theta

y = sin ( 2 θ )

grid

For Problems 37–42, give the coordinates of the points on the graph.

f ( θ ) = 3 cos ( θ )

sinusoidal graph

A ( 0 , 3 ) ,   B ( 135 , 3 2 ) ,   C ( 300 , 3 2 )

f ( θ ) = 4 sin ( θ )

sinusoidal graph

f ( θ ) = sin ( 4 θ )

sinusoidal graph

P ( 112.5 , 1 ) ,   Q ( 180 , 0 ) ,   R ( 337.5 , 1 )

f ( θ ) = cos ( 3 θ )

triangle

f ( θ ) = 3 + cos ( θ )

sinusoidal graph

X ( 45 , 3 + 1 2 ) ,   Y ( 90 , 3 ) ,   Z ( 300 , 2 )

f ( θ ) = 1 + sin ( θ )

sinusoidal graph

For Problems 43–48, graph the function using technology. State the amplitude, period, and midline.

y = 3 + 4 cos ( θ )

amp = 4 , period = 360 , midline: y = 3

y = 4 + 3 sin ( θ )

y = 5 sin ( 2 θ )

amp = 5 , period = 180 , midline: y = 0

y = 6 cos ( 4 θ )

f ( θ ) = 4 + 3 sin ( 3 θ )

amp = 3 , period = 120 , midline: y = 4

f ( θ ) = 2 + 4 cos ( 3 θ )

For Problems 49–56,

  1. State the amplitude, period, and midline for the graph.
  2. Write an equation for the graph using sine or cosine.
sinusoidal graph
  1. amp = 1 , period = 90 , midline: y = 0
  2. y = sin ( 4 θ )
sinusoidal graph
sinusoidal graph
  1. amp = 1 , period = 360 , midline: y = 3
  2. y = 3 + cos ( θ )
sinusoidal graph
sinusoidal graph
  1. amp = 4 , period = 360 , midline: y = 2
  2. y = 2 + 4 sin ( θ )
sinusoidal graph
sinusoidal graph
  1. amp = 2 , period = 120 , midline: y = 2
  2. y = 2 + 2 cos ( 3 θ )
sinusoidal graph

For Problems 57–62, write the equation of a sine or cosine function with the given properties.

Midline y = 4 , amplitude 6 , period 120

y = 4 + 6 sin ( 3 θ ) (Answers vary)

Midline y = 5 , amplitude 3 2 , period 180

Maximum points at ( 0 , 5 ) and ( 360 , 5 ) , minimum point at ( 180 , 1 )

y = 3 + 2 cos ( θ ) (Answers vary)

Maximum point at ( 90 , 1 ) , minimum point at ( 270 , 3 )

Horizontal intercepts at 45 and 135 , vertical intercept at ( 0 , 12 )

y = 12 cos ( 2 θ ) (Answers vary)

Horizontal intercepts at 30 and 90 , vertical intercept at ( 0 , 8 )

For Problems 63–66, the table describes a sine or cosine function. Find an equation for the function.

θ 0 45 90 135 180 225 270 315 360
f ( θ ) 7 5.56 2 1.54 3 1.54 2 5.54 7

y = 2 + 5 cos ( θ )

θ 0 45 90 135 180 225 270 315 360
f ( θ ) 1 3.12 4 3.12 1 1.12 2 1.12 1
θ 0 45 90 135 180 225 270 315 360
f ( θ ) 0 2.83 4 2.83 0 2.83 4 2.83 0

y = 4 sin ( θ )

θ 0 45 90 135 180 225 270 315 360
f ( θ ) 9 6.36 0 6.36 9 6.36 0 6.36 9

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.