Dove's LibraryDove's Library

3.6 - Sinusoidal Function Transformations

Overview

Every sinusoidal function is the graph of y=sin⁡θy = \sin\theta or y=cos⁡θy = \cos\theta after some shifting, stretching, or flipping. In this topic you'll learn exactly what each of the four constants in f(θ)=asin⁡(b(θ+c))+df(\theta) = a\sin\big(b(\theta + c)\big) + d does to the graph. Then you can read the amplitude, period, phase shift, and midline straight off an equation, and write an equation from a graph. You'll use this in every periodic model for the rest of the unit, including Free-Response Question 3 on the AP exam.

The general form

A sinusoidal function is any function that can be written as
f(θ)=asin⁡(b(θ+c))+dorg(θ)=acos⁡(b(θ+c))+df(\theta) = a\sin\big(b(\theta + c)\big) + d \quad \text{or} \quad g(\theta) = a\cos\big(b(\theta + c)\big) + d
where aa, bb, cc, and dd are real numbers, a≠0a \neq 0, and b≠0b \neq 0. Each constant controls one feature of the graph. The constants aa and bb are multiplicative transformations (they multiply), and cc and dd are additive transformations (they add).
Why do sine and cosine follow the exact same rules? Because cosine is just sine shifted. From Topic 3.5, cos⁡θ=sin⁡(θ+π2)\cos\theta = \sin\left(\theta + \frac{\pi}{2}\right), so the cosine graph is the sine graph slid π2\frac{\pi}{2} units to the left. Any transformation moves both graphs the same way.
Here is each transformation on its own. In every panel, the dashed red curve is the parent function y=sin⁡θy = \sin\theta and the black curve is the transformed function.
3.6 - Sinusoidal Function Transformations

Vertical shift: dd

Adding a constant to the output moves the whole graph up or down:
g(θ)=sin⁡θ+dg(\theta) = \sin\theta + d
  • If d>0d > 0, the graph moves up dd units. If d<0d < 0, it moves down ∣d∣|d| units.
  • The midline moves with it. The midline of y=sin⁡θy = \sin\theta is y=0y = 0, so the midline of y=sin⁡θ+dy = \sin\theta + d is y=dy = d.
  • The maximum and minimum move too. y=sin⁡θ+2y = \sin\theta + 2 runs from 11 to 33 instead of from −1-1 to 11.
Cosine works the same way: y=cos⁡θ−4y = \cos\theta - 4 is the cosine graph moved down 4 units, with midline y=−4y = -4.

Phase shift: cc

Adding a constant to the input moves the graph left or right. This horizontal translation is called a phase shift.
g(θ)=sin⁡(θ+c)g(\theta) = \sin(\theta + c)
The graph of gg is the graph of sin⁡θ\sin\theta shifted −c-c units horizontally. The direction is the opposite of the sign you see:
  • y=sin⁡(θ+π3)y = \sin\left(\theta + \frac{\pi}{3}\right) shifts left π3\frac{\pi}{3}. Here c=π3c = \frac{\pi}{3}, so −c=−π3-c = -\frac{\pi}{3}.
  • y=sin⁡(θ−π3)y = \sin\left(\theta - \frac{\pi}{3}\right) shifts right π3\frac{\pi}{3}. Here c=−π3c = -\frac{\pi}{3}, so −c=π3-c = \frac{\pi}{3}.
Why backwards? Think about where a cycle starts. The parent sin⁡θ\sin\theta starts a cycle (on the midline, going up) when its input is 00. For sin⁡(θ+c)\sin(\theta + c), the input is θ+c\theta + c, which equals 00 when θ=−c\theta = -c. So the whole cycle now starts at θ=−c\theta = -c.
The phase shift panel above shows y=sin⁡(θ+π2)y = \sin\left(\theta + \frac{\pi}{2}\right): the sine graph moved left π2\frac{\pi}{2}, which lands exactly on the cosine graph.

Vertical dilation: aa

