Bijections
A bijection, or one-to-one correspondence, between sets A and B is a function f: A → B that is both injective and surjective. Injective means that different elements of A map to different elements of B (f(a1) = f(a2) implies a1 = a2). Surjective means that every element of B is the image of some element of A (for every b in B, there exists a in A with f(a) = b). When these conditions hold, each element of A is paired with a unique element of B, and every element of B is paired with exactly one element of A.
A bijection has an inverse function f^{-1}: B → A, defined by f^{-1}(b) = a whenever f(a) = b.
Key properties include that the composition of bijections is a bijection, and a bijection preserves the size
Examples include the identity function on any set, which is trivially a bijection, and a permutation of