edited by
6,257 views
34 votes
34 votes

Given a boolean function $f (x_1, x_2, \ldots, x_n),$ which of the following equations is NOT true?

  1. $f (x_1, x_2, \ldots, x_n) = x_1'f(x_1, x_2, \ldots, x_n) + x_1f(x_1, x_2, \ldots, x_n)$
  2. $f (x_1, x_2, \ldots, x_n) = x_2f(x_1, x_2, \ldots , x_n) + x_2'f(x_1, x_2, \ldots ,x_n)$
  3. $f (x_1, x_2, \ldots, x_n) = x_n'f(x_1, x_2, \ldots, 0) + x_nf(x_1, x_2, \ldots,1)$
  4. $f (x_1, x_2, \ldots , x_n) = f(0, x_2, …, x_n) + f(1, x_2, \ldots, x_n)$
edited by

5 Answers

Best answer
32 votes
32 votes
Answer: D

Proceed by taking $f(x_1) = x_1$

LHS: $f(x_1)  = 0$ when $x_1 = 0$

LHS: $f(x_1)  = 1$ when $x_1 = 1$

RHS: $f(0) + f(1) = 0 + 1 =$ always $1$
selected by
46 votes
46 votes

option D is NOT TRUE.

18 votes
18 votes

A,B,C are true.

Because in all these three cases we could a boolean variable and its compliment is added to same function.

ie : if x= 1 then x' =0 and viceversa.

1.f(x) + 0.f(x) = f(x)

Hence D is false.

5 votes
5 votes

For option $A$

$$f(x_1,x_2,…,x_n)=x_1’f(x_1,x_2,…,x_n)+x_1f(x_1,x_2,…,x_n) =(x_1’+x_1)f(x_1,x_2,…,x_n)=1.f(x_1,x_2,…,x_n)=f(x_1,x_2,…,x_n) $$

So option $A$ is correct.


Similarly for option $B$

$$f(x_1,x_2,…,x_n)=x_2’f(x_1,x_2,…,x_n)+x_2f(x_1,x_2,…,x_n) =(x_2’+x_2)f(x_1,x_2,…,x_n)=1.f(x_1,x_2,…,x_n)=f(x_1,x_2,…,x_n) $$

So option $B$ is correct.


For option $C$,

Now the given function, we can have two possibilities: either $x_n$ is true or $x_n$ is false.

(1) when $x_n$ is false, the function becomes $f(x_1,x_2,…,0)$ and this situation as a whole is represented conditionally as : $x_n’f(x_1,x_2,…,0)$

(2) when $x_n$ is true, the function becomes $f(x_1,x_2,…,1)$ and this situation as a whole is represented conditionally as : $x_nf(x_1,x_2,…,0)$

Since our function is a logical “or” of the above two situations, so we have:

$$f(x_1,x_2,…,x_n)=x_n’f(x_1,x_2,…,0)+x_nf(x_1,x_2,…,1)$$

So option $C$ is true.


From this we can say that option $D$ is the wrong option. But why is it so?

This so because if you think logically the function is given as:

$$f(x_1,x_2,…,x_n)=f(0,x_2,…,x_n)+f(1,x_2,…,x_n)$$

Whatever function we consider, the function given on the RHS is independent of $x_1$ which is a problem.

Answer:

Related questions

26 votes
26 votes
3 answers
1
Ishrat Jahan asked Oct 31, 2014
6,512 views
What is the cardinality of the set of integers $X$ defined below?$X=\{n \mid 1 \leq n ≤ 123, n$ is not divisible by either $2$, $3$ or $5\}$$28$$33$$37$$44$