Multiplying the whole function by aa stretches or compresses the graph vertically:
g(θ)=asin⁡θg(\theta) = a\sin\theta
Every output is multiplied by aa, so the distance from the midline to a maximum changes from 11 to ∣a∣|a|. That distance is the amplitude, so the amplitude of gg is ∣a∣|a|.
  • If ∣a∣>1|a| > 1, the graph stretches taller. y=2sin⁡θy = 2\sin\theta has amplitude 2.
  • If 0<∣a∣<10 < |a| < 1, the graph compresses. y=0.5sin⁡θy = 0.5\sin\theta has amplitude 0.5.
  • If a<0a < 0, the graph also reflects over its midline. y=−3sin⁡θy = -3\sin\theta has amplitude 3 (not −3-3), and it goes down first from θ=0\theta = 0 instead of up.
Amplitude is a distance, so it's never negative. Always use the absolute value.

Horizontal dilation: bb

Multiplying the input by bb squeezes or stretches the graph horizontally:
g(θ)=sin⁡(bθ)g(\theta) = \sin(b\theta)
The parent sine finishes one cycle as its input goes from 00 to 2π2\pi. For sin⁡(bθ)\sin(b\theta) with b>0b > 0, the input bθb\theta reaches 2π2\pi when θ=2πb\theta = \frac{2\pi}{b}. So the graph is a horizontal dilation by a factor of 1∣b∣\frac{1}{|b|}, and the period changes by that same factor:
period=2π∣b∣\text{period} = \frac{2\pi}{|b|}
  • If ∣b∣>1|b| > 1, the graph is squeezed and the period is shorter. y=sin⁡(2θ)y = \sin(2\theta) has period 2π2=π\frac{2\pi}{2} = \pi, so it fits two full cycles where sin⁡θ\sin\theta fits one.
  • If 0<∣b∣<10 < |b| < 1, the graph is stretched and the period is longer. y=sin⁡(13θ)y = \sin\left(\frac{1}{3}\theta\right) has period 2π1/3=6π\frac{2\pi}{1/3} = 6\pi.
  • If b<0b < 0, the graph also reflects over the vertical axis. You can rewrite it with a positive bb: sin⁡(−bθ)=−sin⁡(bθ)\sin(-b\theta) = -\sin(b\theta) because sine is odd, and cos⁡(−bθ)=cos⁡(bθ)\cos(-b\theta) = \cos(b\theta) because cosine is even.
Frequency is the reciprocal of the period (Topic 3.5), so gg has frequency ∣b∣2π\frac{|b|}{2\pi}: that many cycles per unit of input.

Putting it all together

f(θ)=asin⁡(b(θ+c))+df(\theta) = a\sin\big(b(\theta + c)\big) + d
Constant
What it does to the graph
Key feature
aa
Vertical dilation by a factor of ∣a∣|a| (reflects over the midline if a<0a < 0)
Amplitude =∣a∣= |a|
bb
Horizontal dilation by a factor of 1∣b∣\frac{1}{|b|}
Period =2π∣b∣= \frac{2\pi}{|b|}
cc
Horizontal translation
Phase shift of −c-c
dd
Vertical translation
Midline y=dy = d
The same table works for g(θ)=acos⁡(b(θ+c))+dg(\theta) = a\cos\big(b(\theta + c)\big) + d. Two more facts follow from it:
  • The maximum value is d+∣a∣d + |a| and the minimum value is d−∣a∣d - |a|, so the range is [d−∣a∣, d+∣a∣]\left[d - |a|,\ d + |a|\right].
  • When a>0a > 0 and b>0b > 0, one full sine cycle starts on the midline at θ=−c\theta = -c and ends one period later, at θ=−c+2πb\theta = -c + \frac{2\pi}{b}.
Here is f(θ)=2sin⁡(2(θ−π4))+1f(\theta) = 2\sin\left(2\left(\theta - \frac{\pi}{4}\right)\right) + 1 with every feature labeled. Its constants are a=2a = 2, b=2b = 2, c=−π4c = -\frac{\pi}{4}, and d=1d = 1.
3.6 - Sinusoidal Function Transformations
The amplitude is 22, the period is 2π2=π\frac{2\pi}{2} = \pi, the phase shift is π4\frac{\pi}{4} to the right, and the midline is y=1y = 1. A sine cycle starts on the midline going up, so this cycle starts at (π4,1)\left(\frac{\pi}{4}, 1\right), reaches its maximum at (π2,3)\left(\frac{\pi}{2}, 3\right), and the next maximum comes one period later, at (3π2,3)\left(\frac{3\pi}{2}, 3\right).

Factor out bb first

This is the most common mistake in the topic. In f(θ)=sin⁡(2θ+π)f(\theta) = \sin(2\theta + \pi), the phase shift is not −π-\pi. You have to factor bb out of the input first:
sin⁡(2θ+π)=sin⁡(2(θ+π2))\sin(2\theta + \pi) = \sin\left(2\left(\theta + \frac{\pi}{2}\right)\right)
Now you can read c=π2c = \frac{\pi}{2}, so the phase shift is −π2-\frac{\pi}{2} (left π2\frac{\pi}{2}). Quick check: a cycle starts where the input is 00, and 2θ+π=02\theta + \pi = 0 gives θ=−π2\theta = -\frac{\pi}{2}. That matches.

Sketching a sinusoid

To sketch f(θ)=asin⁡(b(θ+c))+df(\theta) = a\sin\big(b(\theta + c)\big) + d by hand (with b>0b > 0), plot five key points per cycle:
  1. Draw the midline y=dy = d and the lines y=d+∣a∣y = d + |a| and y=d−∣a∣y = d - |a|.
  1. Find where a cycle starts: θ=−c\theta = -c.
  1. Split one period into four equal parts, each 14⋅2πb\frac{1}{4} \cdot \frac{2\pi}{b} long.
  1. For sine with a>0a > 0, the five points go midline, max, midline, min, midline. For cosine with a>0a > 0, they go max, midline, min, midline, max.
  1. If a<0a < 0, swap every max and min.

Example 1: Reading an equation

Find the amplitude, period, phase shift, midline, and range of f(θ)=−3sin⁡(2θ−π2)+1f(\theta) = -3\sin\left(2\theta - \frac{\pi}{2}\right) + 1. Then find where ff reaches its maximum on 0≤θ<π0 \le \theta < \pi.
Step 1: Factor bb out of the input.
f(θ)=−3sin⁡(2(θ−π4))+1f(\theta) = -3\sin\left(2\left(\theta - \frac{\pi}{4}\right)\right) + 1
So a=−3a = -3, b=2b = 2, c=−π4c = -\frac{\pi}{4}, and d=1d = 1.
Step 2: Read the features.
  • Amplitude: ∣−3∣=3|-3| = 3. Since a<0a < 0, the graph is reflected over its midline.
  • Period: 2π2=π\frac{2\pi}{2} = \pi.
  • Phase shift: −c=π4-c = \frac{\pi}{4}, so π4\frac{\pi}{4} to the right.
  • Midline: y=1y = 1.
Step 3: Range: from 1−31 - 3 to 1+31 + 3, which is [−2,4][-2, 4].
Step 4: Because aa is negative, ff is at its maximum when the sine part equals −1-1:
2(θ−π4)=−π2⇒θ=02\left(\theta - \frac{\pi}{4}\right) = -\frac{\pi}{2} \quad \Rightarrow \quad \theta = 0f(0)=−3sin⁡(−π2)+1=−3(−1)+1=4f(0) = -3\sin\left(-\frac{\pi}{2}\right) + 1 = -3(-1) + 1 = 4
Answer: amplitude 3, period π\pi, phase shift π4\frac{\pi}{4} right, midline y=1y = 1, range [−2,4][-2, 4]. On 0≤θ<π0 \le \theta < \pi, the maximum value 4 happens at θ=0\theta = 0.

Example 2: Writing an equation from a graph

