Skip to content
All apps

Sine Anatomy

About this app

Three sliders for amplitude A, angular frequency ω and phase φ in f(t) = A·sin(ωt + φ) — markers for A, period T and phase shift, plus a KaTeX addition-theorem decomposition.

Three parameters of an oscillation

Any sinusoid can be written as y(t) = A·sin(ωt + φ). The amplitude A sets the height; a negative A mirrors the curve. The angular frequency ω fixes the period T = 2π/ω and the frequency f = ω/(2π): the larger ω, the more oscillations per unit time. The phase φ shifts the curve to the left by φ/ω. By the angle addition formula, A·sin(ωt + φ) = A·cos φ·sin(ωt) + A·sin φ·cos(ωt): every shifted sine wave is a sum of a sine and a cosine of the same frequency, the basic building block of a Fourier series.

What the app shows

Three sliders control A (−3 to 3), ω (0.1 to 4) and φ (−π to π). The main curve responds instantly, and markers show amplitude, period and phase shift. In the background the components sin(ωt) and cos(ωt) and the reference sin(t) are drawn. The formula panel shows the expression with current values and the split given by the addition formula. The values panel lists T, f, the shift −φ/ω, the maximum |A| and the position of the first positive maximum.

Try it yourself

Set φ to 0 and change only ω: the period shrinks while the height stays. Then move φ and notice that the shift depends on ω, because it equals −φ/ω. At φ = π/2 the sine turns into a cosine, and the sine part disappears from the split. A negative A mirrors the curve; compare that with a phase shift of π.

Frequently asked questions

What do A, ω and φ mean in A·sin(ωt + φ)?
A is the amplitude, the maximum displacement. ω is the angular frequency, which sets the period T = 2π/ω. φ is the phase angle, which shifts the curve along the time axis.
How do you find the period of a sine function?
For y = A·sin(ωt + φ), T = 2π/ω. The frequency is the reciprocal, f = 1/T = ω/(2π). Amplitude and phase do not affect the period.
How do you write A·sin(ωt + φ) as sine plus cosine?
Use the angle addition formula: A·sin(ωt + φ) = A·cos φ·sin(ωt) + A·sin φ·cos(ωt). The coefficients A·cos φ and A·sin φ correspond to the coefficients bₖ and aₖ of a Fourier series.
What does the app show in the background?
The components sin(ωt) and cos(ωt) and the reference curve sin(t). They show the building blocks of the coloured main curve and how it differs from the basic shape.

Subject: Fourier analysis

More from Fourier analysis

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps