Discrete Mathematics (Basic): Propositional & Predicate Logic, Proof Techniques & Set Theory

Truth tables, logical equivalences, De Morgan's laws, quantifiers, rules of inference, direct/contrapositive/contradiction proofs, mathematical induction, and set operations

Category
Discrete Mathematics
Level
basic
Languages
en → en
Cards
32
Markdown
Discrete Mathematics (Basic): Propositional & Predicate Logic, Proof Techniques & Set Theory (.md)

Flashcards (32)

#Front (Term / Question)Back (Definition / Answer)ExampleMultiple-Choice Options
1How is the material implication p → q expressed using only disjunction and negation?p → q ≡ ¬p ∨ q.
2How is the Cartesian product A × B defined, and what is |A × B| for finite sets A and B?A × B = {(a, b) | a ∈ A ∧ b ∈ B}, the set of all ordered pairs. For finite sets, |A × B| = |A| · |B|.
3What does the Principle of Inclusion-Exclusion state for the cardinality of the union of three finite sets A, B, and C?|A ∪ B ∪ C| = |A| + |B| + |C| − |A ∩ B| − |A ∩ C| − |B ∩ C| + |A ∩ B ∩ C|.
4When is a set S said to be countably infinite, and which standard number sets are countable?S is countably infinite if there exists a bijection between S and the natural numbers ℕ. The sets ℕ, ℤ, and ℚ (rational numbers) are all countably infinite.
5For any set A, what are ∅ ∈ P(A) and ∅ ⊆ P(A), and what is |P(∅)|?Both ∅ ∈ P(A) and ∅ ⊆ P(A) are true for any set A. Since P(∅) = {∅}, its cardinality is |P(∅)| = 2⁰ = 1.
6What does the Schröder–Bernstein Theorem state about set cardinalities?If there exist injective (one-to-one) functions f: A → B and g: B → A between sets A and B, then there exists a bijection between A and B (so |A| = |B|).
7How do a tautology, a contradiction, and a contingency differ in propositional logic?A tautology is always true under every truth assignment; a contradiction is always false; a contingency is neither (true for some assignments and false for others).
8State De Morgan's Laws for propositions p and q.1. ¬(p ∧ q) ≡ ¬p ∨ ¬q 2. ¬(p ∨ q) ≡ ¬p ∧ ¬q.
9What is the distinction between element membership (x ∈ A) and subset inclusion (A ⊆ B)?x ∈ A means x is an individual member of set A; A ⊆ B means every element of A is also an element of B (∀x (x ∈ A → x ∈ B)).
10How does a proof by contraposition establish p → q?Assume ¬q is true and prove directly that ¬p must follow, which establishes p → q via the equivalence (p → q) ≡ (¬q → ¬p).
11Define set union (A ∪ B), intersection (A ∩ B), set difference (A \ B), and symmetric difference (A Δ B).- A ∪ B = {x | x ∈ A ∨ x ∈ B} - A ∩ B = {x | x ∈ A ∧ x ∈ B} - A \ B = {x | x ∈ A ∧ x ∉ B} - A Δ B = (A \ B) ∪ (B \ A) = (A ∪ B) \ (A ∩ B).
12What are the logical rules of inference known as Modus Ponens and Modus Tollens?Modus Ponens: from p and p → q, infer q. Modus Tollens: from ¬q and p → q, infer ¬p.
13How does a proof by contradiction (reductio ad absurdum) establish a proposition p?Assume ¬p is true and derive a logical contradiction (r ∧ ¬r), showing that ¬p cannot hold and therefore p must be true.
14State the Distributive Laws connecting conjunction (∧) and disjunction (∨).1. p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r) 2. p ∨ (q ∧ r) ≡ (p ∨ q) ∧ (p ∨ r).
15How does a direct proof of a conditional statement p → q proceed?Assume the hypothesis p is true, and use axioms, definitions, and valid rules of inference to deduce that the conclusion q must be true.
16What is the classical proof by contradiction that √2 is irrational?Assume √2 = a/b in lowest terms with gcd(a, b) = 1. Then 2b² = a², so a² (and thus a) is even; let a = 2k, giving 2b² = 4k² ⇒ b² = 2k², so b is also even, contradicting gcd(a, b) = 1.
17What does Cantor's Theorem state regarding the cardinality of a set A and its power set P(A)?For any set A (finite or infinite), the cardinality of A is strictly less than the cardinality of its power set: |A| < |P(A)| (no surjection from A onto P(A) can exist).
18Under what exact truth conditions is the material implication p → q false?p → q is false if and only if the hypothesis p is true and the conclusion q is false; in all other cases it is true.
19How do you prove that two sets A and B are equal (A = B)?By mutual subset inclusion: prove both A ⊆ B (every x ∈ A is in B) and B ⊆ A (every x ∈ B is in A).
20What is the power set P(A) of a finite set A with |A| = n, and what is its cardinality?P(A) is the set of all subsets of A (including ∅ and A itself), and its cardinality is |P(A)| = 2ⁿ.
21What is the difference between inclusive OR (p ∨ q) and exclusive OR (p ⊕ q)?Inclusive OR (p ∨ q) is true when at least one operand is true (including both); exclusive OR (p ⊕ q) is true when exactly one operand is true and false when both have the same truth value.
22What is a proposition in discrete mathematics, and which truth values can it take?A declarative sentence that is either strictly true (T) or strictly false (F), but not both.
23What is the negation of the conditional statement ¬(p → q) in simplest conjunctive form?¬(p → q) ≡ p ∧ ¬q (the hypothesis holds while the conclusion fails).
24State De Morgan's Laws for predicates when negating universal (∀) and existential (∃) quantifiers.1. ¬(∀x P(x)) ≡ ∃x ¬P(x) 2. ¬(∃x P(x)) ≡ ∀x ¬P(x).
25What are the converse, inverse, and contrapositive of the conditional statement p → q, and which one is logically equivalent to p → q?Converse: q → p; Inverse: ¬p → ¬q; Contrapositive: ¬q → ¬p. Only the contrapositive (¬q → ¬p) is logically equivalent to p → q.
26What are the two essential steps of a proof by Weak Mathematical Induction for ∀n ≥ n₀ P(n)?1. Base Case: Verify that P(n₀) is true. 2. Inductive Step: Assume P(k) holds for an arbitrary integer k ≥ n₀ (Inductive Hypothesis) and prove P(k + 1) holds.
27What is Disjunctive Syllogism, and what two common fallacies resemble Modus Ponens and Modus Tollens?Disjunctive Syllogism: from p ∨ q and ¬p, infer q. Fallacies: Affirming the Conclusion ((p → q) ∧ q ⊢ p) and Denying the Hypothesis ((p → q) ∧ ¬p ⊢ ¬q).
28How does Cantor's Diagonalization Argument prove that the set of real numbers ℝ in (0, 1) is uncountable?Assuming a complete list r₁, r₂, r₃, … of decimals in (0, 1), construct a real number x whose n-th decimal digit differs from the n-th digit of rₙ (avoiding 0 and 9). Then x differs from every rₙ in at least the n-th place, contradicting completeness.
29Why does the order of nested mixed quantifiers matter in ∀x ∃y P(x, y) versus ∃y ∀x P(x, y)?In ∀x ∃y P(x, y), y can depend on x; in ∃y ∀x P(x, y), a single fixed y must work simultaneously for all x. Notice ∃y ∀x P(x, y) implies ∀x ∃y P(x, y), but not conversely.
30What does the Well-Ordering Principle state for the natural numbers?Every non-empty subset of non-negative integers has a least (smallest) element.
31What is a partition of a non-empty set S?A collection of non-empty subsets {Aᵢ} of S that are pairwise disjoint (Aᵢ ∩ Aⱼ = ∅ for i ≠ j) and whose union equals S (⋃ Aᵢ = S).
32How does Strong Mathematical Induction differ from Weak Induction, and what principle is it equivalent to?In the inductive step of Strong Induction, one assumes P(j) holds for ALL integers j with n₀ ≤ j ≤ k to prove P(k + 1). It is logically equivalent to Weak Induction and the Well-Ordering Principle.