Educerie

Educerie · AP · Precalculus

AP Precalculus 3.6

Sinusoidal Function Transformations

How do the numbers in asin⁡(b(θ+c))+da\sin(b(\theta + c)) + d change the sine graph, and how do we read them off, or choose them to match a description?

What you will learn

  • Understand what each of a, b, c and d does to the graph of sine
  • Know that amplitude is |a|, period is 2π ÷ |b|, midline is y = d and the phase shift is -c
  • Know that the bracket must be factored before reading the shift

You must be able to

  1. Read amplitude, period, midline and phase shift from a formula
  2. Factor the bracket to find the true phase shift
  3. Write a, b, c and d from a maximum, a minimum and a period
  4. Describe each constant as a transformation
  5. Test one point in a built formula
  6. Say why the formula for a given graph is not unique

In the exam. Section I multiple choice: the amplitude, period, phase shift or midline of a given function, or the formula that matches a graph or a description. Section II Question 3 (periodic context, no calculator) asks you to write the constants aa, bb, cc, dd of a sinusoid for a real context, and that part earns two points.

1The four transformations, one at a time

Start from y=sin⁡θy = \sin\theta, which has amplitude 1, period 2π2\pi, midline y=0y = 0 and no shift. Change one constant at a time.

A vertical shift: sin⁡θ+d\sin\theta + d. The whole graph, including its midline, moves up by dd (down if dd is negative). The shape does not change. The midline is y=dy = d. The same is true of the cosine.

A phase shift: sin⁡(θ+c)\sin(\theta + c). The graph moves horizontally by −c-c units. A plus sign moves it to the left, and a minus sign moves it to the right. The phase shift is the opposite of what you see in the bracket: sin⁡(θ+π3)\sin\left(\theta + \frac{\pi}{3}\right) moves left π3\frac{\pi}{3}, and sin⁡(θ−π3)\sin\left(\theta - \frac{\pi}{3}\right) moves right π3\frac{\pi}{3}.

A vertical dilation: asin⁡θa\sin\theta. The graph is stretched vertically by the factor ∣a∣|a|. The amplitude becomes ∣a∣|a|. If aa is negative, the graph is also reflected over the horizontal line through its midline, so it starts by going down.

A horizontal dilation: sin⁡(bθ)\sin(b\theta). The graph is squeezed or stretched horizontally, and the period changes by the factor 1∣b∣\frac{1}{|b|}. The new period is

2π∣b∣. \frac{2\pi}{|b|}.

A bigger ∣b∣|b| gives a shorter period and more waves in the same space. If bb is negative, the graph is also reflected over the yy-axis.

2All four together

For

f(θ)=asin⁡(b(θ+c))+d f(\theta) = a\sin\bigl(b(\theta + c)\bigr) + d

the graph is:

  • amplitude ∣a∣|a| units,
  • period 1∣b∣⋅2π=2π∣b∣\frac{1}{|b|} \cdot 2\pi = \frac{2\pi}{|b|} units,
  • midline y=dy = d,
  • phase shift −c-c units.

Everything here holds for cosine too, because the cosine is a sine shifted by −π2-\frac{\pi}{2} units. You can pick whichever form fits.

A sinusoid with its amplitude, midline, period and phase shift marked −π/4 0 π/4 π/2 3π/4 π 5π/4 3π/2 7π/4 −1 1 3 y θ period π amplitude 2
Figure 1 · The graph of f(θ) = 2 sin(2(θ − π ÷ 4)) + 1. The amplitude is 2, the period is π, the midline is y = 1 and the graph is shifted right by π ÷ 4.

Read Figure 1 against the formula f(θ)=2sin⁡(2(θ−π4))+1f(\theta) = 2\sin\bigl(2(\theta - \frac{\pi}{4})\bigr) + 1:

  • a=2a = 2: the maximum is 33 and the minimum is −1-1, each 2 from the midline.
  • b=2b = 2: the period is 2π2=π\frac{2\pi}{2} = \pi. The two marked maxima, at π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}, are π\pi apart.
  • c=−π4c = -\frac{\pi}{4}: the phase shift is +π4+\frac{\pi}{4}. The cycle that starts on the midline, going up, starts at θ=π4\theta = \frac{\pi}{4} (the amber dot).
  • d=1d = 1: the midline is the dashed line y=1y = 1.

