Updated July 2026 with College Board AP Precalculus course guidance

AP Precalculus: Inverse Functions

Inverse functions reverse a mapping. If \(f\) sends an input \(a\) to an output \(b\), then \(f^{-1}\) sends \(b\) back to \(a\). This page explains inverse functions for AP Precalculus using formulas, graphs, tables, domain restrictions, composition checks, exponential-logarithmic inverse relationships, inverse trigonometric functions, and worked examples. It is built as a focused inverse-functions guide, not a generic formula sheet.

AP Precalculus Alignment for Inverse Functions

Inverse functions sit in the middle of AP Precalculus, not at the edge. College Board's public AP Precalculus course page says Units 1, 2, and 3 are assessed on the end-of-course AP Exam, while Unit 4 is not assessed. Inverse functions belong most directly to Unit 2, Exponential and Logarithmic Functions, because students use composition, inverses, exponential functions, logarithmic functions, and equations built from inverse relationships. They also reappear in Unit 3 through inverse trigonometric functions and trigonometric equation solving.

That means this page should not be only "swap \(x\) and \(y\)." The Course and Exam Description emphasizes conceptual development: inverse functions reverse a mapping, input and output roles change, function composition can verify inverse relationships, and domain restrictions matter. The official AP Students page also describes Unit 2 as deepening understanding of inverses through exponential and logarithmic functions, and lists composing functions and finding inverses as a topic in that unit. This page follows that structure.

The AP Precalculus framework also includes mathematical practices. Inverse functions touch all three. Procedural and symbolic fluency appears when you solve for an inverse formula. Multiple representations appear when you read inverses from graphs, tables, formulas, and verbal models. Communication and reasoning appears when you explain why a function is one-to-one, why a restricted domain is required, or why \(f^{-1}(x)\) is not the same as \(\dfrac{1}{f(x)}\).

AP area How inverse functions appear What this guide covers
Unit 2: Composition of Functions Composite functions use the output of one function as the input of another. Composition notation, identity function, and checking inverses with both composition orders.
Unit 2: Inverse Functions Functions must be invertible on a domain; inverse functions reverse mappings. One-to-one tests, horizontal line test, domain/range swap, tables, graphs, and formulas.
Unit 2: Exponential and Logarithmic Functions Logarithmic functions are inverse functions of exponential functions. Exponential-log conversion, transformed exponential and log inverse routines, and domain conditions.
Unit 3: Inverse Trigonometric Functions Trig functions need restricted domains to define inverse trig functions. Arcsine, arccosine, arctangent, principal ranges, and notation warnings.
AP FRQ and MCQ reasoning Students must connect symbolic, graphical, numerical, and verbal representations. AP-style explanation routines, common mistakes, and practice problems.

Page intent

Use this page when the next skill is specifically inverse functions. Use Function Concepts for the broader language of domain, range, notation and graph reading. Use AP Precalculus Formula Hub for a full formula sheet. Use Differentiating Inverse Functions only when you have moved into AP Calculus inverse derivative work.

What an Inverse Function Means

An inverse function reverses another function's input-output relationship. If the original function sends an input to an output, the inverse function sends that output back to the original input. In symbols, if \(f(a)=b\), then \(f^{-1}(b)=a\). This is the cleanest definition because it works for formulas, tables, graphs, and contexts.

Inverse relationship \(f(a)=b \iff f^{-1}(b)=a\)

Think of a function as a machine with a direction. If \(f(x)=2x+3\), the machine first multiplies the input by 2 and then adds 3. To reverse the machine, the inverse must undo the last operation first: subtract 3, then divide by 2. That gives \(f^{-1}(x)=\dfrac{x-3}{2}\). The inverse is not found by doing random opposite operations; it is found by reversing the mapping in the correct order.

For AP Precalculus, this reverse-mapping idea is more important than a shortcut. The Course and Exam Description warns that simply applying the "swap \(x\) and \(y\), solve for \(y\)" procedure can create misconceptions if students do not understand how the roles of independent and dependent variables reverse. If a context says \(C(n)\) gives cost in dollars for \(n\) items, then \(C^{-1}(d)\) would give the number of items associated with a cost of \(d\) dollars, when such an inverse makes sense. The units reverse too: the input to the inverse is dollars, and the output is items.

Forward function

\(f\) answers: given this input, what output is produced?

\(a \mapsto b\)

Inverse function

\(f^{-1}\) answers: given this output, what input produced it?

\(b \mapsto a\)

That reverse question is exactly why inverse functions are useful. If a model predicts height from time, an inverse model can help estimate time from height. If an exponential model predicts population from years, a logarithmic inverse can solve for the year when a target population is reached. If a sine function gives a ratio from an angle, inverse sine can recover an angle in a restricted interval. The inverse function is a way to solve backward through a relationship.

Inverse Notation and the Reciprocal Mistake

The notation \(f^{-1}(x)\) means "the inverse function of \(f\) evaluated at \(x\)." It does not mean \(\dfrac{1}{f(x)}\). This is one of the highest-cost notation mistakes in precalculus because the same superscript \(-1\) has different meanings in different settings. In function notation, \(f^{-1}\) names an inverse mapping. In ordinary exponent notation, \(x^{-1}\) means a reciprocal. Context decides the meaning.

Notation warning \(f^{-1}(x)\ne\dfrac{1}{f(x)}\)

For example, let \(f(x)=x+5\). The inverse function is \(f^{-1}(x)=x-5\), because it reverses adding 5. The reciprocal function is \(\dfrac{1}{f(x)}=\dfrac{1}{x+5}\). These are different functions with different graphs, different domains, and different meanings. If a student confuses them, the rest of the problem usually collapses.

The same warning appears with inverse trigonometric notation. The expression \(\sin^{-1}(x)\) usually means \(\arcsin(x)\), the inverse sine function. It does not mean \(\dfrac{1}{\sin x}\). The reciprocal of sine is cosecant, written \(\csc x\). College Board's 2024 Chief Reader Report for AP Precalculus specifically noted misunderstanding of \(\tan^{-1}x\) as a reciprocal-type expression as a misconception in symbolic manipulation. That is why this page repeats the distinction.

Inverse trig warning \(\sin^{-1}(x)=\arcsin(x)\), but \(\dfrac{1}{\sin x}=\csc x\)

A reliable habit is to say the notation aloud. Say "inverse function of \(f\)" for \(f^{-1}\). Say "reciprocal of \(f(x)\)" for \(\dfrac{1}{f(x)}\). Say "arcsine" or "inverse sine" for \(\sin^{-1}(x)\), and say "cosecant" for \(\dfrac{1}{\sin x}\). Clear language prevents algebra errors.

One-to-One Functions and the Horizontal Line Test

Not every function has an inverse function. Every function has an inverse relation if you swap all ordered pairs, but that inverse relation may fail to be a function. For the inverse relation to be a function, the original function must be one-to-one. A one-to-one function never uses the same output for two different inputs.

One-to-one condition If \(a\ne b\), then \(f(a)\ne f(b)\).

Graphically, a one-to-one function passes the horizontal line test. If any horizontal line intersects the graph more than once, one output value came from more than one input. After swapping coordinates, that one input in the inverse relation would have more than one output, so the inverse would not be a function.

Test Question it answers Result
Vertical line test Is the original graph a function of \(x\)? No vertical line may hit the graph more than once.
Horizontal line test Does the function have an inverse function? No horizontal line may hit the graph more than once.

The function \(f(x)=x^2\) on all real numbers passes the vertical line test, so it is a function. But it fails the horizontal line test because \(f(2)=4\) and \(f(-2)=4\). When the output 4 is reversed, the inverse relation would need to send 4 to both 2 and \(-2\). That violates the definition of a function. To create an inverse function, the domain of the original quadratic must be restricted to one branch, such as \(x\ge 0\) or \(x\le 0\).

This is not just a graphing issue. It is a modeling issue. If a model's output does not identify a unique input, then the inverse question is ambiguous. If a height model gives the same height at two different times, asking "what time did the object have this height?" may have two answers. The inverse relation may still be useful, but it is not a function unless the context or domain restriction selects one branch.

Domain and Range Swap

Inverse functions swap inputs and outputs. Therefore, the domain of the original function becomes the range of the inverse, and the range of the original function becomes the domain of the inverse. This rule is easy to state but easy to ignore. In AP Precalculus, the domain and range are often part of the answer, especially for restricted functions, logarithmic functions, inverse trigonometric functions, and contextual models.

Domain-range swap \(\text{Domain of }f=\text{Range of }f^{-1}\), \(\quad \text{Range of }f=\text{Domain of }f^{-1}\)

Consider \(f(x)=e^x\). Its domain is all real numbers and its range is \((0,\infty)\). The inverse is \(f^{-1}(x)=\ln x\). Therefore, \(\ln x\) has domain \((0,\infty)\) and range all real numbers. The logarithm domain is not an arbitrary rule; it comes from the range of the exponential function.

