GATE / CS ARCHIVE

SUBJECT COLLECTION

Discrete Mathematics · Propositional & Predicate Logic

70 questions, newest first

GATE CSE has asked 70 questions on Propositional & Predicate Logic (Discrete Mathematics) from 1991 to 2026, in 41 of the 46 papers; the most recent is in GATE CSE 2026 Set 2. In the last five years it carried 0.6 marks per 100-mark paper on average, against 2 since 2003. Since 2014 the questions have been 20 MCQ, 3 MSQ and 2 NAT. 3 groups of questions here are solved the same way; “One per method” keeps the newest of each.

Browse topics
Show
1 mark · MCQ
Report issue

Quantifying an exceptional person

Propositional & Predicate Logic

Question 11, GATE 2026: M(x,y) means x knows y for distinct people. Express: one person knows nobody else but is known by everybody else. All choices use [(x≠y)→(M(x,y)∧¬M(y,x))], preceded by A ∃y∀x; B ∀y∃x; C ∃y∃x; D ∀y∀x.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Givens and goal

M(x,y) means x knows y for distinct people. Express: one person knows nobody else but is known by everybody else. All choices use [(x≠y)→(M(x,y)∧¬M(y,x))], preceded by A ∃y∀x; B ∀y∃x; C ∃y∃x; D ∀y∀x.

Approach

Choose the exceptional person before ranging over all other people.

Step-by-step solution

1. Let y name the person whose existence is claimed. The phrase there is requires ∃y. Once this y is fixed, every other person x must satisfy the two knowledge conditions, requiring ∀x.
2. For x≠y, everyone else knowing y is M(x,y). The same y knowing nobody else is ¬M(y,x). Both are needed, so join them with ∧.
3. Use an implication with antecedent x≠y to exclude self-knowledge from the requirement. When x=y the antecedent is false and imposes no restriction.
4. The complete expression is ∃y∀x[(x≠y)→(M(x,y)∧¬M(y,x))], A. B and C can choose x=y and satisfy the implication vacuously; they do not require all other people to know y. D incorrectly asserts the special property of every y, rather than at least one.

Original paper, page 10 · Answer key

2 marks · MSQ
Report issue

Expressing exactly one in predicate logic

Propositional & Predicate Logic

Question 48, GATE 2025: mother(y,x) means y is x’s mother; noteq(x,y) means x≠y. Which formulae express that everyone has exactly one mother? A ∀x∃y∃z(mother(y,x) ∧ ¬mother(z,x)); B ∀x∃y[mother(y,x) ∧ ∀z(noteq(z,y)→¬mother(z,x))]; C ∀x∀y[mother(y,x)→∃z(mother(z,x)∧¬noteq(z,y))]; D ∀x∃y[mother(y,x) ∧ ¬∃z(noteq(z,y)∧mother(z,x))].
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, D

Approach: “Exactly one” requires both existence and uniqueness for each x.
B first supplies a witness y with mother(y,x). Its universal clause says every z different from y is not a mother of x, which excludes all second mothers. Hence B expresses both requirements.
D has the same existence clause and says there is no different z that is also a mother. By negating an existential conjunction, that uniqueness clause is equivalent to B’s universal implication. Thus D is also correct.
A only supplies one mother and one nonmother. It allows two or more mothers as long as somebody is not a mother, so it does not enforce uniqueness. C says that if y is a mother, an equal mother z exists; choosing z=y always satisfies it. It imposes no uniqueness and, when no mothers exist, is vacuously true, so it does not even enforce existence.
Therefore choose B,D. The location of the quantifiers and the difference between a universal exclusion and one existential nonexample are decisive.

Original paper, page 48 · Answer key

1 mark · MCQ
Report issue

Translate “when” into an implication

Propositional & Predicate Logic

Question 12, GATE 2024: Let p mean “a fail grade can be given” and q mean “the student scores more than 50%”. Represent “a fail grade cannot be given when the student scores more than 50%”. A q→¬p; B q→p; C p→q; D ¬p→q.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Approach: Identify the condition and then negate the correct proposition.

1. Derivation. The phrase when q makes q the sufficient condition. Its consequence is that fail grade cannot be given, namely NOT p. Therefore the statement is q→NOT p, option A; the converse is not asserted.

2. Explanation and checks. The only prohibited case is q true together with p true: a student exceeds the threshold yet a fail grade can be given. The implication q→¬p excludes exactly that case. When q is false, the sentence says nothing about whether a fail grade can be given. Option D incorrectly turns sufficient marks into a necessary condition for not giving a fail grade; it asserts the converse.

Original paper, page 9 · Answer key

1 mark · MSQ
Report issue

Propositional & Predicate Logic

Question 26, GATE 2023: Over integers, the target conjecture is ∀x(P(x)⇒∃y Q(x,y)). Which imply it? A ∃x(P(x)∧∀y Q(x,y)); B ∀x∀y Q(x,y); C ∃y∀x(P(x)⇒Q(x,y)); D ∃x(P(x)∧∃y Q(x,y)).
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, C

B states Q(x, y) for every pair, so each x satisfying P certainly has a witness y (the integer domain is nonempty). C provides one y working for every qualifying x, a stronger condition than allowing the witness to depend on x. A, D only give information for some x. For a common counterexample take P true at 0 and 1 and Q(x, y) true exactly when x=0: A, D hold, but the conjecture fails at 1.

Teaching detail. To prove the target, start with an arbitrary integer x satisfying P(x) and find a witness y. Under B, every integer y works. Under C, the single promised y works for this x and all other qualifying x. A and D describe only one favorable x, leaving other integers uncontrolled. In the counterexample where P holds at 0 and 1 but Q holds only for first coordinate 0, choosing x=0 makes both existential options true while x=1 defeats the target conjecture.

Original paper, page 24 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 7, GATE 2021: For propositions p,q, let S1=(¬p∧(p∨q))→q and S2=q→(¬p∧(p∨q)). Which are tautologies? A both; B S1 only; C S2 only; D neither.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

The antecedent ¬p∧(p∨q) simplifies to ¬p∧q. Therefore S1 is (¬p∧q)→q, a tautology. S2 is q→(¬p∧q), which is false when p=q=true. Hence only S1 is a tautology, B.

Distributivity gives ¬p∧(p∨q)=(¬p∧p)∨(¬p∧q)=¬p∧q. Any valuation making S1's antecedent true already makes q true, so it cannot be a false implication. To refute S2 it suffices to exhibit one valuation: p=true,q=true makes antecedent true but consequent false. Tautology requires all valuations, not just some.

Original paper, page 15 · Answer key

1 mark · MSQ
Report issue

Propositional & Predicate Logic

Question 15, GATE 2021: S=((P∧Q)→R)→((P∧Q)→(Q→R)). Select A neither tautology nor contradiction; B tautology; C contradiction; D antecedent and consequent are equivalent.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B; D

The antecedent simplifies to ¬P∨¬Q∨R. The consequent simplifies to ¬P∨¬Q∨(¬Q∨R), which is identical. Therefore S has the form E→E and is a tautology. Both B and D hold.

Using A→B≡¬A∨B, let E=¬P∨¬Q∨R. The outer statement is E→E=¬E∨E, true for all eight assignments of P,Q,R. Equivalence of antecedent and consequent establishes D separately from the overall tautology B; those are two selectable propositions, not competing single-choice answers.

Original paper, page 63 · Answer key

2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 39, GATE 2020: W has no free x. Which equivalence is NOT valid (usual nonempty domain)? A ∀x(p(x)∨W) ≡ (∀x p(x))∨W; B ∃x(p(x)∧W) ≡ (∃x p(x))∧W; C ∀x(p(x)→W) ≡ (∀x p(x))→W; D ∃x(p(x)→W) ≡ (∀x p(x))→W.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Worked explanation

Rewrite implication first: p→W is ¬p∨W. Universal quantification then gives ∀x(¬p(x)∨W)≡(∀x¬p(x))∨W≡¬∃x p(x)∨W, which is (∃x p(x))→W, not the universal antecedent printed in C. A countermodel makes the failure tangible: p(u)=true,p(v)=false,W=false. C’s left side fails at u; its right side is true because ∀x p(x) is false. For D, existential quantification instead yields (∃x¬p(x))∨W≡¬∀x p(x)∨W, exactly the printed right side. The side condition that W has no free x is essential when moving W outside a quantifier.

Derivation and answer

Let the domain have two elements, let p be true at one and false at the other, and let W be false. Then ∀x(p(x)→W) is false, while(∀x p(x))→W is true because its antecedent is false. Thus C is not valid. A andB pull an x-independent formula across the corresponding quantifier. D follows from ∃x(¬p(x)∨W)≡¬∀x p(x)∨W in the standard nonempty-domain semantics.

Original paper, page 13 · Answer key

2 marks · MCQ
Report issue

Divisibility under different quantifier domains

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

2 marks · MCQ
Report issue

Small model from existential witnesses

Propositional & Predicate Logic

Question 28, GATE 2018: A sentence ∃s∃t∃u∀v∀w∀x∀y ψ uses only predicate symbols and possibly equality, no functions; ψ is quantifier-free. It has a seven-element model. Which follows? A a model of size at most 3 exists; B no such small model exists; C no model larger than 7 exists; D every model has size 7.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Method

Choose the actual elements witnessing s,t,u in the given model; they need not be distinct. Use their set as a new nonempty universe and restrict each relation to tuples in that set. Atomic relations and equality on those elements retain exactly the same truth values. Boolean combinations, including negations, therefore retain their values too. Every assignment of universal variables in the smaller universe was already allowed in the original model, so the universal condition remains true.

Solution

Take witnesses s, t, u in the supplied 7-element model, and restrict the relational structure to those witnesses, at most 3 distinct elements. With no functions or constants to require closure, atomic predicate and equality truth on retained tuples is unchanged, hence so is every quantifier-free combination ψ. Its universal assertions still hold for the restricted domain. The same witnesses therefore yield a model of size≤3, A.

Original paper, page 11 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 1, GATE 2017: Which statements are equivalent to (¬p)→(¬q)? I: p→q; II: q→p; III: (¬q)∨p; IV: (¬p)∨q. Options A I only; B I and IV; C II only; D II and III.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

1. Use the identity A→B ≡ ¬A∨B. Substituting A=¬p and B=¬q gives p∨¬q.

2. Statement II becomes ¬q∨p, and III already has that form. Commutativity of OR makes both equivalent to the target.

3. Statements I and IV instead equal ¬p∨q. For p=true,q=false they are false while the target is true. Hence exactly II and III, option D.

Original paper, page 2 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 2, GATE 2017: For a nonempty domain, F=∀x∃y R(x,y). Which are implied? I ∃y∃x R(x,y); II ∃y∀x R(x,y); III ∀y∃x R(x,y); IV ¬∃x∀y¬R(x,y). A IV only; B I and IV; C II only; D II and III.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

1. The premise gives a witness y for every x, but the witness may depend on x. Because the domain is nonempty, select one x; its witness proves ∃x∃yR, equivalently I.

2. Simplify the negations in IV stepwise: ¬∃x∀y¬R ≡ ∀x¬∀y¬R ≡ ∀x∃yR. Thus IV is precisely the premise.

3. II wrongly demands one common witness. On {0,1}, R(x,y) iff x=y satisfies F but not II. III wrongly demands every y be used: R(x,y) iff y=0 satisfies F but fails III at y=1. Therefore B.

Original paper, page 2 · Answer key

2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 29, GATE 2017: The source says (p→q)→r is “a contradiction.” Classify (r→p)→q: A tautology; B contradiction; C always true when p is false; D always true when q is true. Distinguish the source’s literal logical terminology from its intended false-valuation reading.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Our answer: D with false-valuation interpretation

1. Under the intended interpretation, an implication A→r is false exactly when A is true and r is false. Therefore p→q is true and r=false.

2. With r=false, r→p is true regardless of p. Hence (r→p)→q reduces to true→q, namely q. It is true whenever q is true, D.

3. The allowed valuation p=false,q=false,r=false makes the target false, ruling out both tautology and C. Taking q=true makes it true, ruling out contradiction. Literally, the first expression is not a contradiction over independent atoms: setting r=true satisfies it.

Original paper, page 14 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 11, GATE 2017: Let p="It is raining", q="It is cold", r="It is pleasant". Translate "It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold." A:(¬p∧r)∧(¬r→(p∧q)). B:(¬p∧r)∧((p∧q)→¬r). C:(¬p∧r)∨((p∧q)→¬r). D:(¬p∧r)∨(r→(p∧q)).
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Our answer: A structurally; B logically equivalent

1. The first clause is ¬p∧r. The phrase A only if B translates as A→B, since B is a necessary condition for A. Thus the second clause is ¬r→(p∧q). Joining clauses with and gives option A directly.

2. There is a semantic nonuniqueness in the printed alternatives. In either A or B, a true first conjunct forces p=false and r=true. Then A's implication has false antecedent ¬r, while B's implication has false antecedent p∧q. Both are true regardless of q.

3. If the first conjunct is false, both full conjunctions are false. Consequently both A and B are logically equivalent to ¬p∧r for every valuation. Preserve official answer A as the direct structural translation, but do not claim that B has a different truth table. C and D incorrectly use a disjunction between the clauses.

Original paper, page 5 · Answer key

1 mark · NAT
Report issue

Propositional & Predicate Logic

Question 1, GATE 2016: For an integer x≥2, define p: x belongs to {8,9,10,11,12}; q: x is composite; r: x is a perfect square; s: x is prime. Find x satisfying NOT((p implies q) AND (NOT r OR NOT s)).
Tap to enlarge
Answer & solution

Official answer: 11.0 : 11.0

Our answer: 11

De Morgan gives ¬(p→q)∨(r∧s)=(p∧¬q)∨(r∧s). No integer≥2 is both a perfect square and prime, so the second term is false. Among 8, 9, 10, 11, 12 only 11 is not composite. Therefore x=11.

First replace the implication p⇒q by ¬p∨q. Negating the outside conjunction produces (p∧¬q)∨(r∧s), so only two kinds of integer could qualify. A square x=k2 with x≥2 has k≥2 and a proper divisor k; it cannot also be prime. Consequently x must lie in the listed set while failing compositeness. Checking that set leaves exactly 11, and substituting 11 makes the original inner conjunction false as required.

Original paper, page 4 · Answer key

1 mark · NAT
Report issue

Propositional & Predicate Logic

Question 1, GATE 2016: How many of (i) false, (ii) Q, (iii) true, (iv) P∨Q, (v) ¬Q∨P are logically implied by P∧(P⇒Q)?
Tap to enlarge
Answer & solution

Official answer: 4.0 : 4.0

Our answer: 4

P∧(P→Q) simplifies to P∧Q. It implies Q, true, P∨Q, and ¬Q∨P, but not false because the premise is satisfiable. Thus four listed expressions are implied.

Implication can be rewritten as ¬P∨Q. Combining with P forces P=true and hence Q=true. Evaluate all five candidates at this sole satisfying assignment: item (i) is false, while (ii), (iii), (iv) and (v) are true. A satisfiable premise does not imply a contradiction.

Original paper, page 26 · Answer key

2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 27, GATE 2016: Which predicate formula is not valid? A (∀x p(x)⇒∀x q(x))⇒(∃x ¬p(x)∨∀x q(x)); B (∃x p(x)∨∃x q(x))⇒∃x(p(x)∨q(x)); C ∃x(p(x)∧q(x))⇒(∃x p(x)∧∃x q(x)); D ∀x(p(x)∨q(x))⇒(∀x p(x)∨∀x q(x)).
Tap to enlarge
Your answer
Answer & solution

Official answer: D

On domain{0, 1}, let p hold only at 0 and q only at 1. Then every element satisfies p∨q but neither predicate holds universally, refuting D. A is implication elimination/quantifier negation; B distributes existential over disjunction; C reuses the common witness for each existential. Thus D alone is invalid.

For D, let p(0)=true,p(1)=false,q(0)=false,q(1)=true. The antecedent is true at each point using different predicates, while both universal disjuncts are false. Existential witnesses can be chosen separately in B, and a common witness suffices in C; universal disjunction cannot generally be split this way.

Original paper, page 32 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 19, GATE 2015: Which is NOT equivalent to p↔q? A (¬p∨q)∧(p∨¬q); B (¬p∨q)∧(q→p); C (¬p∧q)∨(p∧¬q); D (¬p∧¬q)∨(p∧q).
Tap to enlarge
Your answer
Answer & solution

Official answer: C

A biconditional is true when both truth values agree, namely 00 and 11. A and B express both implications, and D explicitly lists these two agreeing cases. C instead lists 01 and 10. A single test p=q=true makes the biconditional true but C false, already proving nonequivalence.

Solution: The expression (¬p∧q)∨(p∧¬q) is exclusive OR, true precisely when p and q differ. It is the negation of biconditional rather than an equivalent, so C.

Original paper, page 8 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 11, GATE 2015: S1: if a candidate is known to be corrupt, he will not be elected. S2: if a candidate is kind, he will be elected. Which follows? A known to be corrupt implies kind; B not known to be corrupt implies not kind; C kind implies not known to be corrupt; D not kind implies not known to be corrupt.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Let C mean known to be corrupt, E elected, K kind. From C→¬E obtain E→¬C by contraposition. Composing K→E gives K→¬C, option C.

Contraposition is valid: C→¬E is equivalent to E→¬C. Combine it with K→E to get K→¬C. Neither converse C←¬E nor inverse ¬C→E follows automatically. A person who is not kind may or may not be known to be corrupt; the premises only constrain kind persons through their election consequence. C therefore follows without adding an unstated converse.

Original paper, page 30 · Answer key

2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 63, GATE 2015: Which displayed first-order formula is a tautology? A (∀x∃y R(x, y))↔(∃y∀x R(x, y)); B (∀x[∃y R(x, y)→S(x, y)])→∀x∃y S(x, y), with the printed quantifier scope retained; C [∀x∃y(P(x, y)→R(x, y))]↔[∀x∃y(¬P(x, y)∨R(x, y))]; D (∀x∀y P(x, y))→∀x∀y P(y, x). The published key selects C alone.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Our answer: C and D are valid; official C only

C follows pointwise from P→R being equivalent to NOT P OR R, preserved under the same quantifiers. But D is also valid as literally printed: from forall x forall y P(x, y), every ordered pair satisfies P, including the pair(y, x), hence forall x forall y P(y, x). Universal quantifiers commute and bound-variable names can be renamed. Thus the single-choice question has at least two valid options, C and D, although the embedded official answer marks only C. A fails for equality on a two-element domain; B can have a false existential antecedent with S everywhere false.

Material implication P→R is equivalent pointwise to ¬P∨R. Applying identical quantifiers to equivalent predicates preserves equivalence, so C is valid. D is also valid: if P holds on every ordered pair, it holds on every swapped pair; exchanging the dummy variable names changes nothing. A fails on a two-element domain with R equality: each x has a matching y but no single y matches both. For B, take R and S both always false on a nonempty domain; the implication in its premise is true while the conclusion is false, regardless of the scope ambiguity in the displayed y. Thus the single-choice key omits another valid answer D.

Original paper, page 50 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 26, GATE 2015: A room contains only Type 1 people, who always tell the truth, and Type 2 people, who always lie. You give a fair coin to someone of unknown type, ask them to toss it and hide the result, then ask the result. They reply: “The result of the toss is head if and only if I am telling the truth.” Which option is correct? (A) The result is head. (B) The result is tail. (C) If the person is Type 2, the result is tail. (D) If the person is Type 1, the result is tail.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

1. Let T indicate that the speaker tells the truth and H that the coin is heads.

2. The assertion is H↔T, whose truth value must equal T. If T is true, H must be true; if T is false, H↔false must be false, again requiring H true. Thus the coin is heads, A.

Original paper, page 61 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 1, GATE 2014: Let glitters(x) mean that x glitters and gold(x) mean that x is gold. Formalize “Not all that glitters is gold.” A: ∀x(glitters(x)⇒¬gold(x)). B: ∀x(gold(x)⇒glitters(x)). C: ∃x(gold(x)∧¬glitters(x)). D: ∃x(glitters(x)∧¬gold(x)).
Tap to enlarge
Your answer
Answer & solution

Official answer: D

1. Method and setup. Start with the universal statement “all glittering things are gold.” Negate the universal quantifier to an existential one, and negate the implication using ¬(P⇒Q)=P∧¬Q. The counterexample must glitter while failing to be gold, not the reverse.

2. Work through the result and its assumptions. Negate ∀x(glitters(x)→gold(x)): the result is ∃x(glitters(x)∧¬gold(x)), D. Not all is existential counterexample, not none.

Original paper, page 8 · Answer key

2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 53, GATE 2014: Which formula expresses exactly two of p,q,r being true? A: ((p↔q)∧r)∨(p∧q∧¬r). B: (¬(p↔q)∧r)∨(p∧q∧¬r). C: ((p→q)∧r)∨(p∧q∧¬r). D: (¬(p↔q)∧r)∧(p∧q∧¬r).
Tap to enlarge
Your answer
Answer & solution

Official answer: B

1. Method and setup. Split on the truth value of r. When r is true, exactly one of p,q must be true, which is exclusive-or, the negation of equivalence. When r is false, both must be true. Combine these alternative cases with OR; AND would require r and ¬r simultaneously.

2. Work through the result and its assumptions. If r is true, exactly two true variables requires exactly one of p, q, namely NOT(p↔q). If r is false, both p and q must be true. The disjoint alternatives combine as[NOT(p↔q) AND r] OR[p AND q AND NOT r], B.

Original paper, page 20 · Answer key

2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 53, GATE 2014: Which Boolean formula is NOT a tautology? A ((a→b)∧(b→c))→(a→c); B (a↔c)→(¬b→(a∧c)); C (a∧b∧c)→(c∨a); D a→(b→a).
Tap to enlarge
Your answer
Answer & solution

Official answer: B

1. Set up the reasoning. An implication fails only when its premise is true and conclusion false. To refute a proposed tautology, one such assignment is enough; proving the others can be done by their logical forms.

2. Derive the result. Set a=b=c=false. Then a↔c is true, NOT b is true, and a AND c is false, so B evaluates true→(true→false)=false. A is implication transitivity, C follows by conjunction elimination and disjunction introduction, and D is a→(b→a), all tautologies. Hence B alone is not a tautology.

3. Check the interpretation. For B, make a and c both false so their equivalence is true, and b false so ¬b is true. Then the final conjunction is false. A expresses transitivity, C weakens a conjunction, and D preserves an assumed a regardless of b.

Original paper, page 43 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 1, GATE 2014: P says good mobile phones are not cheap; Q says cheap mobile phones are not good. Let L mean P implies Q, M mean Q implies P, and N mean P is equivalent to Q. Which holds? A only L; B only M; C only N; D L,M,N all true.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Step 1: For an arbitrary phone, write G for “good” and C for “cheap”. P is G→¬C. Step 2: The contrapositive of G→¬C is C→¬G, precisely Q; contraposition preserves truth in classical logic. Both statements also simplify to ¬G∨¬C. Step 3: Therefore each implies the other, and they are equivalent. L, M and N all hold, D.

Original paper, page 53 · Answer key

2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 53, GATE 2014: Choose the formula for “not all rainy days are cold”. A ∀d(Rainy(d)∧¬Cold(d)); B ∀d(¬Rainy(d)→Cold(d)); C ∃d(¬Rainy(d)→Cold(d)); D ∃d(Rainy(d)∧¬Cold(d)).
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Step 1: “All rainy days are cold” is ∀d(Rainy(d)→Cold(d)). Negate the entire statement, not just the cold predicate inside an unchanged universal quantifier. Step 2: Move negation through the quantifier: ∃d ¬(Rainy(d)→Cold(d)). Since ¬(p→q)=p∧¬q, this becomes ∃d(Rainy(d)∧¬Cold(d)). Step 3: Therefore D: at least one rainy day is not cold. A incorrectly says every day is rainy and not cold, a far stronger claim.

Original paper, page 66 · Answer key

2 marks · MCQ
Report issue

No perfect friend in predicate logic

Propositional & Predicate Logic

Question 27, GATE 2013: Translate “None of my friends are perfect,” with F(x)=friend and P(x)=perfect. A ∃x(F(x)∧¬P(x)); B ∃x(¬F(x)∧P(x)); C ∃x(¬F(x)∧¬P(x)); D ¬∃x(F(x)∧P(x)).
Tap to enlarge
Your answer
Answer & solution

Official answer: D

The statement says there is no object that is both a friend and perfect: ¬∃x(F(x)∧P(x)), option D. Equivalently ∀x(F(x)→¬P(x)). A merely says at least one friend is imperfect and does not rule out another perfect friend. MuPDF rendering was used to verify the existential quantifiers and conjunctions omitted by the Poppler render.

“None” rules out the existence of a perfect friend, which is the negation of an existential conjunction. It does not assert that any friend exists at all. Therefore the statement remains true when the speaker has no friends, whereas A would be false in that case because it requires an imperfect friend to exist. B and C speak about nonfriends and do not constrain perfect friends. D is exactly the desired prohibition, equivalently ∀x(F(x)→¬P(x)).

Original paper, page 6 · Answer key

2 marks · MCQ
Report issue

Nonunique logical-nonequivalence choice

Propositional & Predicate Logic

Question 47, GATE 2013: Which option is NOT equivalent to ¬∃x[(∀y α)∧(∀z β)]? A∀x[(∃z¬β)→∀yα]; B∀x[(∀zβ)→∃y¬α]; C∀x[(∀yα)→∃z¬β]; D∀x[(∃y¬α)→∃z¬β]. The single-choice source has official Marks to All.
Tap to enlarge
Your answer
Answer & solution

Official answer: Marks to All

Our answer: Both A and D are not equivalent.

For each x, write P(x)=∀y α and Q(x)=∀z β. Quantifier negation and De Morgan’s law turn the target ¬∃x(P∧Q) into ∀x(¬P∨¬Q). Option B is ∀x(Q→¬P), and option C is ∀x(P→¬Q); both simplify to that target. Option A is ∀x(¬Q→P)=∀x(Q∨P), while option D is ∀x(¬P→¬Q)=∀x(P∨¬Q). Neither is equivalent to the target. For an explicit countermodel, use a nonempty singleton domain and let α and β both be true: the target is false, but A and D are both true. Hence the single-choice request has two qualifying options, A and D. The official Code A key resolves scoring as Marks to All; it does not select one letter.

Using P=∀yα and Q=∀zβ, the target is universally ¬P∨¬Q. Implication U→V means ¬U∨V. Therefore B becomes¬Q∨¬P and C becomes¬P∨¬Q, both correct equivalents. A instead becomes Q∨P, and D becomes P∨¬Q. At P=Q=true, both AandDare true while the target is false. This is a direct two-option counterexample to a single-choice “NOT equivalent” question, explaining why MTA rather than a repaired single letter is retained.

Original paper, page 10 · Answer key

1 mark · MCQ
Report issue

Validity of conditional inferences

Propositional & Predicate Logic

Question 1, GATE 2012: Consider the following logical inferences.

       I1: If it rains then the cricket match will not be played.
           The cricket match was played.
           Inference: There was no rain.
       I2: If it rains then the cricket match will not be played.
           It did not rain.
           Inference: The cricket match was played.

       Which of the following is TRUE?
       (A) Both I1 and I2 are correct inferences
       (B) I1 is correct but I2 is not a correct inference
       (C) I1 is not correct but I2 is a correct inference
       (D) Both I1 and I2 are not correct inferences
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Let R mean rain and M mean match played. The premise is R→¬M. Its contrapositive M→¬R proves inference I1. From ¬R alone one cannot infer M: the match could be cancelled for another reason. I2 denies the antecedent and is invalid. Hence B.

