Multiplexer is an electronic device that has 2n inputs but only one output.

It selects one output from many inputs i.e. it is also called data selector. For example 2X1 MUX, 8X1 MUX, 16X1 MUX etc. Case 1 when S0 is 0 and S1 is also 0 Y = A0 . 1 + A1. 0 + A2. 0 +A3. 0 = A0 Case 2 when S0 is 0 and S1 is 1 Y = A0. 0 + A1. 1 + A2. 0 + A3 . 0 = A Case 3 when S0 is 1 and S1 is 0 Y = A0 . 0 + A1 . 0 + A2 . 1 + A3 . 0 = A2 Case 4 when S0 is 1 and S1 is 1 Y = A0 . 0 + A1. 0 + A2 . 0 + A3 . 1 = A3