3Always factor first

The form b(θ+c)b(\theta + c) is the one that shows the phase shift. A formula is often given with the bracket multiplied out, such as sin⁡(2θ−π2)\sin(2\theta - \frac{\pi}{2}). Factor out bb before you read the phase shift.

Worked example 1. Find the period and the phase shift of h(θ)=sin⁡(2θ−π2)+1h(\theta) = \sin\left(2\theta - \frac{\pi}{2}\right) + 1.

  • Factor out the 2 from inside the bracket: 2θ−π2=2(θ−π4)2\theta - \frac{\pi}{2} = 2\left(\theta - \frac{\pi}{4}\right).
  • So h(θ)=sin⁡(2(θ−π4))+1h(\theta) = \sin\left(2\left(\theta - \frac{\pi}{4}\right)\right) + 1.
  • The period is 2π2=π\frac{2\pi}{2} = \pi. The phase shift is +π4+\frac{\pi}{4}, to the right.

The trap is reading the shift as π2\frac{\pi}{2}. That is the number in the bracket before factoring. The graph is shifted by the number you get after dividing by bb.

4Reading a formula

Worked example 2. For g(θ)=−3cos⁡(12θ+π)+4g(\theta) = -3\cos\left(\frac{1}{2}\theta + \pi\right) + 4, find the amplitude, period, midline and phase shift.

  • Amplitude: ∣a∣=∣−3∣=3|a| = |-3| = 3.
  • Rewrite the bracket: 12θ+π=12(θ+2π)\frac{1}{2}\theta + \pi = \frac{1}{2}(\theta + 2\pi). So b=12b = \frac{1}{2} and c=2πc = 2\pi.
  • Period: 2π1/2=4π\frac{2\pi}{1/2} = 4\pi.
  • Midline: y=4y = 4.
  • Phase shift: −c=−2π-c = -2\pi, so the graph is moved 2π2\pi to the left. Because the period is 4π4\pi, this shift is half a period.
  • The negative aa means the graph is reflected: a plain cosine starts at its maximum, so this one starts at its minimum.

This is a three-fact answer: it takes the amplitude from the aa (always positive), the period from the bb (with 2π2\pi on top) and the shift from the factored bracket.

5Choosing the constants

You will be asked to build the formula from a graph or a description. Work through the four constants in order.

  1. dd: the midline, the average of the maximum and the minimum.
  2. aa: the amplitude, half of maximum minus minimum. Make aa negative if the pattern is upside down.
  3. bb: from the period, b=2πperiodb = \frac{2\pi}{\text{period}}.
  4. cc: pick a start point. For a sine, use a point where the graph is on the midline and going up. For a cosine, use a maximum. Then −c-c is the input at that point.

Worked example 3. A sinusoid has a maximum of 7 at θ=2\theta = 2 and the next minimum of −1-1 at θ=6\theta = 6. Write a cosine formula for it.

  • Midline: d=7+(−1)2=3d = \frac{7 + (-1)}{2} = 3.
  • Amplitude: a=7−(−1)2=4a = \frac{7 - (-1)}{2} = 4.
  • Half a period is 6−2=46 - 2 = 4, so the period is 8 and b=2π8=π4b = \frac{2\pi}{8} = \frac{\pi}{4}.
  • A cosine starts at its maximum, so the shift is 2, to the right, which means c=−2c = -2.
  • f(θ)=4cos⁡(π4(θ−2))+3f(\theta) = 4\cos\left(\frac{\pi}{4}(\theta - 2)\right) + 3.

Check: at θ=2\theta = 2, cos⁡0=1\cos 0 = 1, so f(2)=4+3=7f(2) = 4 + 3 = 7. At θ=6\theta = 6, π4(4)=π\frac{\pi}{4}(4) = \pi, cos⁡π=−1\cos\pi = -1, so f(6)=−4+3=−1f(6) = -4 + 3 = -1. Both match.

The answer is not unique. A sine with a different shift gives the same graph, and so does a cosine shifted by one full period. A question that asks for "a function" accepts any correct form. One that asks for a particular form, such as sine with the smallest positive phase shift, fixes it.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.