One-to-One (Injective), Onto (Surjective), and Bijective Functions
A mathematical function is much more than an equation. It is a precise correspondence between an input set (the domain ) and a target set (the codomain ).
To determine whether a function can be inverted, paired up into perfect one-to-one partnerships, or solved uniquely, mathematicians classify functions into three fundamental categories: injective (one-to-one), surjective (onto), and bijective (one-to-one and onto).
1. Concepts & Paper Visuals
Mapping Diagram Comparison
Visualize two sets (inputs) and (outputs) linked by directed arrows:
INJECTIVE (1-to-1) SURJECTIVE (Onto) BIJECTIVE (Both)
No collisions No elements left out Perfect 1-to-1 match
A B A B A B
┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐
│ 1 ├───┐ │ a │ │ 1 ├───┐ │ a │ │ 1 ├────────►│ a │
│ 2 ├───┼────►│ b │ │ 2 ├───┼────►│ │ │ 2 ├────────►│ b │
│ 3 ├───┼────►│ c │ │ 3 ├───┼────►│ b │ │ 3 ├────────►│ c │
└───┘ │ │ d │ └───┘ │ └───┘ └───┘ └───┘
└────►│ │ └────►(shared)
└───┘
(d is untouched; (b has 2 inputs; (Every y in B has
no two share an output) nothing in B is missed) exactly one x in A)The Graphical Test: Horizontal Line Test (HLT)
While the Vertical Line Test checks whether a curve represents a valid function, the Horizontal Line Test examines whether that function is one-to-one:
Vertical Line Test (Function?) Horizontal Line Test (One-to-One?)
Does every vertical line x = c Does every horizontal line y = k
intersect the graph AT MOST once? intersect the graph AT MOST once?
y y
│ ╭───╮ │ ╭───╮
│ ╭╯ ╰╮ ──┼───●───●─── y = k (Crosses TWICE!
│ │ │ │ │ ╭╯ ╰╮ NOT injective)
└──┼──┼──┼───► x └──┼─────┼───► x
x = c x₁ x₂- Injective: Every horizontal line intersects the curve at most once ( point).
- Surjective: Every horizontal line at height intersects the curve at least once ( point).
- Bijective: Every horizontal line at height intersects the curve at exactly one point ( point).
2. Formula Box & Formal Definitions
┌─────────────────────────────────────────────────────────────────────────────┐
│ INJECTIVE, SURJECTIVE, AND BIJECTIVE RULES │
│ │
│ Given a function f : A → B: │
│ │
│ 1. Injective (One-to-One): │
│ ∀ x₁, x₂ ∈ A : f(x₁) = f(x₂) ⟹ x₁ = x₂ │
│ Equivalently: x₁ ≠ x₂ ⟹ f(x₁) ≠ f(x₂) │
│ │
│ 2. Surjective (Onto): │
│ ∀ y ∈ B, ∃ x ∈ A such that f(x) = y │
│ Equivalently: Range(f) = Codomain B │
│ │
│ 3. Bijective (One-to-One Correspondence): │
│ f is BOTH Injective and Surjective. │
│ A function has a two-sided inverse f⁻¹ : B → A if and only if it is │
│ bijective! │
└─────────────────────────────────────────────────────────────────────────────┘3. Step-by-Step Paper Notebook Method
Method A: Proving Injectivity on Paper
- Write the assumption: "Assume for arbitrary ."
- Substitute and into the algebraic expression for .
- Use rigorous algebraic operations (clearing denominators, factoring, cancelling like terms).
- Arrive directly at the equality .
- If you find a case where or multiple branches exist, the function is not injective. Provide a specific numerical counterexample: with .
Method B: Proving Surjectivity on Paper
- Let be an arbitrary element in the declared codomain .
- Set up the equation .
- Solve this equation algebraically for the input variable in terms of : .
- Verify two requirements:
- Does this formula for produce a real value for every ? (Check for division by zero or negative square roots).
- Does the resulting actually belong to the domain ?
- If yes, is surjective. If any yields no valid , name that as a counterexample.
4. Step-by-Step Notebook Examples
Example 1: A Linear Function on
Problem: Let be defined by .
Prove that is bijective on paper.
Step 1: Prove is Injective
- Assume for :
- Since , is injective.
Step 2: Prove is Surjective
- Let be an arbitrary target value. Set :
- For every real number , the value is a well-defined real number ().
- Check the output:
- Thus, every has a valid pre-image . is surjective.
Conclusion:
Since is both injective and surjective, is bijective.
Example 2: The Quadratic Function Across Different Sets
Problem: Analyze the injectivity, surjectivity, and bijectivity of the squaring rule under three different domain/codomain declarations:
Case 1:
- Injectivity: Not injective.
Counterexample: Choose and .
and .
Since but , fails the one-to-one test. - Surjectivity: Not surjective.
The codomain is . Take . The equation has no real solution (). - Conclusion: is neither injective nor surjective.
Case 2:
- Injectivity: Still not injective for the same reason ().
- Surjectivity: For any , we can solve , both of which are real numbers in . Every non-negative number is reached!
Thus, is surjective. - Conclusion: is surjective but not injective.
Case 3:
- Injectivity: Let with :Since , the sum can only be if . In all other cases, , forcing .
Thus, is injective. - Surjectivity: For any , the unique non-negative pre-image is . Thus, is surjective.
- Conclusion: is bijective! (This is why the square root function exists on ).
Example 3: A Linear Fractional (Rational) Function
Problem: Let and .
Define by .
Prove rigorously on paper that is bijective.
Step 1: Injectivity Proof
Assume for :
Cross-multiply on paper:
Subtract from both sides:
Hence, , so is injective.
Step 2: Surjectivity Proof
Let . Set and solve for :
Now verify that (meaning is real and ):
- Because , , so the denominator . Thus, is a well-defined real number.
- Could ever equal ? Let's test:So is guaranteed! Thus .
Therefore, every has a pre-image . is surjective.
Conclusion:
Since is both injective and surjective, is bijective.
5. Common Mistakes & Paper Traps
[!WARNING]
Trap 1: Ignoring the Codomain When Checking Surjectivity
Students often declare is "always onto".
But if the function is defined on integers: , its range is only the even integers . The odd integer has no integer pre-image ().
Always read the arrow carefully!
[!CAUTION]
Trap 2: Concluding
Remember that taking the square root gives . If the domain contains negative numbers, is a valid second solution, which breaks injectivity.
[!TIP]
Trap 3: Confusing Domain with Codomain in Fractional Functions
When solving for , the value that makes the new denominator zero indicates the single point excluded from the codomain (the horizontal asymptote value ).
6. Pencil & Paper Practice
Practice 1
Determine whether given by is injective, surjective, or bijective. Write out the algebraic justification.
Practice 2
Let be defined by .
- Is injective? Justify with a counterexample or proof.
- Is surjective? Justify with a counterexample or proof.
Worked Solutions
Solution to Practice 1:
- Injectivity: Assume :Taking the real cube root of both sides gives uniquely (cubing preserves signs). So is injective.
- Surjectivity: Let . Solve .
The cube root of any real number is always a well-defined real number. Thus every has a pre-image in . is surjective. - Conclusion: is bijective.
Solution to Practice 2:
- Injectivity: Let and .
and .
Since but , is not injective. - Surjectivity: Because for all real , .
For any value (e.g., ), , which has no real solution.
Thus, is not surjective.
Test yourself
Which of the following functions is injective (one-to-one)?
Why is the function given by NOT surjective?
- Because
- Because for , there is no real such that
- Because it fails the vertical line test
- Because
If a function is bijective, which statement is guaranteed to be TRUE?
- and must both be the set of all real numbers
- must be a straight line
- Every horizontal line corresponding to intersects the graph of exactly once
- for all