Grade 11 Math • Algebra & Functions

One-to-One Functions — I can identify whether a function is one-to-one on a given domain and justify using a graph or reasoning.

Learn why unique outputs matter and how to prove a function never repeats a value.

Grade 11 Math emblem with sigma notation, a curved graph, and function symbol
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

The idea of a function—a rule that assigns each input exactly one output—took centuries to crystallize. Early mathematicians focused on specific formulas such as polynomials and trigonometric ratios, but they rarely asked a deeper question: can two different inputs ever produce the same output? That question lies at the heart of one-to-one functions, a concept that became essential once mathematicians needed to reverse, or "undo," the operations a function performs.

1637 • Descartes Links Algebra to Geometry

René Descartes introduced the coordinate plane, allowing equations to be visualized as curves. This graphical approach would later make it easy to see whether a function repeats output values.

1748 • Euler Formalizes the Function Concept

Leonhard Euler defined a function as an expression involving a variable, laying the groundwork for classifying different types of functions—including those that never repeat outputs.

1837 • Dirichlet Broadens the Definition

Peter Gustav Lejeune Dirichlet proposed the modern definition: a function is any rule assigning each input in the domain to exactly one output. This paved the way for distinguishing injective (one-to-one) mappings from general functions.

1900s • Set Theory & Inverse Functions

With the rise of set theory, mathematicians formally defined injections, surjections, and bijections. The one-to-one property became the key requirement for a function to possess an inverse.

Why does it matter whether a function is one-to-one? Imagine you encode a secret message using a function that maps each letter to a number. If two different letters map to the same number, the person receiving your message cannot decode it—there would be ambiguity. A one-to-one function guarantees that every output traces back to exactly one input, making the process perfectly reversible. This is the central question our lesson tackles: how do you determine if a function has this special property, and how do you justify your answer?

SECTION 2

Core Principles & Definitions

Before diving into techniques, you need to nail down a few foundational ideas. A function is a rule where each input from the domain produces exactly one output in the range. A function is called one-to-one (also written 1–1 or called injective) if no two different inputs ever share the same output. In other words, every output is "used" at most once.

1

One-to-One Definition

A function f is one-to-one if whenever a ≠ b, then f(a) ≠ f(b). Equivalently, if f(a) = f(b), then a = b. No two different inputs map to the same output.
2

Horizontal Line Test

On a graph, a function is one-to-one if and only if every horizontal line crosses the curve at most once. This is the graphical shortcut for checking injectivity.
3

Domain Matters

A function may fail to be one-to-one on its natural domain but succeed on a restricted domain. For example, x² is not 1–1 on all reals, but it is 1–1 on [0, ∞).
4

Connection to Inverses

A function has an inverse function (f⁻¹) if and only if it is one-to-one. This is the practical reason you need to identify 1–1 functions—it tells you whether 'undoing' the function is possible.
✦

KEY TAKEAWAY

Think of a one-to-one function like a coat-check system. Each person (input) hands in a coat and gets a unique ticket number (output). If two people got the same ticket number, nobody could figure out whose coat is whose when they come back. A one-to-one function guarantees every ticket number is unique, so every coat can be returned to the right person—that's exactly what an inverse function does.

SECTION 3

Visual Explanation — The Horizontal Line Test

The most intuitive way to check whether a function is one-to-one is to look at its graph. The Horizontal Line Test says: draw (or imagine) every possible horizontal line across the coordinate plane. If any horizontal line touches the graph in more than one spot, the function is not one-to-one, because those two points share the same y-value (output) but have different x-values (inputs). The diagram below compares two familiar functions side by side.

f(x) = x² (NOT one-to-one)g(x) = 2x + 1 (ONE-TO-ONE)xy(-a, c)(a, c)y = c✗ Horizontal line hits TWICExy(b, d)✓ Every horizontal line hits ONCE
Left: the parabola f(x) = x² fails the Horizontal Line Test because a horizontal line at y = c intersects the curve at two points, (−a, c) and (a, c). Right: the line g(x) = 2x + 1 passes the test—each horizontal line meets the graph at exactly one point.

In the left graph, the dashed red horizontal line crosses the parabola at two points. That means two different x-values produce the same y-value, so f(x) = x² is not one-to-one on the domain of all real numbers. In the right graph, every horizontal line (shown in green) crosses the linear function at most once, confirming that g(x) = 2x + 1 is one-to-one. Keep this visual shortcut in your toolkit—it works for any function you can graph.

SECTION 4

Mathematical Framework — Algebraic Tests

While the Horizontal Line Test is great when you have a graph, you also need an algebraic method for justifying your answer. The core idea is simple: assume two inputs give the same output and see if that forces the inputs to be equal.

ONE-TO-ONE DEFINITION (ALGEBRAIC)

Iff(a)=f(b),thena=bIf f(a) = f(b), then a = b

For any two values a and b in the domain, if the function produces the same output, then the inputs must actually be the same value. If you can show this algebraically, the function is one-to-one.

CONTRAPOSITIVE FORM

Ifa≠b,thenf(a)≠f(b)If a ≠ b, then f(a) ≠ f(b)

This is logically equivalent to the definition above. Different inputs always produce different outputs.

COUNTEREXAMPLE METHOD (DISPROVING 1–1)

Finda≠bsuchthatf(a)=f(b)Find a ≠ b such that f(a) = f(b)

To show a function is not one-to-one, you only need one pair of distinct inputs that share the same output. For example, for f(x) = x², notice f(3) = 9 and f(−3) = 9. Since 3 ≠ −3 but f(3) = f(−3), the function is not 1–1.

Another useful technique involves monotonicity. A function that is strictly increasing (always going up) or strictly decreasing (always going down) on its domain is guaranteed to be one-to-one, because the outputs never repeat. If the function changes direction—going up and then back down, for instance—it will fail the test somewhere.

SECTION 5

Classifying Common Functions

It helps to build a mental catalog of which standard functions are one-to-one and which are not. The diagram below maps several function families and shows how restricting the domain can convert a non-injective function into a one-to-one function.

Classification of Common FunctionsNOT One-to-One (full domain)f(x) = x²f(2) = f(−2) = 4f(x) = |x|f(5) = f(−5) = 5f(x) = x⁴f(1) = f(−1) = 1f(x) = cos(x)f(0) = f(2π) = 1f(x) = sin(x)f(π/6) = f(5π/6)One-to-Onef(x) = 2x + 3linear (m ≠ 0)f(x) = x³strictly increasingf(x) = √xdomain [0, ∞)f(x) = 2ˣexponential (b > 0)f(x) = log(x)strictly increasingBecomes 1–1 with Domain Restrictionx² on [0, ∞)|x| on [0, ∞)sin(x) on [−π/2, π/2]Functions that change direction (even symmetry, periodic) are NOT 1–1 on their full domain.Functions that are strictly increasing or strictly decreasing are ALWAYS 1–1.Restricting the domain to a monotone interval can rescue a non-injective function.
Functions in the red box are not one-to-one on their natural domain because they produce repeated output values. Functions in the green box are one-to-one because they are strictly monotonic. The amber box shows that restricting the domain to a monotone piece makes a function one-to-one.
Function1–1 on ℝ?Reason / Counterexample
f(x) = 3x − 7Yes ✓Strictly increasing (slope 3 > 0).
f(x) = x²No ✗f(2) = f(−2) = 4.
f(x) = x³Yes ✓Strictly increasing on all reals.
f(x) = |x|No ✗f(5) = f(−5) = 5.
f(x) = 2ˣYes ✓Exponential growth is strictly increasing.

Quick reference for common function families

SECTION 6

Worked Example — Algebraic Proof

Let's prove algebraically that f(x) = 5x − 3 is one-to-one, and then show that g(x) = x² − 4x is not one-to-one on all reals.

Example A — Prove f(x) = 5x − 3 is one-to-one

  1. 1

    Step 1 — Set Up the Assumption

    Assume f(a) = f(b) for two inputs a and b. We want to show that this forces a = b.
  2. 2

    Step 2 — Substitute into the Formula

    Since f(x) = 5x − 3, the assumption f(a) = f(b) becomes: 5a − 3 = 5b − 3
  3. 3

    Step 3 — Solve for the Relationship Between a and b

    Add 3 to both sides: 5a = 5b. Divide both sides by 5: a = b.
    Since f(a) = f(b) forces a = b, the function f(x) = 5x − 3 is one-to-one. ✓

Example B — Show g(x) = x² − 4x is NOT one-to-one on ℝ

  1. 1

    Step 1 — Strategy: Find a Counterexample

    To disprove the 1–1 property, we only need two different inputs that produce the same output. Let's try specific values.
  2. 2

    Step 2 — Compute g(0) and g(4)

    g(0) = 0² − 4(0) = 0. And g(4) = 4² − 4(4) = 16 − 16 = 0.
  3. 3

    Step 3 — Compare

    We found g(0) = g(4) = 0, yet 0 ≠ 4.
    Two different inputs (0 and 4) share the same output, so g(x) = x² − 4x is NOT one-to-one on ℝ. ✗
💡

Pro Tip

When a quadratic f(x) = ax² + bx + c has its vertex inside the domain, it is not one-to-one because the parabola turns around. The vertex of g(x) = x² − 4x is at x = 2, which is inside ℝ, so the function increases on (2, ∞) and decreases on (−∞, 2), guaranteeing repeated outputs.

SECTION 7

Comparing Methods for Identifying 1–1 Functions

You now have three main strategies: the Horizontal Line Test (graphical), the algebraic proof (assume f(a) = f(b), show a = b), and the counterexample method (find two inputs that share an output). Each has strengths and limitations depending on the situation.

MethodStrengthsLimitations
Horizontal Line TestFast and visual; works for any graphed function; great for multiple-choice problems.Requires an accurate graph; not a formal proof; can be tricky with closely spaced curves.
Algebraic ProofRigorous and convincing; works even without a graph; accepted on proofs and free-response.Can only prove a function IS 1–1; algebra may be complex for piecewise or trigonometric functions.
CounterexampleQuick way to disprove; only need one pair; easy to communicate.Can only show a function is NOT 1–1; finding the right pair may require trial and error.
Monotonicity ArgumentEfficient for entire function families (all linear, exponential, log); uses calculus shortcuts when available.Only works when you can establish the function is strictly increasing or decreasing.

Comparison of methods for testing the one-to-one property

✦

KEY TAKEAWAY

Choosing a method is like choosing a tool from a toolbox. Use the Horizontal Line Test when you can see the graph, the algebraic proof when you need a formal justification, and a counterexample when you suspect the function fails. On a test, read the question carefully—"justify" usually means you need the algebraic or counterexample approach, not just a graph sketch.

SECTION 8

Connection to Inverse Functions & Advanced Ideas

The one-to-one property is not an isolated idea—it is the gateway to inverse functions. In your next unit, you will learn that a function f has an inverse f⁻¹ if and only if f is one-to-one. Graphically, the inverse is the reflection of the original graph across the line y = x, and that reflection only produces a valid function when the original passes the Horizontal Line Test.

ConceptThis Lesson (One-to-One)Next Steps (Inverse Functions)
Key QuestionDoes every output come from exactly one input?Can we reverse the function to recover the input from the output?
Test / ToolHorizontal Line Test; algebraic proofSwap x and y, solve for y
Graph RelationshipEach horizontal line hits the graph at most onceGraph of f⁻¹ is the reflection of f over y = x
Domain RestrictionMay be needed to make a function 1–1Determines the domain and range of the inverse

How the 1–1 property connects to inverse functions

In more advanced courses such as precalculus and calculus, you will encounter bijections (functions that are both one-to-one and onto), which play a central role in set theory and abstract algebra. The idea of injectivity also extends to higher dimensions—for instance, determining when a system of linear equations has a unique solution is closely related to whether a certain matrix transformation is one-to-one.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

In your own words, explain why a constant function f(x) = 5 is not one-to-one. Use the definition to support your reasoning.
Show answer
A constant function maps every input to the same output: f(1) = 5, f(2) = 5, f(100) = 5. Since f(1) = f(2) but 1 ≠ 2, the definition of one-to-one is violated. In fact, any two distinct inputs serve as a counterexample. Graphically, the graph is a horizontal line, and every horizontal line drawn at y = 5 lies directly on top of it, intersecting at infinitely many points.

Question 2: BASIC CALCULATION

Use the algebraic method to determine whether f(x) = 4x + 9 is one-to-one. Show your work.
Show answer
Assume f(a) = f(b): 4a + 9 = 4b + 9. Subtract 9 from both sides: 4a = 4b. Divide by 4: a = b. Since f(a) = f(b) implies a = b, the function is one-to-one. This makes sense because f(x) = 4x + 9 is a linear function with a positive slope, so it is strictly increasing and never repeats an output value.

Question 3: INTERMEDIATE

Is f(x) = x² + 6x + 9 one-to-one on the domain [−3, ∞)? Justify your answer using both algebraic reasoning and a graphical argument.
Show answer
First, notice that x² + 6x + 9 = (x + 3)². The vertex of this parabola is at x = −3, which is the left endpoint of the given domain [−3, ∞). On this interval, the function is strictly increasing because the parabola opens upward and we are on the right side of the vertex. Algebraically, if (a + 3)² = (b + 3)² with a, b ≥ −3, then |a + 3| = |b + 3|. Since both a + 3 ≥ 0 and b + 3 ≥ 0 on this domain, we get a + 3 = b + 3, so a = b. Therefore, the function is one-to-one on [−3, ∞). Graphically, any horizontal line above y = 0 hits the right half of the parabola exactly once.

Question 4: APPLIED

A cell phone company charges a monthly fee using the function C(m) = 0.10m + 25, where m is the number of minutes used and C is the total cost in dollars. Determine whether C is one-to-one on [0, ∞) and explain what this means in context.
Show answer
Assume C(a) = C(b): 0.10a + 25 = 0.10b + 25. Subtracting 25 gives 0.10a = 0.10b, so a = b. The function is one-to-one. In practical terms, this means that if you know the total cost on your bill, you can determine exactly how many minutes you used—there is no ambiguity. Two different usage amounts will always produce two different charges. This is exactly the idea behind inverse functions: the company could create an inverse formula m = (C − 25) / 0.10 to calculate minutes from the bill.

Question 5: CRITICAL THINKING

Consider the piecewise function h(x) = { x + 2 if x < 1, 3x if x ≥ 1 }. Determine whether h is one-to-one on its entire domain (all real numbers). Justify your answer by considering outputs both within each piece and across the two pieces.
Show answer
Each piece is linear with a positive slope, so each piece individually is one-to-one. However, we must also check whether an output from one piece can equal an output from the other. For x < 1, the outputs are h(x) = x + 2, which gives values less than 1 + 2 = 3 (approaching but never reaching 3). For x ≥ 1, the outputs are h(x) = 3x, which gives values ≥ 3. The first piece produces outputs in (−∞, 3) and the second piece produces outputs in [3, ∞). These ranges do not overlap: the first piece approaches 3 but never reaches it, while the second piece starts at 3. Therefore, no output is shared between the two pieces. Combined with the fact that each piece is individually one-to-one, h(x) is one-to-one on all of ℝ.

SUMMARY

Lesson Summary

Summary

A one-to-one (injective) function is a function in which every output is produced by exactly one input—no output is "reused." You can verify this property graphically with the Horizontal Line Test: if every horizontal line crosses the graph at most once, the function is one-to-one. Algebraically, you assume f(a) = f(b) and show a = b to prove the property, or find a counterexample (two distinct inputs with the same output) to disprove it.

Functions that are strictly increasing or strictly decreasing on their domain are always one-to-one. Functions like x², |x|, and cos(x) are not one-to-one on their natural domains, but they can become one-to-one through domain restriction. Understanding the one-to-one property is essential because it determines whether a function has an inverse function—the foundation of your next unit in algebra.

Varsity Tutors • Grade 11 Math • One-to-One Functions