What is the inverse of a function, and how do you find and verify it?
Topic 2.8 Inverse Functions: determine whether a function has an inverse, find the inverse by swapping input and output, and verify an inverse using composition and the reflection over the line y = x.
A focused answer to AP Precalculus Topic 2.8, covering one-to-one functions and the horizontal line test, finding an inverse by swapping variables, verifying with composition, and the reflection over y = x.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this topic is asking
The College Board (Topic 2.8) wants you to work with inverse functions. An inverse undoes : it swaps inputs and outputs. You must decide whether a function has an inverse (it must be one-to-one, passing the horizontal line test), find the inverse by swapping and solving, and verify it using composition or the reflection over the line .
When a function has an inverse
Functions that are not one-to-one (such as over all reals) can still be inverted on a restricted domain where they are one-to-one.
Finding an inverse
The swap-and-solve routine works for any one-to-one function, including the exponential functions whose inverses are logarithms (Topics 2.10 and 2.11).
Verifying with composition
Reflection over y = x
The graph of is the mirror image of the graph of across the line . Each point on corresponds to on . This reflection explains why the domain and range swap, and it gives a quick visual check: if you reflect a function's graph over and the result is also a function (passes the vertical line test), the original was one-to-one and the reflection is its inverse.
A distinction worth stating is that the inverse function is not the reciprocal . The notation means "the function that undoes ", not " raised to the power ". For , the inverse is , while the reciprocal is , a completely different function. Keeping these apart is the single most common source of error on inverse questions, and it matters even more for exponentials, whose inverse is a logarithm rather than a reciprocal.
Try this
Q1. Does on all real numbers have an inverse? Why or why not? [1 point]
- Cue. No: it fails the horizontal line test (for example ), so it is not one-to-one over all reals.
Q2. A point lies on . What point must lie on ? [1 point]
- Cue. : the inverse swaps the coordinates.
Exam-style practice questions
Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AP 2023 (style)1 marksSection I, Part A (multiple choice, no calculator). What is the inverse of ? (A) (B) (C) (D) Show worked answer β
The correct answer is (A), .
Swap and in to get , then solve for : , so . Choice (D) is the reciprocal of , which is not the inverse; the inverse undoes the function, it does not invert its value.
AP 2024 (style)3 marksSection II (free response, calculator allowed). Let . (a) Find . (b) Verify your inverse by computing .Show worked answer β
A 3-point question on finding and verifying an inverse.
(a) Inverse (2 points): set , swap to , solve , so .
(b) Verify (1 point): . Since the composition returns , the inverse is confirmed.
Related dot points
- Topic 2.7 Composition of Functions: form the composition of two functions, evaluate it, decompose a composite function, and determine the domain of a composition.
A focused answer to AP Precalculus Topic 2.7, covering how to form and evaluate the composition of two functions, decompose a composite into inner and outer functions, and find the domain of a composition.
- Topic 2.10 Inverses of Exponential Functions: construct the inverse of an exponential function as a logarithmic function, and relate the graph, domain and range of each to the other.
A focused answer to AP Precalculus Topic 2.10, covering how the logarithm is the inverse of the exponential, finding the inverse by swapping variables, and how their graphs reflect over y = x with swapped domain and range.
- Topic 2.11 Logarithmic Functions: analyze the parent logarithmic function and its transformations, including its domain, range, vertical asymptote, and increasing or decreasing behavior.
A focused answer to AP Precalculus Topic 2.11, covering the parent logarithmic function, its domain and range, the vertical asymptote, growth versus the base, and transformations of logarithmic graphs.
- Topic 2.3 Exponential Functions: define exponential functions, describe how the base and initial value determine growth or decay, and analyze the domain, range and horizontal asymptote of the graph.
A focused answer to AP Precalculus Topic 2.3, covering the form of an exponential function, growth versus decay, the horizontal asymptote, domain and range, and the natural base e.
- Topic 1.12 Transformations of Functions: construct and analyze additive and multiplicative transformations (translations, dilations and reflections) of a function and their effect on the graph, domain and range.
A focused answer to AP Precalculus Topic 1.12, covering vertical and horizontal translations, dilations and reflections, how each changes the equation, and the effect on domain and range.
Sources & how we know this
- AP Precalculus Course and Exam Description β College Board (2023)