GATE CS 2007 · Predicate Logic (First-Order Logic)

MCQ · 1 mark · Problem AI-LOGIC-0098

Let Graph(x) be a predicate which denotes that x is a graph. Let Connected(x) be a predicate which denotes that x is connected. Which of the following first order logic sentences DOES NOT represent the statement: "Not every graph is connected"?
  1. A
    \(\neg \forall x (Graph(x)\Rightarrow Connected(x))\)
  2. B
    \(\exists x(Graph(x) \wedge \neg Connected(x))\)
  3. C
    \(\neg \forall x(\neg Graph(x) \vee Connected(x))\)
  4. D
    \(\forall x(Graph(x) \Rightarrow \neg Connected(x))\)

Solve it on GATE DA practice →More Logic problems

Show the worked solution"Not every graph is connected" means there is some graph that is not connected:\[\boxed{\neg\forall x\,(Graph(x)\Rightarrow Connected(x)) \equiv \exists x\,(Graph(x)\wedge\neg Connected(x))}\](A) is the left form: represents it.(B) is the right form: represents it.(C) \(\neg Graph(x)\vee Connected(x)\) is \(Graph(x)\Rightarrow Connected(x)\), so (C) is (A): represents it.(D) says every graph is disconnected ("no graph is connected"), a much stronger claim. It does NOT represent the statement.Answer: D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com