Digital Logic · Multiplexers and Demultiplexers
Introduction to Multiplexers and Their Properties
Overview
A multiplexer (MUX) is an electronic switch that connects one out of inputs to a single output, so the selected input's value appears unchanged at the output.
It matters because it acts as a pure selector and, being functionally complete, can realize any Boolean function using multiplexers alone.
Key concepts
- Multiplexer (MUX): an electronic switch that connects one out of inputs to a single output. It acts like a selector: whichever input the switch is connected to, that input's value appears at the output.
- Single output for N inputs: for inputs there is exactly one output.
- Property 1 — cannot change the logical level of the input: the multiplexer only provides a connection between input and output; it does not invert or alter the value.
Whatever value is given at the selected input appears exactly at the output. - Not an indicator: an indicator shows output 1 when some event happens (indicating the event occurred). The multiplexer indicates nothing — it simply takes an input and passes it to the output unchanged.
- Property 2 — functionally complete: all Boolean functions can be realized using only multiplexers, without using any gates. Functional completeness means you are able to implement any function.
How it works
Visualize many inputs () with a movable switch that can be connected to any one of them, and a single output. The switch selects which input is routed to the output:
- Switch connected to → output
- Switch connected to → output
- Switch connected to → output
Worked examples
Suppose the input values are , , , .
- If the output is connected to , the output produced is 0.
- If the output is connected to , the output produced is 1.
Revision summary
- A multiplexer connects one of inputs to a single output; for inputs there is exactly one output.
- It cannot change the logical level of the input — the selected input's value appears unchanged at the output.
- It is not an indicator: it does not signal events, it just passes the selected input through.
- It is functionally complete: any Boolean function can be realized using only multiplexers, with no gates.
- Shortcut: functional completeness of the multiplexer is a key property — any circuit can be built using only multiplexers.
Previous-year exam insights
- An n-input MUX needs ceil() select lines; a -input MUX has k select lines.
Asked inGATE 2020ISRO 2023 - A -input MUX can implement any Boolean function of k variables directly by connecting the variables to the select lines and the minterm values (0/1) to the data inputs; a function of k+1 variables can be implemented by a -input MUX with the extra variable fed to data inputs.
Asked inGATE 2021GATE 2014 - Building a larger MUX from smaller ones: a -input MUX can be built from 2-input MUXes using such MUXes (tree structure), and a -input MUX from 4-input MUXes needs + ... stages.
Asked inISRO 2008UGC NET 2008 - A MUX with its output fed back to a data input and select line used as control realizes a latch/flip-flop (feedback MUX = storage element).
Asked inGATE 2023 - A demultiplexer performs the reverse of a MUX: it takes 1 input line and routes it to one of output lines using n select lines (1-to-).
Asked inUGC NET 2018 - In time-division multiplexing, the aggregate bit rate equals the number of channels times the per-channel bit rate (each channel's bits are interleaved into the frame).
Asked inUGC NET 2016