Consider the minterm list form of a Boolean function given below.
Here, denotes a minterm and denotes a don't care term. The number of essential prime implicants of the function is ______.
Consider the minterm list form of a Boolean function given below.
Here, denotes a minterm and denotes a don't care term. The number of essential prime implicants of the function is ______.
ANSWER
The function has 3 essential prime implicants: , and .
Official answer: 3Source: Official answer key, GATE 2018 CS (IIT Guwahati)
Treat the don't cares as 1s when forming prime implicants. The usable cells are .
Draw the K-map with rows and columns in Gray order (00, 01, 11, 10), writing each cell as 1 (required), d (don't care) or 0:
The cells are minterms in row ; in row ; in row ; in row .
List the prime implicants, that is, the largest groups of 1s and don't cares that cannot be enlarged: covers ; covers ; covers ; covers ; covers ; covers . Neither pair can grow: minterms are 0, so and cannot extend to a quad.
An essential prime implicant is one that is the only prime implicant covering some required minterm. A don't care never forces a prime implicant to be essential.
Minterm lies only in , so is essential.
Minterm lies only in , so is essential.
Minterm lies only in (it is not in , because has ), so is essential.
The remaining required minterms are already covered by these three: by , by , and by . So , and are not essential. The number of essential prime implicants is .
KEY IDEA
Use don't cares as 1s to build the largest groups, but require an essential prime implicant to be the only cover of a required minterm (a 1, never a don't care).
WATCH OUT FOR
Counting a prime implicant as essential because it is the only one covering a don't care cell, or calling a prime implicant essential when its required minterms are all also covered by other groups. Another slip is forgetting to treat don't cares as 1s, which gives smaller groups and the wrong prime implicants.
From the GATE 2018 CS paper. Every question of this paper · Download the full paper · All 37 Boolean logic questions, with notes