Lite / Engineering Complex Systems / Week 1
Sinusoids: models that repeat
The voltage in a wall socket swings from +325 V to −325 V fifty times a second. The harbour tide does the same thing twice a day. One function describes both.
Why should I care?
Mains electricity, vibration in a washing machine, a robot arm waving, sound, radio, the tides, daylight hours: all periodic. The sinusoid is the building block engineers use for every one of them, and later in this year (signals and filters) every signal will be built from sums of sinusoids.
- Model a periodic quantity as y = A·sin(2πft + φ) + c and name each parameter with units.
- Convert between frequency, period and angular frequency.
- Explain why exponential and power-law models cannot fit data that cross zero.
Predict
UK mains voltage has a frequency of 50 Hz. How long is one complete cycle?
- 50 s
- 0.5 s
- 20 ms
- 2 ms
Guess first, then reveal
Period T = 1/f = 1/50 s = 0.02 s = 20 ms. Frequency counts cycles per second; period is seconds per cycle. They are reciprocals.
Discover
Load the harbour tide. Try the exponential and power families first: why does the lab refuse? Now fit the sinusoid. Read its period in hours (it should be close to the real semidiurnal tide, about 12.4 h). Nudge the amplitude and watch the residuals change.
What the interactive shows (text version)
In the fitter, the harbour tide data rise and fall over 24 hours and go below zero. Power and exponential fits are refused because the data are negative. A sinusoid fits with an amplitude near 1.8 m and a period near 12.4 h, with random-looking residuals; the readout states the fitted equation.
Understand
Four parameters, four jobs
y = A·sin(2πft + φ) + c. Amplitude A: the peak swing (325 V). Frequency f in hertz: cycles per second. Phase φ in radians: where in the cycle it starts. Offset c: the level it swings around (zero for mains, mean sea level for tides). Period T = 1/f.
Angular frequency
Inside the sine the angle must be in radians. One cycle is 2π radians, so the angle grows at ω = 2πf radians per second. For 50 Hz, ω = 314 rad/s. You will meet ω constantly: in derivatives of sinusoids (week 3), in vibration and in control.
Why other families fail here
Power laws and exponentials are fitted on log axes, and logs need positive values. A sinusoid with zero offset is negative half the time. More fundamentally, neither family can turn round and come back: a periodic quantity needs a periodic model.
Explain it another way
Intuitive
Picture a point going round a wheel at a steady speed. Its height above the axle, traced against time, is a sine wave. Amplitude is the wheel's radius, frequency is how fast it turns, phase is where the point started.
Technical
v(t) = A·sin(ωt + φ), ω = 2πf, T = 1/f. UK mains: 230 V rms means a peak A = 230√2 ≈ 325 V at f = 50 Hz.
Mathematical
Any A·sin(ωt + φ) can be written p·sin ωt + q·cos ωt with A = √(p² + q²) and tan φ = q/p. That identity is how the lab fits a sinusoid by least squares once ω is chosen.
Applied
Power engineers keep the grid at 50 Hz (60 Hz in some countries) within a fraction of a hertz. A falling frequency means demand is outrunning supply, so frequency is itself a sensor of the whole grid's health.
Worked example 1
v(t) = 325·sin(2π·50·t) volts. What is v at t = 2.5 ms?
Angle = 2π × 50 × 0.0025 = 0.785 rad (π/4). sin(π/4) = 0.707, so v = 325 × 0.707 = 230 V. An eighth of a cycle in, the voltage is at 71% of its peak.
Common mix-ups
Angles in sin(2πft) can be in degrees.
✓ The 2πf form assumes radians. In degrees you would need 360·f·t instead, and calculus formulas only work in radians.230 V mains means the voltage never exceeds 230 V.
✓ 230 V is the rms value; the peak is about 325 V.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Daylight hours where you live vary over the year. Sketch a sinusoid model for them: estimate the amplitude, period, phase (which day is longest?) and offset. Where might the model be least accurate?
Reflect
Name one periodic quantity in a machine you use and say what its amplitude and period might be, with units.
Write your answer on paper or in your own notes. Lite never stores what you write.
Go further
- OpenStax Calculus Volume 1 (free, open textbook)
A complete first-year calculus text with worked examples and exercises, free to read online.