Discrete Mathematics Reviewer
Discrete Mathematics Reviewer
🔹 What is Logic?
● Exclusive OR (XOR) (p ⊕ q): "p
or q but not both"
🔹 Propositions
● Proposition: A declarative
🔹 Truth Tables
statement that is either TRUE or Truth tables list all possible
FALSE. combinations of truth values for
propositions and show the outcome of
✅
○ Examples: logical operations.
❌
"1 + 1 = 2",
"What is your name?"
(not a proposition)
🔹 Logical Equivalences
● Tautology: Always true (e.g., p
∨ ¬p)
RMOF
Discrete Mathematics Reviewer
🔹 Related Implications
● Contrapositive: ¬q → ¬p
🔹 Translating English to Logic
Example:
● Inverse: ¬p → ¬q
“If a student has COVID, all
● Converse: q → p classes will be suspended.”
→ (∃x V(x)) → (∀c S(c))
● Quantifiers:
RMOF
Discrete Mathematics Reviewer
RMOF
Discrete Mathematics Reviewer
RMOF
Discrete Mathematics Reviewer
🧠 Logical Equivalents
● ℚ: Rational numbers
● ℝ: Real numbers
● A ∪ B ↔ A OR B
● ℂ: Complex numbers
● A ∩ B ↔ A AND B
✍️ Examples
● Subset (A ⊆ B): All elements of
A are in B.
📏 Cardinality
📊 Venn Diagrams ● |S| = number of elements in set S
Used to visually represent set
relationships including intersections, ● Infinite sets: ℕ, ℤ, ℝ
unions, and complements.
RMOF
Discrete Mathematics Reviewer
🔢 Inclusion-Exclusion
Principle
📚 Definition ●
● Relation: A correspondence
between elements of two sets.
🟥 3. FUNCTIONS
🖼 Representations 📚 Definition
● A Function is a relation where
● Ordered pairs
each input has exactly one
● Tables
output.
● Graphs
● Equations
● Mapping diagrams
RMOF
Discrete Mathematics Reviewer
● General form:
● Range: Set of actual outputs.
● Example: 3, 6, 9, 12, … (common
difference d = 3)
🎯 Key Concepts
Geometric Progression (GP)
● Each element in the domain
maps to one and only one value in ● Constant ratio between consecutive
the range. terms.
📘 SEQUENCES &
Means
Definitions
● Geometric Mean: for two
● Sequence: A function whose numbers a and b
domain is a set of integers. The
values of the function, denoted by
ana_n, are the terms of the Applications
sequence.
● Financial calculations (e.g., interest).
● Real Valued Sequences:
Sequences where each term is a ● Computer science algorithms (e.g.,
real number. sorting, loops).
RMOF
Discrete Mathematics Reviewer
Objectives
Recurrence Relation
Tetromino Problems:
● Defines a sequence recursively
● Can an 8x8 board be tiled with
using preceding terms.
I-tetrominoes? (Explore even area
coverage.)
● Example: Fibonacci sequence:
● Why can't one O-tetromino and
fifteen L-tetrominoes cover an 8x8
board?
Recursion
Closed-Form Formula
RMOF
Discrete Mathematics Reviewer
Tree Isomorphism
RMOF
Discrete Mathematics Reviewer
Properties Applications
Special Graphs
RMOF