Check: A truth assignment supplies a counterexample to I2: set R=false and M=false. Both R→¬M and ¬R are true, but M is false. In contrast, R=true together with M=true would violate the conditional, so I1 is forced.

Original paper, page 2 · Answer key

1 mark · MCQ
Report issue

Existential translation of some real numbers

Propositional & Predicate Logic

Question 13, GATE 2012: What is the correct translation of the following statement into mathematical logic?
                                           “Some real numbers are rational”
        (A) ∃x (real(x) ∨ rational(x))
        (B) ∀x (real(x) → rational(x))
        (C) ∃x (real(x) ∧ rational(x))
        (D) ∃x (rational(x) → real(x))
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Some asserts existence of an object satisfying both properties. The translation is ∃x(real(x)∧rational(x)), C. A disjunction need not satisfy both properties, a universal quantifier says all rather than some, and an implication can be true solely because its antecedent is false.

Check: The conjunction ensures that the same witness x is both real and rational. For instance, x=1/2 is such a witness. Using ∨ would allow an object satisfying just one property and would not express the stated overlap.

Original paper, page 4 · Answer key

2 marks · MCQ
Report issue

Negated universal fooling claim

Propositional & Predicate Logic

Question 30, GATE 2010: F(x,y,t) means person x can fool person y at time t. Which sentence best expresses ∀x∃y∃t ¬F(x,y,t)?
Options: (A) Everyone can fool some person at some time; (B) No one can fool everyone all the time; (C) Everyone cannot fool some person all the time; (D) No one can fool some person at some time.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

The formula ∀x∃y∃t ¬F(x,y,t) says that for each person x there is at least one person y and time t when x cannot fool y. Equivalently, ∀x ¬∀y∀t F(x,y,t): no one can fool everyone all the time. That is B. It does not prohibit fooling some people at some times.

Negating “x can fool everyone all the time” moves the negation across two universal quantifiers: ¬∀y∀t F becomes ∃y∃t ¬F. The outer ∀x then says this failure occurs for every would-be deceiver. The witnesses y and t may depend on x; the formula does not assert a single universally unfoolable person or a single common time.

Original paper, page 6

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

Truth-table operation expressing disjunction

Propositional & Predicate Logic

Question 24, GATE 2009: Operation P□Q outputs T, T, F, T on inputs TT, TF, FT, FF respectively. Which equals P∨Q? A ¬Q□¬P; B P□¬Q; C ¬P□Q; D ¬P□¬Q.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

The given operation is false only when its first argument is false and its second true, so P□Q=P∨¬Q. Substituting¬Q for the second argument yields P□¬Q=P∨Q, option B.

Inspect the sole false row: P is false while Q is true. This is exactly the false case of Q→P, equivalently P∨¬Q. To remove the negation on the second variable, supply ¬Q as that argument: P□¬Q=P∨¬¬Q=P∨Q. This is option B. A quick countercheck with P=Q=false rejects substitutions that incorrectly produce true in that case.

Original paper, page 5

2 marks · MCQ
Report issue

Negating a universal quantifier

Propositional & Predicate Logic

Question 26, GATE 2009: Which pair is equivalent? I ¬∀xP(x); II ¬∃xP(x); III ¬∃x¬P(x); IV ∃x¬P(x). A I, III; B I, IV; C II, III; D II, IV.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

By quantifier negation, ¬∀xP(x) is equivalent to∃x¬P(x). These are I and IV, option B. II means every object fails P, while III means every object satisfies P; neither is generally equivalent to I.

Negating “every object satisfies P” means “some object does not satisfy P.” Thus I and IV express precisely the same proposition. In contrast, II says no object satisfies P, while III says no object fails P. On a domain with one P-object and one non-P-object, I/IV are true but II/III are false; this separates the alternatives directly. Answer B.

Original paper, page 6

2 marks · MCQ
Report issue

Quantifier scope in an FSA-to-PDA statement

Propositional & Predicate Logic

Question 30, GATE 2008: Predicates fsa(x), pda(y), equivalent(a,b) mean finite-state automaton, pushdown automaton and language equivalence respectively. Which printed formula represents “Each finite-state automaton has an equivalent pushdown automaton”? Quantifier scopes below retain the printed parentheses.

(A) (∀x fsa(x)) ⇒ (∃y pda(y)∧equivalent(x,y))
(B) ¬∀y (∃x fsa(x) ⇒ pda(y)∧equivalent(x,y))
(C) ∀x∃y (fsa(x)∧pda(y)∧equivalent(x,y))
(D) ∀x∃y (fsa(y)∧pda(x)∧equivalent(x,y))
Tap to enlarge
Your answer
Answer & solution

Answer: No exact displayed formula under ordinary first-order scope (no official key was published)

1. The intended formula is∀x(fsa(x)→∃y(pda(y)∧equivalent(x,y))). As printed, A puts ∀x only inside its antecedent, leaving the x in equivalent(x,y) free; it also fails to express a separate witness for each FSA. B has the wrong negation and quantifier structure.
2. C asserts that every object is an FSA rather than restricting the implication to FSAs. D likewise asserts every object is a PDA and existentially chooses an FSA, reversing the intended roles. The high-resolution source confirms these displayed forms.
3. A would become the intended answer only after repairing its quantifier scope; no unavailable official key is inferred.

Original paper, page 6

2 marks · MCQ
Report issue

Equivalent propositional disjunctions

Propositional & Predicate Logic

Question 31, GATE 2008: Which propositions are equivalent? I: P∨¬Q. II: ¬(¬P∧Q). III: (P∧Q)∨(P∧¬Q)∨(¬P∧¬Q). IV: (P∧Q)∨(P∧¬Q)∨(¬P∧Q).

(A) I and II only
(B) I,II,III only
(C) I,II,IV only
(D) I,II,III,IV
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

1. De Morgan converts II to P∨¬Q, exactly I.
2. In III, the first two terms combine to P. Then P∨(¬P∧¬Q)=P∨¬Q by distribution/absorption.
3. In IV, the first two terms again combine to P, but P∨(¬P∧Q)=P∨Q. At P=false,Q=true, this differs from I. Thus exactly I,II,III agree, B.

Original paper, page 6

2 marks · MCQ
Report issue

Statement not equivalent to a disconnected graph existing

Propositional & Predicate Logic

Question 22, GATE 2007: Graph(x) means x is a graph and Connected(x) means x is connected. Which formula does NOT express “Not every graph is connected”?
Options:
(A) ¬∀x(Graph(x)⇒Connected(x))
(B) ∃x(Graph(x)∧¬Connected(x))
(C) ¬∀x(¬Graph(x)∨Connected(x))
(D) ∀x(Graph(x)⇒¬Connected(x))
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. Approach. Negate “every graph is connected” by moving the negation through the universal quantifier, then through the implication. The result asserts at least one disconnected graph, not that all graphs are disconnected.

2. Derivation and interpretation. Not every graph is connected means ∃x(Graph(x)∧¬Connected(x)), B. Negating the universal implication gives A, and rewriting implication as ¬Graph∨Connected gives C. D instead says every graph is disconnected, a stronger and different claim. Hence D.

Original paper, page 5

2 marks · MCQ
Report issue

Satisfying at least half the clauses of a CNF formula

Propositional & Predicate Logic

Question 48, GATE 2007: Which claim is true for formulas in conjunctive normal form under the usual nonempty-clause convention?
Options:
(A) Every formula has an assignment satisfying at least half its clauses
(B) Every formula has an assignment satisfying all its clauses
(C) Some formula has at most one quarter of its clauses satisfied under every assignment
(D) None of these
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Approach. Pair any truth assignment with its complement. Each nonempty disjunctive clause has some literal, and that literal is true in exactly one of the two assignments.

2. Derivation and interpretation. For the conventional setting in which each clause contains at least one literal, consider any assignment and its bitwise complement. Every clause is satisfied by at least one of the two: choose any literal in it, which is true in one assignment. Hence the two assignments together satisfy at least m clause occurrences, and one satisfies at least m/2. This proves A. B fails for (x)∧(¬x), and the same half-clause guarantee rules out C. If empty clauses are permitted, the unstated nonempty-clause assumption matters: a formula consisting only of empty clauses is never satisfied at all, so A would fail and C could hold. The intended CNF convention excludes this degenerate case.

Original paper, page 11

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

2 marks · MCQ
Report issue

Distributing implications incorrectly

Propositional & Predicate Logic

Question 27, GATE 2006: Consider equivalences P1: ((A∧B)→C)≡((A→C)∧(B→C)); P2: ((A∨B)→C)≡((A→C)∨(B→C)). Which are tautologies?
Options:
(A) P1 only
(B) P2 only
(C) Both
(D) Neither
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. Take A=true,B=false,C=false. In P1, (A∧B)→C is true, while(A→C)∧(B→C) is false.

2. In P2, (A∨B)→C is false, while(A→C)∨(B→C) is true. Thus neither equivalence is a tautology, D.

3. Teaching check: For A=true,B=false,C=false, P1 has true on its left and false on its right. P2 has false on its left and true on its right. One counterexample per formula is enough to refute tautology; neither formula needs to be false on every assignment.

Original paper, page 4

2 marks · MCQ
Report issue

Expressing conjunction using a truth-table operator

Propositional & Predicate Logic

