Multiplexing in Computer Networks
Multiplexing
Multiplexing is the technique that lets a single communication link carry many independent signals at once, instead of wiring a separate physical channel for every conversation. It is the reason one fiber-optic cable can carry an entire city's internet traffic, and why one telephone trunk line can carry thousands of calls at the same time.
What Is Multiplexing?
Multiplexing is a technique used to combine multiple independent signals and transmit them together over a single communication medium.
Instead of allocating a separate physical channel to every sender-receiver pair, multiplexing lets several data streams share one transmission path — each occupying its own slice of the channel's capacity.
The device that combines signals at the sending end is called a Multiplexer (MUX). At the receiving end, a Demultiplexer (DEMUX) separates the combined signal back into the original individual signals.
Multiplexing is about sharing a medium efficiently. It should not be confused with switching, which is about directing data to the correct destination device. Real networks use both together.
A Highway Analogy
Imagine two cities connected by a single road.
- Without multiplexing: every vehicle would need its own dedicated road — simple in concept, but far too costly to build.
- With multiplexing: many vehicles share the same highway using separate lanes or scheduled time slots to avoid collisions.
Networks apply the same idea: many users share one physical channel, with its capacity divided among them in an organized way so that no one's data collides with anyone else's.
Components of a Multiplexing System
A multiplexing system has three essential parts:
| Component | Role |
|---|---|
| Input signals | The individual data streams generated by different devices — for example, telephone calls, internet traffic, television signals, or sensor data. |
| Multiplexer (MUX) | Accepts the multiple inputs, gives each one a share of the channel, and combines them into a single composite signal for transmission. |
| Demultiplexer (DEMUX) | Receives the composite signal at the far end, separates it back into the original signals, and delivers each one to its correct destination. |
How Multiplexing Works
- Data collection — multiple devices generate data at the same time.
- Signal combination — the multiplexer combines all the inputs into one composite signal, according to whichever multiplexing scheme is in use (frequency, wavelength, or time).
- Transmission — the composite signal travels across the shared medium (copper wire, radio spectrum, or optical fiber).
- Signal separation — at the receiving end, the demultiplexer splits the composite signal back into its component signals.
- Delivery — each original signal reaches its intended receiver.
Why Multiplexing Matters
- Efficient use of bandwidth — available capacity is shared among many users instead of sitting idle.
- Lower cost — one shared medium is far cheaper than installing a dedicated line for every connection.
- Better scalability — millions of users can communicate over the same backbone infrastructure without new wiring for each one.
- Less wasted capacity — with dynamic schemes (covered under TDM below), unused portions of a channel can be reassigned to other users instead of sitting idle.
These benefits come with trade-offs. A multiplexed system needs extra hardware (the MUX/DEMUX pair), some schemes demand precise timing between devices, and because many users now depend on one shared channel, a failure of that channel affects everyone using it at once.
Types of Multiplexing
There are three major multiplexing techniques, distinguished by what they divide to create separate channels:
| Technique | What it divides | Signal domain |
|---|---|---|
| Frequency Division Multiplexing (FDM) | The channel's frequency spectrum | Analog |
| Wavelength Division Multiplexing (WDM) | The light spectrum inside an optical fiber | Analog (optical) |
| Time Division Multiplexing (TDM) | Transmission time | Digital |
1. Frequency Division Multiplexing (FDM)
What it is. FDM divides the available bandwidth of a shared medium into multiple non-overlapping frequency bands. Each input signal is permanently assigned one band and transmits continuously within it.
How it works. Suppose a transmission medium offers 100 MHz of usable bandwidth and ten signals need to share it. FDM splits that bandwidth into ten smaller frequency slices, usually leaving a small unused guard band between adjacent slices so that neighboring signals don't bleed into each other. Each signal is shifted (modulated) onto its own slice and transmitted at the same time as all the others. Because every signal occupies a different part of the spectrum, they travel simultaneously over the same wire or airwaves without colliding.
Real-world example — FM radio. Every FM station broadcasts on its own frequency — for example, 91.1 MHz, 93.5 MHz, 98.3 MHz, and 102.7 MHz. All of them are transmitting through the air at the same moment. When you tune a radio to a specific frequency, you are telling its internal demultiplexer to isolate just that one station's band and ignore the rest.
Advantages
- Works naturally with analog signals.
- All users transmit simultaneously — no one has to wait for a turn.
- Relatively simple to implement.
- No strict timing/synchronization needed between users.
Disadvantages
- Requires substantial total bandwidth, some of which is lost to guard bands.
- Crosstalk can occur if filtering between bands is imperfect.
- Needs a separate modulator per channel.
- Wasteful when a channel carries low or bursty traffic, since its band is reserved full time regardless of actual use.
Common applications: radio and television broadcasting, cable TV distribution, satellite communication.
2. Wavelength Division Multiplexing (WDM)
What it is. WDM is the fiber-optic counterpart of FDM. Instead of dividing a radio-frequency spectrum, it divides the spectrum of light itself: different signals travel as different wavelengths (colors) of light through the same optical fiber.
How it works. Separate laser sources generate optical signals at different wavelengths. A multiplexer combines these wavelengths onto a single fiber. At the receiving end, a demultiplexer splits the combined light back into its individual wavelength channels — much like a prism separates white light into a spectrum of colors.
Real-world example. Internet service providers use WDM on long-distance fiber backbones to multiply a single fiber's effective capacity. One physical strand of fiber can carry internet traffic, voice calls, and video streams at the same time, each riding its own wavelength — greatly increasing usable capacity without laying new cable. Systems that pack many closely spaced wavelengths onto a single fiber are known as Dense WDM (DWDM).
Advantages
- Extremely high aggregate bandwidth.
- Makes highly efficient use of already-installed fiber.
- Well suited to long-distance, high-capacity links.
Disadvantages
- Expensive optical equipment (lasers, optical multiplexers).
- Complex to install and maintain.
Common applications: fiber-optic backbones, internet exchange points, data-center interconnects, carrier telecom networks.
3. Time Division Multiplexing (TDM)
What it is. TDM is a digital multiplexing technique in which multiple users share the same channel by taking turns. Each user gets the full channel bandwidth, but only during its own assigned time slot.
How it works. The available transmission time is divided into small, repeating intervals called time slots. Each connected device transmits only during its own slot, and the cycle of slots repeats continuously, giving every device a regular, fair opportunity to send data.
Real-world example. A single classroom projector shared by several students is a simple analogy: only one student presents at a time, and the teacher allots each a fixed slot before moving on to the next.
There are two forms of TDM, which differ in how they assign slots.
Synchronous TDM
Each device gets a fixed time slot in every frame, whether or not it currently has data to send.
For four devices (A, B, C, D), a typical frame looks like:
| A | B | C | D |
If device B has nothing to transmit, its slot is still reserved and sent empty:
| A | — | C | D |
Advantages: simple to implement, predictable, easy to keep devices synchronized.
Disadvantages: bandwidth is wasted whenever a device has no data ready, since empty slots are still transmitted; the channel's total capacity must be built to handle every device's maximum rate at once, even though it's rare for all devices to be active simultaneously.
Common applications: T1/E1 carrier systems, ISDN, SONET/SDH.
Asynchronous (Statistical) TDM
Time slots are assigned dynamically, only to devices that currently have data to send.
Using the same four devices, if only A and C have data ready, the frame shrinks to just those two:
| A | C |
No slot is wasted on idle devices, so the channel's capacity is used far more efficiently — at the cost of needing extra addressing information in each slot so the receiver knows which device a given piece of data belongs to.
Advantages: better bandwidth utilization, higher overall efficiency, well suited to bursty traffic.
Disadvantages: more complex to implement, requires per-slot addressing overhead, introduces a small amount of additional processing delay.
Common applications: modern computer networks, packet-switched networks.
FDM vs. TDM vs. WDM at a Glance
| FDM | TDM | WDM | |
|---|---|---|---|
| Divides | Frequency | Time | Light wavelength |
| Signal type | Analog | Digital | Optical |
| Typical medium | Copper wire / radio | Any digital link | Optical fiber |
| Typical use | Radio, cable TV, satellite | Telephone trunks, digital networks | Fiber-optic backbones |
Practical Applications of Multiplexing
Multiplexing underlies most communication infrastructure in daily use:
- Telecommunications — multiple phone calls share the same trunk line.
- Internet service providers — thousands of subscribers share backbone links.
- Cable television — many channels are delivered through a single cable.
- Mobile networks — millions of users share the same cellular spectrum.
- Fiber-optic networks — multiple optical channels travel through one fiber via WDM.
- Satellite communication — several data streams share the same transponder.
Common Mistakes
- Confusing multiplexing with switching. Multiplexing shares a medium among many signals; switching decides which destination a particular piece of data should go to. They solve different problems and are typically used together, not as alternatives to each other.
- Treating FDM and TDM as interchangeable. FDM suits continuous analog signals; TDM suits digital, often bursty traffic. Applying the wrong scheme to a given signal type wastes capacity.
- Overlooking guard bands and guard times. Without them, adjacent channels in FDM — or adjacent slots in TDM — can interfere with one another.