GATE / CS ARCHIVE

GATE CSE 2019 / QUESTION 35

Divisibility under different quantifier domains

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2019 paper

GATE 2019, Q35 2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 35, GATE 2019: Let P(x) mean that every domain element z dividing x satisfies z=x or z=1. The formula says ∀x[P(x)⇒∃w(w>x and P(w))]. Which domains satisfy it: S1={1,...,100}, S2=positive integers, S3=all integers? Choices A S1/S2, B S1/S3, C S2/S3, D all three. Divisibility and quantifiers must be interpreted in the stated domain.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Our answer: Only S2 under literal integer divisibility; official C

1. Read the formula as: each number whose divisors are restricted to itself and 1 has a larger number with the same property. Do not replace P(x) by an informal definition of prime before checking its domain.
2. In the positive integers, P(x) holds for 1 and all primes. For every such x there is a larger prime, since primes are unbounded. Thus S2 satisfies the formula.
3. In S1, x=97 has P(x), since its only positive divisors are 1 and 97. The larger available values 98, 99, and 100 are composite and have divisors in S1 other than themselves and 1. No valid w exists, so S1 fails.
4. In S3, the integer −1 divides every integer. If P(x) holds, taking z=−1 forces −1=x or −1=1, hence x=−1. Conversely, −1 has exactly divisors −1 and 1, so P(−1) really is true.
5. There is no larger integer w with P(w), because step 4 shows −1 is the only qualifying integer. The implication consequently fails at x=−1, and S3 fails under literal integer divisibility.
6. The literal result is only S2, which none of the choices lists. The official key selects C, S2 and S3.

Original paper, page 11 · Answer key