Topic
My Progress
Pug Score
0%
Best Streak
0 in a row
Study Points
+0
Overview
Practice
Watch
Read
Next Steps
Overview
Practice
Watch
Read
Next Steps
Read
One-to-One Functions
A one-to-one function is a function in which each output comes from exactly one input, so no two inputs share an output. Learn the horizontal line test, why one-to-one functions are the ones that have inverses, and how to check an equation, with examples.
The horizontal line test
The quickest way to check is the horizontal line test: if no horizontal line crosses the graph more than once, the function is one-to-one. A straight line passes the test. A parabola fails it, because a horizontal line hits the two arms at two different x-values that share the same y-value.
Why one-to-one functions matter
One-to-one is the exact condition a function needs to have an inverse function. If two inputs shared an output, the inverse would not know which input to return, so only one-to-one functions can be reversed. This is why the test shows up so often when you work with inverses.
Examples
- One-to-one: f(x) = 2x + 1 — each output has one input; it passes the horizontal line test.
- Not one-to-one: f(x) = x² — both x = 2 and x = −2 give 4, so it fails.
- One-to-one: f(x) = x³ — every output comes from a single input.
To test an equation without a graph, assume f(a) = f(b) and check whether that forces a = b. If it does, the function is one-to-one.