The Boolean expression for the output \(f\) of the multiplexer shown below is

2010

The Boolean expression for the output \(f\) of the multiplexer shown below is

  1. A.

    \(\overline {P \oplus Q \oplus R}\)

  2. B.

    \(P \oplus Q \oplus R\)

  3. C.

    \(P+Q+R\)

  4. D.

    \(\overline{P+Q+R}\)

Attempted by 175 students.

Show answer & explanation

Correct answer: B

Key idea: the two select lines P and Q choose either R or its complement, so the output is an XOR of the three signals.

  • Map select values to inputs: with select bits (P,Q) = 00 the top input R is chosen; 01 chooses R̅; 10 chooses R̅; 11 chooses R.

  • Write the sum-of-products from the MUX selection:

    f = P'Q'R + P'QR' + PQ'R' + PQR

  • Factor by R and R':

    f = R(P'Q' + PQ) + R'(P'Q + PQ')

  • Recognize the grouped terms: P'Q' + PQ = (P ⊕ Q)' (XNOR) and P'Q + PQ' = P ⊕ Q. Thus f = R·(P ⊕ Q)' + R'·(P ⊕ Q) = R ⊕ (P ⊕ Q).

  • Using associativity of XOR, the final simplified expression is:

    f = P ⊕ Q ⊕ R

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir