Grade by GradeEssential student suppliesSign in
C. Content · Pre-calculus 12: Transformations, Exponents and Logarithms, Series, Polynomials, Rational Functions and Trigonometry

Graphing Trigonometric Functions

BC PREC 12: trigonometry BC PREC 12: transformationsAbout 75 minutes
Learning goals
  • I can graph y = sin x, y = cos x and y = tan x in radians and describe their characteristics.
  • I can find the amplitude, period, phase shift and midline of y = a sin(b(x - c)) + d.
  • I can write and use a sinusoidal model for a situation such as a Ferris wheel or tides.

Words to know

periodic function
A function whose graph repeats in regular cycles.
amplitude
Half the distance between the maximum and minimum: |a|.
period
The horizontal length of one cycle: 2pi/|b| for sine and cosine.
phase shift
The horizontal translation c.
midline
The horizontal line y = d halfway between the maximum and minimum.

The parent graphs

As a point travels around the unit circle, its y-coordinate traces y = sin x and its x-coordinate traces y = cos x.

  • y = sin x and y = cos x: domain all real numbers, range -1 ≤ y ≤ 1, amplitude 1, period 2pi.
  • sin x starts at (0, 0) and rises; cos x starts at its maximum (0, 1).
  • y = tan x: period pi, range all real numbers, zeros at x = n pi, and vertical asymptotes at x = pi/2 + n pi, where cos x = 0.
xypi/2pi3pi/22pi-11y = sin xy = cos x (dashed)
y = sin x (solid) and y = cos x (dashed) from 0 to just past 2pi, a little more than one cycle. The cosine graph is the sine graph shifted pi/2 to the left.

Transformations

For y = a sin(b(x - c)) + d (and the same for cosine):

ParameterEffectExample: y = 3 sin(2(x - pi/4)) + 1
aamplitude |a|; reflection if a < 0amplitude 3
bperiod 2pi/|b|period 2pi/2 = pi
cphase shift (right if c > 0)pi/4 to the right
dmidline y = dmidline y = 1
togetherrange d - |a| ≤ y ≤ d + |a|-2 ≤ y ≤ 4
What each parameter does. For tangent, the period is pi/|b|.
Worked example

Example 1: Sketch from the equation

Sketch one cycle of y = 3 sin(2(x - pi/4)) + 1.

  1. Amplitude 3, period pi, phase shift pi/4 right, midline y = 1.
  2. One cycle runs from x = pi/4 to x = pi/4 + pi = 5pi/4. Split it into four quarters of length pi/4.
  3. Key points: (pi/4, 1) start on midline, (pi/2, 4) maximum, (3pi/4, 1) midline, (pi, -2) minimum, (5pi/4, 1) end.
  4. Check the maximum: x = pi/2 gives 3 sin(2 × pi/4) + 1 = 3 sin(pi/2) + 1 = 4 ✓

Range -2 ≤ y ≤ 4, one cycle from pi/4 to 5pi/4

xypi/4pi/23pi/4pi5pi/4-214midline y = 1
y = 3 sin(2(x - pi/4)) + 1, with the five key points of one cycle (pi/4 to 5pi/4) and the midline y = 1.
Worked example

Example 2: A Ferris wheel

A Ferris wheel has a diameter of 40 m, its centre is 22 m above the ground, and it turns once every 8 minutes. A rider gets on at the bottom. Write the height h(t) after t minutes and find when the rider first reaches 32 m.

  1. Amplitude 20 m, midline h = 22, period 8 min, so b = 2pi/8 = pi/4.
  2. Starting at the bottom (a minimum) fits a reflected cosine: h(t) = -20 cos(pi t/4) + 22.
  3. Check: h(0) = -20 + 22 = 2 m (bottom) and h(4) = 20 + 22 = 42 m (top) ✓
  4. 32 = -20 cos(pi t/4) + 22, so cos(pi t/4) = -1/2. The first angle is 2pi/3, so pi t/4 = 2pi/3 and t = 8/3.

h(t) = -20 cos(pi t/4) + 22; the rider first reaches 32 m after about 2.67 minutes

Factor out b for the phase shift

In y = sin(2x - pi), the phase shift is NOT pi. Factor first: sin(2(x - pi/2)), so the shift is pi/2 to the right.

Hands-on activity

Tide watch

Look up a tide table for a B.C. harbour (Fisheries and Oceans Canada publishes them online). Plot the predicted heights for one day. Is the graph roughly sinusoidal? Estimate its midline, amplitude and period (on most of the B.C. coast, high tides come roughly every 12.4 hours, though the two daily highs are often different heights). Write a sine model and compare it with the table.

Just for fun

Puzzle: on a clock, the height of the tip of the minute hand above the centre is a sine function of time. What is its period in minutes? (60.) And for the hour hand? (720 minutes, or 12 hours.)

Your turn

1

Find the amplitude, period, phase shift and midline of y = 2 cos(3(x + pi/6)) - 4.

2

State the range of y = -5 sin x + 2.

3

Give the period and the vertical asymptotes of y = tan(2x).

4

Write a sine function with amplitude 4, period pi, midline y = -1 and no phase shift.

5

Where is the maximum of y = sin x + 3 for 0 ≤ x < 2pi?

6

For the Ferris wheel in Example 2, when does the rider first reach the top?

More practice

1

What is the period of y = sin(x/2)?

2

List the five key points of y = -2 cos x for 0 ≤ x ≤ 2pi.

3

A made-up model for the depth of water at a dock is d(t) = 2.5 sin((pi/6)(t - 3)) + 4, in metres, t hours after midnight. Give the maximum, minimum and period.

4

In the dock model, when is the first high tide after midnight?

5

Write y = 3 sin(2x - pi) + 1 in the form a sin(b(x - c)) + d and give the phase shift.

Check your understanding

Quiz

1.

What is the period of y = 4 sin(3x)?

2.

What is the amplitude of y = -6 cos x + 1?

3.

What is the midline of y = 2 sin(x - pi) - 5?

4.

What is the range of y = 3 cos(2x) + 4?

5.

Where are the vertical asymptotes of y = tan x?

For parents and teachers

How to help: Ask your teen to find the five key points of one cycle before drawing, and to label the x-axis in multiples of pi.

Common mistakes:

  • Using b as the period instead of 2pi/b.
  • Reading the phase shift before factoring out b.
  • Confusing the midline with the minimum.
  • Starting a cosine graph at the midline instead of at a maximum.