Explore the world of discrete math for computer science!

Volume 1: Discrete Math

Key Topics

  • 1. What does “discrete” mean?
  • 2. What does “mathematics” mean?

Key Topics

  • 1. Sets and tuples
  • 2. Ways to Define Sets
  • 3. Some “Special” Sets
  • 4. The “Cardinality” of a Set
  • 5. Set Membership
  • 6. Subsets
  • 7. Set Operators
  • 8. Laws of “Set Algebra”
  • 9. “Power Sets”
  • 10. Partitions

Key Topics

  • 1. Relations
  • 2. Relation Examples
  • 3. “Relational” Databases
  • 4. Properties of “Endorelations”
  • 5. More Relation Examples
  • 6. Functions
  • 7. Composing Functions
  • 8. Properties of functions

Key Topics

  • 1. Probability basics
  • 2. Probability Measures
  • 3. Conditional Probability
  • 4. Conditional Probability, continued
  • 5. The Law of Total Probability
  • 6. Independence
  • 7. Independence Pitfalls
  • 8. Bayes’ Rule
  • 9. Naive Bayes classifiers

Episode 5: StructuresSexy ways to organize data

Key Topics

  • 1. Graph terms
  • 2. Graph Traversal
  • 3. Dijkstra’s Shortest Path Algorithm
  • 4. “Free” Trees
  • 5. (Rooted) Trees
  • 6. Binary Trees
  • 7. Binary Search Trees

Key Topics

  • 1. Counting basics
  • 2. The Fundamental Theorem of Counting
  • 3. Permutations
  • 4. Partial Permutations
  • 5. Combinations
  • 6. Summary and combinatorics examples

Key Topics

  • 1. What is a Number?
  • 2. Number Systems
  • 3. Converting Between Bases
  • 4. Addition, Revisited
  • 5. Why “Hex,” Anyway?
  • 6. Representing Negative Numbers
  • 7. Two’s-Complement
  • 8. Overflow

Key Topics

  • 1. Logic
  • 2. Propositional Logic
  • 3. Truth Tables
  • 4. Identities
  • 5. Predicate Logic
  • 6. Quantifiers
  • 7. Expressing Assertions in First-Order Predicate Calculus
  • 8. Drawing conclusions

Key Topics

  • 1. Direct proofs
  • 2. Indirect Proofs
  • 3. Mathematical Induction (Weak Form)
  • 4. Mathematical Induction (strong form)

Free PDF download

Supercharge your discrete math skills with All The Math’s free PDF textbook.

Get a physical copy for cheap

Buy your paperback copy of our discrete math textbook for less than $10, plus shipping.

Get in touch!

Are you an instructor interested in discrete math course materials? A student in a discrete math course? A self-learner who just loves logical thinking? I'd like to hear from you!

Need more math for computer science? All The Math has got you covered.