Course contentsShow
← Mathematics
Lesson 1021 of 3,12124. Unit Circle and Analytic TrigonometryFree lesson

Finding Equations from Graphs

Work backwards to determine amplitude, period, shifts, and write equations matching given sine or cosine graphs.

Finding Equations from Graphs

What you'll learn: You'll learn how to reverse-engineer a sine or cosine equation by reading key features directly from a graph.

The Detective Work of Trigonometry

Until now, you've been given equations and asked to sketch their graphs. Now we flip the process: someone hands you a wave pattern, and you need to figure out what equation created it. Think of it like being a musical detective—you hear a note and need to identify its pitch, volume, and timing.

Reading the Clues from the Graph

To write the equation y = A·sin(B(x - C)) + D or y = A·cos(B(x - C)) + D, extract these features:

1. Amplitude (A): Measure from the midline to the peak. If the graph goes from a low of -3 to a high of 5, the midline is at y = 1, and the amplitude is |A| = 4 (the distance from midline to peak).

2. Vertical Shift (D): Where is the midline? That horizontal center line is your D value. In the example above, D = 1.

3. Period: How long before the pattern repeats? If one complete cycle takes 4π units, the period is 4π. Then solve: period = 2π/B, so B = 2π/(4π) = 1/2.

4. Phase Shift (C): Compare where your wave starts to where a standard sine or cosine would start. If a cosine graph normally peaks at x = 0 but yours peaks at x = 2, then C = 2.

5. Sine or Cosine? Check what happens at x = 0 (or at the starting point). Cosine starts at a maximum or minimum; sine starts at the midline crossing upward.

Strategy: Work Systematically

Always identify amplitude and vertical shift first (they're easiest to spot), then period, then phase shift last.

Key Takeaway: To find an equation from a graph, read off the amplitude (peak-to-midline distance), midline position (vertical shift), period (cycle length), and phase shift (horizontal offset), then plug them into the transformation form.