Sinusoidal functions in this visualization
A sinusoidal function, or sinusoid, is a function of the form with and : the graph of stretched, squeezed and shifted. Also written , with , , . Cosine curves are sinusoids too, because . The panel turns and on knobs ( from ½ to 4) and slides the shift and on faders.
The dashed curve is the parent ; the solid curve is the function on the panel. The yellow marks measure what the parameters set, one job each:
Now
The vertical bracket runs from the midline to a peak (to a trough when ). The horizontal bracket spans one period. The arrow along the midline goes from to , where sin x's cycle now starts. The blue dots are the five key points of that cycle, where equals and : the start, the extreme , the midline, the extreme and the end — a peak first and then a trough when , the other way round when .
Things to notice
- Inside the parentheses, changes act sideways and seem backwards: makes the period shorter (, not ), and a negative moves the curve to the right.
- Turning squeezes or stretches the curve about the start of its cycle, : the page keeps that shift while turns, so changes with it.
- The curve swings between and , with the midline halfway. A negative flips it over the midline; the amplitude is still .
Reading it correctly
- The shift is , not : is shifted to the right. Shifting first works too: move by , then divide the x-coordinates by , which divides the shift as well.
- The period depends only on , the amplitude only on . With the function is the constant : the amplitude is 0, nothing oscillates and there is no least period, so the period and read as dashes. is computed from the shift and not reduced to any interval; and draw the same curve.
- The page keeps positive. A negative adds nothing new: since , replace by , by and by .
Sketching by key points
- Setting to gives with and , and there . Plotting these five points and joining them smoothly is the usual way to sketch one cycle by hand. The Key points table on the panel lists them for the function on the panel; point at a column to light its point on the graph.
Controls
- and on knobs; the shift on a fader that slides sideways ( to , snapping to multiples of ) and on one that slides up and down — the way the curve moves. Click a value to type it (the shift accepts
π/6,2π/3,-pi/4or radians). Under the shift, “≡” gives the same curve's shift the other way: shifts a whole period apart draw one curve. - On the graph, drag the start of a cycle to shift the curve, its first extreme up or down to change , and its end sideways to change the period.
- Presentation mode opens a full-screen view for projectors (← → shift the curve by , ↑ ↓ move the midline by 0.5, H hides the measured values).
Related
- C01Unit circle
- C02Sine and cosine
- A05Function transformations
- G04Simple harmonic motion
- G13Fourier seriesPlanned
Further reading: Wikipedia: Sine wave; OpenStax, Precalculus 2e, 6.1 Graphs of the Sine and Cosine Functions.