Skip to content
Study Hall
Lesson 9 of 10Trigonometric Functions
Unit 4 · Lesson 9 of 10

Graphs of y = sin x and y = cos x — Transformations

The parent sine and cosine curves, and how , , , and in stretch, compress, shift, and reflect them.

6 min read11 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1Parent curves: and both have amplitude , period , and axis .
  2. 2In : = amplitude, = period, = phase shift (right if positive), = axis.
  3. 3A negative reflects the graph vertically (upside down) but leaves the amplitude, period, and axis unchanged.
  4. 4 starts at the axis and rises; starts at its maximum — they're the same shape, just apart.
  5. 5Order: stretches and reflections first, then translations. Mapping rule: .
  6. 6Factor out before reading : has .

and are the two 'parent' periodic curves everything else in this unit is built from. Both wave smoothly between and forever, repeating every — they're identical in shape, just horizontally shifted from each other by . Sound waves, alternating current in your home's wiring, and the swing of a pendulum all trace out stretched and shifted copies of these two curves. If you know the parent graphs cold, and you know what each of the four parameters , , and does to them, you can sketch any sinusoid in under a minute and read an equation straight off a graph.

0°90°180°270°360°450°540°630°720°y = sin xy = cos xcos x = sin(x + 90°): the cosine curve leads the sine curve by a quarter period
Fig 1y = sin x starts at the axis and rises; y = cos x starts at its maximum.
Feature
Value at
Maximum (at ) (at )
Minimum (at ) (at )
Zeros from to
Period
Amplitude
Axis

Why do the graphs look like this? Picture a point travelling around the unit circle. Its -coordinate is and its -coordinate is . Starting at , the height is , climbs to at (the top of the circle), falls back to at , reaches at and returns to at , where the point is back where it started and the pattern repeats. That is the sine graph. The -coordinate starts at , so the cosine graph starts at its maximum. These five KEY POINTS, spaced a quarter-period () apart, are all you need to sketch either curve: sine goes axis, max, axis, min, axis; cosine goes max, axis, min, axis, max. Because the cosine curve reaches each feature earlier, : cosine is simply sine shifted to the left.

What each parameter does

  • — vertical stretch/compression; becomes the new AMPLITUDE, because every -value of the parent (which runs from to ) is multiplied by . If , the graph reflects vertically (flips upside down).
  • — horizontal stretch/compression; the new PERIOD becomes . A larger squishes the graph (shorter period, faster oscillation). Why: one cycle ends when the angle INSIDE the sine reaches , and happens at .
  • — horizontal (phase) shift; the graph slides units right if , left if . Why: the inside, , equals when , so the start of the cycle moves from to .
  • — vertical shift; becomes the new AXIS (midline) of the graph, , because is added to every -value.
Read d only after factoring k
Watch the SIGN inside the brackets: shifts RIGHT when is positive. A formula like must first be rewritten as to correctly read off (a shift LEFT). And if has not been factored out, do that first: so the phase shift is right, NOT .

Graphing in order: the transformation sequence

  1. Start with the five key points of the parent: for sine, , , , , .
  2. Apply the stretches and reflections first: divide each -coordinate by , and multiply each -coordinate by .
  3. Then apply the translations: add to each -coordinate and add to each -coordinate.
  4. In one line, the mapping rule is .
  5. Plot the new points, join them with a smooth wave, and repeat the cycle every period in both directions.
Parent point Feature
On the axis, rising
Maximum
On the axis, falling
Minimum
End of one cycle
Key points of y = 3sin(2(x − 30°)) + 5: one cycle from 30° to 210°, a period of 180°.
Loading interactive…
Drag a, k, d and c and watch the sine curve stretch, compress, shift, and rise or fall in real time.
VideoGraphs transformed sine and cosine functions by sending the parent's key points through the mapping rule: divide x by k and add d, multiply y by a and add c, in the same order as this section.Watch on YouTube

Writing an equation from a graph

Reverse the process. Read the maximum and minimum: and . Measure the period (peak to peak, or twice the distance from a peak to the next trough) and compute . Then choose a starting point for . For a cosine equation, is the -value of any MAXIMUM, since cosine begins its cycle at a maximum. For a sine equation, is the -value where the graph crosses the axis going UP. Using a minimum with cosine also works if you make negative. Because the graph repeats, there are infinitely many correct equations (you can add any whole number of periods to ), so on a test any correct one earns full marks; check your answer by substituting one point from the graph.

Why there is never just one right equation
Take the curve with a maximum at , a minimum at and period . Starting the cosine cycle at the maximum gives ; starting it one period later gives , the same curve. Starting at the minimum instead and flipping gives , again the same curve, because the minimum is half a period from the maximum. And the sine version uses the rising axis crossing at . To decide whether two equations match, compare their amplitude, period and axis, then test one point such as in each: all four give there.
VideoReads the amplitude, k and the shifts from a graph and writes the equation in the same y = a sin(k(x - d)) + c form this lesson uses.Watch on YouTube

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
State the amplitude, period, phase shift, and axis of .
Example 2
Using from above, find when .
Example 3
Describe the transformation from to .
Example 4
A sinusoid has a maximum at and the next minimum at . Write a cosine equation and a sine equation for it.

Where marks get lost

  • Reading the phase shift's sign backwards — shifts RIGHT for positive , so actually means (a shift LEFT).
  • Forgetting to take (absolute value) when computing the period — a negative still gives a positive period.
  • Confusing (vertical shift / new axis) with (horizontal shift) — one moves the graph up-down, the other left-right.
  • Assuming a negative amplitude means the curve goes lower — really is still the amplitude, and the negative sign only flips the graph vertically.
  • Reading before factoring out : in the shift is right, not , because .

Flashcards 10

— role of
— role of
— role of
— role of
+ 6 more

Practice

1
Find the period of .
°
2
In , what is the axis?
3
Find the amplitude of .
4
Does shift the graph left or right?
5
Find the period of .
°
6
compared to is...
7
For , find when .
8
Find the maximum value of .
9
What is the phase shift of ?
10
Match each equation to its period.
  1. A.
  2. B.
  3. C.
  4. D.
  5. E.
11
Put the steps for graphing in order.
  1. 1Repeat the cycle every in both directions
  2. 2Plot the five new points and join them with a smooth wave
  3. 3Add to each and to each
  4. 4List the five key points of
  5. 5Divide each by and multiply each by

Spot a mistake on this page? Let us know