CS 2051
CS 2051, formally known as Honors Introduction to Discrete Mathematics, is a 3-credit Computer Science class taken as a core requirement for Computer Science majors. It serves as an advanced alternative to the standard discrete math option of CS 2050. It provides a detailed overview of common and uncommon discrete structures used in computing, as well as methods of proof key to the design and analysis of various algorithms.
Class Structure
Workload
Unlike its non-honors counterpart, CS 2051 is more in the style of upper-level math classes. Problem sets are given once a week and generally lean on the moderate to very difficult side. On average these will take north of 3 hours to complete, and collaboration is strongly encouraged.
There are a total of three exams in the class: two midterms and a final. These asses the mastery of material through both multiple choice as well as proof-writing questions.
Like CS 2050, proof writing skill is not expected for students in this class. However, unlike CS 2050, the class does expect its students to master proof writing fairly quickly. Problem sets and exams generally asks for more proofs compared to CS 2050, and more of the class content is dedicated to proving and deriving relationships.
Topics List
As with a typical honors class, CS 2051 goes into a couple extra topics compared to CS 2050. The topics exclusive to CS 2051 are marked with an asterisk.
- Propositions and Propositional Logic
- Propositions and Truth Values
- Propositional Operations
- Truth Tables
- Implications
- DeMorgan's Laws
- Propositional Functions
- Quantifications
- Arguments
- Methods of Proof
- Direct Proof
- Contraposition
- Contradiction
- Construction (Direct and Indirect)
- Equivalency
- Casework
- Induction (Weak and Strong)
- Combinatorial Proof (*)
- Set Theory and Cardinality
- Fundamentals
- Subsets and Power Sets
- Finite Cardinality
- Cartesian Product
- Set Operations
- Functions
- Injection, Surjection, and Bijection
- Infinite Cardinality (*)
- Countability (*)
- Cantor's Theorem (*)
- Relations (*)
- Standard Binary Relations
- Properties of Relations
- Equivalence Relations
- Equivalence Classes and Partitions
- Functions as Relations
- Induction and Recursion
- Weak Induction
- Strong Induction
- Recursive Induction
- Algorithms and Big-O Analysis
- Big-O, Big-Omega, and Big-Theta
- Formal Definition of Big-O
- Properties of Big-O
- Recursive Algorithms
- Algorithm Efficiency
- Recurrence Relations (*)
- Introductory Number Theory
- Partition of the Integers & Quotient Spaces (*)
- Congruence Classes
- GCD
- Modular Inverse
- Linear Congruences (*)
- Systems of Linear Congruences (*)
- Divisibility Rules
- Intro to Diophantine Equations (*)
- The Totient Function (*)
- Primality Testing (*)
- Number Theoretic Algorithms
- Fast Exponentiation
- Euclid's Algorithm
- Fermat's Little Theorem (*)
- Bezout's Theorem & the Extended Euclidean Algorithm (*)
- Chinese Remainder Theorem (*)
- Euler's Theorem (*)
- The RSA Cryptosystem (*)
- Introduction to Cryptosystems
- The RSA Algorithm
- Encoding and Decoding
- Counting and Combinatorics
- Standard Counting Rules
- Principle of Inclusion-Exclusion
- The Pigeonhole Principle
- Generalized Pigeonhole Principle (*)
- Permutations and Combinations
- The Binomial Theorem
- Counting with Repetition (*)
- A selection of more advanced topics (varies by semester)
Majors
Majors that take CS 2051 are listed below:
- Computer Science (choice between CS 2050 and 2051)
Future Outlook
CS 2051, like CS 2050, is a critical component of the Theory and Intelligence threads, and in fact, CS 2051 is a decently good class in deciding whether one wants to take the Theory thread. CS 2051 acts as one of the soft prerequisites for MATH 3012 (Applied Combinatorics), as well as a hard prerequisite for for CS 3510 (Algorithm Design), which are both key classes for the Theory thread CS classes: CS 4540 (Advanced Algorithms) and CS 4510 (Automata and Complexity Theory). Furthermore, the proof writing in CS 2051 is an excellent introduction to proof writing in general for future Theory (and even Intelligence) thread classess.
Current Registration Information
CS 2051 is not a linked course, and unlike CS 2050, has no Recitation. Thus, you must only register for the lecture section (marked with an A, B, C, etc.)
Key Registration Footnote:
- Please note that CS 2051 is not offered regularly. Please check the future course plan on the CoC website, found here, to gain a rough idea as to when this course will be offered.
- CS 2051 was last offered in: Fall 2021, Spring 2021, Spring 2020.
Prerequisites
None! CS 2051 can be taken as a first year class.
Equivalent Courses
CS 2050 is the equivalent non-honors section of discrete math. It gives equivalent credit. If you do not like math or do not consider yourself strong at math, it is strongly recommended to take CS 2050.
Resources
Spring 2021
The advanced topics in Spring 2021 included:
- Recursive Counting and Recurrence Relations
- Generating Functions