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:

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.

x y y = x (1, 3) on f (3, 1) on f⁻¹ f: exponential f⁻¹: hàm log
Reflecting across $y=x$ swaps the coordinates; it is not a top-to-bottom flip. The point $(1,3)$ of $f$ swaps its two coordinates to become $(3,1)$ of $f^{-1}$; the segment joining the two points is always perpendicular to $y=x$. A consequence the exam likes to ask: the horizontal asymptote of an exponential function ($y=0$) reflects into the vertical asymptote of the log function ($x=0$). Every property of $f$ has a $90^\circ$-rotated version in $f^{-1}$.

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.

Common mistake

The notation $f^{-1}(x)$ is not $\dfrac{1}{f(x)}$. AP plants this reciprocal option in almost every inverse-function question. A subtler second trap: finding the formula for $f^{-1}$ and forgetting to state the domain, when that domain must be copied from the range of $f$ and not read from the new formula.

Key takeaway

Invertible = strictly monotonic. The graph of $f^{-1}$ = the graph of $f$ seen in the mirror $y=x$, so everything trades places: point $(a,b)\to(b,a)$, domain ↔ range, horizontal asymptote ↔ vertical asymptote.

← Composition of Functions · All AP Precalculus lessons · Practice AP Precalculus questions (free, instant scoring) · Logarithmic Expressions and Functions →