Similar questions 6 more →
Boolean Algebra & Logic Gates


Shared context
Part (a) implements f(x,y,z) = xy′ + yz′ with one complement. Part (b) independently converts a drawn three-AND/two-OR circuit to exactly six two-input NAND gates.
Answer & solution
Answer: f = (x + y) · (yz)′ (no official key was published)
1. Start from the given f(x,y,z) = xy′ + yz′. Complementing y and z separately would require two NOT operations, so that direct sum-of-products implementation does not satisfy the restriction.
2. Search for a single complemented compound expression. De Morgan’s law gives (yz)′ = y′ + z′, so one NOT gate applied after AND(y,z) can generate the required complemented combination.
3. Verify the proposed factorization algebraically:
(x+y)(yz)′ = (x+y)(y′+z′) = xy′ + xz′ + yy′ + yz′ = xy′ + xz′ + yz′.
4. Show that xz′ is redundant rather than dropping it without justification. Split it by y: xz′ = xz′(y+y′) = xyz′ + xy′z′. The first term is already covered by yz′; the second is covered by xy′. Absorption therefore leaves precisely xy′ + yz′.
5. Implement the verified expression f = (x+y)(yz)′. Use t1 = OR(x,y), t2 = AND(y,z), t3 = NOT(t2), then f = AND(t1,t3):
x,y ---> OR --------- t1 ---\
AND ---> f
y,z ---> AND ---> NOT -- t3 -/
6. Count the gates: one OR, two AND gates, and exactly one NOT. The complemented quantity is yz, not either individual input. An exhaustive check of all eight input combinations independently confirms the identity.