The graph of a sinusoidal function ff is shown. It has a maximum at (1,5)(1, 5), and the next minimum is at (4,−1)(4, -1). Write an equation for ff.
3.6 - Sinusoidal Function Transformations
Step 1: Midline and amplitude from the max and min.
d=5+(−1)2=2a=5−(−1)2=3d = \frac{5 + (-1)}{2} = 2 \qquad a = \frac{5 - (-1)}{2} = 3
Step 2: Period. A maximum to the next minimum is half a period, so half the period is 4−1=34 - 1 = 3 and the period is 66.
b=2π6=π3b = \frac{2\pi}{6} = \frac{\pi}{3}
Step 3: Phase shift. Cosine starts a cycle at a maximum, and this graph has a maximum at x=1x = 1, so shift cosine right 1.
f(x)=3cos⁡(π3(x−1))+2f(x) = 3\cos\left(\frac{\pi}{3}(x - 1)\right) + 2
Step 4: Check the minimum: f(4)=3cos⁡(π)+2=−3+2=−1f(4) = 3\cos(\pi) + 2 = -3 + 2 = -1. That matches.
Sine works too. Sine starts on the midline going up, halfway between a minimum and the next maximum. The minimum before (1,5)(1, 5) is half a period earlier, at x=−2x = -2, so the graph crosses the midline going up at x=−2+12=−0.5x = \frac{-2 + 1}{2} = -0.5:
f(x)=3sin⁡(π3(x+0.5))+2f(x) = 3\sin\left(\frac{\pi}{3}(x + 0.5)\right) + 2
Both equations describe the same graph. In fact there are infinitely many correct answers, because you can shift by any whole number of periods.

Example 3: Transformations in words (AP-style)

The graph of gg is made from the graph of y=cos⁡θy = \cos\theta by these transformations, in this order: a horizontal dilation by a factor of 12\frac{1}{2}, a horizontal translation π3\frac{\pi}{3} units to the right, a vertical dilation by a factor of 4, and a vertical translation 1 unit down.
(a) Write an expression for g(θ)g(\theta). (b) Find the period and range of gg. (c) Find the smallest positive θ\theta where gg has a maximum.
(a) A horizontal dilation by a factor of 12\frac{1}{2} means 1∣b∣=12\frac{1}{|b|} = \frac{1}{2}, so b=2b = 2: y=cos⁡(2θ)y = \cos(2\theta). Translating right π3\frac{\pi}{3} means replacing θ\theta with θ−π3\theta - \frac{\pi}{3}:
y=cos⁡(2(θ−π3))y = \cos\left(2\left(\theta - \frac{\pi}{3}\right)\right)
Then stretch vertically by 4 and move down 1:
g(θ)=4cos⁡(2(θ−π3))−1g(\theta) = 4\cos\left(2\left(\theta - \frac{\pi}{3}\right)\right) - 1
Watch the translation step. cos⁡(2(θ−π3))=cos⁡(2θ−2π3)\cos\left(2\left(\theta - \frac{\pi}{3}\right)\right) = \cos\left(2\theta - \frac{2\pi}{3}\right). Writing cos⁡(2θ−π3)\cos\left(2\theta - \frac{\pi}{3}\right) instead would only shift the graph right π6\frac{\pi}{6}.
(b) Period: 2π2=π\frac{2\pi}{2} = \pi. Range: from −1−4-1 - 4 to −1+4-1 + 4, so [−5,3][-5, 3].
(c) Cosine is at its maximum when its input is 00:
2(θ−π3)=0⇒θ=π3,g(π3)=4(1)−1=32\left(\theta - \frac{\pi}{3}\right) = 0 \quad \Rightarrow \quad \theta = \frac{\pi}{3}, \qquad g\left(\frac{\pi}{3}\right) = 4(1) - 1 = 3
The maximum before that is one period earlier, at π3−π=−2π3\frac{\pi}{3} - \pi = -\frac{2\pi}{3}, which is negative. Answer: g(θ)=4cos⁡(2(θ−π3))−1g(\theta) = 4\cos\left(2\left(\theta - \frac{\pi}{3}\right)\right) - 1, with period π\pi, range [−5,3][-5, 3], and its first positive maximum at θ=π3\theta = \frac{\pi}{3}.

Common mistakes

  • Reading the phase shift before factoring out bb. Always rewrite sin⁡(bθ+k)\sin(b\theta + k) as sin⁡(b(θ+kb))\sin\left(b\left(\theta + \frac{k}{b}\right)\right) first.
  • Getting the shift direction backwards. θ+c\theta + c moves the graph left and θ−c\theta - c moves it right (for c>0c > 0).
  • Writing a negative amplitude. The amplitude is ∣a∣|a|.
  • Thinking a bigger bb means a longer period. It's the opposite: the period is 2π∣b∣\frac{2\pi}{|b|}, so a bigger ∣b∣|b| packs in more cycles.
  • Mixing up the midline and the horizontal axis. The midline is y=dy = d, the average of the max and min.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.