edited by
34,229 views
82 82 votes

Which one of the following predicate formulae is NOT logically valid?

Note that $W$ is a predicate formula without any free occurrence of $x$.

  1. $\forall x (p(x) \vee W) \equiv \forall x \ p(x) \vee W$
  2. $\exists x(p(x) \wedge W) \equiv \exists x \: p(x) \wedge W$
  3. $\forall x(p(x) \rightarrow W) \equiv \forall x \: p(x) \rightarrow W$
  4. $\exists x(p(x) \rightarrow W) \equiv \forall x \:  p(x) \rightarrow W$

9 Answers

Best answer
67 67 votes

(A)Let's consider two cases.

W-True.This makes both LHS and RHS True.
W-False.The value of LHS depends upon the truth value of $\forall$xP(x). Same will be the case for RHS.
Hence LHS =RHS.

(B)Using analogy in (A), we can prove that this is also valid.
W-True.LHS=RHS=True
W-False.LHS=RHS=False always.

(C)$\forall x(P(x) \rightarrow W) \equiv \forall xP(x) \rightarrow W$

LHS can be re-written as $\forall x(\lnot P(X) \lor W) \equiv \exists xP(x) \rightarrow W$

(C) is not logically valid.

(D)$\exists x(P(x) \rightarrow W) \equiv \exists x(\lnot P(X) \lor W) $

Using Demorgan law for quantifiers we can again rewrite it as:

$\lnot \forall x P(x) \lor W \equiv \forall x P(x) \rightarrow W$

Option (D) is valid.

edited by
58 58 votes

Option C is not logically valid

 

13 13 votes

Laws for Manipulating Quantifiers: There is rule analogous to DeMorgan's law that allows us to move a NOT operator through an expression containing a quantifier.

  • $\neg (\forall x\: P(x)) \equiv \neg \forall x \neg P(x) \equiv \exists x \neg P(x)$
  • $\neg (\exists x\: P(x)) \equiv \neg \exists x \neg P(x) \equiv \forall x \neg P(x)$

Domain $: p_{1},p_{2}$

A.$\forall x (p(x)\vee W)\equiv \forall x\:p(x) \vee W$

$\textsf{LHS}:\forall x (p(x)\vee W) \equiv \forall x \:p(x)\vee W \equiv p_{1}p_{2}+W$

$\textsf{RHS}:\forall x \:p(x)\vee W \equiv p_{1}p_{2}+W$

Here, $\textsf{LHS} = \textsf{RHS}$

So, option $(A)$ is Valid.

B.$\exists x (p(x)\wedge W)\equiv \exists  x\:p(x) \wedge W$

$\textsf{LHS}:\exists x (p(x)\wedge W) \equiv (p_{1} + p_{2})\cdot W $

$\textsf{RHS}:\exists  x\:p(x) \wedge W \equiv (p_{1} + p_{2})\cdot W $

Here, $\textsf{LHS} = \textsf{RHS}$

So, option $(B)$ is Valid.

C.$\forall x (p(x)\rightarrow W)\equiv \forall x\:p(x) \rightarrow W$

$\textsf{LHS}:\forall x (p(x)\rightarrow W) \equiv \forall x(\neg p(x) \vee W) \equiv \forall x\:\neg p(x)  \vee W \equiv \overline{p_{1}}. \overline{p_{2}} + W \equiv \overline{(p_{1} + p_{2})} + W$

$\textsf{RHS}:\forall x\:p(x) \rightarrow W \equiv \neg [\forall x\: p(x)] \vee W = \neg \forall x \neg p(x) \vee W \equiv \exists x \neg p(x)\vee W \equiv \overline{p_{1}} + \overline{{p_{2}}} + W \equiv \overline{(p_{1}\cdot p_{2})}+ W$

Here, $\textsf{LHS} \neq  \textsf{RHS}$

So, option $(C)$ is NOT Valid.

D.$\exists x (p(x)\rightarrow W)\equiv \forall x\:p(x) \rightarrow W$

$\textsf{LHS}:\exists x (p(x)\rightarrow W) \equiv \exists x (\neg p(x)\vee W) \equiv \exists x \neg p(x)\vee W \equiv \overline{p_{1}} + \overline{p_{2}} + W$

$\textsf{RHS}:\forall x\:p(x) \rightarrow W \equiv \neg (\forall x\: p(x)) \vee W \equiv \neg \forall x \neg p(x) \vee W \equiv \exists x \neg p(x) \vee W \equiv \overline{p_{1}} + \overline{p_{2}} + W$

Here, $\textsf{LHS} = \textsf{RHS}$

So, option $(D)$ is Valid.

So, the correct answer is $(C).$

edited by
9 9 votes

Option A and B are pretty clear. They are logically valid.

Option C and D can be checked with a simple truth table construction taking two values x1 and x2, i.e. p(x1) and p(x2)

Note:-

Column 3 below indicates L.H.S of option C.

Column 4 below indicates L.H.S of option D.

Column 5 below indicates R.H.S of option C and D.

p(x1) p(x2) (p(x1)->W) $\Lambda$ (p(x2)->W) (p(x1)->W) $\vee$ (p(x2)->W) (p(x1) $\Lambda$ p(x2))->W
T T W W W
T F W T T
F T W T T
F F T T T

 

You can clearly see the 3rd column is not matching with the 5th column.  So option C is not valid which is the required answer.

edited by
9 9 votes

To solve such questions consider domain to be (x1,x2)

keep in mind these two rules :

  1. ∀x is “ANDing” of all values in the domain because ∀x is only true if predicate is true for all the values of domain
  2. ∃x is “ORing” of all values in the domain because ∃x  is true if predicate is true for atleast 1 value of the domain

 

Option                       L.H.S                R.H.S L.H.S==R.H.S
A

∀x(p(x)∨W)

(p(x1)∨W)^(p(x2)∨W)

=(p1+w)(p2+w)

=p1p2+p1w+p2w+w

=p1p2+w(p1+p2+1)

=p1p2+w


∀x(px)∨W

=(p(x1)^p(x2))∨W

= p1p2+w

                  True
B

∃x(p(x)∧W)

=p1w+p2w

=w(p1+p2)


∃xp(x)∧W

=(p1+p2)w

             

True

C

∀x(p(x)→W)

=(p1→W)p2(→w)

=(p1’+w)(p2’+w)

=p1’p2’+p1’w+p2’w+w

=p1’p2’+w(p1’+p2’+1)

=p1’p2’+w

∀xp(x)→W

=(p1p2→w)

=(p1p2)’+w

=p1’+p2’+w

False
D

∃x(p(x)→W)

=(p1→W)+(p2→W)

=p1’+w+p2’+w

=p1’+p2’+w


∀xp(x)→W

=p1p2→W

=(p1p2)’+w

=p1’+p2’+w

 

True

So in only option C L.H.S !=R.H.S

Answer (C)

1 1 vote

Let domain of $x = \{x_1, x_2\}$

Option A:

$[\forall x (P(x) \lor W) \equiv \forall x P(x) \lor W]$

$LHS: \forall x (P(x) \lor W) =(P(x_1) + W) * (P(x_2) + W) =P(x_1)P(x_2) + W$

$ RHS: \forall x P(x) \lor W = P(x_1)*P(x_2) + W$

$\therefore LHS \equiv RHS$

 

Option B:

$[\exists x (P(x) \land W) \equiv \exists x P(x) \land W ]$

$LHS: \exists x (P(x) \land W) = (P(x_1).W)+(P(x_2).W) = \{P(x_1)+P(x_2)\}*W$

$RHS: \exists x P(x) \land W = \{P(x_1) + P(x_2)\} * W$

$\therefore LHS \equiv RHS$

 

Option C:

$[\forall x (P(x) \rightarrow W) \equiv \forall x P(x) \rightarrow W]$

$LHS: \forall x (P(x) \rightarrow W) = \{(P(x_1) \rightarrow W)*(P(x_2) \rightarrow W)\} = (P’(x_1) + W)(P’(x_2) + W) = P’(x_1)P’(x_2) + W$

$RHS: \forall x P(x) \rightarrow W = (P(x_1)P(x_2)) \rightarrow W = (P(x_1)P(x_2)’ + W = P’(x_1) + P’(x_2) + W$

$\therefore LHS \not \equiv RHS$

 

Option D:

$[\exists x (P(x) \rightarrow W) \equiv \forall x P(x) \rightarrow W]$

$LHS: \exists x (P(x) \rightarrow W) = \{(P(x_1) \rightarrow W) + (P(x_2) \rightarrow W)\} = P’(x_1) + W + P’(x_2) + W = P’(x_1) + P’(x_2) + W$

$RHS: \forall x P(x) \rightarrow W = (P(x_1)*P(x_2)) \rightarrow W = (P(x_1)P(x_2))’ + W =  P’(x_1) + P’(x_2) + W$

$\therefore LHS \equiv RHS$

Answer:
Position:
Show:

Related questions

60 60 votes
4 answers 4 answers
24.9k
24.9k views
Arjun asked Feb 12, 2020
24,922 views
Consider a double hashing scheme in which the primary hash function is $h_1(k)= k \text{ mod } 23$, and the secondary hash function is $h_2(k)=1+(k \text{ mod } 19)$. Ass...
9 9 votes
3 3 answers
8.8k
8.8k views
Satbir asked Jan 13, 2020
8,834 views
Given that$B(a)$ means “$a$ is a bear”$F(a)$ means “$a$ is a fish” and$E(a,b)$ means “$a $ eats $b$”Then what is the best meaning of$\forall x [F(x) \to \forall y(E(y,x)\...
19 19 votes
3 answers 3 answers
5.8k
5.8k views
Arjun asked Feb 12, 2020
5,793 views
Goods and Services Tax (GST) is an indirect tax introduced in India in $2017$ that is imposed on the supply of goods and services, and it subsumes all indirect taxes exce...
24 24 votes
5 answers 5 answers
11.2k
11.2k views
Arjun asked Feb 12, 2020
11,173 views
If $P = 3$, $R = 27$, $T = 243$, then $Q + S =$ ________$40$$80$$90$$110$