Question

Consider the statement

“Not all that glitters is gold”\text{“Not all that glitters is gold”}

Predicate glitters(x)glitters(x) is true if xx glitters and predicate gold(x)gold(x) is true if xx is gold. Which one of the following logical formulae represents the above statement?

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2014 answer key

Solution

Translate the colloquial statement 'Not all that glitters is gold' into first-order predicate logic and apply quantifier negation rules.

The natural English statement 'Not all that glitters is gold' means:
'It is not the case that every object that glitters is gold.'

First, express 'All that glitters is gold':

∀x(glitters(x)  ⟹  gold(x))\forall x (glitters(x) \implies gold(x))

Now negate this statement:

¬∀x(glitters(x)  ⟹  gold(x))\neg \forall x (glitters(x) \implies gold(x))

Applying quantifier negation and implication equivalence (P  ⟹  Q≡¬P∨QP \implies Q \equiv \neg P \lor Q):

∃x¬(¬glitters(x)∨gold(x))\exists x \neg (\neg glitters(x) \lor gold(x))
∃x(glitters(x)∧¬gold(x))\exists x (glitters(x) \land \neg gold(x))

This states: 'There exists an object that glitters and is not gold.'
This matches option D exactly.

Final answer

D

Common trap

Confusing 'Not all A are B' (∃x(A(x)∧¬B(x))\exists x (A(x) \land \neg B(x))) with 'No A are B' (∀x(A(x)  ⟹  ¬B(x))\forall x (A(x) \implies \neg B(x))).

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2014 Computer Science and Information Technology (CS) Session 1
Question
11 of 65, printed as CS Q.1
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.