One-to-One
Functions
Learn to identify whether a function is one-to-one on a given domain and justify your reasoning using graphs and algebraic arguments.
Quick Refresher: What Is a Function?
A function is a rule that assigns each input exactly one output. We write \( f: A \to B \), meaning every element in set \( A \) maps to a single element in set \( B \).
What Does One-to-One Mean?
A function \( f \) is one-to-one (also called injective) if different inputs always produce different outputs. Formally:
In plain language: no two different \( x \)-values share the same \( y \)-value. Every output in the range is "hit" by at most one input.
One-to-One vs. Not One-to-One
The Horizontal Line Test
The graphical test for one-to-one is the Horizontal Line Test (HLT): A function is one-to-one if and only if every horizontal line intersects the graph at most once.
Formal Definition and Notation
Why Does One-to-One Matter?
A function has an inverse function \( f^{-1} \) if and only if it is one-to-one. The inverse "undoes" the original mapping: \( f^{-1}(f(x)) = x \).
Function vs. One-to-One vs. Onto
| Function | One-to-One (Injective) | Onto (Surjective) | |
|---|---|---|---|
| Rule | Each input → one output | Different inputs → different outputs | Every output is hit by some input |
| Graph Test | Vertical Line Test | Horizontal Line Test | Every \( y \) in codomain reached |
| Example | \( f(x) = x^2 \) | \( f(x) = 2x + 1 \) | \( f: \mathbb{R} \to \mathbb{R},\; f(x) = x^3 \) |
How to Test Algebraically
Example 1: \( f(x) = 3x - 5 \)
Claim: \( f(x) = 3x - 5 \) is one-to-one on \( \mathbb{R} \).
Example 2: \( g(x) = x^2 \) on \( \mathbb{R} \)
Claim: \( g(x) = x^2 \) is not one-to-one on all of \( \mathbb{R} \).
Example 3: Restricting the Domain
We can restrict a non-one-to-one function to a smaller domain where it becomes one-to-one.
Example 4: \( h(x) = 2^x \)
Claim: \( h(x) = 2^x \) is one-to-one on \( \mathbb{R} \).
Monotonic Functions Are One-to-One
Examples: \( e^x \), \( \ln(x) \), \( x^3 \)
Examples: \( -x \), \( \frac{1}{x} \) on \( (0,\infty) \)
Shortcut: If \( f'(x) > 0 \) for all \( x \) in the domain (or \( f'(x) < 0 \) for all \( x \)), then \( f \) is one-to-one on that domain.
Common Mistakes to Avoid
Quick Reference Table
| Function | One-to-One? | Reasoning |
|---|---|---|
| \( f(x) = 3x - 5 \) | Yes | Linear, nonzero slope (increasing) |
| \( g(x) = x^2 \) on \( \mathbb{R} \) | No | \( g(-2) = g(2) = 4 \) |
| \( g(x) = x^2 \) on \( [0, \infty) \) | Yes | Strictly increasing on restricted domain |
| \( h(x) = 2^x \) | Yes | Strictly increasing (exponential) |
| \( p(x) = \sin(x) \) on \( \mathbb{R} \) | No | Periodic: \( \sin(0) = \sin(\pi) = 0 \) |
| \( p(x) = \sin(x) \) on \( [-\frac{\pi}{2}, \frac{\pi}{2}] \) | Yes | Strictly increasing on restricted domain |
| \( q(x) = |x| \) on \( \mathbb{R} \) | No | \( |{-3}| = |3| = 3 \) |
Question 1 of 5
Which test determines whether a function is one-to-one?
Question 2 of 5
Is \( f(x) = x^3 \) one-to-one on \( \mathbb{R} \)?
Question 3 of 5
Which pair of inputs shows that \( g(x) = x^2 - 4 \) is not one-to-one on \( \mathbb{R} \)?
Question 4 of 5
On which restricted domain is \( f(x) = (x - 2)^2 \) one-to-one?
Question 5 of 5
A function \( f \) is one-to-one. What can you conclude?