Writing Equations from Transformed Graphs
You'll learn: How to look at a transformed sine or cosine graph and extract the amplitude, period, phase shift, and vertical shift to write its equation.
The Detective Work
Now that you know how each parameter transforms a trig function, it's time to reverse-engineer: given a graph, can you write the equation that produced it?
Think of it like being a detective examining clues. Every feature of the graph tells you something about the equation y = A·sin(B(x - C)) + D or y = A·cos(B(x - C)) + D.
Reading the Four Parameters
Amplitude (A)
Find the vertical distance from the midline to the peak (or trough). This is your amplitude. The graph oscillates A units above and below the midline.
Vertical Shift (D)
Identify the midline — the horizontal line running through the middle of the wave. Its y-coordinate is D. If the wave oscillates between y = 1 and y = 5, the midline is at y = 3, so D = 3.
Period and B
Measure the horizontal distance for one complete cycle. Call this the period. Then use the formula:
- For sine/cosine: B = 2π / period
Phase Shift (C)
Locate a key reference point where the cycle "starts" (for sine: often where the curve crosses the midline going upward; for cosine: often at a peak). The horizontal displacement from x = 0 to that point is C (positive means right, negative means left).
Putting It Together
- Identify whether it's sine or cosine (shape matters!)
- Read amplitude from vertical stretch
- Find the midline for vertical shift
- Measure one period to calculate B
- Locate the phase shift relative to the parent function
Key Takeaway: To write an equation from a transformed graph, systematically extract amplitude (vertical stretch), period (calculate B), phase shift (horizontal translation), and vertical shift (midline position).