For a restricted quadratic, the swap is just as important. Let \(f(x)=(x-3)^2+2\) with domain \(x\ge 3\). The range is \([2,\infty)\). Its inverse is \(f^{-1}(x)=3+\sqrt{x-2}\), with domain \([2,\infty)\) and range \([3,\infty)\). If you give only \(3+\sqrt{x-2}\) without the domain, the answer is incomplete in many AP-style settings because the restriction explains why the positive square-root branch is chosen.

Restriction warning

When a function is not one-to-one on its natural domain, the inverse formula depends on the chosen branch. State the original restriction and the inverse domain/range clearly.

How to Find an Inverse Function Algebraically

The common algebraic routine for inverse functions is useful when it is supported by meaning. The routine is not "magic." Writing \(y=f(x)\), swapping \(x\) and \(y\), and solving for \(y\) is a symbolic way to reverse inputs and outputs. It should be paired with a one-to-one check and a domain/range check.

Step 1: Write the function as \(y=f(x)\). This makes the output variable visible.

Step 2: Check whether the function is one-to-one on the intended domain. If not, restrict the domain before finding an inverse function.

Step 3: Swap \(x\) and \(y\). This reverses the input-output relationship.

Step 4: Solve for \(y\). Use inverse operations in the reverse order of the original mapping.

Step 5: Rename \(y\) as \(f^{-1}(x)\), then state the domain and range.

Step 6: Verify with composition or with a test input-output pair.

Algebraic routine \(y=f(x)\quad\rightarrow\quad x=f(y)\quad\rightarrow\quad y=f^{-1}(x)\)

Linear example

Find the inverse of \(f(x)=4x-7\). Start with \(y=4x-7\). Swap the variables: \(x=4y-7\). Solve for \(y\): \(x+7=4y\), so \(y=\dfrac{x+7}{4}\). Therefore \(f^{-1}(x)=\dfrac{x+7}{4}\). Because \(f\) is a nonconstant linear function, its domain and range are both all real numbers, and the inverse also has domain and range all real numbers.

\(f^{-1}(x)=\dfrac{x+7}{4}\)

The inverse operation view gives the same result. The original function multiplies by 4 and subtracts 7. To reverse it, add 7 and divide by 4. That is exactly \(\dfrac{x+7}{4}\).

Composition Check and the Identity Function

Composition is the strongest way to verify inverse functions. If \(f\) and \(g\) are inverses, then applying one after the other returns the original input. The output is the identity function, which is the function \(I(x)=x\). College Board's 2026 clarification document explicitly corrected and emphasized the identity function in composition language, so it is worth treating carefully.

Inverse composition check \(f(f^{-1}(x))=x\quad\text{and}\quad f^{-1}(f(x))=x\)

Both directions matter because they check both possible domains. Sometimes a composition simplifies to \(x\) algebraically, but restrictions still matter. For functions with restricted domains, the statement should be read as "equals \(x\) on the appropriate domain." If the original domain or inverse domain is ignored, a composition check can look more general than it really is.

Composition verification example

Let \(f(x)=\dfrac{x-2}{3}\) and \(g(x)=3x+2\). Check whether they are inverses.

\[ f(g(x))=f(3x+2)=\dfrac{(3x+2)-2}{3}=\dfrac{3x}{3}=x \]
\[ g(f(x))=g\left(\dfrac{x-2}{3}\right)=3\left(\dfrac{x-2}{3}\right)+2=x-2+2=x \]

Because both compositions produce the identity function, \(g=f^{-1}\) and \(f=g^{-1}\). Notice how the composition work also prevents a common mistake: if a student accidentally writes \(g(x)=3x-2\), one direction will fail.

Inverse Function Graphs

The graph of an inverse function is the reflection of the original graph across the line \(y=x\). This follows from coordinate swapping. If the point \((a,b)\) lies on the graph of \(f\), then \((b,a)\) lies on the graph of \(f^{-1}\). The line \(y=x\) is the mirror because every point on that line has equal coordinates.

Graph rule \((a,b)\text{ on }f \iff (b,a)\text{ on }f^{-1}\)

Graph interpretation is especially important in AP Precalculus because students are expected to work across representations. You might not be given an equation. A problem may show a graph of \(f\) and ask for \(f^{-1}(2)\). The correct routine is not to draw the whole inverse graph first. Instead, ask: what input to \(f\) gives output 2? In other words, find the \(x\)-value where \(f(x)=2\). That \(x\)-value is \(f^{-1}(2)\).

When graphing by reflection, keep the axes meaningful. If the original function has input measured in seconds and output measured in meters, the inverse function has input measured in meters and output measured in seconds. A reflected graph is not just visually flipped; the variables and units have changed roles. This is one reason the College Board CED warns against treating the swap procedure as a mindless shortcut.

