Theory

Math & Theory

The mathematical foundations of computer science: logic and proofs, sets and functions, combinatorics, probability, graph theory, automata and formal languages, computability and complexity theory.

2 modules 9 lessons ~1 h of reading
Start learning
0/9 completed
01

Discrete Math

5 lessons
  1. 1Logic & ProofsThe language of rigorous reasoning — propositional logic, truth tables, implication and its contrapositive, logical equivalences, predicates and quantifiers, and proof techniques (direct, contrapositive, contradiction, cases, induction, strong induction) with programming connections like loop invariants.beginner6 min
  2. 2Sets, Relations & FunctionsThe vocabulary of discrete maths — sets and set operations, power sets and Cartesian products, relations and their properties, equivalence relations and partial orders, functions (injective, surjective, bijective), cardinality and countability, with connections to databases, types and hashing.beginner6 min
  3. 3CombinatoricsCounting for computer scientists — sum and product rules, permutations and combinations, binomial coefficients and Pascal's triangle, combinations with repetition (stars and bars), inclusion–exclusion, the pigeonhole principle, Catalan numbers, recurrences, and computing counts modulo a prime.intermediate5 min
  4. 4Probability for ProgrammersProbability you'll actually use — sample spaces and events, conditional probability and independence, Bayes' theorem, random variables, expectation and linearity, variance, key distributions, the birthday problem, randomised algorithms, reservoir sampling, and A/B test intuition.intermediate6 min
  5. 5Graph TheoryThe mathematics of networks — vertices, edges, degree and the handshake lemma, paths, cycles and connectivity, trees and their properties, bipartite graphs, Euler and Hamiltonian paths, planar graphs, graph colouring, matchings, and the many problems that reduce to graphs.intermediate6 min