1,002 views
1 votes
1 votes
Consider the following well formed formula:

 

The maximum number of rows in truth table of above formula which evaluate to true are ________.

$\left ( p\vee \sim q\vee\vee \sim r\vee s \right )\rightarrow t\vee \sim u$

__________________________________________________________________________

I got 5 and ans given 49

2 Answers

Best answer
3 votes
3 votes
The given expression will evaluate to :

p.~q.r.~s+t+~u(after we apply the various simplification rules : a->b=~a+b and demorgan's rule)

So the given expression ontains 6 variables. Each variable can take either 1 or 0 i.e. only 2 values. So total possible combinations are 2^6=64. Now lets see for what combinations we will get the value 1.

Case 1:

For t=1 value =1. It can be seen that for 32 values t=1. (t=0 for 32 values and t=1 for 32 values)

Similarly for u=0 result =1. It is also for 32 values.

So either t=1 or u=0 result is 1.

No of combinations: No.of combinations (t=1)+No.of Combinations (u=0)-No. of combinations(t=1&u=0)=32+32-16=48

Case 2: when p.~q.r.~s=1 Only one case will be valid (after we remove the case 1 possiblities).

So Total no. of cases=48+1=49
selected by
1 votes
1 votes
Before answer i must say that if we have union of any number(k) of variable(say x=avbvcvd), it is FALSE(x=false) only when all values are False(1 way)

and if we perform union of say(k) variable

=> number of ways values are T = 2^k-1 (as we can have total 2^k ways for variable to be t/f)

and F = 1 always--------------------@1

we have to prove that its tautology

(total propositional ways - contradiction)

here we have 6 variables in total so #Ways we put values = 2^6 =64  

and A->B, a contradiction only when:  A=T and B= F

#here A (LHS) IS T only for = 24-1= 15 ways/- .......................@1

#B( RHS) is F = 1 way only/- ..................................................@1

TAUTOLOGY = TOTAL PROPOSITIONAL WAYS -CONTRADICTION

                          = 64-15 = 49 answer.
edited by

Related questions

0 votes
0 votes
0 answers
2
3 votes
3 votes
1 answer
4
srestha asked Jun 4, 2019
995 views
“Not every satisfiable logic is valid” Representation of it will be $1)\sim \left ( \forall S(x)\rightarrow V(x) \right )$or$2)\sim \left ( \forall S(x)\vee V(x) \rig...