Algebra 2 • Building Functions

Restricting Domain to Create Invertible Functions

Understanding how to transform non-invertible functions into invertible ones by strategically limiting their domains.

Historical Context & Motivation

The idea that every function should have a "reverse" — a way to undo what the function does — goes back centuries, but mathematicians discovered early on that many important functions fail to have unique reverses. A function like f(x) = x² produces the same output for both x = 3 and x = −3, so if you know the output is 9, you cannot uniquely recover the input. The struggle to reconcile this problem with the growing need for inverse operations in calculus, trigonometry, and algebra is what gave rise to the technique of domain restriction.

1600s
Early Function Concepts
Leibniz and other pioneers introduced the word "function" to describe dependencies between quantities. The notion of reversibility was implicit in their work on calculus, where finding an antiderivative is essentially an inverse operation.
1748
Euler's Introductio
Leonhard Euler systematized the study of functions and their inverses. He recognized that trigonometric functions like sine and cosine are periodic and thus not one-to-one, leading him to specify principal branches — an early form of domain restriction — so that arc-sine and arc-cosine would yield unique values.
1800s
Rigor and Set Theory
Dirichlet and Dedekind formalized the modern definition of a function as a mapping from one set to another. With this precision came the formal criteria for invertibility: a function must be both injective (one-to-one) and surjective (onto) with respect to its codomain.
Early 1900s
Standardizing Inverse Trig
As mathematics education expanded, textbooks established conventional restricted domains for inverse trigonometric functions (e.g., sin⁻¹ uses [−π/2, π/2]). These conventions ensured that every student and every calculator would produce the same answer when computing an inverse.
Modern Day
Universal Practice
Today, domain restriction is a cornerstone of Algebra 2 and precalculus, appearing whenever we define square-root functions, logarithms, or inverse trig functions. It is also essential in computer science (hashing, cryptography) and engineering (control systems).

The central question this lesson answers is deceptively simple: given a function that is not one-to-one, how can we choose a portion of its domain so that it becomes invertible — and how do we find that inverse?

Core Principles & Definitions

Before we can restrict a domain, we need to be precise about the terms involved. Four foundational ideas underpin this entire technique.

1

One-to-One (Injective) Function

A function f is one-to-one if every output value corresponds to exactly one input. Formally: if f(a) = f(b), then a = b. The horizontal line test is the visual check — no horizontal line intersects the graph more than once.
2

Inverse Function

If f is one-to-one, its inverse f⁻¹ satisfies f(f⁻¹(x)) = x and f⁻¹(f(x)) = x. Graphically, the inverse is the reflection of f across the line y = x. The domain of f⁻¹ equals the range of f, and vice versa.
3

Domain & Range

The domain of a function is the set of all permissible inputs; the range is the set of all resulting outputs. When we restrict the domain, we select a subset of the original domain, which in turn alters the range.
4

Domain Restriction

A domain restriction is the deliberate choice of a subset of a function's natural domain on which the function becomes one-to-one. The restricted function is then invertible. There are often multiple valid restrictions, but standard conventions pick the one that preserves the most natural or useful behavior (usually including the vertex or center).
Key Takeaway
Think of a function like a door that swings both ways. If it is one-to-one, you can always retrace your steps through the door. If it is not one-to-one — like a revolving door that deposits people at the same spot from multiple directions — you need to block off all entrances except one. That act of blocking is domain restriction; it turns the revolving door into a simple one-way door that you can reverse.

Visual Explanation — The Horizontal Line Test & Domain Restriction

The diagram below illustrates the core idea. On the left, the full parabola f(x) = x² clearly fails the horizontal line test: the horizontal line at y = 4 crosses the graph at two points, x = −2 and x = 2. On the right, we restrict the domain to x ≥ 0, keeping only the right half. Now every horizontal line crosses at most once, and the function is invertible.

Diagram showing f(x)=x² failing the horizontal line test on its full domain (left) and passing it on the restricted domain x≥0 (right)

Notice that the restricted version on the right is monotonically increasing — it only goes up as x increases. Any function that is strictly increasing (or strictly decreasing) on an interval is guaranteed to be one-to-one on that interval, and therefore invertible. This is the key geometric insight behind domain restriction: we carve out a piece of the graph where the function is monotone.

We could equally have chosen the restriction x ≤ 0 (the left half of the parabola, which is monotonically decreasing). Both choices yield a valid inverse, but by convention we usually choose x ≥ 0 so that the inverse — the principal square root — returns non-negative values.

Mathematical Framework — Finding the Inverse

Once a function has been restricted to a domain on which it is one-to-one, the algebraic process for finding its inverse follows a clear, repeatable procedure.

Step-by-Step Inverse Procedure
y = f(x) → swap x and y → solve for y → f⁻¹(x) = y
After swapping, the new "y" is the inverse function. The domain of f⁻¹ equals the range of f.

Let us formalize the conditions. A function f: A → B has an inverse f⁻¹: B → A if and only if f is a bijection (both injective and surjective) from A onto B. When we restrict the domain, we change A to a subset A' ⊆ A, and we automatically change B to B' = f(A'), the image of A' under f.

Example: Quadratic Function
f(x) = x², x ≥ 0
Swap: x = y² → y = √x. So f⁻¹(x) = √x, with domain x ≥ 0.
General Quadratic with Vertex Form
f(x) = a(x − h)² + k
The vertex is (h, k). Restrict to x ≥ h (or x ≤ h). Then: f⁻¹(x) = h + √((x − k)/a) when a > 0 and restriction is x ≥ h.

The vertex form is especially valuable because it tells you exactly where to split the domain. The vertex at (h, k) is the turning point — the function increases on one side and decreases on the other. Restricting to x ≥ h keeps the increasing branch (when a > 0), while x ≤ h keeps the decreasing branch.

Domain ↔ Range Relationship
Domain of f⁻¹ = Range of f | Range of f⁻¹ = Domain of f
This symmetry is fundamental. Always state both the domain and range of the inverse.

Common Functions & Their Standard Restrictions

Many functions that arise frequently in mathematics are not naturally one-to-one. Below is a reference table showing the standard domain restrictions used to create their conventional inverse forms. Understanding these conventions is essential — they appear on standardized tests, in textbooks, and in technology (every calculator uses these same restrictions).

FunctionNatural DomainRestricted DomainInverseInverse Domain
f(x) = x²(−∞, ∞)[0, ∞)f⁻¹(x) = √x[0, ∞)
f(x) = x² − 4x + 7(−∞, ∞)[2, ∞)f⁻¹(x) = 2 + √(x − 3)[3, ∞)
f(x) = sin(x)(−∞, ∞)[−π/2, π/2]f⁻¹(x) = arcsin(x)[−1, 1]
f(x) = cos(x)(−∞, ∞)[0, π]f⁻¹(x) = arccos(x)[−1, 1]
f(x) = |x|(−∞, ∞)[0, ∞)f⁻¹(x) = x[0, ∞)
f(x) = x⁴(−∞, ∞)[0, ∞)f⁻¹(x) = ⁴√x[0, ∞)

Notice the pattern: for even-power polynomials and absolute-value functions, the standard restriction selects the non-negative half. For trigonometric functions, the restriction selects a single period (or half-period) that covers the full range of output values while remaining monotone.

Graph showing f(x) = (x−2)² + 1 restricted to x ≥ 2 alongside its inverse f⁻¹(x) = 2 + √(x−1), reflected across y = x

In the diagram above, the cyan curve shows f(x) = (x − 2)² + 1 restricted to x ≥ 2, and the violet curve shows its inverse f⁻¹(x) = 2 + √(x − 1). Notice how the two curves are perfect mirror images across the dashed line y = x. The vertex point (2, 1) on the original reflects to (1, 2) on the inverse — the domain and range have swapped.

Worked Example

Let us work through a complete example from start to finish. Consider the function g(x) = −2(x + 3)² + 8. We want to find an appropriate domain restriction and then determine the inverse function.

Finding the Inverse of g(x) = −2(x + 3)² + 8
1
Step 1 — Identify the Vertex and DirectionThe function is in vertex form: g(x) = a(x − h)² + k where a = −2, h = −3, and k = 8. The vertex is at (−3, 8). Since a = −2 < 0, the parabola opens downward.
2
Step 2 — Choose the Domain RestrictionBecause the parabola opens downward, the function is increasing on (−∞, −3] and decreasing on [−3, ∞). Either half is valid. We'll choose the conventional restriction: x ≥ −3 (the decreasing branch). On this domain, the range is (−∞, 8].
3
Step 3 — Write y = g(x) and Swap x and yStart with: y = −2(x + 3)² + 8. Swap x and y: x = −2(y + 3)² + 8
4
Step 4 — Solve for ySubtract 8 from both sides: x − 8 = −2(y + 3)². Divide by −2: (8 − x) / 2 = (y + 3)². Take the square root. Since we restricted to x ≥ −3 on the original, the inverse's range must be y ≥ −3, so y + 3 ≥ 0. Taking the positive square root: y + 3 = √((8 − x) / 2), giving y = −3 + √((8 − x) / 2).
5
Step 5 — State the Inverse and Its DomainThe inverse function is:
g⁻¹(x) = −3 + √((8 − x) / 2). Domain of g⁻¹: (−∞, 8]. Range of g⁻¹: [−3, ∞).
6
Step 6 — VerifyCheck with x = −1 (which is in the restricted domain since −1 ≥ −3): g(−1) = −2(−1 + 3)² + 8 = −2(4) + 8 = 0. Now apply the inverse to 0: g⁻¹(0) = −3 + √((8 − 0)/2) = −3 + √4 = −3 + 2 = −1 ✓. The composition returns the original input, confirming the inverse is correct.

Strengths, Limitations & Comparisons

Domain restriction is a powerful technique, but it comes with trade-offs. The table below compares what we gain with what we lose.

AspectAdvantageLimitation
InvertibilityCreates a well-defined inverse functionThe inverse only "undoes" part of the original function
UniquenessEnsures every output maps to exactly one inputChoice of restriction is not unique — different branches yield different inverses
Domain LossSimplifies behavior to monotone segmentsDiscards valid input values; the restricted function covers less ground
ConventionStandard choices (e.g., x ≥ 0 for x²) create universal consistencyStudents must memorize conventions for trig, even-power, and absolute value functions
Algebraic ComplexityProcedure is systematic and always worksDetermining the correct sign (±) of the square root requires careful reasoning about the restriction

One of the most common errors students make is choosing the wrong sign when taking a square root during the inverse-finding process. The key is to always look back at the domain restriction: if you restricted to x ≥ h, then in the inverse you need y ≥ h, which determines whether you use the positive or negative root.

Key Takeaway
Domain restriction is like choosing a single lane on a multi-lane highway. The highway (the full function) can take you to the same destination via different lanes (inputs), which is confusing if you need to retrace your route. By committing to one lane (one monotone piece), the path becomes unambiguous, and you can always find your way back (compute the inverse). The trade-off is that you can no longer access destinations reachable only from other lanes.

Connection to Advanced Theory

The concept of restricting domains to create inverses is not just an algebraic convenience — it connects to deep ideas in higher mathematics and practical applications.

Algebra 2 ConceptAdvanced Extension
Restricting to x ≥ 0In complex analysis, the concept of branch cuts generalizes domain restriction to functions of complex numbers (e.g., the complex square root, complex logarithm)
Principal value of arcsinIn calculus, choosing the principal branch is critical for defining integrals like ∫ dx/√(1 − x²) and for L'Hôpital's rule applications
Monotone segments of polynomialsThe Inverse Function Theorem in calculus says that if f'(a) ≠ 0, then f is locally invertible near a — a differential version of our monotonicity condition
One-to-one on restricted intervalIn computer science, hash functions and encryption algorithms rely on invertibility within carefully controlled domains
Reflection across y = xIn linear algebra, this reflection is a specific orthogonal transformation, and the relationship between a function and its inverse is studied through functional equations

When you move into precalculus and calculus, the technique of domain restriction reappears constantly. In particular, every time you encounter an inverse trigonometric function — in integration formulas, in solving differential equations, in physics — you are implicitly relying on the domain restrictions established in this lesson. Understanding why those restrictions exist, rather than just memorizing them, will give you a significant advantage.

Furthermore, the fundamental idea — that injectivity (one-to-oneness) is required for invertibility — extends beyond real-valued functions. In abstract algebra, the concept of an isomorphism requires a mapping that is both injective and surjective, and identifying the right "domain" (the right substructure) on which a mapping becomes an isomorphism is a central concern.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why the function f(x) = x⁴ − 2x² is not one-to-one on its natural domain (−∞, ∞). Describe a general strategy for determining an appropriate domain restriction for such a function.
PROBLEM 2BASIC IDENTIFICATION
Given f(x) = (x − 5)² + 2, state the vertex and two possible domain restrictions that make f one-to-one. For each restriction, state the resulting range.
PROBLEM 3INTERMEDIATE
Restrict the domain of h(x) = x² + 6x + 5 so that it becomes invertible, then find h⁻¹(x). State the domain and range of the inverse.
PROBLEM 4APPLIED / MULTI-STEP
A ball is thrown upward from a 10-foot platform, and its height in feet after t seconds is given by H(t) = −16t² + 32t + 10. This function is not one-to-one over its natural domain. (a) Restrict the domain so that H models the ball's descent (the falling phase only). (b) Find the inverse H⁻¹(h) on this restricted domain, which gives the time at which the ball reaches height h during its descent. (c) At what time does the ball hit the ground (h = 0)?
PROBLEM 5CRITICAL THINKING / SYNTHESIS
Consider the function f(x) = x² − 4x + 3 with the domain restriction x ≤ 2. A student claims the inverse is f⁻¹(x) = 2 + √(x + 1). Is the student correct? If not, identify the error and provide the correct inverse. Verify your answer by showing that f(f⁻¹(x)) = x.

Lesson Summary

A function has an inverse if and only if it is one-to-one — that is, every output corresponds to exactly one input. Many important functions, including quadratics, even-power polynomials, absolute-value functions, and trigonometric functions, fail this test on their natural domains because they produce the same output for multiple inputs. The solution is domain restriction: selecting a subset of the domain on which the function is strictly increasing or strictly decreasing (monotone), thereby making it one-to-one and hence invertible.

To find the inverse after restricting, follow the systematic procedure: write y = f(x), swap x and y, solve for y, and carefully choose the correct sign of the square root based on the restriction. The domain of the inverse equals the range of the original, and vice versa. Graphically, the function and its inverse are reflections across the line y = x. Standard conventions — such as restricting to x ≥ 0 or sin(x) to [−π/2, π/2] — ensure consistency across all of mathematics, and understanding why these conventions exist prepares you for the branch cuts and local invertibility concepts you will encounter in higher mathematics.

Varsity Tutors • Algebra 2 — Building Functions • Restricting Domain to Create Invertible Functions