Unit summary
- A proposition is a statement that is either true or false, and connectives join propositions into compound statements.
- Truth tables give the value of a statement for every assignment, with 2^n rows for n variables.
- A tautology is always true, a contradiction always false, a contingency sometimes true.
- Logical equivalence is shown by truth tables or by laws such as De Morgan's laws.
- Quantifiers ∀ and ∃ express "for all" and "there exists", and are negated by swapping them.
- Every statement has a DNF (OR of ANDs) and a CNF (AND of ORs).
- Rules of inference such as modus ponens and modus tollens build valid proofs.
- Proof by contradiction and mathematical induction are key methods of proof.
Glossary
| Term | Meaning |
|---|---|
| CNF | An AND of ORs of literals. |
| Conditional | The statement p → q, false only when p is true and q false. |
| Connective | A symbol that joins propositions, such as ∧, ∨, ¬, →. |
| Contingency | A statement that is neither a tautology nor a contradiction. |
| Contradiction | A statement false in every case. |
| Contrapositive | The statement ¬q → ¬p, equivalent to p → q. |
| Converse | The statement q → p. |
| DNF | An OR of ANDs of literals. |
| Literal | A variable or its negation. |
| Logical equivalence | Two statements with the same truth table. |
| Mathematical induction | Proof by a basis step and an inductive step. |
| Modus ponens | From p and p → q, infer q. |
| Modus tollens | From ¬q and p → q, infer ¬p. |
| Predicate | A statement with variables. |
| Proposition | A statement that is either true or false. |
| Quantifier | A symbol, ∀ or ∃, stating how many elements satisfy a predicate. |
| Tautology | A statement true in every case. |
| Truth table | A table of the truth values of a statement for all cases. |
Question bank
Short Answer Questions (2 marks each)
- Define a proposition with an example.
- Write the truth table of p → q.
- Define a tautology and a contradiction.
- Write the contrapositive of p → q.
- State De Morgan's laws.
- Negate ∀x P(x).
- Define CNF and DNF.
- State modus ponens and modus tollens.
- What is proof by contradiction?
- State the principle of mathematical induction.
Medium Answer Questions (5 marks each)
- Construct the truth table of (p → q) ∧ (q → p) and compare it with p ↔ q.
- Show that (p → q) ∨ (q → p) is a tautology.
- Prove ¬(p ∨ (¬p ∧ q)) ≡ ¬p ∧ ¬q using the laws of logic.
- Find the CNF and DNF of (p → q) ∧ r.
- Explain the rules of inference with examples.
- Prove by induction that 1 + 3 + 5 + … + (2n − 1) = n².
Long Answer Questions (15 marks each)
- Explain propositions, connectives and truth tables, and classify statements as tautology, contradiction or contingency.
- Explain logical equivalence, quantifiers and their negation, with examples.
- Explain CNF and DNF and the methods of converting a statement to each form.
- Explain the rules of inference, proof by contradiction and mathematical induction, with examples.
Sources
- Official BCA syllabus Mathematics Foundations to Computer Science II, course code 25BCA402DS01, Unit I
