A one-to-one function never gives the same output to two different allowed inputs. A many-to-one function does. Both satisfy the definition of a function.
On a graph, the vertical-line test checks whether each input has exactly one output, provided the graph covers the stated domain. Once that is established, the horizontal-line test checks whether an output is shared by different inputs.
The quadratic f(x) = (x − 1)² + 2 is many-to-one on all real inputs. Restrict it to x ≥ 1, and it becomes one-to-one because it increases throughout that branch. Restricting to x ≤ 1 also works, using the decreasing branch.
Find the smallest a for a right-hand restriction
If the domain is x ≥ a, the smallest a that makes this quadratic one-to-one is 1. Any a < 1 includes some pair 1 − t and 1 + t with t > 0, giving the same output. With a = 1, no such pair remains.
One-to-one behaviour is the condition needed to reverse a function on its range. A later lesson develops inverse functions.