Skip to content
Family Table Math

Transformations of Sinusoidal Functions

Real periodic patterns rarely have amplitude 11 and period 360∘360^\circ. By stretching and shifting y=sin⁡xy = \sin x and y=cos⁡xy = \cos x, using the same transformations as other functions, you can match any wave. In this setting, the parameters get special names: amplitude, period, phase shift, and axis. All angles are in degrees.

y=asin⁡(k(x−d))+cory=acos⁡(k(x−d))+cy = a\sin\big(k(x - d)\big) + c \qquad\text{or}\qquad y = a\cos\big(k(x - d)\big) + c
ParameterEffectName
aavertical stretch by ∣a∣\lvert a \rvert; reflection in the axis if a<0a \lt 0amplitude =∣a∣= \lvert a \rvert
kkhorizontal stretch or compression by 1∣k∣\tfrac{1}{\lvert k \rvert}period =360∘∣k∣= \dfrac{360^\circ}{\lvert k \rvert}
ddhorizontal translationphase shift (d>0d \gt 0 right, d<0d \lt 0 left)
ccvertical translationaxis y=cy = c

From these:

maximum=c+∣a∣,minimum=c−∣a∣\text{maximum} = c + \lvert a \rvert, \qquad \text{minimum} = c - \lvert a \rvert

and the range is {y∈R∣c−∣a∣≤y≤c+∣a∣}\{y \in \mathbb{R} \mid c - \lvert a \rvert \le y \le c + \lvert a \rvert\}.

Apply the mapping rule (x,y)→(xk+d, ay+c)(x, y) \to \left(\dfrac{x}{k} + d,\ ay + c\right) to the five key points of one cycle:

  • y=sin⁡xy = \sin x: (0∘,0)(0^\circ, 0), (90∘,1)(90^\circ, 1), (180∘,0)(180^\circ, 0), (270∘,−1)(270^\circ, -1), (360∘,0)(360^\circ, 0)
  • y=cos⁡xy = \cos x: (0∘,1)(0^\circ, 1), (90∘,0)(90^\circ, 0), (180∘,−1)(180^\circ, -1), (270∘,0)(270^\circ, 0), (360∘,1)(360^\circ, 1)

As always, factor out kk first: sin⁡(2x−60∘)=sin⁡(2(x−30∘))\sin(2x - 60^\circ) = \sin\big(2(x - 30^\circ)\big).

State the amplitude, period, phase shift, axis, maximum, minimum, and range of y=3cos⁡(2(x+45∘))−1y = 3\cos\big(2(x + 45^\circ)\big) - 1.

Solution. a=3a = 3, k=2k = 2, d=−45∘d = -45^\circ, c=−1c = -1.

  • amplitude 33
  • period 360∘2=180∘\dfrac{360^\circ}{2} = 180^\circ
  • phase shift 45∘45^\circ to the left
  • axis y=−1y = -1
  • maximum −1+3=2-1 + 3 = 2, minimum −1−3=−4-1 - 3 = -4
  • range {y∈R∣−4≤y≤2}\{y \in \mathbb{R} \mid -4 \le y \le 2\}

Sketch one cycle of y=2sin⁡(2(x−30∘))+1y = 2\sin\big(2(x - 30^\circ)\big) + 1.

Solution. The mapping rule is (x,y)→(x2+30∘, 2y+1)(x, y) \to \left(\tfrac{x}{2} + 30^\circ,\ 2y + 1\right):

y=sin⁡xy = \sin x(0∘,0)(0^\circ, 0)(90∘,1)(90^\circ, 1)(180∘,0)(180^\circ, 0)(270∘,−1)(270^\circ, -1)(360∘,0)(360^\circ, 0)
image(30∘,1)(30^\circ, 1)(75∘,3)(75^\circ, 3)(120∘,1)(120^\circ, 1)(165∘,−1)(165^\circ, -1)(210∘,1)(210^\circ, 1)
The dashed graph y = sin x and the transformed graph y = 2 sin(2(x - 30 degrees)) + 1, which has amplitude 2, period 180 degrees, axis y = 1, a maximum at (75, 3) and a minimum at (165, -1) 90 180 270 360 −1 1 2 3 (75°, 3) (165°, −1) y = 1 y = 2 sin(2(x − 30°)) + 1
Amplitude 22, period 180∘180^\circ, phase shift 30∘30^\circ right, axis y=1y = 1.

One cycle runs from 30∘30^\circ to 210∘210^\circ, which is 180∘180^\circ long, matching the period.

Find the period and phase shift of y=sin⁡(3x−90∘)y = \sin(3x - 90^\circ).

Solution. Factor: y=sin⁡(3(x−30∘))y = \sin\big(3(x - 30^\circ)\big). So k=3k = 3 and d=30∘d = 30^\circ.

The period is 360∘3=120∘\dfrac{360^\circ}{3} = 120^\circ, and the phase shift is 30∘30^\circ to the right (not 90∘90^\circ).

For y=−4sin⁡x+2y = -4\sin x + 2, find the maximum and minimum, and where they occur for 0∘≤x≤360∘0^\circ \le x \le 360^\circ.

