BEGINNERFrequently Tested 4 min read 23 views
Propositional Logic, Equivalences, Implication Laws & Valid Inference
Truth tables, contrapositive vs converse, functional completeness, quantifier negations, and Modus Ponens/Tollens.
Implication () & Its Variants
Given conditional statement ("if , then "):
- Contrapositive: — Always logically equivalent to !
- Converse: — Equivalent to Inverse (), not equivalent to .
- Negation of Implication: (Notice there is NO implication arrow in the negation!).
| Expression | Equivalent English Phrasing | Symbolic Form |
|---|---|---|
| is sufficient for | If happens, is guaranteed | |
| is necessary for | cannot happen without | |
| only if | implies | |
| unless | If not , then |
Common Exam Mistake
"p only if q" vs "p if q":
- " if " means .
- " only if " means ! Mixing these two up is the #1 logic trap in GATE & UGC NET.
Counting Boolean Functions of Variables
For boolean variables, the truth table has rows:
- Total distinct Boolean functions
- Self-dual functions (cannot contain constants or alone)
Key Formulas Summary
Material Implication Identity
Note: False ONLY when p = True and q = False
Negation of Nested Quantifiers
Note: Flip every quantifier and negate predicate
#Discrete Math#Logic#GATE CS#UGC NET
Practice Questions on This Chapter (3)
Q1GATE CS Discrete MathMCQEASY
+1M • -0.33
Which of the following propositional formulas is logically equivalent to the implication ?
⚡ Click an option above to verify instantly
Q2GATE CS 2023MCQEASY
+1M • -0.33
Which First-Order Logic formula accurately translates: "Every student who loves Algorithms also loves Coding" (domain = all people, : is a student, : loves Algorithms, : loves Coding)?
⚡ Click an option above to verify instantly
Q3GATE CS 2021NATEASY
+1M • 0 Neg
For how many truth assignments out of over does the implication evaluate to TRUE?