Question 28, GATE 2006: Define A⊙B by truth table (A,B,result): (T,T,T),(T,F,T),(F,T,F),(F,F,T). Negation has higher precedence than ⊙. Which expression equals A∧B?
Options:
(A) (¬A)⊙B
(B) ¬(A⊙(¬B))
(C) ¬((¬A)⊙(¬B))
(D) ¬((¬A)⊙B)
Question 28, GATE 2006: Define A⊙B by truth table (A,B,result): (T,T,T),(T,F,T),(F,T,F),(F,F,T). Negation has higher precedence than ⊙. Which expression equals A∧B?
Options:
(A) (¬A)⊙B
(B) ¬(A⊙(¬B))
(C) ¬((¬A)⊙(¬B))
(D) ¬((¬A)⊙B)
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. The table gives A⊙B=A∨¬B. Therefore ¬(¬A⊙B)=¬(¬A∨¬B)=A∧B, option D.

2. The negation applies to the whole inner expression.

3. Teaching check: The only false table row is A=false,B=true, exactly the falsifying row of B→A. Hence ⊙ implements A∨¬B. Replacing A by ¬A and negating the whole result yields De Morgan’s formula ¬(¬A∨¬B)=A∧B.

Original paper, page 4

2 marks · MCQ
Report issue

Implication between two propositional formulas

Propositional & Predicate Logic

Question 40, GATE 2005: Let X=((P∨Q)→R), Y=((P→R)∨(Q→R)). Which is a tautology? A X↔Y; B X→Y; C Y→X; D ¬Y→X.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Let U=P→R and V=Q→R. Then X=(P∨Q)→R equals U∧V, while Y=U∨V. Therefore X→Y is a tautology, B. Taking P=true, Q=false, R=false makes X=false, Y=true, disproving equivalence and Y→X. Taking P=Q=true, R=false makes both false and disproves ¬Y→X.

Distribute implication over the disjunctive antecedent: X=(¬P∨R)∧(¬Q∨R). Y is the OR of those same two factors. If both factors hold, at least one holds, proving X→Y. Conversely one factor may be true while the other false, so Y→X and equivalence fail. A counterexample with P=Q=true, R=false makes Y false and X false, refuting ¬Y→X.

Original paper, page 5

2 marks · MCQ
Report issue

Quantifier order for teachers and students

Propositional & Predicate Logic

Question 41, GATE 2005: Formalize “Every teacher is liked by some student.” A ∀x(teacher(x)→∃y(student(y)→likes(y, x))); B ∀x(teacher(x)→∃y(student(y)∧likes(y, x))); C ∃y∀x(teacher(x)→(student(y)∧likes(y, x))); D ∀x(teacher(x)∧∃y(student(y)→likes(y, x))).
Question 41, GATE 2005: Formalize “Every teacher is liked by some student.” A ∀x(teacher(x)→∃y(student(y)→likes(y, x))); B ∀x(teacher(x)→∃y(student(y)∧likes(y, x))); C ∃y∀x(teacher(x)→(student(y)∧likes(y, x))); D ∀x(teacher(x)∧∃y(student(y)→likes(y, x))).
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

For each individual x, if x is a teacher, there must exist a y such that y is a student AND likes x: ∀x(teacher(x) → ∃y(student(y) ∧ likes(y, x))). The student may depend on the teacher. Option B has exactly this form; implication within the existential would admit a non-student witness.

The universal quantifier ranges over possible teachers. Conditional on teacher(x), require a witness y satisfying both student(y) and likes(y, x), which is B. A’s inner implication could be satisfied by a non-student who likes nobody. C demands one common student for every teacher, stronger than the original. D asserts every domain object is a teacher instead of restricting the obligation to teachers.

Original paper, page 5

1 mark · MCQ
Report issue

Existential boy taller than every girl

Propositional & Predicate Logic

Question 23, GATE 2004: Translate “Some boys in the class are taller than all the girls.” The domain is the class and taller(x,y) means x is taller than y. Options below follow GFG; GateForum prints ∧ instead of → inside option D, making its B and D identical and neither a correct translation.
Options:
(A) ∃x[boy(x)→∀y(girl(y)∧taller(x,y))]
(B) ∃x[boy(x)∧∀y(girl(y)∧taller(x,y))]
(C) ∃x[boy(x)→∀y(girl(y)→taller(x,y))]
(D) ∃x[boy(x)∧∀y(girl(y)→taller(x,y))]
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. The required structure is ∃x[boy(x)∧∀y(girl(y)→taller(x,y))], option D, with the domain understood as members of the class. Conjunction ensures the witness is a boy; implication restricts the universal comparison to girls rather than asserting that every person is a girl.

2. Teaching check: An existential implication could be satisfied merely by choosing a person who is not a boy. A universal conjunction would require everyone in the domain to be a girl. The outer conjunction and inner implication prevent these two distinct logical errors. The answer D is source-qualified to the paper’s correctly printed option.

Original paper, page 3

2 marks · MCQ
Report issue

Satisfiability of an implication formula

Propositional & Predicate Logic

Question 70, GATE 2004: Classify (P→(Q∨R))→((P∨Q)→R). GFG uses ∨ in the second antecedent; GateForum prints ∧ there. Classify the stated GFG formula, and retain the alternate reading.
Options:
(A) Satisfiable but not valid
(B) Valid
(C) A contradiction
(D) None of the above
Question 70, GATE 2004: Classify (P→(Q∨R))→((P∨Q)→R). GFG uses ∨ in the second antecedent; GateForum prints ∧ there. Classify the stated GFG formula, and retain the alternate reading.
Options:
(A) Satisfiable but not valid
(B) Valid
(C) A contradiction
(D) None of the above
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Formula (P→(Q∨R))→((P∨Q)→R), setting R=true makes the whole formula true, so it is satisfiable. Setting P=true,Q=true,R=false makes the premise true and the consequent false, so it is not valid.

2. Hence A.

3. Teaching check: To show satisfiable but not valid, one true assignment and one false assignment suffice. With R=true, the consequent is true. With P=Q=true,R=false, the antecedent is true and the consequent false.

Original paper, page 10

2 marks · MCQ
Report issue

Universal modus ponens

Propositional & Predicate Logic

Question 32, GATE 2003: Let α(x), β(x) be first-order formulas whose only free variable is x. Which formula is logically valid? A. ((∀x α)⇒(∀x β))⇒∀x(α⇒β); B. (∀x α)⇒∃x(α∧β); C. ((∀x(α∨β))⇒(∃x α))⇒(∀x α); D. (∀x(α⇒β))⇒((∀x α)⇒(∀x β)).
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. For D, fix an arbitrary domain element a. Universal instantiation gives both α(a)⇒β(a) and α(a), hence β(a) by modus ponens. Since a was arbitrary, universal generalization proves ∀x β(x). To eliminate the other candidates, it is enough to exhibit one interpretation in which each is false, rather than attempting to prove their negations in every interpretation.

2. If every x satisfies α(x)→β(x), and every x satisfies α(x), then every x satisfies β(x). This is the valid formula in D. For A take a two-element domain with α true only at one point and β false everywhere: its premise is vacuously true but its conclusion fails. For B take α always true and β always false. For C take a two-element domain with α true at exactly one point. Then ∃xα is true, so the inner implication is true regardless of β, while ∀xα is false; the full implication fails. Thus the alternatives are not valid.

Original paper, page 4

2 marks · MCQ
Report issue

A universally false divisor characterization

Propositional & Predicate Logic

Question 33, GATE 2003: Consider α=[∀x(P(x)↔∀y(Q(x,y)↔¬Q(y,y)))]⇒[∀x ¬P(x)]. Interpretation I₁ has natural-number domain, P(x) meaning “x is prime”, and Q(x,y) meaning “y divides x”. I₂ is identical except P(x) means “x is composite”. Which satisfies α? A. I₁ only; B. I₂ only; C. Neither; D. Both.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. First evaluate the inner universal formula for a fixed x. The condition at y=1 already fails: 1 divides x and also divides itself, so Q(x,1) is true while ¬Q(1,1) is false. Thus the proposed characterization is false for every natural x. The antecedent then asserts that P is empty, contrary to the existence of a prime in I₁ or a composite in I₂.

2. Q(y,y) is true because each positive natural number divides itself. Thus Q(x,y)↔¬Q(y,y) would require Q(x,y) false for every y. Taking y=x for positive x, or y=1, makes this impossible, so the universally quantified characterization on the right of the biconditional defining P is false. Both interpretations have some P-elements (primes in I 1, composites in I 2), making the antecedent ∀x[P(x)↔that characterization] false. Hence the full implication is true in both interpretations, D.

Original paper, page 4

2 marks · MCQ
Report issue

Quantifying a Horn rule and an integrity constraint

Propositional & Predicate Logic

Question 71, GATE 2003: Logic program P has clauses A(x)←B(x,y),C(y) and ←B(x,x). Which first-order sentence is equivalent? All variables in clauses are universally quantified.
A. [∀x((∃y(B(x,y)∧C(y)))⇒A(x))] ∧ ¬∃x B(x,x)
B. [∀x((∀y(B(x,y)∧C(y)))⇒A(x))] ∧ ¬∃x B(x,x)
C. [∀x((∃y(B(x,y)∧C(y)))⇒A(x))] ∨ ¬∃x B(x,x)
D. [∀x((∀y(B(x,y)∧C(y)))⇒A(x))] ∧ ∃x B(x,x)
Option D above follows GateForum; GFG instead negates its final existential clause: ¬∃x B(x,x). Neither version changes the correct option A.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. The first clause means ∀x∀y((B(x,y)∧C(y))⇒A(x)). For each fixed x, a single witness y for the body is enough to force A(x).
2. Since y does not occur in A(x), move the body quantifier to obtain ∀x((∃y(B(x,y)∧C(y)))⇒A(x)). Using ∀y inside the antecedent would require every y to satisfy the body before forcing A, a weaker rule.
3. A headless clause is a constraint: B(x,x) must never hold. Thus the second clause means ∀x¬B(x,x), equivalently ¬∃x B(x,x).
4. Both clauses must hold together, requiring conjunction. These components match A exactly.