Solution. Amplitude 44, axis y=2y = 2, so the maximum is 66 and the minimum is −2-2.

Because a<0a \lt 0, the graph is flipped: where sin⁡x\sin x has its minimum (x=270∘x = 270^\circ), this graph has its maximum, −4(−1)+2=6-4(-1) + 2 = 6. Where sin⁡x\sin x has its maximum (x=90∘x = 90^\circ), this graph has its minimum, −4(1)+2=−2-4(1) + 2 = -2.

Using kk as the period. The period is 360∘k\dfrac{360^\circ}{k}. For y=sin⁡2xy = \sin 2x, the period is 180∘180^\circ, not 22.

Not factoring out kk. In sin⁡(3x−90∘)\sin(3x - 90^\circ), the phase shift is 30∘30^\circ, not 90∘90^\circ.

Getting the phase shift direction wrong. sin⁡(x−60∘)\sin(x - 60^\circ) shifts right 60∘60^\circ; sin⁡(x+60∘)\sin(x + 60^\circ) shifts left.

Giving a negative amplitude. The amplitude is ∣a∣\lvert a \rvert, always positive. A negative aa means a reflection.

Forgetting the axis when finding the max and min. The maximum is c+∣a∣c + \lvert a \rvert, not just ∣a∣\lvert a \rvert.

1. (Warm-up) State the amplitude and period of y=5sin⁡(4x)y = 5\sin(4x).

Solution

Amplitude 55, period 360∘4=90∘\tfrac{360^\circ}{4} = 90^\circ.

2. (Warm-up) State the phase shift and the axis of y=cos⁡(x−60∘)+3y = \cos(x - 60^\circ) + 3.

Solution

Phase shift 60∘60^\circ right; axis y=3y = 3.

3. (Warm-up) Find the maximum and minimum of y=2sin⁡x−5y = 2\sin x - 5.

Solution

Maximum −5+2=−3-5 + 2 = -3, minimum −5−2=−7-5 - 2 = -7.

4. (Core) Describe all the properties of y=−3sin⁡(0.5(x+90∘))+2y = -3\sin\big(0.5(x + 90^\circ)\big) + 2: amplitude, period, phase shift, axis, range, and any reflection.

Solution

Amplitude 33, reflected in the axis (since a<0a \lt 0). Period 360∘0.5=720∘\tfrac{360^\circ}{0.5} = 720^\circ. Phase shift 90∘90^\circ left. Axis y=2y = 2. Range {y∈R∣−1≤y≤5}\{y \in \mathbb{R} \mid -1 \le y \le 5\}.

5. (Core) Map the five key points of y=cos⁡xy = \cos x to find one cycle of y=4cos⁡(x−45∘)−1y = 4\cos(x - 45^\circ) - 1.

Solution

The rule is (x,y)→(x+45∘, 4y−1)(x, y) \to (x + 45^\circ,\ 4y - 1):

(45∘,3),(135∘,−1),(225∘,−5),(315∘,−1),(405∘,3)(45^\circ, 3), \quad (135^\circ, -1), \quad (225^\circ, -5), \quad (315^\circ, -1), \quad (405^\circ, 3)

6. (Core) Find the period and phase shift of y=sin⁡(2x+60∘)y = \sin(2x + 60^\circ).

Solution

Factor: sin⁡(2(x+30∘))\sin\big(2(x + 30^\circ)\big). Period 180∘180^\circ, phase shift 30∘30^\circ left.

7. (Core) Show that y=cos⁡(x−90∘)y = \cos(x - 90^\circ) has the same graph as y=sin⁡xy = \sin x.

Solution

Shifting the cosine graph 90∘90^\circ right moves its key points (0∘,1),(90∘,0),(180∘,−1),(270∘,0)(0^\circ, 1), (90^\circ, 0), (180^\circ, -1), (270^\circ, 0) to (90∘,1),(180∘,0),(270∘,−1),(360∘,0)(90^\circ, 1), (180^\circ, 0), (270^\circ, -1), (360^\circ, 0), which are exactly sine’s key points. So the graphs match.

8. (Challenge) Describe, in order, the transformations that take y=cos⁡xy = \cos x to y=2cos⁡(3(x−20∘))−4y = 2\cos\big(3(x - 20^\circ)\big) - 4.

Solution
  1. Vertical stretch by a factor of 22 (amplitude 22).
  2. Horizontal compression by a factor of 13\tfrac{1}{3} (period 120∘120^\circ).
  3. Translation 20∘20^\circ right (phase shift).
  4. Translation 44 down (axis y=−4y = -4).

9. (Challenge) A function y=asin⁡(kx)+cy = a\sin(kx) + c, with a>0a \gt 0 and k>0k \gt 0, has a maximum of 77, a minimum of −1-1, and a period of 120∘120^\circ. Find aa, kk, and cc.

Solution

a=7−(−1)2=4a = \tfrac{7 - (-1)}{2} = 4, c=7+(−1)2=3c = \tfrac{7 + (-1)}{2} = 3, and 360∘k=120∘\tfrac{360^\circ}{k} = 120^\circ gives k=3k = 3.

So y=4sin⁡(3x)+3y = 4\sin(3x) + 3.