How can you be sure a statement is true for every whole number, forever?
Discrete Mathematics · about 15 minutes a level
The mathematics of separate, countable things, and the language of proof that the rest of university mathematics and computer science is written in. You learn logic and the main proof techniques, sets, functions and relations, induction and recursion, number theory up to RSA, counting and the binomial theorem, recurrences and generating functions, graph theory, and discrete probability.
Go deeper, level by level
- Logic and proof: Propositions, connectives and truth tables, Predicates and quantifiers, Direct proof, contrapositive and contradiction, Cases, counterexamples and existence proofs
- Sets, functions and relations: Sets and set operations, Functions: injective, surjective and bijective, Countable and uncountable sets, Relations, equivalence relations and partial orders
- Induction and recursion: Mathematical induction, Strong induction and well-ordering, Recursive definitions and structural induction
- Number theory: Divisibility, primes and the Euclidean algorithm, Modular arithmetic and congruences, Fermat, Euler and RSA
- Counting: The sum rule, product rule and pigeonhole principle, Permutations and combinations, The binomial theorem and Pascal's triangle, Inclusion–exclusion
- Recurrences and generating functions: Recurrence relations, Generating functions, Catalan numbers and counting structures
- Graph theory: Graphs, degrees and isomorphism, Connectivity, Euler and Hamilton circuits, Trees and spanning trees, Planar graphs and colouring
- Discrete probability: Probability on finite sample spaces, Random variables and linearity of expectation, The probabilistic method and Ramsey numbers
Every lesson shows its sources and how sure we are, and is checked by Everwhy.