Skip to main content

Unit 3 · Topic 3.6

3.6 Sinusoidal Function Transformations

In f(θ) = a sin(b(θ + c)) + d, each constant does one job: a sets the amplitude, b sets the period, c shifts the graph left or right, and d moves the midline. The same rules work for cosine. You'll read these off equations and graphs and build equations from features.

Key terms

  • phase shift
  • vertical shift
  • horizontal dilation
  • period = 2π/|b|
  • amplitude = |a|

The general form

Sinusoidal functions can be written as f(θ) = a sin(b(θ + c)) + d or g(θ) = a cos(b(θ + c)) + d, where a ≠ 0 and b ≠ 0. These are the transformations from topic 1.12 applied to sine and cosine.

ConstantEffectResult
aVertical dilation by a factor equal to the absolute value of a; reflection over the midline if a < 0Amplitude = absolute value of a
bHorizontal dilation by a factor of 1 over the absolute value of bPeriod = 2π divided by the absolute value of b
cHorizontal shift (phase shift) by −cLeft c units if c > 0, right if c < 0
dVertical shift by dMidline y = d

Reading each piece

Amplitude: |a|. The maximum is d+∣a∣d + \lvert a\rvert and the minimum is d−∣a∣d - \lvert a\rvert.

Period: 2π∣b∣\frac{2\pi}{\lvert b\rvert}. A larger |b| squeezes more cycles into the same space, so the period gets shorter. For sin(3θ), the period is 2π3\frac{2\pi}{3}.

Phase shift: −c. In sin⁡(θ−π4)\sin\left(\theta - \frac{\pi}{4}\right), c=−π4c = -\frac{\pi}{4}, so the graph moves π4\frac{\pi}{4} to the right.

Midline: y = d.

To move a single point: a point (θ, y) on y = sin θ moves to (θb−c,a⋅y+d)(\frac{\theta}{b} - c, a \cdot y + d) on y = a sin(b(θ + c)) + d. Divide the input by b and then subtract c; multiply the output by a and then add d.

For example, the peak (π2,1)(\frac{\pi}{2}, 1) of sin θ moves to (π4−π4,3⋅1+2)=(0,5)(\frac{\pi}{4} - \frac{\pi}{4}, 3 \cdot 1 + 2) = (0, 5) on y=3sin⁡(2(θ+π4))+2y = 3 \sin\left(2(\theta + \frac{\pi}{4})\right) + 2.

Factor before you read the shift

If the inside isn't factored, like sin(2θ + π), factor out b first: sin⁡(2(θ+π2))\sin\left(2(\theta + \frac{\pi}{2})\right). Now c=π2c = \frac{\pi}{2}, so the shift is π2\frac{\pi}{2} to the left, not π.

Another reliable way: a sine cycle starts where its inside equals 0. Solve 2θ + π = 0 to get θ=−π2\theta = -\frac{\pi}{2}, the same answer.

Building an equation from a graph

Find the max and min to get d=max+min2d = \dfrac{\text{max} + \text{min}}{2} and ∣a∣=max−min2\lvert a \rvert = \dfrac{\text{max} - \text{min}}{2}.

Find the period (max to max) and solve period = 2πb\frac{2\pi}{b} for b.

Pick a convenient feature for the shift. With cosine, use a maximum: a cosine graph with a > 0 starts at a peak. With sine, use a midline crossing where the graph is rising.

Many different equations describe the same graph. For example, cos⁡θ=sin⁡(θ+π2)=−cos⁡(θ+π)\cos \theta = \sin\left(\theta + \frac{\pi}{2}\right) = -\cos(\theta + \pi). Any correct one earns credit.

Worked examples

Try each one yourself first, then open the solution.

  1. Example 1

    Reading the features

    For f(θ)=−3cos⁡(2(θ−π4))+1f(\theta) = -3 \cos\left(2(\theta - \frac{\pi}{4})\right) + 1, find the amplitude, period, phase shift, midline, maximum and minimum, and describe f at θ=π4\theta = \frac{\pi}{4}.

    Show the solution
    1. Step 1: a = −3: amplitude 3, with a reflection over the midline.
    2. Step 2: b = 2: period 2π2=π\frac{2\pi}{2} = \pi.
    3. Step 3: c=−π4c = -\frac{\pi}{4}: phase shift π4\frac{\pi}{4} to the right.
    4. Step 4: d = 1: midline y = 1, so the maximum is 1 + 3 = 4 and the minimum is 1 − 3 = −2.
    5. Step 5: At θ=π4\theta = \frac{\pi}{4} the inside is 0, and cos 0 = 1, so f(π4)=−3(1)+1=−2f\left(\frac{\pi}{4}\right) = -3(1) + 1 = -2. Because of the reflection, the shifted cycle starts at a minimum instead of a maximum.

    Answer: Amplitude 3, period π, shift π4\frac{\pi}{4} right, midline y = 1, max 4, min −2; f has a minimum of −2 at θ=π4\theta = \frac{\pi}{4}.

  2. Example 2

    Equation from a graph

    A sinusoidal graph has a maximum at (1, 8), and the next minimum is at (4, 2). Write an equation for it.

    Show the solution
    1. Step 1: Midline: d=8+22=5d = \dfrac{8 + 2}{2} = 5. Amplitude: 8−22=3\dfrac{8 - 2}{2} = 3.
    2. Step 2: From a max to the next min is half a period, so the period is 2(4 − 1) = 6. Then 2πb=6\frac{2\pi}{b} = 6 gives b=π3b = \frac{\pi}{3}.
    3. Step 3: Use cosine, which starts at a maximum, shifted so the maximum is at x = 1: f(x)=3cos⁡(π3(x−1))+5f(x) = 3 \cos\left(\frac{\pi}{3}(x - 1)\right) + 5.
    4. Step 4: Check the minimum: f(4) = 3 cos(π) + 5 = −3 + 5 = 2.

    Answer: f(x)=3cos⁡(π3(x−1))+5f(x) = 3 \cos\left(\frac{\pi}{3}(x - 1)\right) + 5 (other equivalent forms are fine).

  3. Example 3

    Trap: shifting before factoring

    What is the phase shift of g(θ)=sin⁡(2θ+π3)g(\theta) = \sin\left(2\theta + \frac{\pi}{3}\right)?

    Show the solution
    1. Step 1: The trap answer is “π3\frac{\pi}{3} to the left,” read straight from the parentheses.
    2. Step 2: Factor out 2: g(θ)=sin⁡(2(θ+π6))g(\theta) = \sin\left(2(\theta + \frac{\pi}{6})\right). The shift is π6\frac{\pi}{6} to the left.
    3. Step 3: Check: the cycle starts where 2θ+π3=02\theta + \frac{\pi}{3} = 0, at θ=−π6\theta = -\frac{\pi}{6}.

    Answer: π6\frac{\pi}{6} to the left.

Common mistakes

  • Using b as the period. The period is 2π∣b∣\frac{2\pi}{\lvert b\rvert}, so sin(4θ) has period π2\frac{\pi}{2}, not 4.
  • Reading the shift from an unfactored inside like sin(3θ − π). Factor: 3(θ−π3)3(\theta - \frac{\pi}{3}), a shift right π3\frac{\pi}{3}.
  • Shifting the wrong way: sin(θ + c) moves the graph left when c > 0.
  • Giving a negative amplitude. The amplitude is |a|; the sign of a only tells you about a reflection.

On the exam

  • Expect to match an equation to a graph or to write an equation from a graph or table. The periodic-modeling free-response question often asks for the values of a, b, c and d.
  • On no-calculator questions, keep b exact, such as π6\frac{\pi}{6}, rather than a decimal.

Connected topics

Videos

  • AP Precalculus – 3.6A Sinusoidal Function Transformations

    The AlgebrosWatch on YouTube (opens in a new tab)

  • AP Precalculus – 3.6B Sinusoidal Function Transformations Phase Shifts

    The AlgebrosWatch on YouTube (opens in a new tab)

  • Graphing sinusoidal functions with transformations | AP®︎/College Precalculus | Khan Academy

    Khan AcademyWatch on YouTube (opens in a new tab)

  • AP Precalculus Topic 3.6: Sinusoidal Function Transformations

    Erin BentsonWatch on YouTube (opens in a new tab)

  • Sinusoidal Function Transformations in Under 3 mins (AP Precalculus Unit 3 Topic 3.6)

    Maximum InsightWatch on YouTube (opens in a new tab)

  • Graphing Sine and Cosine Trig Functions With Transformations, Phase Shifts, Period - Domain & Range

    The Organic Chemistry TutorWatch on YouTube (opens in a new tab)

Check yourself: 3.6 Sinusoidal Function Transformations

4 questions on 3.6 Sinusoidal Function Transformations. Pick an answer to see if you got it, and why.

Question 1 of 4

Let f(θ)=3sin⁡(2(θ−π4))−1f(\theta) = 3 \sin\left(2(\theta - \frac{\pi}{4})\right) - 1. Which of the following describes the graph of f compared with the graph of y = sin θ?

Question 2 of 4

The graph of a sinusoidal function g has a maximum at (0, 5) and its next minimum at (π2,1)(\frac{\pi}{2}, 1). Which of the following could define g?

Question 3 of 4

Compared with the graph of y = 2 sin(3θ), the graph of g(θ) = 2 sin(3θ + π) is shifted in which way?

x012345678
f(x)35.8375.8330.17−10.173

Table of values

Question 4 of 4

Which of the following could define f?

0 of 4 answered

Something wrong or out of date here?

Something wrong with this page?

What's wrong?

Please don't include personal details.