GateAI
Discrete Mathematics

GATE CSE 2016 Set 2 · Q27

MCQ2 marksMedium

Time

Which one of the following well-formed formulae in predicate calculus is NOT valid?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: D) ∀ x(p(x) q(x)) ⇒ (∀ x p(x) ∀ x q(x))

Discrete Mathematics

A formula is valid if it evaluates to true under every possible interpretation.

Let us analyze each option:

  • Option (A): $(\forall x\, p(x) \Rightarrow \forall x\, q(x)) \Rightarrow (\exists x\,

eg p(x) \vee \forall x\, q(x))Usingmaterialimplication Using material implication A \Rightarrow B \equiv eg A \vee B,theantecedentis, the antecedent is eg (\forall x\, p(x)) \vee \forall x\, q(x) \equiv \exists x\, eg p(x) \vee \forall x\, q(x)$. Since the antecedent and consequent are logically equivalent, this implication is valid.

  • Option (B): (∃x p(x)∨∃x q(x))⇒∃x (p(x)∨q(x))(\exists x\, p(x) \vee \exists x\, q(x)) \Rightarrow \exists x\, (p(x) \vee q(x)) Existential quantification distributes over disjunction: ∃x (p(x)∨q(x))≡∃x p(x)∨∃x q(x)\exists x\, (p(x) \vee q(x)) \equiv \exists x\, p(x) \vee \exists x\, q(x). Thus, the formula is valid.

  • Option (C): ∃x (p(x)∧q(x))⇒(∃x p(x)∧∃x q(x))\exists x\, (p(x) \wedge q(x)) \Rightarrow (\exists x\, p(x) \wedge \exists x\, q(x)) If there exists an element x0x_0 that satisfies both p(x0)p(x_0) and q(x0)q(x_0), then clearly ∃x p(x)\exists x\, p(x) is true (witnessed by x0x_0) and ∃x q(x)\exists x\, q(x) is true (witnessed by x0x_0). Thus, their conjunction is true, making this formula valid.

  • Option (D): ∀x (p(x)∨q(x))⇒(∀x p(x)∨∀x q(x))\forall x\, (p(x) \vee q(x)) \Rightarrow (\forall x\, p(x) \vee \forall x\, q(x)) Universal quantification does not distribute over disjunction. For example, let the domain be the set of integers Z\mathbb{Z}, p(x)p(x) be "xx is even", and q(x)q(x) be "xx is odd".

    • Every integer is either even or odd, so ∀x (p(x)∨q(x))\forall x\, (p(x) \vee q(x)) is True.

    • However, not all integers are even (∀x p(x)\forall x\, p(x) is False), and not all integers are odd (∀x q(x)\forall x\, q(x) is False). Thus, (∀x p(x)∨∀x q(x))(\forall x\, p(x) \vee \forall x\, q(x)) is False.

    • The implication True⇒False\text{True} \Rightarrow \text{False} evaluates to False.

    Therefore, formula (D) is NOT valid.

Thus, the correct option is (D).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Discrete Mathematics previous year question is Q27 of the GATE CSE 2016 Set 2 paper. Find more GATE CSE PYQs on Discrete Mathematics in Engineering Mathematics, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Discrete Mathematics PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Discrete Mathematics in GATE CSE

Discrete Mathematics has 50 GATE CSE PYQs across 23 papers from 2011 to 2026. 11 of them are 2-mark MCQs like this one, and GATE CSE 2016 Set 2 has 4.

How GATE tests Discrete Mathematics

More from GATE CSE 2016 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2016 Set 2 · Q27 · MCQ

Which one of the following well-formed formulae in predicate calculus is NOT valid?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.