GATE / CS ARCHIVE

SIMILAR QUESTIONS / DISCRETE MATHEMATICS

Translate universally quantified implication and its counterexamples

2 questions solved the same way, newest first. Back to Discrete Mathematics

2 marks · MCQ
Report issue

Gold or silver implies precious

Propositional & Predicate Logic

Question 23, GATE 2009: G(x), S(x), P(x) mean x is a gold ornament, silver ornament, precious. Formalize “Gold and silver ornaments are precious.” A ∀x(P→(G∧S)); B ∀x((G∧S)→P); C ∃x((G∧S)→P); D ∀x((G∨S)→P).
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

The sentence applies to both categories separately: every object that is a gold ornament or a silver ornament is precious. Its formula is∀x((G(x)∨S(x))→P(x)), D. Using conjunction would restrict the statement to ornaments simultaneously in both categories.

The intended universal statement covers either kind of ornament: if an object is gold OR silver, it is precious. Thus the antecedent must use disjunction and the quantifier must be universal, giving D. B says only objects simultaneously gold and silver are precious, which misses gold-only objects. A reverses the implication and requires both materials for every precious object. C makes only an existential assertion and can hold vacuously for an unrelated object.

Original paper, page 5

2 marks · MCQ
Report issue

Translating a sufficient condition

Propositional & Predicate Logic

Question 26, GATE 2006: Which first-order formula expresses “Tigers and lions attack if they are hungry or threatened”? Abbreviate tiger(x), lion(x), hungry(x), threatened(x), attacks(x) as T,L,H,R,A; all formulas are universally quantified over x.
Options:
(A) (T∧L)→((H∨R)→A)
(B) (T∨L)→((H∨R)∧A)
(C) (T∨L)→(A→(H∨R))
(D) (T∨L)→((H∨R)→A)
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. The statement applies to an animal that is either a tiger or a lion, and hunger or threat is sufficient for attacking. Its form is ∀x[(tiger(x)∨lion(x))→((hungry(x)∨threatened(x))→attacks(x))], D.

2. It neither requires both species simultaneously nor reverses the sufficient-condition implication.

3. Teaching check: “Tigers and lions” names the union of two categories, not animals belonging to both species. The word “if” makes hunger or threat a sufficient condition for attack, not a necessary one. Both logical distinctions are needed to choose D.

Original paper, page 4