Graphs and Periodic Motion
Almost everything that repeats — a heartbeat, a swinging pendulum, the alternating current in your wall socket, the daily rise and fall of the tide, the pressure wave of a musical note — can be described by the same two curves: sine and cosine. That is not a coincidence. It is one of the deepest and most useful facts in all of mathematics, and this page is about why it is true and how to use it.
When you learned right-triangle trigonometry, sine and cosine were ratios of sides. On the unit circle they became coordinates of a point going around and around. Here we take the final step: we let that circular motion unwind into a graph over time, and out comes a smooth, endlessly repeating wave. Learning to read and build these waves — to see a real oscillation and write down its equation — is one of the most transferable skills you will ever pick up in mathematics.
Learning Objectives
By the end of this page, you should be able to:
- Graph and and explain how each comes from motion around the unit circle.
- Identify and control the four parameters of a general sinusoid: amplitude, period, frequency, and phase shift (plus vertical shift).
- Convert fluently between period and frequency, and between degrees and radians on a graph.
- Build an equation of the form to model a real oscillation (tide, spring, sound, AC current).
- Explain, at least in outline, Fourier's discovery that every periodic signal is a sum of sines — and why that reshaped modern technology.
Quick Answer
The graph of is a smooth wave that starts at , rises to , returns through down to , and comes back to after one full turn of the unit circle ( radians). Cosine is the identical wave shifted left by a quarter turn, starting at its peak. A general sinusoid is written , where is the amplitude (half the peak-to-trough height), the period is (how long one cycle takes), the frequency is (cycles per unit), is the phase shift (horizontal slide), and is the vertical shift (the midline). Because uniform circular motion projects onto a line as exactly this shape, sinusoids describe every simple oscillation — and Fourier showed that combinations of them describe every periodic signal at all.
Where It Came From
The story begins with a very practical need: prediction of things that repeat. Ancient astronomers tracked the periodic positions of the Sun, Moon, and planets, and Greek and later Islamic mathematicians built tables of chords and sines precisely to forecast eclipses, tides, and calendar events. Sine literally entered mathematics as a tool for modeling cyclic motion in the sky.
But the graph of the sine function — the wave — waited for the 17th and 18th centuries, when mathematicians began treating trigonometric ratios as functions of a continuous variable rather than entries in a table. Once you plot for every , the wave appears, and its connection to physical oscillation becomes obvious.
The pivotal motivation came from physics. In the 1600s and 1700s, scientists studying vibrating strings, swinging pendulums, and springs kept arriving at the same equation of motion, whose solution is a sinusoid. A mass on a spring, pulled and released, traces out in time. This is called simple harmonic motion, and it appears anywhere a system is pushed back toward equilibrium by a force proportional to how far it has strayed. Nature is full of such systems, which is why the same wave shape keeps reappearing.
Then came the revolution. Around 1807, the French mathematician and physicist Joseph Fourier was trying to solve a mundane-sounding problem: how heat spreads through a solid body. To do it, he made an astonishing claim — that any periodic function, no matter how jagged or complicated (even a square wave with sharp corners), can be written as a sum of ordinary sines and cosines of different frequencies. Contemporaries like Lagrange thought this was too good to be true, and the claim needed decades of work to make fully rigorous. But Fourier was essentially right, and the consequence is enormous: sinusoids are the building blocks of every periodic signal in existence. Every time you stream music, take a JPEG photo, get an MRI, or run a phone call through a network, you are using Fourier's insight to break a signal into sine waves, manipulate them, and rebuild it. That is the practical payoff of the curves on this page.
The Basic Waves: Sine and Cosine
Picture a point moving counterclockwise around the unit circle at a steady speed. Its height above the center (its -coordinate) is ; its horizontal position is . Now imagine unrolling the angle along a horizontal axis and plotting that height. As goes from to , the height traces one complete wave.
Key features of :
- It passes through the origin: .
- It peaks at with value , crosses zero at , bottoms out at with value , and returns to zero at .
- It repeats forever: . The period is .
- It stays between and .
The cosine wave is the same shape but starts at its maximum: . In fact — cosine is sine shifted left by a quarter period. This is why we can model everything with sine alone if we like; cosine is just a phase-shifted sine.
Worked Example: Reading Values Off the Wave
Problem. Without a calculator, find using the graph's structure.
Solution. The angle sits just past , in the third quarter of the cycle where sine is negative and heading down from zero. Its reference angle is , and . Because we are below the midline,
Reading the sign straight off the wave's shape — negative between and — is faster and safer than memorizing a table.
The Four Controls: Amplitude, Period, Frequency, Phase
To model real oscillations we need to stretch, squeeze, and slide the basic wave. The general sinusoid is
Each letter does exactly one geometric job:
| Symbol | Name | Effect on the graph | Formula |
|---|---|---|---|
| Amplitude | Vertical stretch; height of peak above midline | ||
| Angular frequency | Horizontal squeeze; more cycles per unit | period | |
| Phase shift | Slides the whole wave right (if ) | shift | |
| Vertical shift | Raises/lowers the midline | midline |
Two definitions students constantly mix up:
- Period is the time (or length) for one full cycle.
- Frequency is how many cycles fit in one unit — the reciprocal of the period.
A crucial subtlety: the phase shift is , not the number subtracted inside an un-factored expression. If you see , factor first: , so the shift is , not .
Worked Example: Building an Equation From a Description
Problem. A wave oscillates between a maximum of and a minimum of . One full cycle takes units, and at the wave sits at its midline heading upward. Write its equation.
Solution. Work through the four controls in order.
- Midline: .
- Amplitude: .
- from the period: .
- Phase: a plain sine starts at the midline going up, which is exactly our condition, so .
Check. At : (midline). At (a quarter period): (maximum). Correct.
Worked Example: Extracting Parameters From an Equation
Problem. For , find the amplitude, period, frequency, phase shift, and midline, and describe the graph.
Solution. Factor the inside: , so the equation is .
- Amplitude .
- Period .
- Frequency cycles per unit.
- Phase shift (shifted left a quarter unit, because of ).
- Midline .
The negative sign on the flips the cosine: instead of starting at a peak, the shifted-and-flipped wave starts at a trough. So near its reference point the graph opens from a minimum of up to a maximum of .
Modeling Real Oscillations
The reason this topic matters is that the same four controls describe wildly different physical systems.
Sound. A pure musical tone is a pressure wave . The amplitude is loudness; the frequency is pitch. Middle A is Hz, meaning cycles per second, so its period is seconds.
AC electricity. Household mains voltage is a sinusoid, e.g. in the US, where Hz is the frequency and V is the peak (giving the familiar V "RMS" average). The alternating sign is literally the wave dipping below its midline.
Tides. Sea level rises and falls roughly sinusoidally with the ~12.4-hour lunar cycle. A tide model has a nonzero vertical shift (mean sea level) and an amplitude set by the tidal range.
Springs and pendulums. A mass bobbing on a spring obeys where — the very definition of simple harmonic motion.
Worked Example: Modeling a Tide
Problem. At a harbor, high tide is m and low tide is m. High tide occurs at hours (measuring in hours after midnight) and the cycle length is hours. Model the water depth , then find the depth at .
Solution.
- Midline: m.
- Amplitude: m.
- : period .
- Because a maximum occurs at , use cosine (which peaks at its start) shifted so its peak lands at : .
Now evaluate at :
So at midnight the water is exactly at mean sea level, which makes sense: it is three hours (a quarter period) before high tide, so it is rising through the midline. Correct.
Fourier: Why Every Periodic Signal Is a Sum of Sines
Here is the idea that turns this topic from "graphing exercises" into the foundation of modern technology. A single sinusoid is smooth and rounded — so how could it ever build a square wave with sharp vertical edges, or the complex buzz of a violin?
Fourier's answer: add many sinusoids of different frequencies together. For a square wave, adding the fundamental sine plus a bit of the sine at triple frequency, plus a bit at five times, seven times, and so on — the odd harmonics — the sum grows increasingly square-shaped:
Include enough terms and the wobbly sum snaps into crisp corners. The remarkable theorem is that this works for any reasonable periodic function: it equals a sum (its Fourier series) of sines and cosines whose frequencies are whole-number multiples of the fundamental. The amplitude of each sine tells you "how much of that frequency" the signal contains — its spectrum.
This is why the topic is universal. A violin and a flute playing the same note have the same fundamental frequency (same pitch) but different recipes of harmonics — that difference in the sine ingredients is what your ear hears as timbre. MP3 compression throws away the sine components your ear can't detect. Noise-canceling headphones measure incoming sine components and add their opposites. JPEG images run the same idea in two dimensions. Every one of these technologies rests on the graphs you are learning to draw here.
Real-World Applications
- Audio and music: synthesizers build tones by summing sinusoids; equalizers boost or cut specific frequency bands; MP3/AAC compression discards inaudible sine components.
- Electrical engineering: AC power, radio and Wi-Fi carrier waves, and signal filters are all analyzed as sinusoids; "frequency" on your radio dial is literally the sine's .
- Medicine: ECG and EEG traces are periodic signals decomposed into frequency bands; MRI reconstructs images from measured sine-wave frequencies.
- Oceanography and climate: tide tables, seasonal temperature cycles, and El Niño oscillations are fit with sinusoidal models.
- Mechanical engineering: vibration analysis of engines, bridges, and buildings uses Fourier spectra to find dangerous resonant frequencies.
- Everyday life: the swing of a pendulum clock, the bounce of a car's suspension, the daily rhythm of body temperature, and the flicker-free hum of AC lighting all follow sinusoids.
Common Mistakes
1. Confusing period and frequency. Many students report the value of as the period. Misconception: " is how long a cycle takes." Why it's wrong: measures angular speed; a bigger means a shorter, more crowded cycle. Correction: always compute period and frequency . They are reciprocals, not the same thing.
2. Reading the phase shift straight from an un-factored equation. Given , students say the shift is . Why it's wrong: the phase shift is the value of after factoring out . Correction: rewrite as ; the shift is . Divide the constant by .
3. Getting the shift direction backward. With and , some shift the graph left. Why it's wrong: to keep the argument the same, must be larger, so features move to the right. Correction: shifts right by ; shifts left by . It feels backward, so double-check with one point.
4. Ignoring a reflection when is negative. Treating as if it just has amplitude . Why it's wrong: the negative flips the wave vertically, so it starts by going down, not up. Correction: amplitude is , but note the reflection when sketching the starting direction.
Comparison and Connections
| Idea | What it captures | Key formula | Watch out for |
|---|---|---|---|
| Amplitude | Height of the swing | Not the total peak-to-trough (that's ) | |
| Period | Length of one cycle | Reciprocal of frequency | |
| Frequency | Cycles per unit | Measured in Hz when is seconds | |
| Phase shift | Horizontal slide | (after factoring) | Sign/direction reversed |
| Vertical shift | Midline level | Moves min and max together |
Sine vs. cosine: identical waves offset by a quarter period; . Use whichever starts more conveniently — cosine when a maximum sits at your start point, sine when the midline does.
Sinusoid vs. tangent: tangent is periodic too, but it has period and shoots off to infinity at asymptotes — it is not a smooth bounded wave and does not model simple harmonic motion.
Connection to the unit circle: the wave is literally the vertical (sine) or horizontal (cosine) coordinate of circular motion unrolled over time. Circular motion and simple harmonic motion are two views of the same thing.
Practice Questions
Recall
State the amplitude, period, frequency, phase shift, and midline of .
Answer: amplitude ; period ; frequency ; phase shift right; midline .
Understanding
Explain why and have the same graph shape, and state precisely how far apart they are.
Answer: Both are projections of steady circular motion; cosine tracks the horizontal coordinate and sine the vertical, and these differ by a quarter turn. Formally , so cosine is sine shifted left by (a quarter period).
Application
A Ferris wheel of radius m has its center m above the ground and completes one turn every seconds. A rider boards at the lowest point at . Write the height and find the height at s.
Guidance: Lowest point at means an inverted cosine: , , , so . At : m (level with the center — a quarter turn up).
Analysis
The first few terms of a square wave are . Explain why the coefficients shrink and why only odd multiples of the frequency appear.
Guidance: The coefficients shrink () because high-frequency corrections only fine-tune the sharp corners, so they contribute less and less. Only odd harmonics appear because the square wave has a specific symmetry (odd, half-wave symmetric) that cancels every even-frequency component in the integral that computes the Fourier coefficients. The result is a signal built entirely from odd-frequency sines whose amplitudes fall off as .
FAQ
Do I have to measure the horizontal axis in radians? For pure trig graphs, radians are cleanest because the period comes out as . In applications the axis is usually time (seconds, hours), and absorbs the unit conversion — you rarely think in radians directly, you just use period .
When should I model with sine and when with cosine? They are interchangeable via a phase shift, so use whichever removes the need for a shift. If your data starts at a maximum, cosine is natural; if it starts at the midline rising, plain sine is natural. Either will fit the same data.
Why is amplitude half the distance between max and min, not the whole distance? Amplitude measures the swing from the midline to a peak — the "radius" of the oscillation. The full max-to-min distance is , the "diameter." Splitting it gives you both the midline () and the amplitude () at once.
Is frequency the same as the value? No. is the angular frequency (radians per unit); ordinary frequency is in cycles per unit (Hz when the unit is seconds). They are proportional but differ by the factor — a common source of errors in physics.
How can smooth sine waves ever add up to a signal with sharp corners? Individually they can't, but an infinite sum of them can approach one arbitrarily closely. Each higher-frequency sine adds a finer wrinkle near the corner. This is Fourier's theorem, and near a true jump you even get a small persistent overshoot called the Gibbs phenomenon — a fingerprint of building sharp edges from smooth waves.
What does "phase" mean physically? Phase is where in its cycle an oscillation is at a chosen moment. Two waves "in phase" peak together; "out of phase" (by half a period) one peaks as the other bottoms out — which is exactly how noise-canceling headphones erase sound by adding an opposite-phase copy.
Quick Revision
- General sinusoid: .
- Amplitude ; peak-to-trough .
- Period ; frequency .
- Phase shift (factor out first!); positive shifts right.
- Vertical shift / midline ; max , min .
- : cosine is sine shifted a quarter period left.
- Negative reflects the wave vertically (starts by going down).
- Fourier: every periodic signal is a sum of sines/cosines at whole-number multiples of the fundamental frequency — the basis of audio, imaging, and communications.
Related Topics
Prerequisites
- The Unit Circle — where sine and cosine come from as coordinates of circular motion.
- Right-Triangle Trigonometry — the original ratio definitions of sine and cosine.
- Functions — transformations (shifts, stretches, reflections) that reshape any graph.
Related Topics
- Trigonometric Identities — algebraic relationships used to combine and simplify sinusoids.
- Trigonometry Overview — how these ideas fit together.
Next Topics
- Applications of Calculus — derivatives of sine and cosine describe velocity and acceleration in oscillating systems.
- Distributions — periodic and wave ideas reappear when analyzing signals and noise.