Bijective Function — Definition, Formula & Examples
A bijective function is a function that pairs every element in its domain with exactly one unique element in its codomain, and every element in the codomain is paired with some element in the domain. In short, it is both one-to-one (injective) and onto (surjective).
A function is bijective if and only if for every there exists exactly one such that . Equivalently, is bijective if it is both injective () and surjective ( such that ).
How It Works
To show a function is bijective, you verify two properties. First, prove injectivity: assume and show this forces . Second, prove surjectivity: take an arbitrary element in the codomain and find an in the domain with . A bijection guarantees that has an inverse function , since the perfect pairing can be reversed.
Worked Example
Problem: Let be defined by . Determine whether is bijective.
Check injectivity: Assume , so . Subtracting 3 from both sides gives . Therefore is injective.
Check surjectivity: Every element in the codomain must be hit. We have , , . Every element of has a preimage, so is surjective.
Answer: Since is both injective and surjective, is bijective.
Why It Matters
Bijections are essential when you need to count elements: two finite sets have the same size if and only if a bijection exists between them. In abstract algebra and cryptography, bijective functions ensure that mappings (like encryption schemes) can be perfectly reversed.
Common Mistakes
Mistake: Checking only injectivity (one-to-one) and concluding the function is bijective.
Correction: A function must also be surjective (onto). For example, defined by is injective but not surjective (no input maps to a negative output), so it is not bijective.
