Multiplexers

2 min read Last updated Sat Jun 27 2026 08:46:52 GMT+0000 (Coordinated Universal Time)

A multiplexer (MUX) is a combinational circuit that routes 1 of 2n2^n input lines to a single output. nn select lines determine which input is forwarded. Available as ICs.

Select-Line Logic

For a 2n2^n-to-11 MUX with inputs I0,,I2n1I_0, \ldots, I_{2^n-1} and select lines Sn1,,S0S_{n-1}, \ldots, S_0:

Y=k=02n1mkIkY = \sum_{k=0}^{2^n-1} m_k \cdot I_k

mkm_k: minterm corresponding to binary value kk of the select lines.

For a 4-to-1 MUX:

Y=S1S0I0+S1S0I1+S1S0I2+S1S0I3Y = \overline{S_1}\,\overline{S_0}\,I_0 + \overline{S_1}\,S_0\,I_1 + S_1\,\overline{S_0}\,I_2 + S_1\,S_0\,I_3
S1S_1S0S_0YY
00I0I_0
01I1I_1
10I2I_2
11I3I_3

Implementing Boolean Functions

Any nn-variable boolean function can be implemented with a 2n2^n-to-11 MUX:

  1. Use the nn input variables as select lines.
  2. Connect each data input IkI_k to 11 if the function is 11 for minterm kk, else to 00.

With a 2n12^{n-1}-to-11 MUX, 1 variable becomes a data input. Each IkI_k is connected to 00, 11, the variable, or its complement based on the last truth table column.

Advantages

  • Reduction of wires
  • Reduction of circuit complexity
  • Reduction of cost
  • Any combinational function can be implemented using MUX

Demultiplexer

A demultiplexer (DEMUX) routes 1 input to 1 of 2n2^n outputs based on nn select lines. The inverse operation of MUX.

For a 1-to-4 DEMUX with input DD:

S1S_1S0S_0Y0Y_0Y1Y_1Y2Y_2Y3Y_3
00DD000000
0100DD0000
100000DD00
11000000DD
Was this helpful?