Discrete Mathematics: Propositional Logic, Quantifiers, and Set Theory
Propositional Logic Fundamentals
Definition of a Proposition:
- A proposition is a declarative sentence that is either true or false, but not both.
- Examples of propositions:
- "Oregon is a state in the United States of America" is a proposition with a truth value of true.
- "" is a proposition with a truth value of false.
- Sentences that fail to be propositions include questions, commands, and self-referential paradoxes.
- For instance, the sentence "This statement is false" cannot be assigned a truth value because assuming it is true implies it is false, and assuming it is false implies it is true; hence, it is not a proposition.
- Conventional notation uses lower-case propositional variables such as , , and to represent propositions (e.g., letting denote "").
Compound Propositions and Basic Logical Operations:
- Compound propositions are formed by combining or modifying existing propositions using logical operators.
- Negation ():
- The negation of a proposition , denoted and read as "not ", produces a proposition that is true when is false, and false when is true.
- Disjunction ():
- The disjunction of propositions and , denoted and read as " or ", is a compound proposition that is false strictly when both and are false; otherwise, it is true.
- Conjunction ():
- The conjunction of propositions and , denoted and read as " and ", is a compound proposition that is true strictly when both and are true; otherwise, it is false.
Truth Tables:
- Truth tables systematically display the truth values of compound propositions across every possible combination of truth values for their constituent input propositions.
- Truth values are commonly represented using (true) and (false), or alternatively and .

- Precedence and Order of Operations:
- The negation operator () holds highest precedence and is evaluated prior to disjunction () and conjunction ().
- For example, represents under standard precedence.
- To apply negation across a compound expression, grouping parentheses are required, as in .
- The evaluation order between and is determined explicitly by parentheses.
Conditional and Biconditional Statements
- The Conditional Statement (Implication):
- The conditional expression "If then ", denoted or , asserts that whenever holds true, must also hold true.
- Terminology:
- is designated as the hypothesis or antecedent.
- is designated as the conclusion or consequent.
- Truth Conditions:
- The implication evaluates to false solely when the hypothesis is true and the conclusion is false.
- It evaluates to true in all other circumstances.
- When evaluates to true because is false, the implication is described as vacuously true or true by default.
- Precedence:
- The conditional operator () shares the same level of operator precedence as and .

