One-to-One Mapping Formula

A one-to-one (injective) function maps every distinct input to a distinct output — no two different inputs produce the same output.

The Formula

f(a)=f(b)  ⟹  a=b

Ask yourself: Does every output value come from at most one input?

Quick example

f(x)=2x is one-to-one. f(x)=x2 is NOT (both 2 and −2 give 4).

Notation

f(a)=f(b)  ⟹  a=b is the algebraic test for one-to-one (injective). Graphically: horizontal line test.

What this formula means

A one-to-one (injective) function maps every distinct input to a distinct output — no two different inputs produce the same output.

A one-to-one function is like assigned seats on a plane: every passenger has their own seat, so the seat number tells you exactly who should be sitting there. If two passengers were booked into seat 14C, the seat number would no longer identify one person, and the mapping would not be one-to-one.

Formal view

f ⁣:X→Y is injective   ⟺   ∀ a,b∈X:f(a)=f(b)  ⟹  a=b

Worked examples

Example 1

easy
Determine whether f(x)=2x+3 is one-to-one by (a) the definition and (b) the horizontal line test.
Show solution

Answer

f(x)=2x+3 is one-to-one

First step

1.
Definition: assume f(a)=f(b). Then 2a+3=2b+3⇒2a=2b⇒a=b. So f(a)=f(b)⇒a=b. f is one-to-one. ✓

Full solution

  1. 2.
    Horizontal line test: f(x)=2x+3 is a line with positive slope. Any horizontal line y=c intersects it at exactly one point (x=(c−3)/2).
  2. 3.
    Both methods confirm f is one-to-one (injective).
A one-to-one function has no two distinct inputs sharing an output: f(a)=f(b)⇒a=b. Linear functions with non-zero slope are always one-to-one because they are strictly monotone.

Example 2

medium
Show that g(x)=x3 is one-to-one on R, then find its inverse function.

Example 3

medium
Show that f(x)=5−2x is one-to-one and find its inverse.

Common mistakes

  • Confusing one-to-one with being a function - a function needs one output per input; one-to-one needs one input per output.
  • Using the vertical line test for one-to-one - one-to-one is checked by the horizontal line test.
  • Calling a function one-to-one when an output repeats - any repeated output value breaks it.

Why this formula matters

One-to-one is what makes working backwards safe. A locker number identifies exactly one student because no two students share a locker. When outputs repeat, as with students' grades, the output cannot tell you which input it came from, so no inverse exists until you restrict the inputs.

Frequently asked questions

What is the One-to-One Mapping formula?

A one-to-one (injective) function maps every distinct input to a distinct output — no two different inputs produce the same output.

How do you use the One-to-One Mapping formula?

Test one-to-one when a problem asks whether you can reverse or undo a function, whether an output identifies the input, or whether an inverse exists. Use the horizontal line test on a graph, look for repeated outputs in a table, or check that f(a)=f(b) forces a=b. If the question is only whether a relation is a function at all, use the vertical line test; if outputs repeat, the function is many-to-one.

What do the symbols mean in the One-to-One Mapping formula?

f(a)=f(b)  ⟹  a=b is the algebraic test for one-to-one (injective). Graphically: horizontal line test.

Why is the One-to-One Mapping formula important in Math?

One-to-one is what makes working backwards safe. A locker number identifies exactly one student because no two students share a locker. When outputs repeat, as with students' grades, the output cannot tell you which input it came from, so no inverse exists until you restrict the inputs.

What do students get wrong about One-to-One Mapping?

The procedure for one-to-one mapping is the easy part; the trap is confusing one-to-one with being a function. Asking "Does every output value come from at most one input?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the One-to-One Mapping formula?

Before studying the One-to-One Mapping formula, you should understand: function definition.