Original feature Inverse feature Reason
Point \((a,b)\) Point \((b,a)\) Inputs and outputs swap.
Domain of \(f\) Range of \(f^{-1}\) Original inputs become inverse outputs.
Range of \(f\) Domain of \(f^{-1}\) Original outputs become inverse inputs.
Horizontal asymptote \(y=k\) Vertical asymptote \(x=k\) Reflection across \(y=x\) swaps horizontal and vertical roles.
Vertical asymptote \(x=h\) Horizontal asymptote \(y=h\) Again, \(x\)- and \(y\)-roles reverse.

Inverse Functions from Tables and Contexts

Tables make inverse functions concrete because each row is an input-output pair. To form the inverse table, swap the columns. If \(f(3)=11\), then \(f^{-1}(11)=3\). If a table has two different inputs with the same output, the inverse relation will repeat an input with two different outputs, so it will not be a function.

\(x\) \(f(x)\) Inverse statement
1 4 \(f^{-1}(4)=1\)
2 7 \(f^{-1}(7)=2\)
3 11 \(f^{-1}(11)=3\)
4 16 \(f^{-1}(16)=4\)

To evaluate \(f^{-1}(11)\) from the table, do not look for 11 in the \(x\)-column. Look for 11 in the \(f(x)\)-column, then read the corresponding \(x\)-value. This is exactly the input-output reversal. Many students miss table inverse questions because they search the wrong column.

In a context, the same rule applies with units. Suppose \(T(h)\) gives the temperature in degrees after \(h\) hours. If \(T(5)=68\), then \(T^{-1}(68)=5\), if the model is invertible on the interval being used. That statement means the temperature 68 degrees occurred at 5 hours. If the same temperature occurs at multiple times, the inverse question has multiple answers unless the domain is restricted to a time interval where the temperature is one-to-one.

Linear Inverse Function Checker

Use this small checker for linear functions of the form \(f(x)=mx+b\). It shows the inverse formula and verifies that the inverse returns the original input. This is a support tool for the concept, not a replacement for the algebraic steps.

Enter a linear function and calculate.

Worked Inverse Function Examples

The examples below use the AP routine: check whether an inverse function exists, reverse the mapping, solve, state restrictions, and verify when needed. They are intentionally different from one another because inverse-function mistakes change by function family.

Example 1: Linear inverse with all steps

Find the inverse of \(f(x)=-3x+12\).

\[ y=-3x+12 \quad\Rightarrow\quad x=-3y+12 \quad\Rightarrow\quad x-12=-3y \quad\Rightarrow\quad y=\dfrac{12-x}{3} \]

So \(f^{-1}(x)=\dfrac{12-x}{3}\). Because the original function is nonconstant linear, it is one-to-one on all real numbers. Its inverse has domain and range all real numbers.

Example 2: Quadratic inverse with restriction

Let \(f(x)=(x+2)^2-5\) with domain \(x\ge -2\). Find \(f^{-1}(x)\).

\[ y=(x+2)^2-5 \quad\Rightarrow\quad x=(y+2)^2-5 \quad\Rightarrow\quad x+5=(y+2)^2 \]

Because the original domain is \(x\ge -2\), the quantity \(y+2\) is nonnegative in the inverse-solving step. Therefore choose the positive branch:

\[ y+2=\sqrt{x+5} \quad\Rightarrow\quad f^{-1}(x)=-2+\sqrt{x+5} \]

The original range is \([-5,\infty)\), so the inverse domain is \([-5,\infty)\). The original domain is \([-2,\infty)\), so the inverse range is \([-2,\infty)\).

Example 3: Rational inverse

Find the inverse of \(f(x)=\dfrac{2x+1}{x-4}\), with \(x\ne 4\).

\[ y=\dfrac{2x+1}{x-4} \quad\Rightarrow\quad x=\dfrac{2y+1}{y-4} \]

Now solve for \(y\):

\[ x(y-4)=2y+1 \quad\Rightarrow\quad xy-4x=2y+1 \quad\Rightarrow\quad xy-2y=4x+1 \quad\Rightarrow\quad y(x-2)=4x+1 \]
\[ f^{-1}(x)=\dfrac{4x+1}{x-2} \]

The inverse domain excludes \(x=2\), which is the horizontal asymptote value of the original function. This is a good example of graph features swapping: the original horizontal asymptote \(y=2\) becomes the inverse vertical asymptote \(x=2\).

Example 4: Table inverse and one-to-one check

