Install
Discrete Mathematics and Combinatorics
Counting, graphs, recursion and the mathematics of separate, finite things. 45 articles.
Counting
What Discrete Mathematics Covers and Why It MattersA plain map of discrete mathematics: counting, logic, graphs, recursion and algorithms, with examples of where each one earns its keep.The Multiplication and Addition Rules of CountingLearn when to multiply and when to add in counting problems, with worked examples, the complement trick and the usual traps.Permutations and Combinations and How to Choose Between ThemOne question about order and one about repetition tell you which counting formula to use, shown through races, committees, cards and words.The Binomial Theorem and Why Its Coefficients Count SubsetsSee why expanding (a + b)ⁿ is really a counting problem, then use that idea on coefficients, identities and quick estimates.Stars and Bars, Counting Ways to Share Identical ObjectsTurn sharing identical items among people into arranging symbols in a row, then handle minimums, limits and inequalities.The Inclusion-Exclusion Principle With Worked ProblemsCount overlapping sets without double counting, with worked problems on divisibility, primes, passwords, card hands and onto functions.The Pigeonhole Principle and Its Surprising ConsequencesA rule a child can grasp proves facts about birthdays, divisibility, points in a square, file compression and unavoidable order.Derangements, When Nobody Gets Their Own Hat BackCount arrangements where nothing stays in its own place, derive two recurrences and see why the number 1/e turns up.Counting With Symmetry Using Burnside's LemmaCount necklaces, square grids and painted cubes correctly when rotations make different colorings look the same.Stirling Numbers and Ways to Split a SetLearn what the two kinds of Stirling numbers count, how to build their tables and how they connect to Bell numbers and powers.Counting Lattice Paths and the Ballot ProblemCount routes on a grid, handle blocked points, and use a mirror trick to find the chance a winning candidate leads all night.
Recursion and generating functions
Recurrence Relations and How to Solve the Linear OnesTurn a rule that defines each term from earlier ones into a direct formula, using characteristic roots and particular solutions.Generating Functions as a Tool for CountingPack a whole sequence into one power series, then let ordinary algebra count dice totals, coin change, baskets and recurrences.The Tower of Hanoi and the Mathematics of RecursionSolve the classic disk puzzle, prove that 2ⁿ − 1 moves is the best possible and find binary numbers and fractals hidden inside it.Big O Notation From a Mathematical Point of ViewRead the definition of big O precisely, prove bounds from it, compare growth rates and avoid the most common misreadings.The Master Theorem for Divide and Conquer RecurrencesLearn the three cases of the master theorem, why they work, how to apply them, and which recurrences fall outside its reach.Floor and Ceiling Functions and Their Useful IdentitiesWhat floor and ceiling mean, the identities worth knowing, how to prove them, and where rounding trips people up.Telescoping Sums and How to Find Closed FormsSee how sums collapse to a few terms, and learn practical ways to find the difference that makes a closed formula appear.
Graph theory basics
Graph Theory Introduced Through Networks You Already KnowLearn vertices, edges, paths and degrees using friendships, roads and web links, with one small network worked in full.The Handshaking Lemma and What Vertex Degrees RevealWhy vertex degrees add to twice the edge count, and how that simple fact rules out networks and proves surprising results.Euler Paths and Circuits and How to Find ThemLearn the degree test that decides whether a network can be traced in one stroke, then build the route step by step.Hamiltonian Cycles and Why They Are So Much HarderWhat a Hamiltonian cycle is, which tests can prove or rule one out, and why no efficient general method is known.Trees in Graph Theory and Their Key PropertiesLearn what makes a graph a tree, why it has one edge fewer than vertices, and how trees are counted and used.Minimum Spanning Trees With Kruskal's and Prim's AlgorithmsWork one network through both classic algorithms, see why greedy choices are safe, and learn what these trees cannot do.How Dijkstra's Algorithm Finds Shortest PathsTrace Dijkstra's method step by step on a small network, see why it is correct, and learn when it fails.Bipartite Graphs and Matching ProblemsHow to recognize a two-sided network, find the largest set of pairings with augmenting paths, and certify the answer.Hall's Marriage Theorem ExplainedLearn the condition that decides when everyone on one side can be matched, follow its proof, and apply it to puzzles.
Deeper graph theory
Planar Graphs and Kuratowski's TheoremFind out which networks can be drawn without crossings, why two small graphs cannot, and how Kuratowski used them.Graph Coloring and the Problem of Scheduling ExamsTurn an exam timetable into a coloring puzzle, solve it by hand, and learn why the fewest time slots can be hard to find.The Four Color Theorem Explained for NonspecialistsWhat the theorem really claims, why five colors are easy to prove, and how computers helped settle the case of four.Ramsey Theory and Why Complete Disorder Is ImpossibleSee why any large enough structure must contain order, from the six-person party puzzle to Ramsey numbers that nobody knows yet.Random Graphs and the Sudden Appearance of a Giant ComponentLearn how a random network jumps from scattered fragments to one giant connected cluster when the average number of links passes one.Network Flows and the Max-Flow Min-Cut TheoremWork through a small pipe network to see why the most you can send always equals the capacity of the tightest bottleneck.Adjacency Matrices and Counting Walks in a GraphTurn a network into a grid of 0s and 1s, then use matrix powers to count walks, find distances and detect triangles.Why the PageRank Idea Is a Problem About Random WalksFollow a random web surfer through a three-page example to see how link structure alone can produce a ranking of importance.Tournaments and Directed GraphsLearn what round-robin results look like as graphs, why a ranking line always exists, and why a clear champion may not.
Discrete structures and optimization
The Traveling Salesperson Problem and Why It Resists ShortcutsUnderstand why finding the shortest round trip gets hard so fast, and what exact methods, shortcuts and guarantees can still do.Latin Squares, Sudoku and Experimental DesignSee how a grid with each symbol once per row and column powers Sudoku puzzles, fair experiments and a famous problem of Euler.Combinatorial Designs and the Fano PlaneMeet the seven-point geometry where every pair meets once, and the counting rules that govern balanced arrangements of all sizes.The Stable Marriage Problem and the Gale-Shapley AlgorithmFollow a step-by-step matching example to see why a stable pairing always exists and why it matters who makes the proposals.The Knapsack Problem and the Limits of Greedy ThinkingLearn why grabbing the best value per kilogram can fail, and how a small table finds the best way to fill a limited bag.Greedy Algorithms and When They Give the Best AnswerFind out when taking the best-looking step each time is provably optimal, using scheduling, coins, codes and spanning trees.Finite State Machines as Mathematical ObjectsSee how a few states and a transition rule define a machine, what it can recognize, and a proof of what it can never do.The Probabilistic Method, Proving Things Exist by Random ChoiceLearn how flipping coins on paper proves that objects with special properties exist, even when nobody can point to one.Extremal Combinatorics and How Many Edges Force a TriangleFind the exact number of links that guarantees a triangle, follow the proof, and see where the same kind of question leads.