Modulation and Multiplexing
Modulation encodes digital data onto a carrier signal by varying its amplitude, frequency or phase so it can travel across a physical medium. Multiplexing lets multiple independent signals share one medium at the same time, using separate frequency bands (FDM), time slots (TDM) or, in fiber optics, wavelengths of light (WDM).
Modulation and multiplexing solve two different, foundational problems at the physical layer: modulation gets digital data onto a physical signal that can actually travel across a medium, and multiplexing lets multiple separate signals share one physical medium at the same time.
Modulation
Modulation is the process of encoding digital data (1s and 0s) onto an analog carrier signal, such as an electrical current, a light pulse, or a radio wave, so it can actually be transmitted across a physical medium. Common modulation techniques vary a carrier signal's amplitude, frequency, or phase to represent the underlying digital data:
- Amplitude modulation: varies the signal's strength/height to encode data.
- Frequency modulation: varies the signal's frequency to encode data.
- Phase modulation: varies the timing/phase of the signal to encode data.
Modern high-speed connections (like cable modems and WiFi) often combine multiple techniques (like Quadrature Amplitude Modulation, which varies both amplitude and phase simultaneously) to pack more bits into each transmitted signal, increasing data rate without needing more raw bandwidth.
Multiplexing
Multiplexing lets multiple independent data streams share a single physical transmission medium simultaneously, rather than needing a separate physical connection for each stream. The main types:
- Frequency Division Multiplexing (FDM): Splits the available frequency range into separate bands, and each data stream gets its own dedicated band, transmitted simultaneously with the others. Traditional radio and TV broadcasting work this way, each station gets its own frequency.
- Time Division Multiplexing (TDM): Splits time into short slots, and each data stream gets its own dedicated time slot in a repeating rotation, so streams take turns using the full medium, cycling fast enough that it appears simultaneous.
- Wavelength Division Multiplexing (WDM): Used specifically in fiber optics, sends multiple data streams as different wavelengths (colors) of light down the same fiber simultaneously, since different wavelengths don't interfere with each other.
A worked example
A single fiber optic cable running between two data centers uses Wavelength Division Multiplexing to carry, say, 40 completely separate data streams simultaneously, each assigned its own distinct wavelength of light traveling through the exact same physical strand of glass. Without multiplexing, achieving the same total capacity would require laying 40 separate physical fiber cables instead of one, a massively more expensive proposition.
Where this matters in real systems
Multiplexing is precisely why a single fiber optic cable running between two cities can carry enormous amounts of aggregate traffic for many different customers and services simultaneously, rather than needing a dedicated physical cable per customer or per service. Cable internet (delivered over the same infrastructure as cable TV) uses frequency division multiplexing to separate TV channels and internet data onto different frequency bands on the exact same physical coaxial cable running into a home. WiFi's various channels, which let multiple nearby networks avoid interfering with each other, are also a real, direct application of frequency division concepts.
What interviewers actually ask about modulation and multiplexing
- "What does modulation actually do?" Encodes digital data onto an analog carrier signal (varying its amplitude, frequency, or phase) so the data can actually be transmitted across a physical medium.
- "What problem does multiplexing solve?" Letting multiple independent data streams share a single physical transmission medium simultaneously, instead of requiring a separate physical connection for each stream.
- "What's the difference between frequency division and time division multiplexing?" Frequency division gives each stream its own dedicated frequency band, transmitted simultaneously; time division gives each stream its own dedicated time slot, taking turns using the full medium.
- "What multiplexing technique is used in fiber optics, and why?" Wavelength Division Multiplexing, since different wavelengths (colors) of light can travel down the same fiber simultaneously without interfering with each other, dramatically increasing a single fiber's effective capacity.
Key takeaways
- Modulation encodes digital data onto a physical carrier signal by varying its amplitude, frequency, or phase.
- Multiplexing lets multiple independent data streams share one physical transmission medium simultaneously.
- Frequency division multiplexing assigns separate frequency bands; time division multiplexing assigns separate time slots; wavelength division multiplexing (used in fiber) assigns separate light wavelengths.
- Multiplexing is why a single physical cable can carry enormous amounts of aggregate traffic for many customers or services at once, instead of needing a dedicated cable per stream.
More in Physical Layer
Browse all Computer Networks topics
Log in to save which topics you've read across every subject.
Frequently asked questions
What does modulation actually do?
Encodes digital data onto an analog carrier signal (varying its amplitude, frequency, or phase) so the data can actually be transmitted across a physical medium.
What problem does multiplexing solve?
Letting multiple independent data streams share a single physical transmission medium simultaneously, instead of requiring a separate physical connection for each stream.
What's the difference between frequency division and time division multiplexing?
Frequency division gives each stream its own dedicated frequency band, transmitted simultaneously; time division gives each stream its own dedicated time slot, taking turns using the full medium.
What multiplexing technique is used in fiber optics, and why?
Wavelength Division Multiplexing, since different wavelengths (colors) of light can travel down the same fiber simultaneously without interfering with each other, dramatically increasing a single fiber's effective capacity.