The Timpson Lyceum · General Topology (Point Set Topology)
Functions & Open Sets in a Topology – Lecture 5 (Topology)
Overview
This lecture builds the language of functions and then uses it to reach the central definition of point-set topology: the topology itself, a collection of "open sets." We first sharpen the chain set → relation → function, review the key properties a function can have (one-to-one, onto, bijection) and how functions compose, and use bijections to make precise what it means for a set to be finite, countably infinite, or uncountable. With that vocabulary in hand, we define a topological space: a set together with a chosen collection of subsets, the open sets, satisfying three axioms. Topology matters because it gives a setting general enough to talk about continuity even when "don't lift your pencil" no longer makes sense — and the familiar calculus of the real line turns out to be just one special topology.
Key Concepts
Sets, relations, functions (the hierarchy).
- A set is an unordered collection with no repeats: , all the same three-element set.
- A relation is a set whose elements are ordered pairs. Order matters in a pair: , just as the point differs from .
- A function is a relation in which every left-hand element is paired with a unique right-hand element. So is not a function ( goes to two things), but is.
Function notation.
- For a function , denotes the unique right-hand element paired with . The notation only makes sense when is genuinely a function.
- reads " is a function from to ." The domain is all of ; the image (also called range) is the set of right-hand elements, which is a subset of . itself is the codomain.
- Example: , . The domain is all of , but the image is only — you cannot produce a negative output.
Properties a function can have.
- One-to-one (injective): distinct inputs give distinct outputs. Formally, is one-to-one iff . Graphically, it passes the horizontal-line test. is not one-to-one (); is.
- Onto (surjective): the image is all of , i.e. . A cubic is onto; a parabola is not (it misses the negatives).
- Bijection: a function that is both one-to-one and onto.
Function composition.
- Given and , the composition is defined by — feed through , then through . The codomain of must match the domain of ; that middle set is "glued out."
- Composition is not commutative: in general .
Sizes of sets via bijection. Two sets have the same size (cardinality) exactly when a bijection pairs them off perfectly.
- Finite: is finite if it is empty, or there is a bijection for some . (Counting is building such a bijection.) Not finite means infinite.
- Countably infinite: there is a bijection between and the naturals . The integers and the rationals are both countably infinite — same size as , despite intuition.
- Uncountable: infinite but with no bijection to . The reals are uncountable — a strictly larger infinity. So .
- Useful closure facts: a subset of a finite (countable) set is finite (countable); finite unions/products of finite sets are finite; countable unions/products of countable sets are countable.
Sequences. A sequence in is a function ; we write it by listing outputs, e.g. as A subsequence picks out infinitely many terms while preserving their original order, indexed by a strictly increasing sequence of positions, so .
Topology (the main definition). Let be a set. A topology on is a collection of subsets of — its open sets — such that:
- and .
- The intersection of finitely many open sets is open.
- The union of any collection of open sets is open.
A set with a chosen topology is a topological space. "Open" means nothing more than "is a member of ."
Standard examples of topologies.
- Trivial (indiscrete) topology: — the smallest possible.
- Discrete topology: , the power set (every subset is open) — the largest possible.
- There is no single "right" topology on a set; many choices satisfy the axioms, and the interesting ones lie between trivial and discrete. (Continuity in topology is defined by "pre-images of open sets are open," which on recovers the calculus – definition.)
Worked Example
Is a topology? Let and test a candidate collection against the three axioms.
The union axiom fails, so this is not a topology — adding to the collection repairs it.
By contrast, a nested family always works:
Every intersection and union lands back inside , and both and are present, so this is a topology.
Summary
- The structures nest: every function is a special relation, and every relation is a special set; has domain all of and image a subset of the codomain .
- A function is one-to-one when distinct inputs give distinct outputs, onto when its image is all of , and a bijection when both; composition chains two functions and is generally not commutative.
- Bijections measure size: finite sets pair with ; countably infinite sets pair with (true of and ); is uncountable, a strictly bigger infinity.
- A topology on is a family of subsets (the open sets) closed under finite intersection and arbitrary union, containing and ; checking it means verifying these axioms, not trusting intuition.
- The trivial topology and the discrete topology are the extreme cases; a set generally admits many valid topologies, and topology exists to talk about continuity in this fully general setting.