Inverse Functions
AP Precalculus · Logarithmic Functions and Modeling
When does an inverse exist?
A function $f$ has an inverse exactly when it is one-to-one: no output value is hit twice. Graphically this is the horizontal line test; analytically, on the AP exam, the working criterion is that $f$ is strictly monotonic (always increasing or always decreasing) on the interval in question. A function that turns around — like $x^2$ on all of $\mathbb{R}$ — must first be restricted to a monotonic piece before an inverse can be defined.
The inverse undoes $f$: $f^{-1}(b)=a \iff f(a)=b$. Three consequences carry almost every exam question:
- Domain and range swap: the domain of $f^{-1}$ is the range of $f$, and vice versa.
- The graph of $f^{-1}$ is the reflection of the graph of $f$ across the line $y=x$ — every point $(a,b)$ becomes $(b,a)$.
- Compositions cancel: $f\left(f^{-1}(x)\right)=x$ on the domain of $f^{-1}$, and $f^{-1}\left(f(x)\right)=x$ on the domain of $f$.
To find a formula: write $y=f(x)$, swap the roles of $x$ and $y$, then solve for $y$. The algebra is routine; stating the correct domain afterwards is where the points hide.
Worked example: inverting an exponential model with a shift
Let $f(x)=3\cdot 2^{\,x-1}+5$. Find $f^{-1}(x)$ and its domain.
Solution
Write $y=3\cdot 2^{\,x-1}+5$ and solve backward layer by layer, peeling from the outside in:
$$y-5=3\cdot 2^{\,x-1}\;\Rightarrow\;\frac{y-5}{3}=2^{\,x-1}\;\Rightarrow\;x-1=\log_2\!\left(\frac{y-5}{3}\right)$$Swap the variable names: $f^{-1}(x)=1+\log_2\!\left(\dfrac{x-5}{3}\right)$.
The domain of $f^{-1}$ = the range of $f$. Since $3\cdot 2^{\,x-1}>0$ for all $x$, we have $f(x)>5$ ⇒ the domain of $f^{-1}$ is $(5,\infty)$. Cross-check: the inside of the log needs $\frac{x-5}{3}>0$, which also gives $x>5$, so the two checks agree.