CSC 498 · Computer Network and Data Communications
Our notes
2 min readTime domain and frequency domain
A signal can be drawn against time (what an oscilloscope shows) or as its spectrum: amplitude against frequency (what a spectrum analyser shows). A pure sine wave is one line in the spectrum.
Fourier's idea
Any periodic signal of period T (fundamental frequency f₀ = 1/T) is a sum of sines and cosines at f₀ and its harmonics 2f₀, 3f₀, …:
g(t) = a₀/2 + Σ [aₙ cos(2πnf₀t) + bₙ sin(2πnf₀t)]
with aₙ = (2/T)∫ g(t) cos(2πnf₀t) dt and bₙ = (2/T)∫ g(t) sin(2πnf₀t) dt over one period; a₀/2 is the average (DC) value. A non-periodic signal has a continuous spectrum (the Fourier transform).
The square wave
A square wave of amplitude ±A (odd symmetry) contains only odd harmonics:
g(t) = (4A/π)[sin ωt + (1/3) sin 3ωt + (1/5) sin 5ωt + …], ω = 2πf₀.
- The fundamental alone looks like a rounded sine; adding the 3rd and 5th harmonics sharpens the edges. A perfect square edge needs infinitely many harmonics.
- The harmonic amplitudes fall as 1/n: most of the energy is in the first few.
Bandwidth of digital signals
A channel passes only a limited band, so it removes the higher harmonics and rounds off the pulses.
- For binary data at R bps, the worst case (alternating 1010…) is a square wave of frequency R/2.
Worked example. Sending 8,000 bps of alternating bits: fundamental = 4,000 Hz. Passing harmonics up to the 5th needs about 5 × 4,000 = 20 kHz; a channel of only 4 kHz passes just the fundamental (still enough to tell 1 from 0 if noise is low).
Worked example (why modems use many levels). A voice line passes up to about 3,000 Hz. At 9,600 bps the fundamental of a 1010… pattern is 4,800 Hz, already above the cut-off: plain binary pulses can't go that fast over the line, so modems pack several bits into each symbol (multilevel modulation).
Why the spectrum matters
- Each channel has a passband; a signal must fit inside it.
- Narrower pulses (higher bit rates) spread over a wider spectrum.
- Filtering and shaping pulses (raised-cosine filters) limit the bandwidth a signal uses so neighbouring channels don't interfere.
- Sampling theorem (Nyquist): a signal containing no frequencies above B can be rebuilt exactly from samples taken at 2B per second. Telephone voice (filtered to about 4 kHz) is sampled at 8,000 times a second, × 8 bits = 64 kbps (one PCM voice channel). Music CDs sample at 44.1 kHz for sound up to about 20 kHz.
Exams usually ask: time versus frequency domain; state Fourier's theorem; write the Fourier series of a square wave and explain the role of harmonics; how bandwidth limits the bit rate; the sampling theorem and PCM.
Common mistake: saying a channel's bandwidth equals the bit rate. A 3 kHz channel can carry more than 3 kbps; how much depends on the number of signal levels and the noise (next topic).
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick MIT 6.02 notes: Fourier analysis and spectral representation of signals
MIT course notes chapter (PDF): fuller than our notes, with worked examples.
(opens ocw.mit.edu in a new tab)
MIT OpenCourseWare, MIT 6.02 notes: Fourier analysis and spectral representation of signals, CC BY-NC-SA 4.0 · licence
-
Fourier series
(opens en.wikipedia.org in a new tab)
Wikipedia, Fourier series, CC BY-SA 4.0 · licence
-
Frequency domain
(opens en.wikipedia.org in a new tab)
Wikipedia, Frequency domain, CC BY-SA 4.0 · licence
Watch
-
What is the Fourier Transform? ("Brilliant explanation!")
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Fourier Transform Equation Explained ("Best explanation of the Fourier Transform on all of YouTube")
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
But what is the Fourier Transform? A visual introduction.
20 min · ≈ 90 MB · about ₦51
(opens youtube.com in a new tab)
-
Introduction to Fourier Series
23 min · ≈ 104 MB · about ₦58
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.