Solution: The rule says that for every x,y, B(x,y) and C(y) together imply A(x). Since A(x) does not depend on y, this is equivalent to saying for every x that the existence of such a y implies A(x). The headless clause forbids every instance of B(x,x), hence contributes not-exists x B(x,x). A program containing both clauses requires their conjunction. This is option A. Moving a universal quantifier inside the antecedent would weaken the rule; joining the clauses with OR would not enforce both.

Original paper, page 10

2 marks · MCQ
Report issue

Resolution validity and pivot assumptions

Propositional & Predicate Logic

Question 72, GATE 2003: Resolution derives P∨Q from premises P∨R and Q∨¬R. Under the ordinary pivot-free residual-clause convention, which statement is false?
A. ((P∨R)∧(Q∨¬R))⇒(P∨Q) is logically valid.
B. (P∨Q)⇒((P∨R)∨(Q∨¬R)) is logically valid. [This is GFG; GateForum replaces the middle ∨ on the right by ∧.]
C. P∨Q is satisfiable iff (P∨R)∧(Q∨¬R) is satisfiable.
D. (P∨Q)⇒FALSE iff both P and Q are unsatisfiable.
Treat R as a pivot atom not occurring in residual P or Q.
Tap to enlarge
Your answer
Answer & solution

Answer: None (no official key was published)

1. For A, if P and Q were both false, satisfying the first premise would require R=true and satisfying the second would require R=false. This contradiction proves soundness.
2. For C, soundness supplies one direction. Conversely, if P∨Q has a model, extend it with R=false when P is true, or R=true when Q is true. Both premises then hold. This extension uses the pivot-free assumption.
3. D follows because a disjunction has a model exactly when at least one disjunct has a model.
4. The paper B has R∨¬R on its right and is therefore always true. Thus none of its options is false.
5. If arbitrary residual formulas could contain R, C need not hold: P=R,Q=¬R makes the resolvent a tautology and the premises inconsistent. That is a different convention, not a silent repair of the paper.

Solution: Under the ordinary resolution convention, R is the pivot atom and neither residual clause P nor Q contains it. The conjunction of the premises entails P∨Q, so A is sound. Conversely, any satisfying assignment of P∨Q can be extended by an appropriate value of R to satisfy both premises, which establishes the satisfiability equivalence in C without claiming logical equivalence. D expresses that P∨Q is unsatisfiable exactly when both disjuncts are unsatisfiable. The paper B instead uses a disjunction on its right, which contains R∨not-R and is a tautology; under the ordinary convention no the paper option is false. If P and Q may be arbitrary formulas involving R, C also fails: set P=R and Q=not-R. Then the resolvent is a tautology but the premises reduce to R∧not-R. That broader interpretation must not be silently substituted for the conventional pivot-free reading.

Original paper, page 10

1 mark · MCQ
Report issue

Formalizing an unless condition

Propositional & Predicate Logic

Question 1.8, GATE 2002: Choose the propositional formula for “If X then Y unless Z.” Here ¬ means negation, ∧ conjunction, and → implication.
(A) (X ∧ ¬Z) → Y; (B) (X ∧ Y) → ¬Z; (C) X → (Y ∧ ¬Z); (D) (X → Y) ∧ ¬Z.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step 1: Translate the exceptional case before forming the implication.

Step 2: Only the case X=true,Z=false activates the requirement. The formula must therefore be false exactly when X=true,Z=false,Y=false. Option A has exactly this truth condition. A formula additionally demanding ¬Z when X is false, or forbidding Y whenever Z holds, would add an unstated requirement.

Conclusion: The obligation Y applies when X holds and the exception Z does not. This is (X∧¬Z)→Y, A, equivalently ¬X∨Z∨Y. The exception does not itself require ¬Y.

Original paper, page 1

Report issue

Classify an idempotent biconditional

Propositional & Predicate Logic

Question 5(b)(i), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. A ↔ (A ∨ A).
Question 5(b)(i), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. A ↔ (A ∨ A).
Question 5(b)(i), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. A ↔ (A ∨ A).
Tap to enlarge
Shared context

Part (a) asks for eigenvalues of a 4 × 4 upper-triangular matrix. Part (b) independently classifies three propositional formulas as tautologies, contradictions, or neither.

Answer & solution

Answer: Tautology (no official key was published)

1. Identify the formula: A ↔ (A ∨ A). A biconditional is true exactly when the expressions on its two sides have the same truth value.

2. Apply idempotence of disjunction. Repeating a proposition does not change it: A ∨ A = A. The formula therefore becomes A ↔ A.

3. Check both assignments explicitly:

A  A∨A  A↔(A∨A)
F   F       T
T   T       T

4. The last column is true for every assignment, so the formula is a tautology. This is stronger than merely finding an assignment that makes it true; a contradiction would require every assignment to make it false, and a contingent formula would have both outcomes.

Original paper, page 7

Report issue

Classify a disjunction-to-operand implication

Propositional & Predicate Logic

Question 5(b)(ii), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. (A ∨ B) → B.
Question 5(b)(ii), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. (A ∨ B) → B.
Question 5(b)(ii), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. (A ∨ B) → B.
Tap to enlarge
Shared context

Part (a) asks for eigenvalues of a 4 × 4 upper-triangular matrix. Part (b) independently classifies three propositional formulas as tautologies, contradictions, or neither.

Answer & solution

Answer: Neither a tautology nor a contradiction (no official key was published)

1. Identify the formula: (A ∨ B) → B. An implication is false only when its antecedent is true and its consequent is false.

2. Eliminate the implication and simplify:
(A ∨ B) → B = ¬(A ∨ B) ∨ B = (¬A ∧ ¬B) ∨ B = (¬A ∨ B) ∧ (¬B ∨ B) = ¬A ∨ B.

3. Evaluate all four assignments, or equivalently use the implication’s false-case rule:

A  B  A∨B  (A∨B)→B
F  F   F       T
F  T   T       T
T  F   T       F
T  T   T       T

4. The row A = T, B = F rules out a tautology. Any true row, such as A = F, B = F, rules out a contradiction. Therefore the formula is neither; it is contingent. In particular, a false antecedent in the first row makes the implication true, not false.

Original paper, page 7

Report issue

Classify a conjunction with a negated disjunction

Propositional & Predicate Logic

Question 5(b)(iii), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. A ∧ ¬(A ∨ B).
Question 5(b)(iii), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. A ∧ ¬(A ∨ B).
Question 5(b)(iii), GATE 2002: Classify the following formula as a tautology, a contradiction, or neither. Here ∨ is OR, ∧ is AND, ¬ is NOT, → is implication, and ↔ is biconditional. A ∧ ¬(A ∨ B).
Tap to enlarge
Shared context

Part (a) asks for eigenvalues of a 4 × 4 upper-triangular matrix. Part (b) independently classifies three propositional formulas as tautologies, contradictions, or neither.

Answer & solution

Answer: Contradiction (no official key was published)

1. Identify the formula: A ∧ ¬(A ∨ B). For a conjunction to be true, both A and ¬(A ∨ B) would have to be true simultaneously.

2. Apply De Morgan’s law: ¬(A ∨ B) = ¬A ∧ ¬B. Substitution gives A ∧ ¬A ∧ ¬B.

3. Isolate the impossible requirement. The conjunction contains both A and ¬A, whose conjunction is false under every assignment. Multiplying by the remaining condition ¬B cannot make a false conjunction true.

4. Alternatively inspect the two cases for A. If A is false, the original outer conjunction is false immediately. If A is true, then A ∨ B is true for either value of B, so its negation is false. Both cases give false.

5. Hence the formula is a contradiction, not merely a contingent formula that happens to fail on one input.

Original paper, page 7

1 mark · MCQ
Report issue

Validity and satisfiability of implications

Propositional & Predicate Logic

Question 1.3, GATE 2001: Classify F1=(P→¬P) and F2=(P→¬P)∨(¬P→P). Choices: A F1 satisfiable and F2 valid; B F1 unsatisfiable and F2 satisfiable; C F1 unsatisfiable and F2 valid; D both satisfiable.
Tap to enlarge
Your answer
Answer & solution

Answer: A is strongest; D is also literally true (no official key was published)

Step 1: P→¬P simplifies to ¬P, so F1 is true when P is false and false when P is true. It is satisfiable but not valid.

Step 2: ¬P→P simplifies to P. Therefore F2=(¬P)∨P is a tautology, true for both valuations, so A states the precise classifications.

Option issue: Every valid formula is also satisfiable on this nonempty valuation space. Consequently D, saying both formulas are satisfiable, is also true. B and C incorrectly call F1 unsatisfiable. A is more informative, but the literal single-correct-option premise fails.

Original paper, page 1

2 marks · MCQ
Report issue

Implication under given equivalences

Propositional & Predicate Logic

Question 2.7, GATE 2000: Assume a↔(b∨¬b) and b↔c. Evaluate (a∧b)→((a∧c)∨d). Is it always true,false,equal to b,or equal to d?
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step 1: b∨¬b is a tautology, so the first premise forces a=true. The second premise makes c and b have the same value.

Step 2: The formula reduces to b→(b∨d). If b is false the implication is true; if b is true its consequent is true.

Thus the formula is always true, A, independently of d. This also follows directly because the antecedent guarantees the first disjunct in the consequent.

Original paper, page 4

3 marks · Descriptive
Report issue

Refute a claimed tautology

Propositional & Predicate Logic

Question 14(a), GATE 1999: Show that (¬p ∨ q) ⇒ (q ⇒ p) is not a tautology.
Question 14(a), GATE 1999: Show that (¬p ∨ q) ⇒ (q ⇒ p) is not a tautology.
Tap to enlarge
Answer & solution

Answer: Counterexample p=false, q=true. (no official key was published)

An implication is false precisely when its antecedent is true and consequent false. Set p=false and q=true. Then ¬p ∨ q=true ∨ true=true, but q ⇒ p=true ⇒ false=false. The whole formula is therefore false. One counterexample suffices to refute a tautology; it need not be false on every valuation. Indeed the formula simplifies to p ∨ ¬q: ¬(¬p ∨ q) ∨ (¬q ∨ p)=(p ∧ ¬q) ∨ ¬q ∨ p=p ∨ ¬q. Its values for (p,q)=(F,F),(F,T),(T,F),(T,T) are T,F,T,T.

Original paper, page 7

2 marks · Descriptive
Report issue

Prove disjunction preserves tautology

Propositional & Predicate Logic

Question 14(b), GATE 1999: If A is a tautology and B is any propositional formula, prove A ∨ B is a tautology.
Question 14(b), GATE 1999: If A is a tautology and B is any propositional formula, prove A ∨ B is a tautology.
Question 14(b), GATE 1999: If A is a tautology and B is any propositional formula, prove A ∨ B is a tautology.
Tap to enlarge
Answer & solution

Answer: A ∨ B is true under every valuation. (no official key was published)

Take an arbitrary valuation v of every propositional variable occurring in A or B. Because A is a tautology, v(A)=true regardless of that valuation. A disjunction is true if either operand is true, so v(A ∨ B)=true ∨ v(B)=true. Since v was arbitrary, the result holds for all valuations, which is exactly the definition of a tautology. No assumption about satisfiability of B is needed: B may be a tautology, contradiction, or contingent formula.

Original paper, page 7

1 mark · MCQ
Report issue

Converse of only-if implication

Propositional & Predicate Logic

Question 1.5, GATE 1998: Find the converse of “I stay only if you go.” Options include “I stay if you go, ” the original implication, its contrapositive, and an unrelated negated antecedent.
Question 1.5, GATE 1998: Find the converse of “I stay only if you go.” Options include “I stay if you go, ” the original implication, its contrapositive, and an unrelated negated antecedent.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Let S mean I stay and G mean you go. “Only if” makes G necessary for S, so the original assertion is S→G. Its converse reverses antecedent and consequent: G→S, expressed as “I stay if you go, ” A. The statement ¬G→¬S is instead the contrapositive and is equivalent to the original, not its converse. Keeping these two transformations separate avoids confusing A with C.

Original paper, page 1

1 mark · MCQ
Report issue

Finding a tautology

Propositional & Predicate Logic

Question 3.2, GATE 1997: Choose a tautology: A(p∨q)→p; Bp∨(q→p); Cp∨(p→q); Dp→(p→q).
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Replace implication by disjunction with a negated antecedent. C becomes p∨¬p∨q, which is always true. A and B both fail at p=false, q=true. D simplifies to¬p∨q and fails at p=true, q=false. Thus C is the only tautology. Showing one falsifying assignment for each other candidate is enough to exclude it, while the excluded-middle pair p∨¬p proves C for all assignments.

Original paper, page 2

2 marks · MCQ
Report issue

Testing an implication identity

Propositional & Predicate Logic

Question 2.3, GATE 1996: Which formula is not a tautology: (A) ((x→y)∧x)→y; (B) ((¬x→y)∧(¬x→¬y))→x; (C) x→(x∨y); (D) (x∨y)↔(¬x→¬y)? GFG supplies these formulas; the alternate changes the second implication inside B to a conjunction, which also makes B a tautology.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Replace implication p→q by ¬p∨q. Then ¬x→¬y is x∨¬y, which is not equivalent to x∨y: at x=false,y=true the left side is true and the right side false. Thus D is not a tautology. Choice A is modus ponens written as an implication, and C is the rule that x implies x∨y. These checks establish the distinction by truth values, not symbol resemblance.

Original paper, page 4

2 marks · MCQ
Report issue

Truth value under an implication premise

Propositional & Predicate Logic

Question 2.19, GATE 1995: Given ¬p→q is true, determine ¬p∨(p→q).
Tap to enlarge
Your answer
Answer & solution

Answer: D: cannot be determined (no official key was published)

The premise ¬p→q simplifies to p∨q. The requested expression simplifies to ¬p∨(¬p∨q)=¬p∨q, which is p→q. Set p=true,q=false: the premise is true but the requested expression is false. Set p=false,q=true: both are true. Thus the premise permits both truth values, so D is correct.

Original paper, page 5

5 marks · Descriptive
Report issue

Derive canonical conjunctive normal form

Propositional & Predicate Logic

Question 13, GATE 1995: Find the principal/canonical CNF of (p∧q)∨(¬q∧r).
Tap to enlarge
Answer & solution

Answer: (p∨q∨r)∧(p∨¬q∨r)∧(p∨¬q∨¬r)∧(¬p∨q∨r). (no official key was published)

A canonical CNF contains one maxterm for each falsifying truth assignment, with all three variables appearing once in every clause. If q=0 the formula reduces to r, so it is false at (p,q,r)=(0,0,0) and (1,0,0). If q=1 it reduces to p, so it is false at (0,1,0) and (0,1,1). The four other rows are true.

To construct a clause false at a given row, write a variable positively when that row assigns it 0 and negatively when it assigns it 1. The false rows 000,010,011,100 therefore give respectively (p∨q∨r), (p∨¬q∨r), (p∨¬q∨¬r), and (¬p∨q∨r). Their conjunction is the answer, conventionally ΠM(0,2,3,4) with p as the most significant bit.

Each maxterm rules out exactly its own false row. Thus the conjunction excludes precisely the original formula’s four false rows and accepts all others, proving equivalence. A shorter equivalent CNF might be valid Boolean algebra, but would not satisfy the requested canonical form if its clauses omitted variables.

Original paper, page 7

Report issue

Testing nonimplication by a truth table

Propositional & Predicate Logic

Question 3.13, GATE 1994: Use a truth table to decide whether the claim “p↔q does not imply p→¬q” is true.
Tap to enlarge
Answer & solution

Answer: True: the asserted implication fails at p=q=true (no official key was published)

List rows (p,q) as TT,TF,FT,FF. The column p↔q is T,F,F,T. The column p→¬q is F,T,T,T. For semantic implication, every row with the first column true would need the second true. The TT row instead has a true premise and false conclusion, so p↔q does not imply p→¬q. Therefore the quoted nonimplication claim is true. This is a claim about entailment across all rows, not the value of either formula under one unspecified assignment.

Original paper, page 4

2 marks · MSQ
Report issue

Simplifying a conjunction with an implication form

Propositional & Predicate Logic

Question 8.2, GATE 1993: Classify p∧(¬p∨q) among tautology,equivalent to p∧q,equivalent to p∨q,contradiction.
Tap to enlarge
Select all that apply
Answer & solution

Answer: B (no official key was published)

Distribute p over the OR: p∧(¬p∨q)=(p∧¬p)∨(p∧q). The first term is false, so the result is p∧q. It is true when both variables are true and false otherwise, hence neither a tautology nor a contradiction. It is not p∨q, which would also be true when exactly one variable is true. This establishes the equivalence algebraically and by its truth conditions.

Original paper, page 9

5 marks · Descriptive
Report issue

Truth-table proof of logical consequence

Propositional & Predicate Logic

Question 18, GATE 1993: Using a truth table, prove that C follows logically from F=A AND (A implies (B OR C)) AND (B implies NOT A).
Tap to enlarge
Answer & solution

Answer: F entails C; F is true only on (A,B,C)=(1,0,1). (no official key was published)

A logical consequence requires that every valuation making the premises true also makes C true. It does not require C to be true on every valuation. Evaluate the two material implications using P implies Q = (NOT P) OR Q. The complete truth table is:

A B C | B∨C | A→(B∨C) | ¬A | B→¬A | F | F→C
0 0 0 |  0  |     1    |  1 |   1   | 0 |  1
0 0 1 |  1  |     1    |  1 |   1   | 0 |  1
0 1 0 |  1  |     1    |  1 |   1   | 0 |  1
0 1 1 |  1  |     1    |  1 |   1   | 0 |  1
1 0 0 |  0  |     0    |  0 |   1   | 0 |  1
1 0 1 |  1  |     1    |  0 |   1   | 1 |  1
1 1 0 |  1  |     1    |  0 |   0   | 0 |  1
1 1 1 |  1  |     1    |  0 |   0   | 0 |  1

The only row with F=1 is A=1,B=0,C=1; in that row C=1. Equivalently the final column F→C consists entirely of 1s, so F entails C. This is a non-vacuous consequence because F does have a satisfying assignment.

For an additional reasoning check, F includes A, forcing A=true. Its last conjunct B→¬A then forces B=false, because ¬A is false. With A true, the middle conjunct forces B∨C=true, so C must be true. In fact F is equivalent to A AND NOT B AND C. The table, rather than this shorter argument alone, supplies the proof format requested by the question.

Original paper, page 12

Report issue

Quantified formulas

Propositional & Predicate Logic

Question 2(xv), GATE 1992: Assess A [(∀xP)∨(∀xQ)]→∀x(P∨Q); B [(∃xP)∧(∃xQ)]→∃x(P∧Q); C ∀x(P∨Q)→[(∀xP)∨(∀xQ)]; D ∃x(P∨Q)→[¬∀xP∨∃xQ].
Question 2(xv), GATE 1992: Assess A [(∀xP)∨(∀xQ)]→∀x(P∨Q); B [(∃xP)∧(∃xQ)]→∃x(P∧Q); C ∀x(P∨Q)→[(∀xP)∨(∀xQ)]; D ∃x(P∨Q)→[¬∀xP∨∃xQ].
Tap to enlarge
Select all that apply
Answer & solution

Answer: A only (no official key was published)

For A, if P holds everywhere or Q holds everywhere, their disjunction holds everywhere, so the implication is valid. B fails on a two-element domain where only the first element has P and only the second has Q: both existentials hold but no common witness does. The same interpretation refutes C because every element satisfies the disjunction while neither predicate holds universally. D fails on a one-element nonempty domain with P true and Q false. Its existential antecedent is true, but both ¬∀xP and ∃xQ are false. Thus only A is valid as printed; the negation in D applies to ∀xP, not to a universal conjunction of negated predicates.

Original paper, page 3

Report issue

A propositional tautology

Propositional & Predicate Logic

Question 2(xvi), GATE 1992: Assess A (a∨b)→(b∧c); B (a∧b)→(b∨c); C (a∨b)→(b→c); D a→b→(b→c), whose association is unmarked.
Question 2(xvi), GATE 1992: Assess A (a∨b)→(b∧c); B (a∧b)→(b∨c); C (a∨b)→(b→c); D a→b→(b→c), whose association is unmarked.
Tap to enlarge
Select all that apply
Answer & solution

Answer: B (no official key was published)

Whenever a∧b is true, b is true and therefore b∨c is true, so B is a tautology. A fails at a=1, b=0, c=0. C fails at a=0, b=1, c=0. D is not a tautology under either common association: right association fails at a=b=1, c=0; left association fails, for example, at a=0, b=1, c=0. The unmarked implication chain is disclosed, but it does not change the selection of B. These are propositional evaluations, not deductions assuming any extra premises.

Original paper, page 4

Descriptive
Report issue

Resolution refutation

Propositional & Predicate Logic

Question 15(a), GATE 1992: The reproduction asks to show inconsistency using modus ponens or resolution:
(1) ∀x [Q(x) → (P(x) ∨ ¬R(a))]
(2) R(a) [missing connective] ¬Q(a)
(3) Q(a)
(4) ∀y ¬P(y).
Here a is a constant and P,Q,R are unary predicates. Both surviving copies omit the connective in (2). Give an explicitly conditional derivation rather than silently repairing the source.
Tap to enlarge
Answer & solution

Answer: Formula (2) is malformed as printed. With (2)=R(a)∨¬Q(a), resolution yields □; with ∧ it also contradicts Q(a), whereas with → there is a countermodel. (no official key was published)

Literally (2) is not a well-formed formula, so the printed set has no uniquely defined satisfiability question. A natural repair is R(a)∨¬Q(a); the following resolution proof is conditional on that repair, not an assertion about a verified original.

Convert (1) to the universally quantified clause ¬Q(x)∨P(x)∨¬R(a). Instantiate x=a and resolve with (3), Q(a), to obtain P(a)∨¬R(a). Instantiate (4) at y=a, obtaining ¬P(a); resolve to get ¬R(a). The repaired (2), R(a)∨¬Q(a), resolves with Q(a) to give R(a). Resolving R(a) and ¬R(a) yields the empty clause □. Hence the disjunction repair is inconsistent.

The same reasoning can be written with modus ponens: Q(a) and (1) imply P(a)∨¬R(a); ¬P(a) forces ¬R(a). Under the disjunction repair, (2) is Q(a)→R(a), so Q(a) forces R(a), a contradiction.

If the missing connective were ∧, (2) would directly include ¬Q(a), contradicting (3), so that repair is also inconsistent. But if it were →, the set would be consistent: take a singleton domain {a}, Q(a)=true, P(a)=false, and R(a)=false. Then (1) is true because ¬R(a) is true, (2) R(a)→¬Q(a) is vacuously true, (3) is true, and (4) is true. The requested unconditional proof is blocked by the defective premise, while the explicitly labeled repaired proof is complete.

Original paper, page 9

2 marks · MSQ
Report issue

Two tautological implications

Propositional & Predicate Logic

Question 3(xii), GATE 1991: GFG states (F1∧F2)→F3 and (F1∧F2)→¬F3 are tautologies. Choices: both F1, F2 tautologies; their conjunction unsatisfiable; neither tautological; neither satisfiable; none. Forum alters the second formula.
Question 3(xii), GATE 1991: GFG states (F1∧F2)→F3 and (F1∧F2)→¬F3 are tautologies. Choices: both F1, F2 tautologies; their conjunction unsatisfiable; neither tautological; neither satisfiable; none. Forum alters the second formula.
Tap to enlarge
Select all that apply
Answer & solution

Answer: B: F1∧F2 is unsatisfiable (no official key was published)

Suppose a valuation made F1 and F2 both true. The first tautology would then force F3 true, and the second would force F3 false, an impossibility. Thus no such valuation exists and their conjunction is unsatisfiable. This does not require either individual formula to be unsatisfiable: F1=p, F2=¬p is a counterexample to that stronger claim. Nor must both fail to be tautologies; F1=true, F2=false satisfies the premises.

Original paper, page 4

2 marks · Descriptive
Report issue

Subsets of a complete consistent axiom system

Propositional & Predicate Logic

Question 4(iv), GATE 1991: If a finite axiom system A is complete and consistent for a theory, is every subsystem also complete and consistent? Explain.
Question 4(iv), GATE 1991: If a finite axiom system A is complete and consistent for a theory, is every subsystem also complete and consistent? Explain.
Tap to enlarge
Answer & solution

Answer: Consistency is inherited; completeness need not be (no official key was published)

Let B⊆A. Any proof from B is also a proof from A, since all its premises remain available. If B derived a contradiction, so would A; therefore every subsystem is consistent. Completeness does not follow because removing an essential axiom can remove the ability to decide a sentence. For example, in propositional logic over a single atom p, the axiom set{p} is consistent and complete for truth-functional formulas over p, whereas the empty subsystem proves neither p nor ¬p. Redundant-axiom removal may preserve completeness, but arbitrary removal need not. The claim does not require an impossible complete arithmetic theory.

Original paper, page 5

5 marks · Descriptive
Report issue

Infinite models of a strict successor relation

Propositional & Predicate Logic

Question 15(b), GATE 1991: Over a nonempty domain, consider (∀x∃y R(x,y)) ∧ (∀x∀y(R(x,y)→¬R(y,x))) ∧ (∀x∀y∀z((R(x,y)∧R(y,z))→R(x,z))) ∧ (∀x ¬R(x,x)). Does this formula have finite models? Is it satisfiable? Give a countable model if so.
Question 15(b), GATE 1991: Over a nonempty domain, consider (∀x∃y R(x,y)) ∧ (∀x∀y(R(x,y)→¬R(y,x))) ∧ (∀x∀y∀z((R(x,y)∧R(y,z))→R(x,z))) ∧ (∀x ¬R(x,x)). Does this formula have finite models? Is it satisfiable? Give a countable model if so.
Tap to enlarge
Answer & solution

Answer: No nonempty finite models. It is satisfiable in the countably infinite structure (ℕ,<). (no official key was published)

The conjuncts say respectively that every element has a strict successor in R, the relation is asymmetric, it is transitive, and it is irreflexive. In particular the first clause prevents a maximal element. The negation in the asymmetry clause is essential and is visibly present in the sources.

Suppose a finite model had m≥1 elements. Choose any x0. By the first clause choose x1 with R(x0,x1), then x2 with R(x1,x2), continuing to xm. Among these m+1 elements some xi=xj with i<j. Repeated application of transitivity to the nonempty chain from xi to xj yields R(xi,xj), hence R(xi,xi). This contradicts irreflexivity. Thus there is no finite nonempty model. One can equivalently say that a finite strict partial order has a maximal element, contrary to the successor clause.

For satisfiability, take the domain ℕ={0,1,2,…} and interpret R(x,y) as x<y. Every x has witness y=x+1. If x<y then not y<x, so asymmetry holds. From x<y and y<z follows x<z, so transitivity holds; x<x is always false. All four conjuncts therefore hold. The domain is countably infinite, giving the requested countable model. Ordinary first-order semantics requires a nonempty domain; if empty domains were unusually permitted, the universally quantified formula would also hold vacuously there.

Original paper, page 8