Quick Revision
Compressed notes for fast review.
Sets & Venn Diagrams
-
Symbols:
- : Union ( or )
- : Intersection ( and )
- : Difference ( but not )
- : Complement
- : Subset
- : Element of
- : Universal Set
-
Formulas:
- Only
- Neither
- At least one
- Exactly one Only Only
-
Three sets:
- Only
- Exactly two
-
Power set:
- If , total subsets
Mathematical Induction
-
Steps:
-
- Base Case (check or )
-
- Inductive Hypothesis: Assume true for
-
- Inductive Step: Prove true for
- If both hold formula true for all natural numbers
-
-
Useful formulas:
- Fibonacci: ,
Relations & Functions
- Properties:
- Reflexive:
- Symmetric:
- Transitive:
If all three Equivalence Relation
- Function:
- Every input has exactly one output
- Injective: no repeated outputs
- Surjective: covers full target set
Logic & Proofs
-
Operators:
- : NOT
- : AND (both true)
- : OR (at least one true)
- : If then (implication)
- : if and only if (biconditional)
- : XOR (exactly one true)
-
Proposition:
- Declarative statement with TRUE/FALSE value
- Not propositions: questions, commands, exclamations, variables
-
Types:
- Tautology: Always TRUE
- Contradiction: Always FALSE
- Contingency: Sometimes TRUE, sometimes FALSE
-
Equivalences:
- (De Morgan's)
- (De Morgan's)
- Tautology
- Contradiction
-
Expression Trees:
- Show operator hierarchy/precedence
- Root = main operator
- Leaves = variables
-
Combinational Circuits:
- AND gate:
- OR gate:
- NOT gate:
- Translate logical expressions to circuits
Counting (P & C)
-
Order matters:
-
Order doesn't matter:
-
Repetition allowed:
-
Circular permutations:
Graph Theory
-
Sum of degrees:
-
Trees:
- Edges
-
Complete graph:
- Edges in
-
Odd-degree rule:
- Odd-degree vertices always even in number
-
TSP (Travelling Salesman Problem):
- Find minimum cost Hamiltonian cycle
- Visit each vertex exactly once
- Return to starting vertex
- Use greedy approach or full enumeration
Pigeonhole Principle
- Basic: If objects in boxes at least one box has objects
- Generalized: To guarantee objects in one of boxes:
- Minimum
- Example: 5 balls of same color from 3 colors draws
IUS Preps - Your Academic Success Partner