AP Precalculus · Unit 2 · Topic 2.8

    2.8 Inverse Functions

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    The inverse f−1f^{-1} reverses ff: if f(a)=bf(a) = b, then f−1(b)=af^{-1}(b) = a, and f(f−1(x))=f−1(f(x))=xf(f^{-1}(x)) = f^{-1}(f(x)) = x. An inverse function exists only if each output of ff comes from exactly one input (ff is one-to-one); otherwise, restrict the domain. The graph of f−1f^{-1} is the reflection of the graph of ff in the line y=xy = x, and the domain and range swap.

    What you need to know

    • Find values of an inverse function from a table or graph.
    • Find an inverse function algebraically by swapping input and output and solving.
    • Decide whether a function has an inverse, and restrict its domain when needed.
    • Relate the graphs, domains and ranges of a function and its inverse.

    Undoing a function

    A function maps inputs to outputs; its inverse maps them back. If f(2)=7f(2) = 7, then f−1(7)=2f^{-1}(7) = 2. Every input–output pair (a,b)(a, b) of ff becomes the pair (b,a)(b, a) of f−1f^{-1}. Composing them in either order gives the identity function: f−1(f(x))=xf^{-1}(f(x)) = x for xx in the domain of ff, and f(f−1(x))=xf(f^{-1}(x)) = x for xx in the domain of f−1f^{-1}.

    Finding an inverse algebraically

    Write y=f(x)y = f(x), swap xx and yy, and solve for yy. For f(x)=2x+3f(x) = 2x + 3:

    x=2y+3  ⇒  y=x−32  ⇒  f−1(x)=x−32x = 2y + 3 \;\Rightarrow\; y = \frac{x - 3}{2} \;\Rightarrow\; f^{-1}(x) = \frac{x - 3}{2}

    Check: f−1(f(4))=f−1(11)=82=4f^{-1}(f(4)) = f^{-1}(11) = \frac{8}{2} = 4. In words, ff doubles then adds 3, so its inverse subtracts 3 then halves: the steps are undone in reverse order.

    When an inverse exists

    g(x)=(x−1)2g(x) = (x - 1)^2 gives g(0)=1g(0) = 1 and g(2)=1g(2) = 1. Its inverse would have to send 1 back to both 0 and 2, which is not a function. A function has an inverse only if it is one-to-one: no output is repeated. On a graph, no horizontal line meets it more than once. Functions that are always increasing or always decreasing are one-to-one.

    To get an inverse anyway, restrict the domain to a piece where the function is one-to-one. On x≥1x \ge 1, gg is increasing. Swapping and solving, x=(y−1)2x = (y - 1)^2 gives y=1+xy = 1 + \sqrt{x} (the positive root, because y≥1y \ge 1). So g−1(x)=1+xg^{-1}(x) = 1 + \sqrt{x}, with domain x≥0x \ge 0, the range of the restricted gg.

    A function and its inverse are reflections in y = x: the point (3, 4) on g becomes (4, 3) on g⁻¹.

    Inverses from a table. If a table gives f(1)=4f(1) = 4, f(2)=7f(2) = 7, f(3)=12f(3) = 12 and f(4)=19f(4) = 19, then the inverse simply reverses each pair: f−1(4)=1f^{-1}(4) = 1, f−1(7)=2f^{-1}(7) = 2, f−1(12)=3f^{-1}(12) = 3 and f−1(19)=4f^{-1}(19) = 4. Because every output in this table appears once, ff is one-to-one on these inputs. If an output appeared twice, for example f(1)=f(4)=4f(1) = f(4) = 4, the inverse would not be a function on that table, which is exactly the situation that forces a restricted domain.

    Key terms

    Inverse function
    f−1f^{-1}, with f−1(b)=af^{-1}(b) = a whenever f(a)=bf(a) = b.
    One-to-one
    Each output comes from exactly one input; required for an inverse function.
    Restricted domain
    A smaller domain chosen so that a function becomes one-to-one.
    Reflection in y = x
    Swapping the coordinates of every point; it turns the graph of f into the graph of f−1f^{-1}.

    Common mistakes

    • Writing f−1(x)=1f(x)f^{-1}(x) = \frac{1}{f(x)}.

      The inverse undoes f; it is not the reciprocal.

    • Forgetting to restrict the domain of a function that is not one-to-one.

      State a domain on which f is one-to-one before inverting.

    • Keeping both ± roots when inverting a restricted quadratic.

      Choose the sign that matches the restricted range.

    How this topic is tested

    • Show the swap-and-solve steps.
    • State the domain of the inverse: it is the range of the original.
    • Verify with one point: if f(a) = b, check that f−1(b)=af^{-1}(b) = a.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 2 · Multiple Representations

      If f(5)=−2f(5) = -2, which must be true?

    2. Question 2 · MP 1 · Procedural and Symbolic Fluency

      What is the inverse of f(x)=x+43f(x) = \frac{x + 4}{3}?

    3. Question 3 · MP 3 · Communication and Reasoning

      Which function does NOT have an inverse function on all real numbers?

    4. Question 4 · MP 2 · Multiple Representations

      A function f has domain x≥2x \ge 2 and range y≤7y \le 7. What are the domain and range of f−1f^{-1}?

    5. Question 5 · MP 2 · Multiple Representations

      The point (−3, 8) is on the graph of f. Which point is on the graph of f−1f^{-1}?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Function Concepts (short) · 4 points

    Let g(x)=(x−1)2g(x) = (x - 1)^2 for x≥1x \ge 1.

    1. (a) Find an expression for g−1(x)g^{-1}(x). Show your work.
    2. (b) Give the domain of g−1g^{-1} and explain why gg needed a restricted domain to have an inverse.

    Connected topics

    Frequently asked questions

    How do I check my inverse?

    Compose: if f(f−1(x))=xf(f^{-1}(x)) = x, and you can also test a point, it is right.

    Is every function's inverse also a function?

    Only if the original is one-to-one. That is why domains are restricted for quadratics and, in Unit 3, for sine and cosine.

    What does an inverse mean in context?

    It answers the reverse question. If C(t) gives temperature at time t, then C−1(30)C^{-1}(30) is the time at which the temperature is 30.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsUnit 2 is one of the 3 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 2 cheat sheet

    Every topic in Unit 2: Exponential and Logarithmic Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Precalculus practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 2 practice test: 75 questions with explanations

    All topics in Unit 2: Exponential and Logarithmic Functions

    1. 2.1 Change in Arithmetic and Geometric Sequences
    2. 2.2 Change in Linear and Exponential Functions
    3. 2.3 Exponential Functions
    4. 2.4 Exponential Function Manipulation
    5. 2.5 Exponential Function Context and Data Modeling
    6. 2.6 Competing Function Model Validation
    7. 2.7 Composition of Functions
    8. 2.8 Inverse Functions
    9. 2.9 Logarithmic Expressions
    10. 2.10 Inverses of Exponential Functions
    11. 2.11 Logarithmic Functions
    12. 2.12 Logarithmic Function Manipulation
    13. 2.13 Exponential and Logarithmic Equations and Inequalities
    14. 2.14 Logarithmic Function Context and Data Modeling
    15. 2.15 Semi-log Plots

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.