MathematicsDiscrete MathematicsMedium

Bijection

Also known as:Bijective FunctionOne-to-One CorrespondenceInvertible Function

A bijection (or bijective function) is a function that is both injective (one-to-one) and surjective (onto), meaning every element of the domain maps to a unique element of the codomain, and every element of the codomain is mapped to by exactly one element of the domain. Bijections establish a perfect one-to-one correspondence between two sets and are fundamental in defining cardinality, invertible functions, and isomorphisms across mathematics.

Key Formula

f is bijective iff for every y in B, there exists exactly one x in A such that f(x) = y

LaTeX: f \text{ is bijective} \iff \forall y \in B, \exists! x \in A : f(x) = y

SymbolMeaningUnit
fThe function f: A → Bmapping
ADomain of fset
BCodomain of fset
xInput element from Aelement
yOutput element in Belement

Worked Example

Problem

Prove that f: ℝ → ℝ defined by f(x) = 3x − 7 is a bijection.

Solution

Step 1: Prove injective (one-to-one). — Assume f(x₁) = f(x₂). — Then 3x₁ − 7 = 3x₂ − 7. — 3x₁ = 3x₂, so x₁ = x₂. ✓ (Injective) Step 2: Prove surjective (onto). — Let y ∈ ℝ be arbitrary. We need x ∈ ℝ with f(x) = y. — Set x = (y + 7)/3. Then f(x) = 3·(y+7)/3 − 7 = y + 7 − 7 = y. ✓ — Such an x always exists in ℝ. (Surjective) Since f is both injective and surjective, f is bijective.

Answer

f(x) = 3x − 7 is a bijection from ℝ to ℝ, with inverse f⁻¹(y) = (y + 7)/3.

Comparison of Injective, Surjective, and Bijective Functions

PropertyInjectiveSurjectiveBijective
Alternative nameOne-to-oneOntoOne-to-one correspondence
Conditionf(x₁)=f(x₂) ⟹ x₁=x₂Range = CodomainBoth conditions hold
Inverse exists?Left inverse onlyRight inverse onlyFull inverse f⁻¹ exists
Examplef(x)=e^x (ℝ→ℝ)f(x)=x³ (ℝ→ℝ)f(x)=2x+1 (ℝ→ℝ)
Sets A and B size|A| ≤ |B||A| ≥ |B||A| = |B|

Interactive Tools

Brilliant — Bijections and Cardinality

In-depth treatment of bijections and their role in set theory.

Open Tool

Desmos Graphing Calculator

Graph functions and apply the horizontal line test for injectivity.

Open Tool

Khan Academy — Injective, Surjective, Bijective

Video explanations of function types.

Open Tool
Diagram of a bijective function showing one-to-one correspondence

Wikimedia Commons, CC BY-SA

Related Terms

From French "bijection", coined by Nicolas Bourbaki in their landmark series "Éléments de mathématique" (1939). "Bi-" is from Latin "bis" (twice/both) + "jectio" from "jacere" (to throw), indicating mapping in both directions.

bijectionfunctioninjectivesurjectivediscrete-mathematicsinverse