Question
Download Solution PDFThe number of Boolean functions possible with n binary variables is equal to
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFBoolean Functions (Expressions):
It is useful to know how many different Boolean functions can be constructed on a set of Boolean variables.
When there are no variables: There are two expressions
False = 0 and True = 1
For one variable p: Four functions can be constructed.
Recall, a function maps each input value of a variable to one and only one output value.
- The False(p) function maps each value of p to 0 (False).
- The identity(p) function maps each value of p to the identical value.
- The flip(p) function maps False to True and True to False.
- The True(p) function maps each value of p to 1 (True).
So, For one variable p, 4 = \(2^{2^{1}}\) functions can be constructed.
This information can be collected into a table
Input variable | Functions possible | |||
p | False | p | -p | True |
0 | 0 | 0 | 1 | 1 |
1 | 0 | 1 | 0 | 1 |
For two variables: p and q, 16 Boolean functions can be constructed.
Boolean Functions of n Variables:
Number of variables | Number of boolean functions. |
0 | 2 = 21 = \(2^{2^{0}}\) |
1 | 4 = 22 = \(2^{2^{1}}\) |
2 | 16 = 24 = \(2^{2^{2}}\) |
3 | 256 = 28 = \(2^{2^{3}}\) |
4 | 65, 536 = 216 = \(2^{2^{4}}\) |
n | \(2^{2^{n}}\) |
∴ There are \(2^{2^{n}}\)different Boolean functions on n Boolean variables
Last updated on Jun 12, 2025
->The NIMCET 2025 provisional answer key is out now. Candidates can log in to the official website to check their responses and submit objections, if any till June 13, 2025.
-> NIMCET exam was conducted on June 8, 2025.
-> NIMCET 2025 admit card was out on June 3, 2025.
-> NIMCET 2025 results will be declared on June 27, 2025. Candidates are advised to keep their login details ready to check their scrores as soon as the result is out.
-> Check NIMCET 2025 previous year papers to know the exam pattern and improve your preparation.