Functions

One-to-One Function

A student connects each colored token to a different matching token.

One-to-One Function definition

A one-to-one function sends different inputs to different outputs.

In Spanish
función inyectiva
Topic
Function basics

One-to-One Function in a picture

One-to-One Function diagramA horizontal line intersects this increasing line at one point, consistent with the one-to-one property.xy
A horizontal line intersects this increasing line at one point, consistent with the one-to-one property.

How it works

If f(a) = f(b) forces a = b, the function is one-to-one. On a graph, every horizontal line meets the graph at most once. That is the horizontal line test. A one-to-one function has an inverse function when its outputs are used as the domain of the inverse.

Worked examples

Is f(x) = 2x + 3 one-to-one on the reals?

Yes. From 2a + 3 = 2b + 3, subtract 3 and divide by 2 to get a = b.

Is f(x) = x² one-to-one on the reals?

No. Both −2 and 2 give the output 4.

Is f(x) = x² one-to-one for x ≥ 0?

Yes. Squaring is strictly increasing on that domain.

Common mistake

Use the horizontal line test after confirming the graph is a function. The vertical line test answers a different question.

Quick check

Can two inputs share an output in a one-to-one function?

Show answer

No.

Is f(x) = x³ one-to-one on the reals?

Show answer

Yes.

Is a constant function one-to-one on a domain with two inputs?

Show answer

No.

Sources

Flashcard

One-to-One Function

Reveal the definition

A one-to-one function sends different inputs to different outputs.

Effortless Math. “One-to-One Function.” Math Dictionary.