Math · Advanced Functions · Grade 6-8 · 5 min read

One-to-One Mapping

⚡ In one breath

A one-to-one (injective) function sends distinct inputs to distinct outputs — no output is ever repeated.

📐 The formula

f(a)=f(b)    a=bf(a) = f(b) \implies a = b

Orient

The one-line idea, why it matters, and the intuition.

Section 1

Quick Answer

A one-to-one (injective) function sends distinct inputs to distinct outputs — no output is ever repeated. Use it to decide whether a function can be inverted, since only one-to-one functions have inverses. The cue is 'every output is hit by at most one input,' checked by the horizontal line test. Before calculating, ask: Does every output value come from at most one input?

Section 2

Why This Matters

One-to-one is the exact property a function needs to be reversible — without it, an inverse would have to send one output back to two inputs. It underlies encryption, decoding, and every 'solve for the input' problem. Recognizing it by "Does every output value come from at most one input?" — rather than by familiar numbers — is what lets a student tell it apart from many-to-one mapping and function (in general) and onto (surjective) in a mixed problem set.

Section 3

Intuitive Explanation

Social security numbers: no two different people share the same number, so from a number you can recover exactly one person. A horizontal line drawn across the graph never hits the curve twice. This is the clean version of the idea because the visible structure matches the concept before any formula or procedure is chosen.

One-to-one is not the same as 'is a function' — being a function means one output per input (vertical line test); being one-to-one is the extra condition of one input per output (horizontal line test). That contrast matters because many wrong answers come from recognizing a surface feature, such as a familiar number or word, instead of the actual task.

A useful way to slow down is to name the signal words and then test them. Words like **distinct inputs distinct outputs**, **injective**, **horizontal line test**, **no output repeats**, **invertible** are helpful clues, but they are not enough by themselves. They must point to the same structure as the mental model: A one-to-one function never lets two distinct inputs share the same output.

The recognition test is simple: Does every output value come from at most one input? If yes, one-to-one mapping is probably the right tool; if not, compare with Many-to-one mapping or Function (in general) or Onto (surjective) before calculating.

Core idea

A one-to-one function never lets two distinct inputs share the same output.

Recognize

The cues that signal this concept and how to distinguish it from look-alikes.

Section 4

When to Use

Use One-to-One Mapping when you must check whether a function is reversible, i.e. whether each output comes from a unique input. Strong signals include **distinct inputs distinct outputs**, **injective**, **horizontal line test**, **no output repeats**, **invertible**. The safest workflow is to read the final question first, identify what kind of answer it wants, and then test the structure. Do not use one-to-one mapping just because familiar numbers appear; first decide whether the situation answers "Does every output value come from at most one input?" with yes.

✨ Pro tip

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

Section 5

How to Recognize It

Before using One-to-One Mapping, check the structure of the problem, not just the vocabulary. These questions force the same recognition move from several angles: the task, the signal words, the nearest confusion, and the thing that would make the concept fail.

  1. Does every output value come from at most one input?

    If yes, the problem matches one-to-one mapping. If no, pause before applying the procedure, because the same numbers may belong to a different idea.

  2. Which words signal the structure?

    Look for distinct inputs distinct outputs, injective, horizontal line test, no output repeats. These words are useful only after the situation matches them; a keyword without structure is not proof.

  3. What is the nearest confusion?

    Many-to-one mapping is the common trap here: The opposite: different inputs can share an output, so it has no inverse. Compare the desired final answer before choosing a method.

  4. What answer form should I expect?

    The answer should fit this mental model: A one-to-one function never lets two distinct inputs share the same output. If the expected answer sounds more like many-to-one mapping, use the comparison table before solving.

  5. What would make this NOT One-to-One Mapping?

    One-to-one is not the same as 'is a function' — being a function means one output per input (vertical line test); being one-to-one is the extra condition of one input per output (horizontal line test). This tells you when to switch tools instead of forcing the concept.

Section 6

One-to-One Mapping vs Common Confusions

The hard part is recognizing when the task is really about one-to-one mapping instead of a nearby idea. Read the final answer the problem wants, then ask which row describes the structure before you start calculating.

One-to-One Mapping

Meaning
Use this when you must check whether a function is reversible, i.e. whether each output comes from a unique input. The deciding question is: Does every output value come from at most one input?
Key test
Does every output value come from at most one input?
Formula
f(a)=f(b)    a=bf(a) = f(b) \implies a = b
Example
Is f(x)=3x2f(x)=3x-2 one-to-one?

Many-to-one mapping

Meaning
The opposite: different inputs can share an output, so it has no inverse.
Key test
Use when several inputs legitimately give the same output.
Formula
f(a)=f(b),abf(a)=f(b),\,a\ne b
Example
x2x^2 is many-to-one (33 and 3-3 give 9)

Function (in general)

Meaning
Requires one output per input (vertical line test), a weaker condition.
Key test
Use when only confirming it is a function at all.
Formula
vertical line test
Example
Every one-to-one function is a function, but not vice versa

Onto (surjective)

Meaning
Every codomain value IS hit, a different property about coverage, not uniqueness.
Key test
Use when asking whether outputs fill the whole target set.
Example
A function can be one-to-one without being onto

Apply

Worked examples and the mistakes most students make.

Section 7

Formula & Notation

f(a)=f(b)    a=bf(a) = f(b) \implies a = b
f ⁣:XYf\colon X \to Y is injective     \iff a,bX:f(a)=f(b)    a=b\forall\,a, b \in X: f(a) = f(b) \implies a = b

How to read it: f(a)=f(b)    a=bf(a) = f(b) \implies a = b is the algebraic test for one-to-one (injective). Graphically: horizontal line test.

Section 8

Worked Examples

Example 1 — Test one-to-one

Easy

Problem

Is f(x)=3x2f(x)=3x-2 one-to-one?

Solution

  1. Check whether distinct inputs can ever give the same output.

    Name the structure before touching arithmetic — that is what makes the right method obvious.

  2. Ask the recognition question: Does every output value come from at most one input?

    If the answer is yes, the concept applies; the cue, not a keyword, decides the method.

  3. Assume f(a)=f(b)f(a)=f(b) and see if it forces a=ba=b.

    The rule is chosen only after the structure matches, so the steps mean something.

  4. 3a2=3b23a=3ba=b3a-2=3b-2\Rightarrow 3a=3b\Rightarrow a=b.

    Keep units, shape, or answer form tied to the story so the work does not become symbol pushing.

  5. Check the answer against the original question.

    It should fit the mental model — different inputs, different outputs — always. If it does not, revisit the recognition step before changing the arithmetic.

Answer

Yes — it is one-to-one

Takeaway: If equal outputs force equal inputs, the function is one-to-one and invertible.

Example 2 — Many-to-one, not one-to-one

Standard

Problem

Is f(x)=x2f(x)=x^2 one-to-one over all reals?

Solution

  1. Notice why this looks like the same concept.

    Nearby language or numbers can tempt you toward different inputs, different outputs — always.

  2. Two different inputs 22 and 2-2 both give output 4.

    Spotting what actually changed is what separates this from the concept it resembles.

  3. Apply the horizontal line test: y=4y=4 hits the parabola twice.

    The nearby idea may share numbers but answers a different question, so it needs a different move.

  4. State the result in the language of the actual task.

    No — it is many-to-one. Name it for what the problem really asked, not the concept you first expected.

  5. Say the contrast in one sentence.

    Distinct inputs giving the same output makes it many-to-one, not one-to-one.

Answer

No — it is many-to-one

Takeaway: Distinct inputs giving the same output makes it many-to-one, not one-to-one.

Example 3 — Spot the trap: Different inputs, different outputs — always

Application

Problem

A student starts with this idea: "Confusing one-to-one with being a function" What should they check before accepting that reasoning?

Solution

  1. Pause before the first move.

    The first move is a decision, not a calculation — does the situation really match different inputs, different outputs — always.

  2. Run the recognition test: Does every output value come from at most one input?

    This is the single check that the trap skips.

  3. a function needs one output per input; one-to-one needs one input per output.

    Stating the safer rule turns the mistake into a checkable step instead of a vague "be careful."

  4. Compare with the nearest confusion, Many-to-one mapping.

    The opposite: different inputs can share an output, so it has no inverse.

  5. State the corrected decision and reuse it.

    Using the concept only when the structure matches leaves a process the student can repeat on a new problem.

Answer

a function needs one output per input; one-to-one needs one input per output.

