Topology Tutorial
Learn Topology step by step: 36 lessons in 9 chapters with examples, quizzes, diagrams and practice.
Start learning →
of lessons completed
Getting Started
- What Is Topology? Meet topology, the math of shape without distance: what it studies, why a mug equals a donut, and how invariants such as holes tell shapes apart.
- Sets, Functions and Relations: a Review Refresh the set language topology needs: unions, intersections, complements, images, preimages, bijections and equivalence relations, with checks in code.
- Open Sets on the Real Line Build intuition for open sets with the real line: open intervals, neighborhoods, interior points, and why unions of open sets are open but infinite intersections may not be.
- Topological Equivalence: Stretching Without Tearing Learn what 'same shape' means in topology using graphs: subdividing edges, counting loops, and sorting the capital letters by an invariant you can compute.
Metric Spaces
- Metric Spaces: Distance Made Abstract Define a metric space from the three axioms of distance, test candidate distance functions with code, and see why the triangle inequality is the key rule.
- Examples of Metrics Explore the Euclidean, taxicab, maximum and p-metrics on the plane, then Hamming distance on strings and the railway metric, all tested with runnable code.
- Open and Closed Balls Define open balls, closed balls and spheres in any metric space, plot unit balls for three metrics, and prove with code and logic that every open ball is open.
- Open and Closed Sets in Metric Spaces Define open and closed sets with metric balls, learn the union and intersection rules, and see limit points and isolated points through runnable examples.
- Convergence and Completeness Understand convergent and Cauchy sequences in metric spaces, why the rationals have holes, and what completeness means, with exact-arithmetic code experiments.
Topological Spaces
- Definition of a Topology Learn the three axioms of a topology, test collections of sets with a checker, and count all topologies on 1, 2, 3 and 4 points by brute force.
- Examples of Topologies Meet the discrete, indiscrete, cofinite, Sierpinski and particular-point topologies, check each against the axioms, and compare how fine or coarse they are.
- Closed Sets, Closure and Interior Define closed sets, closure, interior, boundary and dense sets in any topological space, compute them on a finite space, and explore Kuratowski's 14-set problem.
- Bases and Subbases Describe a topology with a small family of building blocks: the two basis conditions, generating a topology by unions, subbases, and the Sorgenfrey line.
- The Subspace Topology Give every subset of a topological space its own topology by intersecting with open sets, see why open in Y differs from open in X, and test it on finite and real examples.
Continuity and Homeomorphism
- Continuous Functions Define continuity through open preimages, connect it to epsilon-delta, closed sets and composition, and test it on finite spaces and real functions with code.
- Homeomorphisms Learn the definition of a homeomorphism, see why a continuous bijection is not enough, stretch an interval onto the whole line, and count topologies up to renaming.
- Topological Properties and Invariants Learn which properties survive homeomorphisms, which do not (length, boundedness, completeness), and how invariants separate spaces, tested on finite topologies.
- Hausdorff and Separation Learn the separation axioms T0, T1 and Hausdorff (T2), why Hausdorff spaces have unique limits, and how the cofinite topology breaks that rule, with code checks.
Compactness
- Compact Spaces and Open Covers Learn what compactness means: open covers, finite subcovers, and why (0,1] is not compact while [0,1] is. Includes runnable cover experiments.
- Compactness in Euclidean Space: Heine–Borel A subset of R^n is compact exactly when it is closed and bounded. See the proof idea, the role of each condition, and test it with code.
- Compact Sets and Continuous Maps Continuous images of compact sets are compact. Learn the extreme value theorem, compact-to-Hausdorff homeomorphisms, and see them in code.
- Sequential Compactness and Limit Points Compare open-cover compactness with sequential compactness and limit point compactness. See the bisection proof of Bolzano–Weierstrass in code.
Connectedness
- Connected Spaces Understand what it means for a space to be connected, how separations work, why intervals are the connected subsets of R, and test finite spaces by code.
- The Intermediate Value Theorem, Topologically See the intermediate value theorem as a one-line consequence of connectedness, then use bisection, fixed points and antipodal temperatures in code.
- Path-Connectedness Learn path-connectedness, why it implies connectedness, why the converse fails (topologist's sine curve), and test regions of a grid by code.
- Components and Local Connectedness Split any space into maximal connected pieces, count components, learn local connectedness, and use cut points to tell shapes apart. With Python code.
Product and Quotient Spaces
- The Product Topology Build the product topology from open rectangles, see why projections are continuous, how products inherit properties, and compute one for finite spaces.
- The Quotient Topology Glue points together to make new spaces: quotient maps, equivalence relations, the circle as an interval with ends glued, and finite quotients by code.
- Gluing Squares: Cylinder, Möbius Band, Torus Build the cylinder, Möbius band, torus, Klein bottle and projective plane by gluing the edges of a square, and verify properties such as boundary components by code.
Surfaces and the Fundamental Group
- Surfaces and Manifolds Define manifolds and surfaces by local charts, build the sphere from two stereographic charts, and test whether a polygon gluing word is orientable.
- Euler Characteristic of Surfaces Compute the Euler characteristic V − E + F of polyhedra and glued polygons, learn χ = 2 − 2g for orientable surfaces, and calculate it by code.
- Classification of Closed Surfaces Every closed surface is a sphere, a sum of tori or a sum of projective planes. Learn the theorem, the normal forms, and classify surfaces by code.
- Homotopy and the Fundamental Group Deform loops continuously, define the fundamental group, see why the circle has group Z via winding numbers, and compute them numerically.
Projects and Practice
- Practice: Compactness and Connectedness Worked problems on compact and connected subsets of the line and plane, with a runnable interval analyzer and solutions you can check by code.
- Practice: Products, Quotients and Surfaces Worked exercises on product and quotient topologies, polygon gluing, Euler characteristic and the fundamental group, with code to check your answers.
- Project: A Small Topology Toolkit Build a Python toolkit for finite topological spaces: closure, interior, connectedness, Hausdorff, continuity, quotients, and a census of all topologies on three points.