A function is represented by the points \((0,2)\), \((1,5)\), \((2,8)\), and \((3,11)\). Because the outputs are all distinct, the function is one-to-one on the listed domain. The inverse contains \((2,0)\), \((5,1)\), \((8,2)\), and \((11,3)\). Therefore \(f^{-1}(8)=2\) and \(f^{-1}(11)=3\).

Example 5: A function that needs a domain restriction

Let \(f(x)=x^2+1\) on all real numbers. This function does not have an inverse function on all real numbers because \(f(2)=5\) and \(f(-2)=5\). If the domain is restricted to \(x\ge 0\), then the inverse is \(f^{-1}(x)=\sqrt{x-1}\) with domain \([1,\infty)\). If the domain is restricted to \(x\le 0\), the inverse is \(f^{-1}(x)=-\sqrt{x-1}\) with the same inverse domain but a different range.

Exponential and Logarithmic Inverses

One of the main AP Precalculus reasons to learn inverse functions is to understand logarithms. A logarithmic function is the inverse of an exponential function. The AP Students course page describes Unit 2 as deepening understanding of inverses through the relationship between exponential and logarithmic functions. The Course and Exam Description also explains that a strong conceptual development of inverse functions supports the graphical, numerical, and analytical relationship between exponential and logarithmic functions.

Exponential-log inverse relationship \(y=b^x \iff x=\log_b(y)\), where \(b\gt 0\) and \(b\ne 1\)

The logarithm \(\log_b(y)\) answers the question: what exponent on \(b\) gives \(y\)? If \(2^3=8\), then \(\log_2(8)=3\). The exponential sends 3 to 8; the logarithm sends 8 back to 3. That is the inverse function idea in its most important Unit 2 form.

\(2^3=8 \iff \log_2(8)=3\)

The domain-range swap explains logarithm restrictions. The exponential function \(b^x\) has domain all real numbers and range \((0,\infty)\). Therefore the logarithmic inverse \(\log_b x\) has domain \((0,\infty)\) and range all real numbers. A logarithm argument must be positive because it is an output from an exponential function.

Transformed exponential inverse

Suppose \(f(x)=3\cdot 2^{x-4}+5\). Find \(f^{-1}(x)\). The 2026 AP Precalculus clarification document says the inverse of transformed exponential and logarithmic functions can be found by determining inverse operations to reverse the mapping. Use that idea here.

\[ y=3\cdot 2^{x-4}+5 \quad\Rightarrow\quad y-5=3\cdot 2^{x-4} \quad\Rightarrow\quad \dfrac{y-5}{3}=2^{x-4} \]
\[ \log_2\left(\dfrac{y-5}{3}\right)=x-4 \quad\Rightarrow\quad x=4+\log_2\left(\dfrac{y-5}{3}\right) \]

After swapping the final variable name, the inverse is:

\[ f^{-1}(x)=4+\log_2\left(\dfrac{x-5}{3}\right) \]

The inverse domain is \(x\gt 5\), because the original exponential range is \((5,\infty)\). This restriction also appears from the logarithm argument: \(\dfrac{x-5}{3}\gt 0\), so \(x\gt 5\).

For deeper Unit 2 work, use Exponential Functions, Logarithmic Functions, and Exponential & Log Equations. This page explains the inverse-function concept that connects those pages.

Inverse Trigonometric Functions

Inverse trigonometric functions are another major AP Precalculus use of inverse-function reasoning. The basic sine, cosine, and tangent functions are not one-to-one on their full repeating domains. Because they are periodic, the same output occurs again and again. To define inverse trigonometric functions, each original trig function must be restricted to a principal interval where it is one-to-one.

Inverse trig function Input domain Principal output range Meaning
\(\arcsin x\) or \(\sin^{-1}x\) \([-1,1]\) \(\left[-\dfrac{\pi}{2},\dfrac{\pi}{2}\right]\) The angle in the principal sine interval whose sine is \(x\).
\(\arccos x\) or \(\cos^{-1}x\) \([-1,1]\) \([0,\pi]\) The angle in the principal cosine interval whose cosine is \(x\).
\(\arctan x\) or \(\tan^{-1}x\) \((-\infty,\infty)\) \(\left(-\dfrac{\pi}{2},\dfrac{\pi}{2}\right)\) The angle in the principal tangent interval whose tangent is \(x\).

The output of an inverse trig function is an angle. For example, \(\arcsin\left(\dfrac{1}{2}\right)=\dfrac{\pi}{6}\) because \(\sin\left(\dfrac{\pi}{6}\right)=\dfrac{1}{2}\), and \(\dfrac{\pi}{6}\) lies in the principal arcsine range. There are many angles with sine \(\dfrac{1}{2}\), but inverse sine returns the principal value, not every solution to a trigonometric equation.

\[ \arcsin\left(\dfrac{1}{2}\right)=\dfrac{\pi}{6} \]

This distinction matters in equation solving. If the task is to evaluate \(\arcsin\left(\dfrac{1}{2}\right)\), give the principal value. If the task is to solve \(\sin x=\dfrac{1}{2}\) on an interval such as \([0,2\pi)\), list all solutions in that interval. The inverse trig function helps find a reference value, but periodicity may create additional solutions.

Use Trigonometric Functions for sine, cosine, tangent and graph basics, Trigonometric Identities for rewriting expressions, and Trigonometric Function Visualizer for graph exploration.

Representation Drills for AP Inverse Functions

AP Precalculus does not ask inverse-function questions in only one format. The same idea can appear as a graph-reading question, a table question, an algebraic manipulation question, a logarithmic equation, or a contextual interpretation. A student who can find \(f^{-1}(x)\) algebraically may still lose points if the inverse is given by a table or if the question asks for an interpretation instead of a formula. Use the drills below to connect the representations.

Drill 1: From notation to a sentence

Suppose \(P(t)\) gives the population, in thousands, \(t\) years after 2020. The statement \(P(6)=84\) means that 6 years after 2020, the population is 84 thousand. The inverse statement \(P^{-1}(84)=6\) means that a population of 84 thousand occurs 6 years after 2020, assuming the model is one-to-one on the time interval being used. A strong AP answer must include the units: \(P^{-1}\) accepts population as its input and returns time as its output.

This is why inverse functions are not just algebra. In the original model, time is the independent variable and population is the dependent variable. In the inverse model, population is the independent variable and time is the dependent variable. If the population rises, falls, and rises again, the inverse may not be a function over the full interval. The model might need a restricted time interval before the inverse interpretation is unique.

Drill 2: From a table to inverse values

Suppose a table gives \(f(0)=3\), \(f(1)=5\), \(f(2)=9\), and \(f(3)=15\). To find \(f^{-1}(9)\), search the output values \(3,5,9,15\). The output 9 occurs when the input is 2, so \(f^{-1}(9)=2\). To decide whether the inverse is a function on the listed domain, check for repeated outputs. This table has no repeated outputs, so the inverse relation is a function on the listed set.

Now change the table: \(g(0)=4\), \(g(1)=7\), \(g(2)=7\), and \(g(3)=10\). The original relation can still be a function because each input has one output. But the inverse relation is not a function because the output 7 is produced by two different inputs, 1 and 2. After swapping, the inverse relation would contain \((7,1)\) and \((7,2)\). One inverse input would have two outputs. That is a table version of failing the horizontal line test.

Drill 3: From a graph to \(f^{-1}(b)\)

If a problem asks for \(f^{-1}(b)\) from a graph, do not start by trying to sketch the entire inverse. The value \(f^{-1}(b)\) means the input to \(f\) that produces output \(b\). On the graph of \(f\), draw or imagine the horizontal line \(y=b\). The \(x\)-coordinate of the intersection is the answer. If the horizontal line intersects the graph more than once, then \(f^{-1}(b)\) is not a single value unless the domain has been restricted.

For example, if a graph of \(f\) passes through \((-1,6)\), \((2,6)\), and \((5,10)\), then \(f^{-1}(6)\) would be both \(-1\) and \(2\) on that displayed domain. That means the inverse relation is not a function on the displayed domain. If the problem restricts the domain to \(x\ge 0\), then \(f^{-1}(6)=2\). The inverse value depends on the domain being used.

Drill 4: From an equation to an inverse operation

Many inverse-function questions are disguised as equation-solving questions. Solving \(3\cdot 2^{x-1}+4=28\) is an inverse-operation task. Subtract 4, divide by 3, and apply a logarithm base 2:

\[ 3\cdot 2^{x-1}+4=28 \quad\Rightarrow\quad 2^{x-1}=8 \quad\Rightarrow\quad x-1=3 \quad\Rightarrow\quad x=4 \]

The equation is easy because the exponential output is a power of 2. If the equation were \(3\cdot 2^{x-1}+4=31\), the inverse operation would require \(\log_2(9)\). The conceptual move is the same: logarithms undo exponentials because logarithms are inverse functions.

Domain Restriction Playbook

Domain restrictions are the part of inverse functions that separate routine algebra from AP Precalculus reasoning. A formula can be algebraically correct but mathematically incomplete if the domain and range are wrong. The playbook below shows how to decide whether a restriction is needed and how that choice affects the inverse.

