Skip to content
GATEiit

GATE EE · Analog and Digital Electronics

Multiplexers

2^n:1 data selector equations, Shannon expansion realization of (n+1)-variable Boolean functions, universal gate synthesis via 2:1 MUX, and hierarchical MUX trees.

Before you start

This topic comes before: Demultiplexers

Concept notes

1. Data-Selector Characteristic Equation and Universal Function Design

A 2n:1 Multiplexer uses n binary select pins Sn−1…S0 to route exactly one of 2n data inputs I0…I2n−1 onto single output Y (with optional active-low Enable Eˉ):

Y=∑k=02n−1Ik⋅mk(Sn−1,…,S0)

By applying Shannon's expansion around n select variables, any arbitrary (n+1)-variable Boolean function (even all 16 functions of 3 variables on a single 4:1 MUX with zero extra gates except at most one inverter) maps directly by connecting Ik∈{0,1,X,Xˉ} matching the two rows per column in the implementation table.

F(A,B,C) = Σm(1, 2, 6, 7), S1 = A, S0 = BI0I1I2I3C = 0C = 102461357CC01Ik =column k holds minterms 2k (C = 0)and 2k + 1 (C = 1); none circled → 0,both → 1, one → C or C̄4 : 1MUXI0I1I2I3CC01ABF(S1, S0)
Any 3-variable function on one 4:1 MUX: put A, B on the selects and feed each data input C, C̄, 0 or 1 read from the implementation table.

2. Universal Gate Synthesis Using 2:1 Multiplexers

Since Y=SˉI0+SI1, a single 2:1 MUX acts as a universal logic primitive without external NAND/NOR chips (one MUX builds Inverter, AND, OR; two MUXes realize EX-OR):

  • Inverter (Aˉ): Set S=A,I0=1,I1=0.
  • AND (A⋅B): Set S=A,I0=0,I1=B.
  • OR (A+B): Set S=A,I0=B,I1=1.
  • EX-OR (A⊕B): Set S=A,I0=B,I1=Bˉ (requiring 1 inverter MUX + 1 selector MUX =2 total 2:1 MUXes).

3. Multiplexer Tree Cascading and Enable Expansion

To synthesize a large M:1 multiplexer out of smaller K:1 blocks (K<M, e.g. 16:1 out of 4:1 MUXes): divide M successively by K summing stages (4+1=5), matching the closed ceiling count NMUX=⌈M−1K−1⌉. Cascading two 4:1 MUXes with Enable pins builds an 8:1 MUX if active-low Eˉ and Eˉ′ toggle on MSB S2 into a wired/ORed output.

Formulas to remember

4:1 MUX Output EquationEach minterm of Select variables gates its corresponding data channel
Y=Sˉ1Sˉ0I0+Sˉ1S0I1+S1Sˉ0I2+S1S0I3
Universal 2:1 Boolean IdentitiesSelect pin receives A while I0, I1 hold 0/1/B
Aˉ=MUX(A;1,0),A⋅B=MUX(A;0,B),A+B=MUX(A;B,1)
MUX Tree Minimum Block CountExample: 64:1 built from 4:1 takes 16 + 4 + 1 = 21 = 63/3 blocks
Nblocks=⌈M−1K−1⌉
Order Selection IdentityAny subset of n variables acts as select pins using implementation table pairs
(n+1)-variable F  ⟹  2n:1 MUX with single-var inputs
2-to-1 Parallel-to-Serial ConverterMultiplexers time-interleave parallel multi-channel bytes onto single serial buses
YTDM=Ich(t)cycling select at fsample⋅M

Common mistakes

  • Forgetting which variable bit sits as MSB (S1) vs LSB (S0) when reading binary row indices (m0..m7) from an implementation table: always write the 3-bit index (ABC)2 explicitly before pairing rows.
  • Grouping rows sequentially in pairs (0,1),(2,3),(4,5),(6,7) even when MSB A (not LSB C) was assigned to the data lines instead of Select lines (if (S1,S0)=(B,C), pair (0,4),(1,5),(2,6),(3,7)).
  • Thinking M:1 MUX cascading takes M/K blocks and forgetting the final collector MUX stage (⌈(M−1)/(K−1)⌉).
  • Omitting the active-low Enable Eˉ polarity when splitting MSB Sn to turn an enable pin into a higher MUX selector.
  • Assuming single 2:1 MUX can build XOR without a second MUX (inverting B takes one MUX unless complemented inputs are given).

Worked examples

Try each step yourself, then reveal the working.

Example 1: Implementation Table Mapping for 3-Variable Logic on 4:1 MUX

numerical

Implement F(A,B,C)=∑m(1,3,5,6) using a single 4:1 MUX with (S1,S0)=(A,B) and variable C on data lines.

  1. Step 1: Pair minterms sharing common (A,B) columns

    Try it on paper first.

Example 2: Swapping Select Variables Inside MUX Implementation Table

numerical

Implement F(A,B,C)=∑m(0,2,4,7) on a 4:1 MUX using (S1,S0)=(B,C) (MSB A feeds data inputs instead of LSB C). Find I0,I1,I2,I3.

  1. Step 1: Group rows by (B, C) bits

    Try it on paper first.

Example 3: Minimum 4:1 MUX Count for Building a 32:1 Multiplexer

numerical

How many 4:1 multiplexers (assume 2:1 fallback or extra 4:1 with 2 tied lines) are needed to construct a single 32:1 multiplexer?

  1. Step 1: Trace tree layers stage by stage

    Try it on paper first.

Example 4: Cascaded Double 2:1 MUX Boolean Reverse Evaluation

numerical

First 2:1 MUX selects between I0=A,I1=Aˉ with select S=B, feeding its output X into I1 of a second 2:1 MUX whose I0=0 and select S=C. Write simplified Boolean output Y(A,B,C).

  1. Step 1: Evaluate first stage output X

    Try it on paper first.

Previous year questions

No official GATE EE question is tagged with this topic yet. The topic test below uses practice questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EE syllabus; being checked by a reviewer. Updated 2026-12-04. Spotted a mistake? Use Report an issue on any question, or contact us.