Inverse
Functions
Learn how to reverse the action of a function, verify inverse pairs with composition, and determine when an inverse exists.
What Is an Inverse Function?
A function \( f \) takes an input \( x \) and produces an output \( y \). An inverse function \( f^{-1} \) reverses this process: it takes \( y \) back to \( x \).
Reflection Across \( y = x \)
Graphically, \( f^{-1} \) is the reflection of \( f \) over the line \( y = x \). Every point \( (a, b) \) on \( f \) becomes \( (b, a) \) on \( f^{-1} \).
Domain and Range Swap
When you find the inverse, the domain of \( f \) becomes the range of \( f^{-1} \), and vice versa. This is because inputs and outputs trade roles.
The Composition Verification
Two functions \( f \) and \( g \) are inverses if and only if both compositions return the input:
One-to-One and the Horizontal Line Test
A function has an inverse only if it is one-to-one: each output corresponds to exactly one input. To check graphically, use the Horizontal Line Test.
\( f^{-1}(x) \) vs. \( \frac{1}{f(x)} \)
These two expressions look similar but mean completely different things. This is the most common source of confusion with inverse notation.
| \( f^{-1}(x) \) | \( \frac{1}{f(x)} \) | |
|---|---|---|
| Meaning | Inverse function | Reciprocal of the output |
| Operation | Undoes \( f \) | Divides 1 by \( f(x) \) |
| Example | \( f(x) = 2x \Rightarrow f^{-1}(x) = \frac{x}{2} \) | \( f(x) = 2x \Rightarrow \frac{1}{f(x)} = \frac{1}{2x} \) |
| Key test | \( f(f^{-1}(x)) = x \) | \( f(x) \cdot \frac{1}{f(x)} = 1 \) |
Finding an Inverse Algebraically
Example 1: Linear Function
Find the inverse of \( f(x) = 3x + 5 \).
Example 2: Rational Function
Find the inverse of \( f(x) = \frac{2x + 1}{x - 3} \), where \( x \neq 3 \).
Example 3: Restricted Domain
Find the inverse of \( f(x) = x^2 - 4 \) for \( x \geq 0 \).
Graphing \( f \) and \( f^{-1} \)
Restricting Domains to Create Inverses
When a function is not one-to-one, we can restrict its domain so that the restricted version is one-to-one and has an inverse.
Common Mistakes to Avoid
Summary of Key Concepts
| Concept | What to Remember |
|---|---|
| Definition | \( f^{-1} \) undoes \( f \): if \( f(a) = b \), then \( f^{-1}(b) = a \) |
| Verification | \( f(f^{-1}(x)) = x \) and \( f^{-1}(f(x)) = x \) |
| Graph | Reflect over \( y = x \): swap \( (a,b) \leftrightarrow (b,a) \) |
| Domain/Range | Domain of \( f \) = Range of \( f^{-1} \), and vice versa |
| Existence | \( f \) must be one-to-one (pass the Horizontal Line Test) |
| Algebraic Method | Replace \( f(x) \) with \( y \), swap \( x \) and \( y \), solve for \( y \) |
Worked practice: Practice Problems — cooling substance
Work through this original lesson problem, then reveal the solution and illustrations.
A scientist models the temperature T (in °C) of a cooling substance as T(t) = 25 + 80 · (0.5)t/10, where t is time in minutes and t ≥ 0. Find the inverse function T−1(T) that gives the time at which the substance reaches a given temperature. Then determine how many minutes it takes for the substance to cool to 45°C.
Show answer and explanation
Point 1 (Setup — Swap variables and identify goal): Starting from T = 25 + 80 · (0.5)^(t/10), the goal is to solve for t in terms of T. To find the inverse, swap the roles of the input and output: the original function takes time t and outputs temperature T, so the inverse takes temperature T and outputs time t. Point 2 (Isolate the exponential expression): Subtract 25 from both sides: T − 25 = 80 · (0.5)^(t/10). Divide both sides by 80: (T − 25)/80 = (0.5)^(t/10). This correctly isolates the exponential term on one side of the equation. Point 3 (Apply logarithm and solve for t): Take the logarithm base 0.5 of both sides: log₀.₅((T − 25)/80) = t/10. Multiply both sides by 10: t = 10 · log₀.₅((T − 25)/80). Using the change-of-base formula, this can be rewritten as t = 10 · ln((T − 25)/80) / ln(0.5). Therefore the inverse function is T⁻¹(T) = 10 · ln((T − 25)/80) / ln(0.5), with domain 25 < T ≤ 105 (the range of the original function for t ≥ 0). In particular, T = 105 gives t = 0. The temperature approaches 25°C but never reaches it at finite time. Point 4 (Evaluate the inverse at T = 45°C): Substitute T = 45 into the inverse function: t = 10 · ln((45 − 25)/80) / ln(0.5) = 10 · ln(20/80) / ln(0.5) = 10 · ln(0.25) / ln(0.5). Since ln(0.25) = ln(1/4) = −2 ln(2) and ln(0.5) = −ln(2), we get t = 10 · (−2 ln(2)) / (−ln(2)) = 10 · 2 = 20 minutes. The substance reaches 45°C after exactly 20 minutes. Verification: Substituting t = 20 back into the original function: T(20) = 25 + 80 · (0.5)^(20/10) = 25 + 80 · (0.5)² = 25 + 80 · 0.25 = 25 + 20 = 45°C. ✓

Question 1 of 5
If \( f(x) = 4x - 7 \), what is \( f^{-1}(x) \)?
Question 2 of 5
Which condition guarantees that a function \( f \) has an inverse that is also a function?
Question 3 of 5
If \( f(3) = 10 \), what is \( f^{-1}(10) \)?
Question 4 of 5
What is the inverse of \( g(x) = \frac{x+5}{2} \)?
Question 5 of 5
The graph of \( f^{-1} \) is obtained from the graph of \( f \) by reflecting over which line?