Original function family Does it usually need a restriction? Reason Inverse consequence
Nonconstant linear \(f(x)=mx+b\) No, if \(m\ne 0\) A nonconstant line passes the horizontal line test. Inverse is linear: \(f^{-1}(x)=\dfrac{x-b}{m}\).
Quadratic \(f(x)=a(x-h)^2+k\) Yes A full parabola fails the horizontal line test. Choose a left or right branch, giving a positive or negative square-root inverse.
Cubic \(f(x)=a(x-h)^3+k\), \(a\ne 0\) Usually no The basic cubic is one-to-one and has opposite end behavior. Inverse uses a cube-root expression.
Exponential \(f(x)=ab^{x-h}+k\), \(a\ne 0\), \(b\gt 0\), \(b\ne 1\) No for one-to-one behavior, but range is restricted Exponential functions are one-to-one, but outputs lie on one side of the horizontal asymptote. Inverse is logarithmic and its domain comes from the exponential range.
Logarithmic \(f(x)=a\log_b(x-h)+k\) Domain already restricted The argument must be positive, so \(x\gt h\). Inverse is exponential and its range reflects the original domain restriction.
Sine and cosine Yes Periodic behavior repeats outputs infinitely often. Inverse trig functions use principal intervals.

Branch choice example

Let \(f(x)=2(x-1)^2+3\). On all real numbers, the graph is a parabola and does not have an inverse function. If the domain is \(x\ge 1\), then the graph uses the right branch and the inverse is:

\[ f^{-1}(x)=1+\sqrt{\dfrac{x-3}{2}},\quad x\ge 3 \]

If the domain is \(x\le 1\), then the graph uses the left branch and the inverse is:

\[ f^{-1}(x)=1-\sqrt{\dfrac{x-3}{2}},\quad x\ge 3 \]

The two inverse formulas have the same inverse domain because both branches have the same original range \([3,\infty)\). They have different inverse ranges because the original domain restrictions are different. This is exactly why the domain restriction belongs in the answer.

Rational function restriction example

Rational functions can be one-to-one on their natural domains, but they still have excluded inputs and outputs. For \(f(x)=\dfrac{1}{x-2}+5\), the original domain excludes \(x=2\), and the original range excludes \(y=5\). The inverse is found by solving:

\[ y=\dfrac{1}{x-2}+5 \quad\Rightarrow\quad y-5=\dfrac{1}{x-2} \quad\Rightarrow\quad x-2=\dfrac{1}{y-5} \quad\Rightarrow\quad x=2+\dfrac{1}{y-5} \]

So \(f^{-1}(x)=2+\dfrac{1}{x-5}\). The inverse domain excludes \(x=5\), matching the original range restriction. The inverse range excludes \(y=2\), matching the original domain restriction. On the graph, the original vertical asymptote \(x=2\) and horizontal asymptote \(y=5\) swap roles under reflection across \(y=x\).

For more rational-function detail, use Rational Functions. For exponent rules that support radical and logarithmic inverses, use Rational Exponents.

AP Exam Routine for Inverse Functions

Inverse-function questions on AP Precalculus can appear in several formats: a table, a graph, an algebraic formula, an exponential-logarithmic equation, or an inverse trig equation. The best routine is stable across all of them.

1. Identify the representation. Is the function given as a formula, table, graph, context, or a mix? Do not force an algebraic method onto a table question.

2. Ask whether the function is one-to-one on the relevant domain. If the function fails the horizontal line test or repeats an output in a table, look for a stated domain restriction.

3. Reverse input and output roles. For formulas, swap variables carefully. For tables, search the output column. For graphs, reflect points or solve \(f(x)=b\) to find \(f^{-1}(b)\).

4. State domain and range. This is especially important for square-root inverses, logarithms, rational functions, and inverse trigonometric functions.

5. Verify or interpret. Use composition when a formula is involved. Use a sentence with units when a context is involved.

College Board's 2025 Chief Reader Report advised that students need facility with composition across graphical, numerical, and analytical representations, and that students need to understand that inputs and outputs swap for invertible functions. That advice is exactly what this routine practices. Do not study inverse functions as a single algebra trick. Study them as a mapping idea that can appear in multiple representations.

Common Mistakes with Inverse Functions

