01 / 21

Sinusoidal Function
Transformations

Master how amplitude, period, phase shift, and vertical shift reshape sine and cosine curves.

AP Precalculus

What Is a Sinusoidal Function?

A sinusoidal function is any function that can be written in the form \( y = a\sin(b(x - c)) + d \) or \( y = a\cos(b(x - c)) + d \). These functions produce smooth, repeating wave-shaped graphs.

The Four Parameters

\( a \) : Amplitude
Vertical stretch or compression. Controls the height of each wave.
\( b \) : Period Control
Controls horizontal stretch. The period is calculated from \(b\): \( \text{Period} = \frac{2\pi}{|b|} \).
\( c \) : Phase Shift
Horizontal translation. Shifts the wave left or right.
\( d \) : Vertical Shift
Moves the entire curve up or down. Sets the midline.

Why Transformations Matter

Real-world periodic phenomena rarely match the parent \( \sin(x) \) curve exactly. Transformations let us model the actual amplitude, period, and baseline of phenomena like:

1
Tides: ocean levels rise and fall with a specific amplitude and period every ~12.4 hours.
2
Sound waves: pitch corresponds to frequency (\( b \)), volume to amplitude (\( a \)).
3
Daylight hours: seasonal variation modeled by a sinusoidal curve shifted vertically and horizontally.

The General Form

A
Amplitude = \( |a| \). If \( a < 0 \), the curve is reflected over the midline.
B
Period = \( \dfrac{2\pi}{|b|} \). Larger \( |b| \) means more cycles in the same interval.
C
Phase shift = \( c \). Positive \( c \) shifts the graph right; negative shifts left.
D
Vertical shift = \( d \). The midline moves to \( y = d \).

Amplitude: Stretching the Wave

Period: Compressing the Wave

Phase & Vertical Shifts

Phase Shift
\( y = \sin(x - \frac{\pi}{2}) \) shifts right by \( \frac{\pi}{2} \). This equals \( -\cos(x) \).
Vertical Shift
\( y = \sin(x) + 2 \) raises the midline to \( y = 2 \). \( \text{Max} = 3 \), \( \text{Min} = 1 \).

Sine vs Cosine Transformations

\( \sin \) \( \cos \)
Starts at Midline (going up) Maximum
Relationship \( \cos(x) = \sin\!\bigl(x + \frac{\pi}{2}\bigr) \)
Same parameters? Yes: \( a, b, c, d \) work identically
When to choose? Data starts at midline Data starts at max/min

How to Apply Transformations

1
Identify the midline: Find \( d \) from the average of the max and min values: \( d = \frac{\text{max} + \text{min}}{2} \).
2
Find the amplitude: \( |a| = \frac{\text{max} - \text{min}}{2} \). If the curve is flipped, \( a < 0 \).
3
Determine the period: Measure one full cycle. Then \( |b| = \frac{2\pi}{\text{period}} \).
4
Locate the phase shift: Compare where the cycle starts to the parent function to find \( c \).
5
Write the equation: Assemble \( y = a\sin(b(x - c)) + d \) or use cosine if appropriate.

Example 1: Basic Transformation

Graph the function \( y = 3\sin(2x) + 1 \) and identify all parameters.

Example 2: Phase Shift

Write an equation for a sinusoidal function with amplitude 2, period \( 4\pi \), phase shift \( \frac{\pi}{3} \) right, and midline \( y = -1 \).

1
\( a = 2 \) (amplitude given directly).
2
Period = \( 4\pi \), so \( b = \frac{2\pi}{4\pi} = \frac{1}{2} \).
3
Phase shift right by \( \frac{\pi}{3} \), so \( c = \frac{\pi}{3} \).
4
Midline \( y = -1 \), so \( d = -1 \).

Example 3: Reading a Graph

A sinusoidal graph has a maximum at \( (1, 5) \) and a minimum at \( (5, −1) \). Find the equation.

1
Midline: \( d = \frac{5 + (-1)}{2} = 2 \).
2
Amplitude: \( |a| = \frac{5 - (-1)}{2} = 3 \).
3
Half-period: The horizontal distance from max to min is \( 5 - 1 = 4 \). The full period is twice this, so the period is \( 8 \). Then, \( b = \frac{2\pi}{8} = \frac{\pi}{4} \).
4
Phase shift: Max at \( x = 1 \), so using cosine: \( c = 1 \).

Negative \( a \): Reflection

Common Mistakes

✕ Confusing \( b \) and period
The period is \( \frac{2\pi}{|b|} \), not \( b \) itself. If \( b = 3 \), the period is \( \frac{2\pi}{3} \), not \( 3 \).
✕ Wrong phase direction
\( \sin(x - c) \) shifts right by \( c \). A common error is reversing the direction of the shift.
✕ Forgetting to factor \( b \)
\( y = \sin(2x - \pi) \) is not a phase shift of \( \pi \). Factor first: \( y = \sin\!\bigl(2(x - \frac{\pi}{2})\bigr) \). Shift = \( \frac{\pi}{2} \).

Summary of Parameters

Parameter Effect Formula
\( a \) Amplitude (vertical stretch) \( |a| \)
\( b \) Period (horizontal stretch) \( \frac{2\pi}{|b|} \)
\( c \) Phase shift (horizontal move) Right by \( c \)
\( d \) Vertical shift (midline) \( y = d \)
\( -a \) Reflection over midline Flip upside down

Question 1 of 5

What is the amplitude of the function \( y = -4\sin(3x) + 7 \)?

Question 2 of 5

What is the period of \( y = \sin\!\left(\frac{\pi}{3}x\right) \)?

Question 3 of 5

The function \( y = 2\cos(4x - \pi) + 3 \) has a phase shift of:

Question 4 of 5

A sinusoidal function has a maximum of 10 and a minimum of 2. What is the midline?

Question 5 of 5

Which equation represents a sine wave with amplitude 5, period \( \pi \), shifted right by \( \frac{\pi}{6} \), midline \( y = -2 \)?