• edited by
2,364 views
10 10 votes

The possible number of Boolean function of $3$ variables $X,Y$ and $Z$ such that $f(X,Y,Z) = f(X’,Y’,Z’)$

  1. $8$
  2. $16$
  3. $64$
  4. $32$

4 Answers

3 3 votes
f(x,y,z)=f(x',y',z')
(0,0,0)=(1,1,1)
(0,0,1)=(1,1,0)
(0,1,0)=(1,0,1)
(0,1,1)=(1,0,0)

Like above other input combinations also repeat after these inputs.
- We have 4 input pairs and produces output either o or 1.
- Total functions possible=2*2*2*2 (or) 2^4 =16
3 3 votes

As per the above condition a particular input and its complement will have the same bit assigned to them.

Total possible inputs = 2^n = 2 ^3 = 8

 

Lets group together an input and its complement: 
 

(0,0,0), (1,1,1)
(0,0,1), (1,1,0)
(0,1,0), (1,0,1)
(0,1,1), (1,0,0)

 

Total groups = 4

2 Possibilities for each group i.e. 0/1

 

So, total number of functions possible = 2^4 = 16

 

In general for n variable function:

 

Total groups = 2^n / 2 = 2 ^(n – 1)

 

Total functions = 2 ^ (2 ^ (n – 1))

1 1 vote

Detailed Video Explanation: https://youtu.be/DbKnUyyzlZs?t=6433

Understand the given function.

$f(X,Y,Z) = f(X’,Y’,Z’)$ means:

$f(0,0,0) = f(1,1,1)$ ;

$f(0,0,1) = f(1,1,0)$ ;

$f(0,1,0) = f(1,0,1)$ ;

$f(0,1,1) = f(1,0,0)$;

So, number of such functions over $3$ variables is $2^4 = 16.$

For $n$ variables:

$f(a_1,a_2, \dots a_n) = f(a_1’,a_2’, \dots a_n’)$ means:

For any row $0 \leq m \leq 2^n -1$, $f(m) = f(2^n – 1 – m).$

So, the number of boolean functions for which $f(a_1,a_2, \dots a_n) = f(a_1’,a_2’, \dots a_n’)$, is $2^{(2^{n-1})}.$

Detailed Video Explanation: https://youtu.be/DbKnUyyzlZs?t=6433

• edited by
0 0 votes

A function that takes three inputs (X, Y, Z), each 0 or 1, and produces one output (0 or 1).

There are 2³ = 8 possible input combinations (X, Y, Z can each be 0 or 1 → 8 rows in truth table)

Each of the 8 rows has 2 output choices (0 or 1), independently.

So total functions = 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 = 2⁸ = 256.

f(X,Y,Z) = f(X', Y', Z') constraint forces pairs to agree. So:

  • For pair {0, 7}: both rows must equal the same value → 1 choice (either both 0 or both 1) → 2 options
  • For pair {1, 6}: same → 2 options
  • For pair {2, 5}: same → 2 options
  • For pair {3, 4}: same → 2 options

Total: 2 × 2 × 2 × 2 = 2⁴ = 16

Answer: (B) 16

Answer:
Position:
Show:

Related questions

1 1 vote
1 1 answer
1.8k
1.8k views
admin asked Apr 1, 2020
1,800 views
A decimal has $25$ digits. The number of bits needed for its equivalent binary representation is approximately,$50$$74$$40$$60$
0 0 votes
3 3 answers
3.0k
3.0k views
admin asked Aug 28, 2020
3,040 views
A sequential circuit using D flip-flop and logic gates is shown in Figure, where $X$ and $Y$ are the inputs and $Z$ is the output. The circuit is$\text{S-R}$ Flip-flop wi...
1 1 vote
2 2 answers
1.6k
1.6k views
admin asked Aug 28, 2020
1,578 views
A $4$ bit ripple counter and a $4$ bit synchronous counter are made using flip-flops having a propagation delay of $10$ ns each. If the worst case delay in the ripple cou...
1 1 vote
2 2 answers
1.2k
1.2k views
admin asked Apr 1, 2020
1,156 views
In a ripple counter using edge-triggered $JK$ flip-flops, the pulse input is applied toClock input of all flip-flops$J$ and $K$ input of one flip-flop$J$ and $K$ input of...