functions
Inverse Functions
You should know: functions
Overview
The inverse of a function f, written f⁻¹, is the function that undoes f: if f sends a to b, then f⁻¹ sends b back to a. Not every function has an inverse — only those that are one-to-one (injective), meaning no two different inputs ever produce the same output. Inverse functions are how we 'solve backwards': logarithms undo exponentials, square roots undo squaring (on the right domain), and arcsine undoes sine. Graphically, a function and its inverse are mirror images of each other across the line y = x.
Intuition
Think of a function as a machine that transforms an input into an output. If the machine only ever produces a given output from one possible input — never two different inputs giving the same result — you can build a second machine that runs the process in reverse, recovering the original input from the output. That reverse machine is the inverse function. If the original function 'doubles and adds one' (f(x)=2x+1), the inverse must 'subtract one and halve' (f⁻¹(x)=(x-1)/2) — undoing each step in the opposite order. Functions that assign the same output to multiple inputs (like f(x)=x² on all of ℝ, where f(2)=f(-2)=4) can't be reversed unambiguously, so they have no true inverse unless their domain is restricted.
Interactive Graph
Formal Definition
f⁻¹ is the inverse of f if it undoes f in both directions — composing them in either order returns the original input. A function has an inverse exactly when it is one-to-one (injective) on its domain.
The one-to-one (injectivity) condition required for an inverse to exist
Notation
| Notation | Meaning |
|---|---|
| The inverse function of f — NOT the reciprocal 1/f(x) | |
| Composition of f with its inverse, which equals the identity function x | |
| The domain of f⁻¹ equals the range of f, and vice versa |
Derivation
The standard algebraic procedure for finding f⁻¹: swap x and y, then solve for y. Illustrated on f(x) = 2x + 1:
Write f(x) as y
Swap x and y (this encodes 'reversing' the roles of input and output)
Solve the new equation for y
Relabel y as f⁻¹(x)
Proofs
- (Definition of a point lying on the graph)
- (f⁻¹ undoes f, so f⁻¹(f(a)) = a means f⁻¹(b) = a)
- (f⁻¹(b) = a is exactly the statement that (b,a) lies on the graph of f⁻¹)
- (Reflecting a point across the line y=x swaps its coordinates)
- (Every point of one graph reflects to a point of the other)
Properties
Uniqueness
Involution
Domain–range swap
Composition undoes
Horizontal line test
Monotonicity sufficiency
Theorems
Corollaries
Follows from Existence of an inverse (Horizontal Line Test)
Applications
Formula Explorer
Animation
Animates a point traveling along the graph of f, then reflects it across the line y=x in real time to trace out the graph of f⁻¹, visually demonstrating the domain/range swap.
Worked Examples
Write as y, swap x and y, then solve for y.
Answer: f⁻¹(x) = (x + 4)/3
Practice Problems
Find the inverse of f(x) = 5x + 2.
Find the inverse of f(x) = x³ + 2, and verify by checking f(f⁻¹(3)).
Which test determines whether a function has an inverse (without restricting its domain)?
Common Mistakes
Confusing f⁻¹(x) with the reciprocal 1/f(x).
f⁻¹ is notation for the INVERSE FUNCTION, not an exponent. For example, if f(x)=x+3, then f⁻¹(x)=x-3, which is nothing like 1/f(x)=1/(x+3).
Assuming every function has an inverse.
Only one-to-one (injective) functions have inverses. f(x)=x² fails the horizontal line test on all of ℝ (e.g. f(2)=f(-2)=4), so it has no inverse unless its domain is restricted (e.g. to x≥0).
Forgetting to swap the domain and range when stating f⁻¹.
The domain of f⁻¹ is the range of f, not necessarily all real numbers. E.g. for f(x)=√x (domain x≥0, range y≥0), f⁻¹(x)=x² must be restricted to domain x≥0 to be a true inverse.
Quiz
Flashcards
Historical Background
The idea of an inverse operation is ancient — reversing addition with subtraction, or multiplication with division — but the formal function concept, and with it the modern notion of a function's inverse, developed alongside the rest of function theory in the 17th–19th centuries. Leibniz and the Bernoullis used inverse relationships implicitly when working with logarithms as the inverse of exponentiation in the late 17th century. The rigorous requirement that a function must be one-to-one to admit a true inverse became explicit once Dirichlet and Cauchy formalized the modern definition of a function in the 19th century, clarifying exactly when 'running a function backwards' produces another well-defined function.
- 1614
Napier's logarithm tables implicitly use the logarithm as the inverse of exponentiation
John Napier
- 1670s–1680s
Leibniz and the Bernoullis study inverse relationships between functions like exponentials and logarithms
Gottfried Wilhelm Leibniz
- 1837
Dirichlet's modern definition of a function clarifies the precise conditions (injectivity) needed for an inverse function to exist
Peter Gustav Lejeune Dirichlet
Summary
- f⁻¹ undoes f: f⁻¹(f(x))=x and f(f⁻¹(y))=y.
- A function has an inverse if and only if it is one-to-one (passes the horizontal line test).
- To find f⁻¹ algebraically: swap x and y in y=f(x), then solve for y.
- The graph of f⁻¹ is the reflection of f's graph across the line y=x; domain and range swap between f and f⁻¹.
- Many-to-one functions (like x²) can be made invertible by restricting the domain to where they're monotonic.
References
- BookSullivan, M. Algebra and Trigonometry, 10th ed. Ch. 2 — Functions and Their Graphs.
- WebsiteWikipedia — Inverse function
Mathematics