A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Injective, Surjective, and Bijective Functions

College Depth 63 in the knowledge graph I know this Set as goal
1,468topics build on this
288prerequisites beneath it
See this on the map →
Functions as Sets and Their CharacteristicsEquivalence Relations and PartitionsCardinal Numbers and CardinalityComparing Cardinalities: The Schröder-Bernstein Theorem+4 more
function-types invertibility bijections

Core Idea

A function f: A → B is injective if f(a₁) = f(a₂) ⟹ a₁ = a₂, surjective if every b ∈ B has a preimage, and bijective if both. A bijection has an inverse function f⁻¹: B → A, and two sets have the same cardinality if and only if there exists a bijection between them.

How It's Best Learned

Test each property with functions between explicit sets (e.g., f: ℕ → ℚ), drawing diagrams to visualize injections, surjections, and bijections.

Explainer

You have studied functions as set-theoretic objects: a function f: A → B is a relation (a set of ordered pairs) in which every element of A appears as a first coordinate exactly once. This definition says nothing about how f distributes elements of A across B — multiple elements of A might share an image, or some elements of B might receive no preimage at all. The three properties — injectivity, surjectivity, and bijectivity — characterize fundamentally different patterns of that distribution and become the foundation for comparing infinite sets by cardinality.

An injection (one-to-one function) satisfies: f(a₁) = f(a₂) ⟹ a₁ = a₂. Equivalently, no two elements of A are sent to the same element of B. Think of it as: B has "at least as many slots as A needs." The image f(A) fits inside B without collisions, but B may have elements left over — elements with no preimage. A surjection (onto function) satisfies: for every b ∈ B, there exists some a ∈ A with f(a) = b. No element of B is left uncovered. This says B has "at most as many elements as A" — every element of B is the target of something. A bijection is both: every element of B has exactly one preimage, no more and no less.

The inverse function characterizes bijectivity precisely. If f: A → B is a bijection, define f⁻¹: B → A by: f⁻¹(b) is the unique a ∈ A with f(a) = b. Uniqueness requires injectivity (no two a's map to b); existence requires surjectivity (at least one a maps to b). Together they guarantee f⁻¹ is well-defined and itself a bijection, satisfying f⁻¹ ∘ f = id_A and f ∘ f⁻¹ = id_B. If f is only injective, a left inverse g: B → A with g ∘ f = id_A exists (though it may not be unique, since g can send elements outside f(A) anywhere). If f is only surjective, a right inverse exists — but choosing one for each b ∈ B requires the axiom of choice when B is infinite.

For cardinality, bijections become the fundamental measuring tool. Two sets A and B have the same cardinality — written |A| = |B| — exactly when a bijection A → B exists. An injection f: A → B witnesses |A| ≤ |B|; a surjection from A to B witnesses |A| ≥ |B|. These witnessing functions combine in the Schröder-Bernstein theorem: if injections exist in both directions (|A| ≤ |B| and |B| ≤ |A|), then |A| = |B| — a bijection must exist. The theorem is remarkable because it lets you establish equal cardinality without constructing an explicit bijection. To show |ℝ| = |(0, 1)|, for instance, you can exhibit injections in both directions — one sending ℝ into (0, 1) via a sigmoid, one the inclusion map — and invoke Schröder-Bernstein to conclude they are equinumerous, even without ever writing down an explicit bijection between them.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Making 10 as an Addition StrategyAddition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts Through 10Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineOpposites and Additive InversesAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsVariables in LogicSet Notation BasicsSet Membership and NotationSubsets and Proper SubsetsIndexed Families and Generalized OperationsBinary Relations and Their PropertiesEquivalence Relations and PartitionsInjective, Surjective, and Bijective Functions

Longest path: 64 steps · 288 total prerequisite topics

Prerequisites (2)

Leads To (6)