What is an Inverse?
An inverse function undoes what the original function does.
If f takes a to b, then f−1 takes b back to a.
f(a)=b⟺f−1(b)=a
The Defining Property
A function f−1 is the inverse of f if:
f(f−1(x))=xandf−1(f(x))=x
Applying a function and its inverse (in either order) gets you back where you started.
Example
Let f(x)=2x+3.
If we claim f−1(x)=2x−3, let’s verify:
Check f(f−1(x)):
f(f−1(x))=f(2x−3)=2⋅2x−3+3=(x−3)+3=x✓ Check f−1(f(x)):
f−1(f(x))=f−1(2x+3)=2(2x+3)−3=22x=x✓
Finding an Inverse
Steps:
- Write y=f(x)
- Swap x and y
- Solve for y
- The result is f−1(x)
Example: Find the inverse of f(x)=3x−5.
Step 1: y=3x−5
Step 2: x=3y−5
Step 3: Solve for y
x+5y=3y=3x+5 Result: f−1(x)=3x+5
Example: Find the inverse of f(x)=x3+2.
Step 1: y=x3+2
Step 2: x=y3+2
Step 3: Solve for y
x−2y=y3=3x−2 Result: f−1(x)=3x−2
Not All Functions Have Inverses
For a function to have an inverse, it must be one-to-one: each output comes from exactly one input.
One-to-one: f(x)=2x+1 ✓ (every y-value comes from one x-value)
Not one-to-one: f(x)=x2 ✗ (both x=2 and x=−2 give y=4)
The Horizontal Line Test
A function has an inverse if and only if every horizontal line crosses its graph at most once.
- f(x)=x3 passes → has an inverse
- f(x)=x2 fails → no inverse (unless we restrict the domain)
Restricting the Domain
We can create an inverse by limiting the domain.
f(x)=x2 has no inverse on all real numbers.
But f(x)=x2 for x≥0 does have an inverse: f−1(x)=x
We restricted to the right half of the parabola, making it one-to-one.
Graphs of Inverse Functions
The graph of f−1 is the reflection of the graph of f across the line y=x.
This makes sense: if (a,b) is on the graph of f, then (b,a) is on the graph of f−1.
Domain and Range Swap
For f and f−1:
- Domain of f = Range of f−1
- Range of f = Domain of f−1
Example: f(x)=x has domain [0,∞) and range [0,∞).
Its inverse f−1(x)=x2 (for x≥0) has domain [0,∞) and range [0,∞).