One of the very significant and useful concept in simplifying the output expression using K-Map is the concept of “Don’t Cares”. The “Don’t Care” conditions allow us to replace the empty cell of a K-Map to form a grouping of the variables which is larger than that of forming groups without don’t cares. While forming groups of cells, we can consider a “Don’t Care” cell as 1 or 0 or we can also ignore that cell. Therefore, “Don’t Care” condition can help us to form a larger group of cells.

A Don’t Care cell can be represented by a cross(X) in K-Maps representing a invalid combination. For example, in Excess-3 code system, the states 0000, 0001, 0010, 1101, 1110 and 1111 are invalid or unspecified. These states are called don’t cares.

A standard SOP function having don’t cares can be converted into a POS expression by keeping don’t cares as they are, and writing the missing minterms of the SOP form as the maxterm of POS form. Similarly, a POS function having don’t cares can be converted to SOP form keeping the don’t cares as they are and writing the missing maxterms of the POS expression as the minterms of SOP expression.

**Example-1:**

Minimise the following function in SOP minimal form using K-Maps:

f = m(1, 5, 6, 11, 12, 13, 14) + d(4)

**Explanation:**

The SOP K-map for the given expression is:

Therefore, SOP minimal is,

f = BC' + BD' + A'C'D + AB'CD

**Example-2:**

Minimise the following function in POS minimal form using K-Maps:

F(A, B, C, D) = m(0, 1, 2, 3, 4, 5) + d(10, 11, 12, 13, 14, 15)

**Explanation:**

Writing the given expression in POS form:

F(A, B, C, D) = M(6, 7, 8, 9) + d(12, 13, 14, 15)

The POS K-map for the given expression is:

Therefore, POS minimal is,

F = (A'+ C)(B' + C')

**Example-3:**

Minimise the following function in SOP minimal form using K-Maps:

F(A, B, C, D) = m(1, 2, 6, 7, 8, 13, 14, 15) + d(0, 3, 5, 12)

**Explanation:**

The SOP K-map for the given expression is:

Therefore,

f = AC'D' + A'D + A'C + AB

**Significance of “Don’t Care” Conditions:**

Don’t Care conditions has the following significance in designing of the digital circuits:

**Simplification of the output:**

These conditions denotes inputs that are invalid for a given digital circuit. Thus, they can used to further simplify the boolean output expression of a digital circuit.

**Reduction in number of gates required:**

Simplification of the expression reduces the number of gates to be used for implementing the given expression. Therefore, don’t cares make the digital circuit design more economical.

**Reduced Power Consumption:**

While grouping the terms long with don’t cares reduces switching of the states. This decreases the memory space that is required to represent a given digital circuit which in turn results in less power consumption.

**Represent Invalid States in Code Converters:**

These are used in code converters. For example- In design of 4-bit BCD-to-XS-3 code converter, the input combinations 1010, 1011, 1100, 1101, 1110, and 1111 are don’t cares.

**Prevention of Hazards in Digital Circuits:**

Don’t cares also prevents hazards in digital systems.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

## Recommended Posts:

- Conditions for Deadlock in Operating System
- Advantage and Disadvantage of Mesh Topology
- Previous Solved CS Papers Year wise - GATE / UGC / ISRO
- Importance of Sudo GATE CS 2021 Test Series
- Advantages and Disadvantages of Star Topology
- ∈-NFA of L = (a* + b*)
- ∈-NFA of Regular Language L = {ab,ba}
- State Elimination Method convert DFA/NFA/Ɛ-NFA into Regular Expression
- Disk Defragmentation in Operating System
- Difference between Shared Lock and Exclusive Lock
- Transaction Management
- Advantages and Disadvantages of Bus Topology
- Advantages and Disadvantages of Hybrid Topology
- Difference between Batch Processing and Stream Processing

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.