Linguistic Variants of :
- Implication can be expressed in natural language in multiple ways:
- " if "
- " whenever "
- " only if "
- " implies "
- Caution: The expression "It is raining only if there are clouds in the sky" is equivalent to "If it is raining then there are clouds in the sky" (). This is distinct from the reversed conditional "If there are clouds in the sky then it is raining" ().
Related Conditional Statements:
- Given an original conditional statement :
- Converse:
- Inverse:
- Contrapositive:
- Worked Example:
- Statement: "If Jack bought beer then Jack went to the store."
- Definition of components:
- : Jack bought beer.
- : Jack went to the store.
- Symbolic form:
- Converse (): "If Jack went to the store then Jack bought beer."
- Inverse (): "If Jack didn't buy beer then Jack didn't go to the store."
- Contrapositive (): "If Jack didn't go to the store then Jack didn't buy beer."
Necessary and Sufficient Conditions:
- Necessary Condition: A condition that must be satisfied given that a proposition holds true. The conclusion of a true conditional is a necessary condition of the hypothesis .
- Sufficient Condition: A condition that suffices to guarantee that a proposition holds true. The hypothesis of a true conditional is a sufficient condition for the conclusion .
- Example Analysis:
- Consider the true implication: "If is a non-zero whole number, then is a positive whole number."
- " is a positive whole number" is a necessary condition of " is a non-zero whole number."
- " is a non-zero whole number" is a sufficient condition for " is a positive whole number."
- Counterexample demonstrating that " is a non-zero whole number" is not a necessary condition: Setting yields , which is a positive whole number, even though is not a non-zero whole number.
Biconditional Statement:
- The proposition " if and only if " (abbreviated " iff ") is denoted .
- It is formally defined by the conjunction of forward and reverse implications:
Logical Equivalences, Tautologies, and Contradictions
Logical Equivalence ():
- Two compound propositions and , constructed from constituent propositions , are logically equivalent () if they produce identical truth values across all possible combinations of truth values of their constituents.
- Fundamental Equivalences:
- Double Negation Law:
- Commutative Laws: and
- Contrapositive Equivalence:
De Morgan's Laws for Propositional Logic:
Disjunctive Form and Negation of Conditional Statements:
- The conditional proposition is false only when is true and is false, which corresponds to when is false and is false. Thus, it can be expressed as a disjunction:
- Applying De Morgan's Laws yields the logical negation of an implication:
- Worked Example (Negation of Necessary Condition):
- Statement to negate: "A necessary condition of Serena buying the car she wants is that Serena passes the credit check for the car loan."
- Standard conditional formulation ():
- : Serena buys the car she wants.
- : Serena passes the credit check for the car loan.
- "If Serena buys the car she wants then Serena passes the credit check for the car loan."
- Negated form ():
- "Serena buys the car she wants and Serena doesn't pass the credit check for the car loan."
Tautologies and Contradictions:
- Tautology: A compound proposition that evaluates to true across all possible truth assignments of its constituent variables.
- Example:
- Contradiction: A compound proposition that evaluates to false across all possible truth assignments of its constituent variables.
- Example:
Quantified Logic
Propositional Functions and Domains:
- A propositional function (or predicate) is an open sentence containing a finite number of variables that becomes a well-defined proposition once specific values from a domain are substituted for those variables.
- The domain of a variable denotes the set of all allowable values eligible for substitution.
- Examples:
- Predicate defined as "" over the domain of whole numbers :
- asserts "", which evaluates to false.
- asserts "", which evaluates to true.
- Predicate defined as " is a former president of the USA" over the domain of human beings:
- is true.
- is false.
Universal Quantification ():
- The statement "for all , ", denoted (or ), is a proposition that evaluates to true if and only if is true for every element in domain .
- The statement is false if there exists at least one element in for which is false.
- Proof Techniques:
- To prove is true: Demonstrate that holds for an arbitrary, general choice of .
- To prove is false: Provide a single counterexample, which is a specific element for which evaluates to false.
- Worked Examples:
- Statement:
- Evaluation: True.
- Justification: Let be an arbitrary real number. Since , adding gives . Taking reciprocals preserves the inequality direction relative to zero, yielding .
- Statement:
- Evaluation: False.
- Justification: Consider the counterexample . When , , giving . Since is false, the universally quantified proposition is false.
Existential Quantification ():
- The statement "there exists such that ", denoted (or ), evaluates to true if and only if is true for at least one element .
- The statement is false if is false for every element in .
- Proof Techniques:
- To prove is true: Exhibit a single explicit witness that satisfies .
- To prove is false: Demonstrate that is false for every choice of .
- Worked Examples:
- Statement:
- Evaluation: True.
- Witness: Select . Then , and .
- Statement:
- Evaluation: True.
- Witness: Select . The antecedent is false, making the conditional statement true by default.
- Statement:
- Evaluation: False.
- Justification: Let , so . It follows that . Multiplying by gives . Because , . Thus . Dividing by the positive quantity yields: Multiplying both sides by gives: Because for all , the existential statement is false.
De Morgan's Laws for Quantifiers:
- Negating a universally quantified statement yields an existentially quantified statement:
- Negating an existentially quantified statement yields a universally quantified statement:
- Application Example:
- Original statement: "All mammals cannot fly."
- Symbolic formulation: Let denote "Mammal cannot fly." The statement is .
- Negation: .
- Natural language interpretation: "There exists a mammal such that the mammal can fly" (colloquially, "Some mammals fly").
Linguistic Nuances in Negative Quantifications:
- Statements meaning (equivalent to ):
- "Not all satisfy "
- "Not each satisfies "
- "Not every satisfies "
- Statements meaning (equivalent to ):
- "Not any satisfies "
- "No satisfies "
Nested Quantifiers and Advanced Applications
Order Dependence of Quantifiers:
- The semantic meaning and truth value of a quantified statement depend heavily on the sequential order of nested quantifiers.
- Example: Multiplicative Inverses:
- The statement "For every positive real number there exists a positive real number such that " is written symbolically as:
- This proposition is true; it conveys that every positive real number possesses a multiplicative inverse (reciprocal).
- Reversing the quantifiers produces:
- This proposition is false because the existential variable would have to be chosen independently of , and no universal constant real number exists that produces when multiplied by any arbitrary real number.
- Example: Strict Ordering:
- Proposition:
- Evaluation: True.
- Justification: For any given , setting guarantees and .
- Reversing the order produces , which is false because no single real number is strictly greater than every real number.
- Example: Circle Equations:
- Proposition:
- Evaluation: False.
- Justification: Let be an arbitrary real number. Selecting yields .
- The reversed statement is also false (e.g., choosing requires , which has no solution over ).
Sequential Application of De Morgan's Laws on Nested Quantifiers:
- Multi-variable statements are negated by propagating the negation inwards and alternating each quantifier:
Formal Analysis of Limits from Calculus:
- The technical - definition of a limit, , asserts:
- For every , there exists such that for all , .
- Predicates:
- :
- :
- Symbolic Formulation:
- Derivation of the Negation ():
- Step 1: Push negation through quantifiers:
- Step 2: Express implication in disjunctive form:
- Step 3: Apply De Morgan's Law to the predicate:
- Final Statement in Words:
- There exists such that for all , there exists such that and .
Set Theory Fundamentals and Sets of Numbers
Set Definitions and Axioms:
- The formalization of set theory was introduced by Georg Cantor in 1879.
- A set is an unordered collection of distinct objects where order and repetition are not taken into account.
- Two sets are equal if and only if they share identical members.
- Membership is denoted by ( is an element/member of ) or ( is not an element/member of ).
- A set is finite if its count of elements is finite, and infinite otherwise.
Set Notations:
- Set-bracket notation: Direct roster listing of elements enclosed within braces, e.g.:
- (the empty set or null set, containing zero elements).
- Ellipses Notation: Used to denote ongoing patterns:
- Finite set:
- Infinite set of prime numbers:
- Set-builder notation: Defines a set by filtering a domain through conditions :
- Example: Letting be all living humans, .
Cardinality and Subsets:
- Cardinality: The number of elements in a finite set , denoted .
- Subset (): if and only if every element of is also an element of .
- Proper Subset (): if and only if and .
- Negations: indicates is not a subset of ; indicates is not a proper subset of .
- Default Rule: The empty set is a subset of every set ( for all sets ).
- Double Containment Proof Technique: Two sets are proved equal () by showing mutual inclusion: and .
- Recipe to prove : Assume an arbitrary element , and deduce logically that .
- Universe (): An overarching universal set encompassing all sets under active consideration as subsets.
Standard Number Systems:
- Digits: The set .
- Natural Numbers (): The set .
- Integers (): The set . Positive integers are denoted , where .
- Rational Numbers (): The set of fractions formed from integers:
- Real Numbers (): Defined as the set of all signed decimal expansions of the form: where each is a digit, and all but finitely many digits where are .
- Subsetting: Since elementary long division converts any fraction into a decimal expansion, .
- Irrational Numbers (): The complement of the rationals within the reals:
- Complex Numbers (): The set of linear combinations of real numbers and the imaginary unit :
- The real numbers form a subset of the complex numbers with zero imaginary part:
Power Sets:
- The power set of a set , denoted , is the set of all subsets of , ranging from to .
- Example: For , the power set is:
- Cardinality Rule: For any finite set , the cardinality of its power set is given by:
Venn Diagrams:
- Venn diagrams provide visual geometric representations of sets as circles enclosed inside a universal bounding rectangle .

