Install
Theoretical Computer Science articles
Numbers and ArithmeticHow Place Value Works and Why It Changed CalculationSee how a digit's position sets its value, why that made written arithmetic efficient, and where learners most often stumble.Numbers and ArithmeticBinary Numbers Explained With Conversions and ArithmeticConvert between binary and decimal, then add, subtract, multiply and divide in base two, with worked examples you can check.Numbers and ArithmeticHexadecimal and Octal, the Shorthand Bases of ComputingLearn how base 16 and base 8 compress long binary strings, how to convert between them by hand, and where you meet each one.Numbers and ArithmeticBase Twelve and Base Sixty, Counting Systems Beyond TenSee why twelve and sixty divide so neatly, how Babylonian place value worked, and why clocks and angles still count this way.Numbers and ArithmeticRoman Numerals and Why Calculating With Them Was AwkwardRead and write Roman numerals, work sums with them step by step, and see what place value does that the Roman system could not.Numbers and ArithmeticBalanced Ternary, a Number System With a Negative DigitMeet the base-three system that uses digits minus one, zero and one, and see how it handles negatives, rounding and balance scales.Numbers and ArithmeticHow Computers Store Decimals and Why 0.1 Plus 0.2 Looks WrongFind out why 0.1 plus 0.2 prints an odd tail, how binary floating point stores numbers, and how to compare and total safely.Logic, Sets and InfinityGodel's Incompleteness Theorems and What They Do Not SayA careful statement of both incompleteness theorems, the idea behind the proof, and the popular conclusions that do not follow from them.Logic, Sets and InfinityConsistency, Completeness and Decidability ComparedLearn what each property of a logical theory means, how they depend on one another, and which familiar theories have which, with examples.Logic, Sets and InfinityHilbert's Program and What Became of ItWhy David Hilbert wanted a finite proof that mathematics is safe, how Godel and Turing changed the picture, and what survives today.Logic, Sets and InfinityTuring Machines and the Halting Problem for MathematiciansRun a small Turing machine by hand, follow the proof that halting cannot be decided, and see what that means for questions in mathematics.Logic, Sets and InfinityIndependence Results and Statements That Can Be Neither Proved nor DisprovedHow mathematicians show a statement is out of reach of given axioms, with examples from geometry, group theory, arithmetic and set theory.Logic, Sets and InfinityModel Theory and How One Set of Axioms Can Describe Different WorldsMeet structures, models, compactness and the Lowenheim-Skolem theorem, and learn why first-order axioms rarely pin down a single object.Logic, Sets and InfinityNonstandard Analysis and the Return of InfinitesimalsSee how Abraham Robinson made infinitely small numbers rigorous, compute derivatives with them, and learn what the transfer principle allows.Logic, Sets and InfinityThe Liar Paradox and Self-Reference in LogicWhy "this sentence is false" defeats simple rules about truth, the main proposed solutions, and how self-reference powers major theorems.Logic, Sets and InfinityGoodstein's Theorem, a True Statement Beyond Ordinary ArithmeticCompute Goodstein sequences by hand, see why they all fall to zero using infinite ordinals, and why Peano arithmetic cannot prove it.Logic, Sets and InfinityPeano Arithmetic and the Axioms of the Natural NumbersBuild counting, addition and multiplication from a handful of axioms, prove simple facts by induction, and see what the axioms cannot settle.Discrete Mathematics and CombinatoricsWhat 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsPermutations 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsStars 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.Discrete Mathematics and CombinatoricsThe Inclusion-Exclusion Principle With Worked ProblemsCount overlapping sets without double counting, with worked problems on divisibility, primes, passwords, card hands and onto functions.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsDerangements, 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.Discrete Mathematics and CombinatoricsCounting With Symmetry Using Burnside's LemmaCount necklaces, square grids and painted cubes correctly when rotations make different colorings look the same.Discrete Mathematics and CombinatoricsStirling 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.Discrete Mathematics and CombinatoricsCounting 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.Discrete Mathematics and CombinatoricsRecurrence 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.Discrete Mathematics and CombinatoricsGenerating 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsBig 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsFloor 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.Discrete Mathematics and CombinatoricsTelescoping 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.Discrete Mathematics and CombinatoricsGraph 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsEuler 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.Discrete Mathematics and CombinatoricsHamiltonian 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.Discrete Mathematics and CombinatoricsTrees 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.Discrete Mathematics and CombinatoricsMinimum 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.Discrete Mathematics and CombinatoricsHow 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.Discrete Mathematics and CombinatoricsBipartite Graphs and Matching ProblemsHow to recognize a two-sided network, find the largest set of pairings with augmenting paths, and certify the answer.Discrete Mathematics and CombinatoricsHall's Marriage Theorem ExplainedLearn the condition that decides when everyone on one side can be matched, follow its proof, and apply it to puzzles.Discrete Mathematics and CombinatoricsPlanar Graphs and Kuratowski's TheoremFind out which networks can be drawn without crossings, why two small graphs cannot, and how Kuratowski used them.Discrete Mathematics and CombinatoricsGraph 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsRamsey 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.Discrete Mathematics and CombinatoricsRandom 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.Discrete Mathematics and CombinatoricsNetwork 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.Discrete Mathematics and CombinatoricsAdjacency 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.Discrete Mathematics and CombinatoricsWhy 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.Discrete Mathematics and CombinatoricsTournaments 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 Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsLatin 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.Discrete Mathematics and CombinatoricsCombinatorial 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsGreedy 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.Discrete Mathematics and CombinatoricsFinite 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.Discrete Mathematics and CombinatoricsThe 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.Discrete Mathematics and CombinatoricsExtremal 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.