Solveeit Logo

Question

Question: How will you obtain OR, AND gates from the NAND and NOR gates? Write symbols, Boolean formula, and t...

How will you obtain OR, AND gates from the NAND and NOR gates? Write symbols, Boolean formula, and truth table.

Explanation

Solution

Hint : We will use a NOT gate made from one of the universal gates for the above conversions. In case of obtaining an AND gate from the NAND gate, we will use a NOT gate after the NAND gate since then there will be a double negation on NAND which will give us an AND gate. Similar is the case while obtaining an OR gate from NOR gate where we will use a NOT gate (made from a NOR gate) after another NOR gate.

Complete step by step answer:
The symbol and truth table of the AND gate is

Truth Table

Input AInput BOutput
000
010
100
111

The symbol and truth table of the NAND gate is

Truth Table

Input AInput BOutput
001
011
101
110

The symbol and truth table of the OR gate is

Truth Table

Input AInput BOutput
000
011
101
111

The symbol and truth table of the NOR gate is

Truth Table

Input AInput BOutput
001
010
100
110

It is evident from the above truth tables that AND is the negation of NAND and NOR is the negation of OR.
The arrangement of the required gates is shown in the figure. We will obtain the required OR and AND gates from the NOR and NAND gates as illustrated below.

The Boolean formula for the above conversions is as follows, considering the inputs of the gates as XX and YY:
OR gate from NOR gate: X+Y=X+Y\overline {\overline {X + Y} } = X + Y
OR gate from NAND gate: XˉYˉ=X+Y\overline {\bar X \cdot \bar Y} = X + Y
AND gate from NOR gate: Xˉ+Yˉ=XY\overline {\bar X + \bar Y} = X \cdot Y
AND gate from NAND gate: XY=XY\overline {\overline {X \cdot Y} } = X \cdot Y

Note:
The above figure is the least number of gates required for the given conversions. If we use more gates, then they will be redundant. Example: we can use two NOT gates (made from NAND or NOR) after any of the above gates but they will be redundant as the two NOT gates will nullify each other.