Build an equation from a graph
Quick review (2 minutes)
Think of rebuilding a Ferris wheel from a picture and a timing record.
Rule: A = > 0, B = , ω = , φ = ωh. Choose h at an upward middle crossing for sine or a peak for cosine.
Read the maximum and minimum, then find positive A and B.
Read T between adjacent matching stages.
Compute ω = 2π ÷ T.
Choose sine at an upward middle crossing or cosine at a peak; read h.
Compute φ = ωh and substitute h back into the inside.
Check points one quarter period apart.
Recover height and center from the extrema.
Recover timing from two adjacent matching points.
Pick a convenient positive-A start.
Convert h to φ and check the five cycle stages.
A smooth cosine-shaped graph has maximum 1, minimum −1 and adjacent peaks at x = 0 and x = 2π. Write one equation. You are converting the pictured heights and repeat width into a rule.
y = cos x
A graph alone does not force a unique phase shift. State which sine or cosine start you chose and check that the equation reproduces the pictured stages.
Sine
The vertical coordinate of a point on a circle of radius 1 after turning through the input angle. Its abbreviation is sin.
Cosine
The horizontal coordinate of a point on a circle of radius 1 after turning through the input angle. Its abbreviation is cos.
Cycle
One complete run through a repeating pattern, from one position in the pattern to the next identical position with the same direction of motion.
Amplitude
The vertical distance from a wave's middle line to a highest or lowest point. It equals |A| and is always positive for a changing wave.
A
The signed multiplier outside sine or cosine. Its absolute value gives the amplitude; a negative A turns the basic wave upside down.
Maximum
The greatest output a wave reaches. For y = A sin(ωx − φ) + B, it is B + |A|.
Minimum
The least output a wave reaches. For y = A sin(ωx − φ) + B, it is B − |A|.
Peak
A highest point on a wave. Its vertical coordinate is the maximum output, while its horizontal coordinate tells where that height occurs.
Trough
A lowest point on a wave. Its vertical coordinate is the minimum output, while its horizontal coordinate tells where that height occurs.
Period
The smallest positive horizontal distance after which the entire changing wave repeats. For positive ω, the period is .
T
The letter used for a wave's period. It measures one complete repeat along the horizontal axis.
Phase shift
The signed horizontal shift in standard form with ω > 0. Positive means right; negative means left.
Midline
The horizontal line halfway between a wave's greatest and least heights. Its equation is y = B, where B is the average of those heights.
B
The number added outside sine or cosine. It is the middle height and gives the midline equation y = B.
Inside input
The entire expression fed into sine or cosine, such as ωx − φ. Calculate that expression before finding the sine or cosine output.
Quarter period
One fourth of a wave's period. Five key points separated by this distance mark the start, three interior points and the end of one cycle.
Key points
Useful points that anchor a wave sketch. Across one cycle, choose the start and four more points spaced one quarter period apart.
Sine model
A model using sine to describe a repeating rise and fall. With positive A and ω, its shifted cycle starts at an upward middle crossing.
Cosine model
A model using cosine to describe a repeating rise and fall. With positive A and ω, its shifted cycle starts at a peak.
Unit circle
The circle of radius 1 centered at (0, 0). Its point at angle u has coordinates (cos u, sin u).
Coefficient
A number multiplying a variable or expression. Its location tells what quantity it scales.
Reflection
A flip across a line that preserves distances. Compared with the same positive multiplier and center, a negative outside multiplier exchanges heights above and below the midline.
Midline crossing
A point where the wave passes through its center height. Upward and downward crossings are different stages of the cycle.
1 In plain words
Think of rebuilding a Ferris wheel from a picture and a timing record. The highest and lowest positions tell you the center and size. Two neighboring peaks tell you how long one trip takes. Then you choose where to call the start. A positive Cosine model begins at a peak. A positive Sine model begins where the wave crosses its center going up. Either can describe the same picture. You must match the direction at that point, not only its height. Once you have those measurements, writing the equation is filling four labeled slots. You can then predict points and compare them with the graph.
Explain it like I am five
Think of rebuilding a Ferris wheel from a photo and a stopwatch: top and bottom seats give its size and hub height, the time from top to top gives one turn, and you pick a start.
A graph peaks at y = 10, bottoms at y = 2, and has neighboring peaks at x = 1 and x = 7. Size: A = = 4. Center: B = = 6. Period: T = 7 − 1 = 6, so ω = = . A positive cosine starts at a peak, so the start is h = 1 and φ = ω × h = . Equation: y = 4 cos(x − ) + 6.
Check x = 4, halfway between the peaks: the inside is × 4 − = − = π, cos π = −1, and y = −4 + 6 = 2, the bottom. Why φ = ω × h: at the start x = h the inside ω × h − φ must be 0.
2 Picture it
Reminder
Reminder: Average and half-difference, Horizontal distance, Recover input speed, Solving for φ, Quarter-turn values
- Average and half-difference. Maximum 9 and minimum 3 give B = 6 and A = 3.
- Horizontal distance. From x = 1 to x = 9 the distance is 8.
- Recover input speed. T = 8 gives ω = ; multiplying by 8 gives 2π.
- Solving for φ. At h = 1, ωh − φ = 0 gives φ = ωh; substituting gives ωh − ωh = 0.
- Quarter-turn values.
3 Why
The extreme-height formulas determine |A| and B. Adjacent matching graph features determine T, which determines ω = . Choosing positive A fixes the meaning of the start: an upward midline crossing for sine or a maximum for cosine. At x = h, the inside ωx − φ must equal 0, so φ = ωh. One quarter period changes the inside by , giving the intermediate graph stages and a direct check of the equation.
4 The rule
.
Choose h at an upward middle crossing for sine or a peak for cosine.
The same idea, five ways
Build a sine or cosine rule that matches the pictured wave.
A graph determines height, center, repeat width and a suitable cycle start.
- φ = ωh
- Quarter period =
- Graph words: use a peak or an upward midline crossing.
Rebuild a wheel's size and timing from a picture of its motion.
The same idea, other ways
Height span, center height, repeat width and chosen starting position fill four formula slots.
Reading a formula predicts a graph. Reading the graph recovers the same numbers by undoing those predictions.
Part 1: Positive sine at an upward middle crossing
A Midline crossing is where the wave passes through its center height. An upward crossing passes from below the center to above it. Positive sine has exactly that direction at inside input 0.
- Rule: choose h at an upward crossing when A > 0.
The same idea, five ways
Positive sine at an upward middle crossing
An upward crossing means the graph passes from below the center to above it. Positive sine has exactly that direction at inside input 0.
- Rule: choose h at an upward crossing when A > 0.
Start timing the wheel when the seat passes its center while rising.
Worked example
An upward middle crossing
A graph has maximum 8, minimum −2, period 10 and an upward midline crossing at x = 2. Write a positive sine equation. Upward means the height passes through the middle from below to above.
Show the steps and the answer
- and .Half the span gives the amplitude; average gives the center.
- .The inside must advance one full turn during 10 horizontal units.
- Choose positive sine with , the upward middle crossing.Sine begins at 0 and rises, so after adding 3 it starts at the center and rises.
- .Convert horizontal position into inside offset.
- Plug back: .The crossing is at the intended inside start.
- Write .The positive A preserves the upward direction.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Check that the graph rises through the selected crossing.
Part 2: Positive cosine at a peak
Positive cosine gives its top height at inside 0, so a peak supplies h directly.
- Rule: choose h at a maximum when A > 0.
The same idea, five ways
Positive cosine at a peak
Positive cosine gives its top height at inside 0, so a peak supplies h directly.
- Rule: choose h at a maximum when A > 0.
Start timing the wheel when the seat reaches its top.
Worked example
A shifted cosine graph
A smooth sinusoidal graph has maximum 9, minimum 3 and consecutive peaks at x = 1 and x = 9. Write a positive cosine equation. This asks you to turn its heights, width and peak position into a formula.
Show the steps and the answer
- and .The two extreme heights determine size and center.
- ; .Adjacent peaks are the same stage one cycle apart.
- Choose cosine with positive A and .At the chosen start, positive cosine sits at a peak.
- .φ is an inside offset, so multiply the x-distance by the inside coefficient.
- Plug h back: .The chosen peak position feeds cosine its starting input.
- Write , or .Factoring displays the horizontal distance without changing the function.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use a peak, or choose negative A for a trough.
Part 3: Different equivalent equations
A selected phase shift belongs to the chosen sine or cosine representation. The same wave can have a different start in another representation. Moving h by a whole T also keeps the same repeating graph. On the unit circle, a clockwise quarter turn sends a point's vertical coordinate to its horizontal coordinate. Therefore sin u = cos(u − ) for every angle u, which explains the quarter-period difference between matching positive sine and cosine starts.
- Rule: replacing h with h + T advances the inside by −2π, a full turn.
- Rule: sine and cosine starts are a quarter period apart for the same positive-A wave.
- Rule: sin u = cos(u − ) and cos u = sin(u + ). The quarter turn exchanges the coordinate read without changing its value.
The same idea, five ways
The same wave can be described from a middle crossing or from a peak.
A selected phase shift belongs to the chosen sine or cosine representation. The same wave can have a different start in another representation. Moving h by a whole T also keeps the same repeating graph.
- = + for matching positive-A starts
Start describing the same wheel ride at a different moment.
Worked example
A sine equation for the same cosine picture
Use the same graph with peaks at x = 1 and 9, maximum 9 and minimum 3. Write a positive sine equation instead of cosine. This asks for a sine start that produces the same highs and lows as the cosine picture.
Show the steps and the answer
- .Changing the wave name does not change the graph's size, center or period.
- An upward middle crossing occurs one quarter period before the peak at 1: .Positive sine rises from its middle to its peak during the first quarter cycle.
- .The selected sine start lies one unit left of 0.
- Plug back: .That crossing is the inside sine start.
- Write .A negative φ produces a plus in the standard sine input.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Compare the predicted graph stages and their directions.
Part 4: Quarter-period key points
Key points mark the four quarter-turn stages and the return to the start. Add repeatedly from h, then read the sine or cosine heights.
- Rule: inputs h, h + , h + , h + , h + T.
The same idea, five ways
Quarter-period key points
Key points mark the four quarter-turn stages and the return to the start. Add repeatedly from h, then read the sine or cosine heights.
- Rule: inputs h, h + , h + , h + , h + T.
Place four equal time marks along a one-revolution timetable.
Worked example
Use quarter periods to draw a cycle
For y = 3 cos((x − 1)) + 6, locate the five Key points of one cycle. This asks for the peak, middle, trough, middle and next peak.
Show the steps and the answer
- The start is and , so Quarter period .A full turn has four quarter-turn steps.
- Use with , 1, 2, 3, 4; the table shows these inputs.Each step advances the inside by () × 2 = .
- In the table, the column under 1 has inside 0, so .Positive cosine starts at a peak.
- The columns under 3 and 7 have inside and , so .Cosine gives 0 at the two middle stages.
- The column under 5 has inside , so ; the column under 9 returns to inside and output 9.The half-turn gives the trough and the full turn gives the next peak.
- Five points:
- (1, 9)
- (3, 6)
- (5, 3)
- (7, 6)
- (9, 9)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Add along the input axis, then compute each output.
5 How
- Read the maximum and minimum, then find positive A and B.
- Read T between adjacent matching stages.
- Compute ω = 2π ÷ T.
- Choose sine at an upward middle crossing or cosine at a peak; read h.
- Compute φ = ωh and substitute h back into the inside.
- Check points one quarter period apart.
Turn a graph into an equation
- Recover height and center from the extrema.
- Recover timing from two adjacent matching points.
- Pick a convenient positive-A start.
- Convert h to φ and check the five cycle stages.
6 Worked example
Worked example
A centered cosine graph
A smooth cosine-shaped graph has maximum 1, minimum −1 and adjacent peaks at x = 0 and x = 2π. Write one equation. You are converting the pictured heights and repeat width into a rule.
Show the steps and the answer
- Amplitude ; .Half-difference gives size, and average gives center.
- , so .Adjacent peaks mark one full cycle.
- Choose positive cosine with , the first peak.Positive cosine reaches its maximum when its inside is 0.
- φ = ωh = 1 × 0 = 0; plug back: .The peak's x-coordinate gives the inside start after converting h to φ.
- Write .All four parameters are now fixed.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 4
A centered cosine graph
A smooth cosine-shaped graph has maximum 1, minimum −1 and adjacent peaks at x = 0 and x = 2π. Write one equation. You are converting the pictured heights and repeat width into a rule.
Show the steps and the answer
- Amplitude ; .Half-difference gives size, and average gives center.
- , so .Adjacent peaks mark one full cycle.
- Choose positive cosine with , the first peak.Positive cosine reaches its maximum when its inside is 0.
- φ = ωh = 1 × 0 = 0; plug back: .The peak's x-coordinate gives the inside start after converting h to φ.
- Write .All four parameters are now fixed.
Rung 2 of 4
Raised cosine graph
A graph has maximum 9, minimum 3, and adjacent peaks at x = 0 and x = 8. Write a positive cosine equation. This asks for the wave's size, center and repeat width, with its peak placed at input 0.
Show the steps and the answer
- and .Choose positive A so a peak is the cosine start.
- , so .The two peaks enclose one full inside turn.
- , so . At , the inside is 0.The first peak is at the standard cosine start.
- Write .Combine size, speed, position and center.
Rung 3 of 4
A shifted cosine graph
A smooth sinusoidal graph has maximum 9, minimum 3 and consecutive peaks at x = 1 and x = 9. Write a positive cosine equation. This asks you to turn its heights, width and peak position into a formula.
Show the steps and the answer
- and .The two extreme heights determine size and center.
- ; .Adjacent peaks are the same stage one cycle apart.
- Choose cosine with positive A and .At the chosen start, positive cosine sits at a peak.
- .φ is an inside offset, so multiply the x-distance by the inside coefficient.
- Plug h back: .The chosen peak position feeds cosine its starting input.
- Write , or .Factoring displays the horizontal distance without changing the function.
Rung 4 of 4
An upward middle crossing
A graph has maximum 8, minimum −2, period 10 and an upward midline crossing at x = 2. Write a positive sine equation. Upward means the height passes through the middle from below to above.
Show the steps and the answer
- and .Half the span gives the amplitude; average gives the center.
- .The inside must advance one full turn during 10 horizontal units.
- Choose positive sine with , the upward middle crossing.Sine begins at 0 and rises, so after adding 3 it starts at the center and rises.
- .Convert horizontal position into inside offset.
- Plug back: .The crossing is at the intended inside start.
- Write .The positive A preserves the upward direction.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Choose the starting point with the clearest graph label.
- If asked for one equation, equivalent sine and cosine answers may both fit.
7 The trap
A graph alone does not force a unique phase shift. State which sine or cosine start you chose and check that the equation reproduces the pictured stages.
Keep in mind
- A positive cosine starts at a peak and a positive sine starts where the wave crosses its midline going up, so read h at the feature that matches your choice.
- The period runs peak to next peak: peaks at x = 1 and x = 7 give T = 6, not 3, since peak to trough is half a cycle.
- Multiply to get φ: φ = ω × h, so ω = and h = 1 give φ = , not 1.
- More than one equation is correct: starting at the next peak, h = 7, gives y = 4 cos(x − ) + 6, the same graph.
Memory hook
Top and bottom give A and B, peak to peak gives T, then ω = . Cosine starts at a peak, sine at a rising middle crossing.
Flash cards
Say the answer out loud, then flip.
From a graph, how do you get A and B?
- A =
- B =
Where does a positive cosine model start? Where does a positive sine model start?
- Cosine: at a peak
- Sine: where the wave crosses its midline going up
Neighboring peaks sit at x = 2 and x = 14. Find T and ω.
- T = 12