Week 1: Logic, Proofs & Formal Reasoning
Master the mathematical foundations of AI: propositional logic, predicate logic, set theory, graph theory, combinatorics, and formal proof techniques.
- Write formal proofs by induction, contradiction, and contrapositive
- Analyze problems using set theory and Boolean logic
- Model problems as graphs and apply graph algorithms
- Apply combinatorics to algorithm analysis
This first lecture establishes the foundational framework for Discrete Mathematics. By the end of this session, you will have the conceptual grounding and practical starting point needed for the rest of the course.
Key Concepts
The lecture introduces the four main pillars of this course: Propositional & Predicate Logic, Proof Techniques: Induction & Contradiction, Graph Theory: Paths, Cycles, Trees, Combinatorics & Counting. Each will be explored in depth over the 14-week curriculum, with hands-on projects reinforcing theory at every stage.
This Week's Focus
Focus on mastering: Propositional & Predicate Logic and Proof Techniques: Induction & Contradiction. These are the prerequisites for everything in Week 2. The concepts build on each other — do not skip the practice exercises.
MATH101 Project 1: Graph Algorithm Implementation
Implement BFS, DFS, Dijkstra's algorithm, and Kruskal's MST algorithm. Prove the correctness of your BFS implementation using formal induction. Analyze complexity for each.
- Python implementations of 4 graph algorithms
- Formal correctness proof for BFS (induction)
- Complexity analysis with empirical validation
- Real-world application writeup (social networks, maps)
These represent the style and difficulty of questions you'll see on the midterm and final. Start thinking about them now.
Prove by induction that the sum 1+2+...+n = n(n+1)/2.
Define a complete bipartite graph K(m,n). How many edges does it have? Prove it.
How many distinct binary strings of length 8 have exactly 3 ones? Show your work.