The Phase Shift Formula
Any transformed sine or cosine function can be expressed in this standard form, which isolates the four transformation parameters:
f(x) = A × sin(Bx − C) + D
f(x) = A × cos(Bx − C) + D
A— Amplitude—controls the height of oscillation above and below the centerlineB— Frequency coefficient—determines how many complete cycles occur in a fixed intervalC— Horizontal shift parameter—used with B to calculate the phase shiftD— Vertical shift—moves the entire wave up or down, setting the new equilibrium
Understanding Amplitude, Period, and Vertical Shift
Amplitude is the distance from the centerline to either the peak or trough. In the standard form, it equals the coefficient A. A sine or cosine function without any scaling oscillates between −1 and 1, giving an amplitude of 1. Multiplying by A stretches or compresses this range; the wave now swings between −A and A around its centerline.
Period describes how long it takes for the function to complete one full cycle. The unmodified sine and cosine repeat every 2π radians. The coefficient B compresses or stretches the graph horizontally. The period formula is 2π ÷ B. A larger B means more oscillations in the same horizontal distance, so the period shrinks.
Vertical shift is the simplest: the constant D shifts the entire function up or down. If D is positive, the centerline moves up; if negative, it moves down. The amplitude still measures distance from this new centerline, not from zero.
What Is Phase Shift and How to Calculate It
Phase shift is the horizontal displacement of the function. It tells you whether the graph has moved left or right compared to the basic sine or cosine curve. To find it, divide the parameter C by the coefficient B:
- Phase shift = C ÷ B
If this result is positive, the graph shifts to the right. If negative, it shifts to the left. This matters because sine and cosine are slightly offset from each other—sine equals cosine shifted left by π/2—so phase shift helps you identify exactly where the function starts relative to a reference point.
Worked Example
Consider the function f(x) = 0.5 sin(2x − 3) + 4. Matching it to the standard form A sin(Bx − C) + D:
- A = 0.5 → amplitude is 0.5
- B = 2 → period is 2π ÷ 2 = π
- C = 3 → phase shift is 3 ÷ 2 = 1.5 (rightward)
- D = 4 → vertical shift moves the centerline to y = 4
The graph oscillates 0.5 units above and below y = 4, completes one full cycle every π radians, and is shifted 1.5 units to the right of the standard sine curve.
Common Pitfalls When Finding Phase Shift
Phase shift calculations are straightforward, but a few mistakes can trip you up:
- Sign confusion with the formula — The standard form uses <em>Bx − C</em>, not <em>Bx + C</em>. If your equation has <em>Bx + C</em>, rewrite it as <em>Bx − (−C)</em> first, so you're subtracting a negative value. This affects the sign of your phase shift.
- Forgetting to divide by B — Extracting <em>C</em> alone gives you the argument shift, not the phase shift. Always divide <em>C</em> by <em>B</em> to get the actual horizontal displacement in terms of the input variable.
- Mixing up period and phase shift — The period depends on <em>B</em> alone (period = 2π ÷ B), while phase shift depends on both <em>B</em> and <em>C</em>. They are separate properties and use different formulas.
- Ignoring the vertical shift when reading graphs — A large vertical shift <em>D</em> can visually mask the centerline. Always identify <em>D</em> first as the midpoint between the maximum and minimum values on the graph.