Set Operations and Principle of Inclusion-Exclusion
Fundamental Operations on Sets:
- Union (): The set of all elements belonging to or (or both):
- Example:
- Intersection (): The set of all elements belonging simultaneously to and :
- Example:
- Disjoint Sets: Two sets and are disjoint if they share no elements, meaning .
- Relative Difference ( or ): Elements present in that are not in :
- Example:
- Complement (, , or ): Elements of universe that do not belong to :
- Example: In the universe of digits,
- Cartesian Product (Direct Product, ): The set of all ordered pairs formed from two sets:
- Example: represents the continuous two-dimensional -plane.
- Cardinality Rule: For finite sets, .
- Generalization to sets:
Principle of Inclusion-Exclusion:
- When adding cardinalities of two finite sets, the elements in their intersection are counted twice. Correcting for double counting yields:
- If and are disjoint, , simplifying the formula to .
- Worked Application (Multiples in a Finite Domain):
- Goal: Count how many multiples of or exist within the set .
- Multiples of : , with cardinality .
- Multiples of : , with cardinality .
- Multiples of both and (multiples of ): , with cardinality .
- Total count via inclusion-exclusion:
Theory of Functions
Formal Set-Theoretic Definition:
- Let and be non-empty sets. A function from to , denoted , is a subset of the Cartesian product satisfying the property that for every , there exists a unique such that .
- Structural Properties:
- A function is formally a set of ordered pairs.
- The expression serves as shorthand notation for .
- The function assigns to each element of exactly one element of .
- Functions are typically defined by an assignment rule, such as , which denotes .
- Formally, there is no distinction between a function and its geometric graph in ; a function is identical to its graph.
Domain, Codomain, and Range:
- In , is the domain and is the codomain.
- The range (or image) is the set of elements in mapped to by elements in :
- Worked Example (Finding Range):
- Function: given by .
- Proof: For any real number , .
- For any arbitrary , solving yields , which is a valid real number satisfying .
- Thus, the range of is the interval .
Arrow Diagrams:
- Arrow diagrams depict functions by drawing two ovals representing domain and codomain , with directional arrows connecting each point to its uniquely assigned image .
Classifications of Functions:
- One-to-One (Injective):
- is injective if for each , there exists at most one such that .
- Proof strategy: Assume for arbitrary , and prove that .
- Disproof strategy: Identify two distinct elements () such that .
- Onto (Surjective):
- is surjective if for each , there exists at least one such that .
- Proof strategy: Let be arbitrary and solve for an element satisfying .
- Disproof strategy: Find a specific target such that for all , .
- Bijection:
- A function is a bijection if it is both one-to-one (injective) and onto (surjective).
Classification Case Studies:
- Case Study 1: Identification Numbers:
- Let be the set of OSU students, faculty, and staff, and let be the set of 9-digit strings. A function maps each person to an assigned identification number.
- The function is because each 9-digit string maps to at most one person, with ID assignments chosen outside existing identifiers.
- The function is not onto because the cardinality of is strictly less than the total number of available 9-digit strings ().
- Case Study 2: Rational Function from Integers:
- Let be defined by:
- Injectivity Proof:
- Let and assume .
- This factors into two cases: or .
- In the first case, .
- In the second case, . Since , the only natural solution is and , which also yields .
- Since in all cases, is .
- Surjectivity Proof:
- Consider . For any , , so .
- Because has no pre-image in , is not onto, and consequently is not a bijection.
Inverse Functions:
- If is a bijection, the relation defines a bijection from to .
- The relation is called the inverse function of , denoted .
- Example: For defined by , the inverse function is:
Function Composition:
- Let and be functions. The composition of with , denoted , is defined by:
- Well-definedness: For each , is the unique element of assigned to , and is the unique element of assigned to ; thus, assigns a unique element of to .
- Example:
- Let .
- Let and .
- The composite function is:
- Injectivity Properties of Compositions:
- If is , is necessarily ? No.
- Counterexample: Let and .
- Here is , but , which is not .
- Theorem: If is , then must be .
- Proof: Let be non-empty sets, , , and assume is .
- Let , and assume .
- Applying function to both sides gives .
- By composition definition, .
- Since is injective, it follows that .
- Therefore, is .
Families of Sets, Partitions, and Foundational Paradoxes
Indexed Families of Sets:
- Let be an index set. If a set exists for each , the collection is an indexed family of sets.
- Elements with distinct indices can be identical sets: is permissible for .
- Pairwise Disjoint Families: An indexed family is pairwise disjoint if for all , either or .
- Example: The family of half-open intervals over .
- For with , either or , meaning . Hence, is pairwise disjoint.
Arbitrary Unions and Intersections:
- Intersection of an Indexed Family:
- Union of an Indexed Family:
- Worked Example (Intervals of Real Numbers):
- Consider the family of open intervals .
- Intersection evaluation:
- Proof: Every number in the closed interval lies in for all . For any real number outside , choosing a sufficiently large makes the interval too narrow to contain that number.
- Union evaluation:
- Proof: Setting yields the interval . For every integer , the interval is a strict subset of .
Partitions of a Set:
- A partition of a set is a family of non-empty, pairwise disjoint sets indexed by whose union equals :
- Examples:
- is a partition of the set .
- The family is a partition of the continuous ray .
- The Sum Rule of Counting:
- If is a partition of a finite set , then the cardinality of is the sum of the cardinalities of the partition blocks:
Foundational Crisis and Russell's Paradox:
- In classic (naive) set theory, sets could be defined arbitrarily using conditions. This leads to mathematical inconsistency.
- Russell's Set Theory Paradox:
- Let denote the universe of all sets.
- Define as the set of all sets that are not members of themselves:
- Contradiction:
- If , then by the defining condition of , must belong to ().
- If , then by definition cannot be a member of itself ().
- Conclusion: The set cannot exist; it is an ill-defined set.
- Remedy: Modern axiomatic set theory restricts the universe to well-defined sets, excluding self-contradictory formulations.
De Morgan's Laws for Sets:
- The complement of a union is the intersection of the complements:
- The complement of an intersection is the union of the complements: