Sets, Functions and Notation
Sets, the symbols for combining them, and functions as rules sending each element of one set to exactly one element of another.
Needs a step first: 1
A set is a collection of things, and , , and build new sets from old. A function assigns every element of one element of ; it is injective if different inputs give different outputs, surjective if every element of is reached, and bijective (and so invertible) if both. This is the shared language of the rest of the map: events in probability are sets, and vector spaces and groups are sets with structure.
Where it shows up: A trained model is a function from inputs to outputs, and in quantum mechanics an observable is a map from states to states, so both are described in this language.
How to hold it: In your head
Read set notation as fluently as prose, and tell from a function's rule whether it is injective, surjective or invertible, and why.
What knowing it looks like
- Read and write set-builder notation such as , and compute unions, intersections, differences and products.
- Decide whether a function is injective or surjective, with a proof or a counterexample.
- Compose two functions and find an inverse, stating its domain and codomain.
Test yourself
Is , injective? Is it surjective? Then show that , is a bijection and give its inverse.
Show the worked answer
Needs a step first: 1
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "Sets, Functions and Notation" (Bridge tier): Sets, the symbols for combining them, and functions as rules sending each element of one set to exactly one element of another.
I already know: Logic and Proof.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Is $f: \mathbb{R} \to \mathbb{R}$, $f(x) = x^2$ injective? Is it surjective? Then show that $g: [0, \infty) \to [0, \infty)$, $g(x) = x^2$ is a bijection and give its inverse.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.Needs first
Picks up from the children's map: Sets and Venn Diagrams · Number Sets & Infinity
Leads to
- Permutations and CombinationsCounting arrangements and selections without listing them: factorials, permutations, combinations and the binomial theorem.Bridge · Proof & Discrete Maths
- Graph TheoryThe mathematics of networks: points (vertices) joined by lines (edges), and what can be proved about paths, trees and colourings.Undergraduate I · Proof & Discrete Maths
- Groups and SymmetryA group is a set with an operation that has an identity, inverses and associativity; it is the mathematics of symmetry.Undergraduate II · Proof & Discrete Maths
- Vector Spaces, Basis and DimensionAny collection you can add and scale like arrows, measured by its dimension: how many independent directions it holds.Undergraduate I · Linear Algebra
On the way to
Recommended
- Book of ProofRichard Hammack · BookA free textbook that teaches how to read and write proofs, from logic and sets through induction and contradiction, with many exercises and solutions.
- MIT 6.1200J Mathematics for Computer ScienceMIT OpenCourseWare · CourseMIT's 2024 course on proofs, number theory, graphs, counting and discrete probability, with lecture videos, notes and problem sets.
- Linear Algebra Done RightSheldon Axler · BookThe standard proof-based second course in linear algebra, built on linear maps rather than determinants; the 4th edition is free to read, also in Chinese.