Unroll the circle and a wave appears. Stretch, shift and add sine curves, follow a wheel, a spring and the tides, and find a wave in anything that goes round
Let a point go round a circle and plot its height against time, and a wave appears. The same curve describes a swinging pendulum, a vibrating string, alternating current, the length of the day through the year and the rise and fall of the tide, because each of them is, in some sense, something going round.
Press Play and watch the height of P draw a wave, or turn P by hand, or drag S along the graph. Then turn faster to squeeze the wave, and widen the circle to make it taller.
Drag P round the circle (forwards or backwards), drag S along the graph, or press Play. The dashed line carries the height of P straight across to the graph, which uses the same scale as the circle. Time runs along the graph in seconds; the bright part is where P has been, the faint part is still to come. Change the speed and the wave already drawn squeezes or stretches, because the same turns now take less or more time. Readouts are measured from the drawing.
Look at a wheel exactly edge-on and a point on its rim seems to move straight up and down, fast through the middle and slowing to a stop at the top and bottom. That up-and-down motion, plotted against time, is the sine curve: for a circle of radius r turning f times a second, the height is
y = r sin(2πft)
Three words describe it. The period T is the time for one full turn, after which the wave repeats. The frequency f = 1/T is the number of turns, or cycles, per second, measured in hertz. The amplitude is the radius r, the greatest height above the middle. Turning faster raises f and shortens T, squeezing the wave along the time axis; a bigger circle stretches it vertically. The horizontal position of the point, r cos(2πft), is the same wave started a quarter of a turn earlier.
Machines use this in both directions. A crank turns the back-and-forth of a piston into the turning of a wheel, as in a steam locomotive, and an eccentric on a turning shaft drives a valve back and forth. A piston driven by a crank does not move as an exact sine wave, because its connecting rod tilts as it goes, but the longer the rod the closer it comes. See also: Waves in the Fourier module, where many sine waves are added together to make any repeating shape.
Move the sliders or drag the handles on the curve and watch the table: what you read off the graph matches the formula. In the second panel, choose a place and fit a sine to the length of its days.
| from the formula | measured off the graph | |
|---|---|---|
| amplitude | |A| = 2.00 | 2.00 |
| period | 2π ÷ B = 6.28 | 6.28 |
| midline | D = 1.00 | 1.00 |
| maximum | D + |A| = 3.00 | 3.00 |
| minimum | D − |A| = −1.00 | −1.00 |
Drag K to slide the peak (it changes C and A), M to raise the midline (D), and N to set the period (B, with K held still), or use the sliders. Switching x to degrees only relabels the axis: the curve is the same, and a period of 2π radians is 360°. The measured column reads the highest and lowest points and the spacing of rising midline crossings off the drawn curve between x = −π and 4π.
Every sinusoid can be written y = A sin(B(x − C)) + D. D lifts the whole curve, so its midline is y = D. A stretches it vertically, so it swings between D − |A| and D + |A|; a negative A turns it upside down. C slides it sideways: the wave now starts its rise from the midline at x = C instead of 0. B squeezes it: the sine repeats whenever its input grows by 2π, and B(x − C) grows by 2π when x grows by 2π/B. So the period is 2π/B in radians, or 360°/B when x is in degrees, and B is the number of cycles in a stretch of 2π.
A cosine is not a different curve: cos x = sin(x + π/2), the sine shifted a quarter period to the left. More is true. Any combination a sin x + b cos x is a single sine wave of the same period,
a sin x + b cos x = R sin(x + φ), R = √(a2 + b2)
where the angle φ is the direction of the point (a, b) from the origin, so that cos φ = a/R and sin φ = b/R. This is the addition formula for sin(x + φ) read backwards. It is what makes the fit in the second panel easy. Finding the amplitude and the phase of the best sine directly is awkward, but finding the best a, b and D in a sin x + b cos x + D is a straight-line (linear) least-squares problem, solved by three simultaneous equations. The formula above then turns a and b into an amplitude and a phase.
The day-length curve is close to a sine at moderate latitudes, within a few minutes at Cairo and about eight minutes at London, but not exactly one. Towards the polar circles it develops flat shoulders and sharp turns, and inside them it is cut off at 24 hours and 0. The model here also leaves out the atmosphere, which bends sunlight over the horizon and lengthens real days by several minutes. See also: Trigonometric Identities, for the addition formulas.
Drag the mass and let go, and compare it with the point on the circle beside it. Then add the Moon’s tide to the Sun’s and find the spring and neap tides, and ride a Ferris wheel.
An idealised spring with no friction: the force pulling the mass back is proportional to its displacement, F = −kx. The mass’s motion is computed by applying Newton’s law in steps of 1/240 s; the point on the circle simply turns at ω = √(k/m) radians per second, and its height is exact. Displacement is measured from the rest position (gravity only moves where that is). The period is timed between rises through the rest position.
A spring pulls back with a force proportional to how far it is stretched, F = −kx. A mass m on it therefore has an acceleration proportional to its displacement and opposite to it. A point going round a circle at a steady rate has exactly that property in its height, since its acceleration points to the centre, so the mass moves like the point’s shadow: x = x0 cos(ωt) with ω = √(k/m), and period
T = 2π√(m/k)
Motion like this is called simple harmonic motion. It does not depend on how far the mass is pulled, which is why a spring, a tuning fork or a guitar string keeps its pitch as it fades. A pendulum follows it closely for small swings, where the pull back towards the middle is almost proportional to the angle, with T ≈ 2π√(L/g) for a length L. For large swings the period grows. See also: Oscillations in the Classical Mechanics module.
The tides are raised by the Moon’s and the Sun’s pull, which stretch the oceans slightly towards and away from each body. The Earth turns under these two bulges, so each gives roughly two high tides a day: every 12.42 hours for the Moon, which moves on in its orbit while the Earth turns, and every 12 hours for the Sun. The Sun’s effect is a little under half the Moon’s. When the two are in step, at new and full moon, their waves add: spring tides. A week later they are out of step: neap tides. The cycle repeats every 1 / (1/12 − 1/12.42) hours, about 14.8 days, half a lunar month.
Real tides are far more complicated, shaped by coastlines and the depth of the sea, and they are predicted by adding many such waves, each with its own period from astronomy and its own amplitude and phase measured at the port. William Thomson, later Lord Kelvin, designed a machine in 1872 that added ten of them mechanically, so that a year of tides for a port could be drawn without adding up the waves by hand.
Spot a mistake or have an idea?