Propositions, connectives, truth tables, tautologies, logical equivalence and rules of inference, then predicates, quantifiers, negation and nesting of quantifiers, and translating English sentences into first-order logic.
A proposition is a statement that is either true (T) or false (F). Compound propositions are built with connectives:
T
T
F
T
T
T
T
F
T
F
F
F
T
F
F
T
F
T
T
F
T
T
F
T
F
F
T
F
F
T
T
F
The implication is false only when is true and is false. So a false premise makes it vacuously true. Read it as "if then ", " only if ", " is necessary for ", " is sufficient for ".
For :
Converse and inverse are equivalent to each other, but not to .
Contrapositive is equivalent to .
Precedence (highest first): , , , , . Implication is right-associative: means .
A formula with variables has truth-table rows, so there are different Boolean functions of variables.
2. Tautology, satisfiability and equivalence
A tautology (valid formula) is true in every row. A contradiction is false in every row.
A formula is satisfiable if at least one row makes it true. is valid exactly when is unsatisfiable.
(logically equivalent) when is a tautology.
Equivalences you must know:
Name
Equivalence
Implication
De Morgan
,
Absorption
,
Distribution
Exportation
Cases
Biconditional
Quick tautology test: assume the formula is false and try to build a row. For an implication that means true and false. If you reach a contradiction, it is a tautology.
A set of connectives is functionally complete if it can express every Boolean function: , , , , are complete; and are not (they cannot produce F when every input is T).
3. Rules of inference
An argument with premises and conclusion is valid if is a tautology, that is, no row makes all premises true and the conclusion false.
Rule
Premises
Conclusion
Modus ponens
,
Modus tollens
,
Hypothetical syllogism
,
Disjunctive syllogism
,
Resolution
,
Simplification
Addition
Two fallacies appear often as wrong options:
Affirming the consequent: from and , concluding .
Denying the antecedent: from and , concluding .
Both fail on the row F, T.
To test validity fast: set the conclusion false, force every premise true, and see if a consistent assignment exists. If it does, the argument is invalid and that assignment is a counterexample.
4. Predicates and quantifiers
A predicate becomes a proposition once is given a value from the domain (universe of discourse).
Universal quantifier: is true if holds for every in the domain.
Existential quantifier: is true if holds for at least one .
A variable is bound if it lies in the scope of a quantifier on it, otherwise free. A formula with free variables is not a proposition.
Negation (generalised De Morgan):
To negate a long formula, flip every quantifier and push inward; .
Translating English (the most tested skill):
English
First-order logic
All A are B
Some A are B
No A is B
Not all A are B
pairs with ; pairs with . The formula says everything is both A and B, and is true as soon as one thing is not A, so both are almost always wrong translations.
5. Nested quantifiers and distribution
Quantifiers of the same kind commute: and . Quantifiers of different kinds do not.
is valid: one that works for all certainly gives each some . The converse fails. Over the integers with , is true but is false (no largest integer).
Distribution over connectives:
Equivalent (always)
One way only
If does not occur in : and . Note how the quantifier flips when it moves out of the premise of an implication.
For a finite domain : and . This is the easiest way to check a claim.
Valid implications among two-variable quantifier orders (non-empty domain). No arrow goes upward.
Formulas to remember
ImplicationThe contrapositive is equivalent; the converse is not.
Negated implication
Biconditional
Exportation
Quantifier negation
Swapping different quantifiersValid one way only.
Number of Boolean functions propositional variables
Common mistakes
Translating 'All A are B' as or 'Some A are B' as .
Treating the converse as equivalent to ; only the contrapositive is.
Negating as instead of .
Assuming and mean the same thing; only holds.
Reading as ; implication groups to the right.
Accepting affirming the consequent or denying the antecedent as valid inference.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Is hypothetical syllogism a tautology?
conceptual
Show that is a tautology without writing all 8 rows.
Step 1: Assume the whole formula is false. What must hold?
Try it on paper first.
Example 2: Simplify with equivalence laws
conceptual
Simplify .
Step 1: Simplify the inside first using distribution.
Try it on paper first.
Example 3: Negating a nested quantified statement
conceptual
Write the negation of with applied only to atomic predicates.
Step 1: Push the negation past the quantifiers.
Try it on paper first.
Example 4: Quantifier order on a finite domain
numerical
Domain and . Find the truth values of and .
Step 1: For each $x$, look for a $y$ in the domain with $x + y = 4$.
Try it on paper first.
Previous year questions
14 official GATE CSE questions on this topic, newest first.
10 questions: up to 4 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE CSE syllabus; being checked by a reviewer. Updated 2026-11-21. Spotted a mistake? Use Report an issue on any question, or contact us.