Mistake Why it hurts the answer Correct move
Writing \(f^{-1}(x)=\dfrac{1}{f(x)}\) Confuses inverse function notation with reciprocal notation. Use \(f^{-1}\) to reverse a mapping; use \(\dfrac{1}{f(x)}\) only for reciprocal output.
Skipping the one-to-one test The inverse relation may not be a function. Use the horizontal line test, repeated-output check, or domain restriction.
Solving the inverse but ignoring domain May choose the wrong branch or include impossible inputs. State original domain, original range, inverse domain, and inverse range when restrictions matter.
Looking in the wrong table column Evaluating \(f^{-1}(b)\) requires finding \(b\) as an output of \(f\). Search the \(f(x)\)-column first, then read the \(x\)-value.
Assuming inverse trig gives all trig equation solutions Inverse trig returns a principal value, while trig equations may have multiple solutions. Use the principal value, then apply periodicity and interval restrictions.
Forgetting units in context The inverse switches what the input and output represent. Rename units after inversion: original output units become inverse input units.

Practice Problems

Try these before opening the answers. They are short, but each one targets a common AP Precalculus inverse-function move.

1. Find the inverse of \(f(x)=5x-10\).

Write \(y=5x-10\). Swap: \(x=5y-10\). Solve: \(x+10=5y\), so \(y=\dfrac{x+10}{5}\). Therefore \(f^{-1}(x)=\dfrac{x+10}{5}\).

2. If \(f(7)=12\), what is \(f^{-1}(12)\)?

\(f^{-1}(12)=7\), because the inverse reverses the ordered pair \((7,12)\) into \((12,7)\).

3. If the graph of \(f\) contains \((3,-4)\), what point is on \(f^{-1}\)?

The inverse graph contains \((-4,3)\), because inverse functions swap coordinates.

4. Does \(f(x)=x^2\) over all real numbers have an inverse function?

No. It fails the horizontal line test because \(f(2)=4\) and \(f(-2)=4\). It needs a restriction such as \(x\ge 0\) or \(x\le 0\).

5. Find the inverse of \(f(x)=\ln(x-3)\).

Write \(y=\ln(x-3)\). Swap: \(x=\ln(y-3)\). Exponentiate: \(e^x=y-3\), so \(y=e^x+3\). Therefore \(f^{-1}(x)=e^x+3\). The original domain is \(x\gt 3\), original range is all real numbers, inverse domain is all real numbers, and inverse range is \((3,\infty)\).

6. Evaluate \(\arccos\left(\dfrac{1}{2}\right)\).

\(\arccos\left(\dfrac{1}{2}\right)=\dfrac{\pi}{3}\), because \(\cos\left(\dfrac{\pi}{3}\right)=\dfrac{1}{2}\) and \(\dfrac{\pi}{3}\) lies in the principal arccosine range \([0,\pi]\).

Official Sources Used

The AP alignment statements in this page were checked against official College Board and AP Central sources available on July 8, 2026. The formulas are standard precalculus mathematics; the course-placement, unit, exam and reader-advice details come from the official sources below.

Inverse Functions FAQs

What is an inverse function?

An inverse function reverses another function's input-output relationship. If \(f(a)=b\), then \(f^{-1}(b)=a\). It answers the reverse question: what input produced this output?

How do you find an inverse function algebraically?

Write the original function as \(y=f(x)\), check that it is one-to-one on the intended domain, swap \(x\) and \(y\), solve for \(y\), rename the result \(f^{-1}(x)\), and state the domain and range.

Is \(f^{-1}(x)\) the same as \(\dfrac{1}{f(x)}\)?

No. \(f^{-1}(x)\) is inverse-function notation. \(\dfrac{1}{f(x)}\) is reciprocal notation. For example, if \(f(x)=x+5\), then \(f^{-1}(x)=x-5\), while \(\dfrac{1}{f(x)}=\dfrac{1}{x+5}\).

How do you know if a function has an inverse function?

The function must be one-to-one on the domain being used. Graphically, it must pass the horizontal line test. Numerically, the table must not repeat an output for two different inputs.

Why does \(x^2\) need a restriction to have an inverse?

On all real numbers, \(x^2\) is not one-to-one because \(2\) and \(-2\) both produce \(4\). Restricting the domain to \(x\ge 0\) gives inverse \(\sqrt{x}\), while restricting to \(x\le 0\) gives inverse \(-\sqrt{x}\).

How are logarithms related to inverse functions?

Logarithms are inverses of exponential functions. If \(y=b^x\), then \(x=\log_b(y)\), where \(b\gt 0\) and \(b\ne 1\). The logarithm asks which exponent produces a given exponential output.

Why do inverse trigonometric functions have restricted ranges?

Sine, cosine and tangent are periodic, so they are not one-to-one on their full domains. To define inverse trig functions, each original trig function is restricted to a principal interval where it becomes one-to-one.

What AP Precalculus unit includes inverse functions?

Inverse functions are most directly part of Unit 2, Exponential and Logarithmic Functions, especially through composition, inverses, exponentials and logarithms. They also appear in Unit 3 through inverse trigonometric functions.