Takeaway: The recognition step prevents the common trap: Confusing one-to-one with being a function

Section 9

Common Mistakes

Common slip-up

Confusing one-to-one with being a function

The right idea

a function needs one output per input; one-to-one needs one input per output.

Common slip-up

Using the vertical line test for one-to-one

The right idea

one-to-one is checked by the horizontal line test.

Common slip-up

Calling a function one-to-one when an output repeats

The right idea

any repeated output value breaks it.

Practice

Try it, then see where this concept fits in the path.

Section 10

Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. What clue tells you this is a One-to-One Mapping situation: Is f(x)=3x2f(x)=3x-2 one-to-one?

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

  2. Is f(x)=3x2f(x)=3x-2 one-to-one?

    Hint: Assume f(a)=f(b)f(a)=f(b) and see if it forces a=ba=b.

  3. Why is this a contrast case instead of One-to-One Mapping: Is f(x)=x2f(x)=x^2 one-to-one over all reals?

    Hint: Two different inputs 22 and 2-2 both give output 4.

  4. Fix this thinking: Confusing one-to-one with being a function

    Hint: Name the recognition cue before choosing a rule.

  5. Which is the better fit here: One-to-One Mapping or Many-to-one mapping? Explain the deciding difference.

    Hint: For One-to-One Mapping, ask: Does every output value come from at most one input?

  6. Write one sentence that would remind a classmate how to recognize One-to-One Mapping.

    Hint: Use the mental model "Different inputs, different outputs — always." and one signal word.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Section 11

Frequently Asked Questions

How do I know when to use One-to-One Mapping?

Use One-to-One Mapping when you must check whether a function is reversible, i.e. whether each output comes from a unique input. Do not start from the numbers alone; first name the structure of the situation. The fastest check is: Does every output value come from at most one input? If the answer is yes and the wording matches cues like distinct inputs distinct outputs, injective, horizontal line test, then one-to-one mapping is probably the right tool.

What is One-to-One Mapping most often confused with?

One-to-One Mapping is often confused with Many-to-one mapping. Many-to-one mapping means The opposite: different inputs can share an output, so it has no inverse. The difference is not just vocabulary; it changes the action you take. For one-to-one mapping, the key test is "Does every output value come from at most one input?" For many-to-one mapping, the better cue is: Use when several inputs legitimately give the same output.

What is the fastest recognition cue for One-to-One Mapping?

Look for distinct inputs distinct outputs, injective, horizontal line test, no output repeats, but treat those words as clues, not proof. A word problem can contain a familiar keyword and still ask for a different idea. After noticing the cue, ask the recognition question: Does every output value come from at most one input? That question protects you from using a memorized procedure in the wrong place.

What mistake should I avoid with One-to-One Mapping?

Avoid this thinking: "Confusing one-to-one with being a function" That mistake usually happens when the student jumps to a rule before checking the situation. The safer version is: a function needs one output per input; one-to-one needs one input per output. A good habit is to say the mental model out loud first: "Different inputs, different outputs — always." Then choose the calculation or representation.

How can I tell this apart from Function (in general)?

Function (in general) is the better fit when the task is about this: Requires one output per input (vertical line test), a weaker condition. One-to-One Mapping is the better fit when you must check whether a function is reversible, i.e. whether each output comes from a unique input. If both ideas seem possible, compare what the problem wants as the final answer. The desired output often reveals whether you should use one-to-one mapping or switch to the nearby concept.

Why does One-to-One Mapping matter?

One-to-one is the exact property a function needs to be reversible — without it, an inverse would have to send one output back to two inputs. It underlies encryption, decoding, and every 'solve for the input' problem. The practical value is recognition: once you can spot one-to-one mapping, you can choose a method before calculating. That makes later topics easier because you are not memorizing isolated tricks; you are recognizing the same structure when it appears in a new representation.

Section 12

Learning Path

← Before

Function
One-to-One Mapping

You are here

Before this, students should be comfortable with Function. This page focuses on the recognition cue: Does every output value come from at most one input? That cue is the bridge between earlier skills and later problem solving: students first learn to identify the structure, then they learn which calculation, diagram, graph, or proof move belongs to it. After this, Inverse Function and Horizontal Line Test become easier to recognize.

Section 13

See Also