All AP Courses AP PrecalculusAP Precalc

Unit 2 · Topic 2.8 · about 30 minutes · 7 parts · 14 scored checks, 4 of them multiple choice, plus 2 from earlier lessons

AP Precalculus 2.8: Inverse Functions

Unit 2: 25 to 40% of the multiple-choice section

What you'll be able to do

  • Find the input-output pairs of the inverse of a function.
  • Find the inverse of a function on a domain where it is invertible.

Key vocabulary

TermWhat it meansThe exam trap
Inverse functionThe function f−1 that maps each output of f, on its invertible domain, back to its input: if f(a)=b, then f−1(b)=a.The −1 in f−1 is not an exponent, so f−1(9) is the input that f sends to 9, not 19 and not 1f(9).
InvertibleA function is invertible on a domain when each of its output values there comes from a unique input value.A function is invertible only if each output comes from one input, so q(x)=(x−3)2 is a function but is not invertible on all real numbers, since q(1) and q(5) both equal 4.
Input-output pairA pair (a,b) with f(a)=b; the inverse function has the reversed pair (b,a).The pair (a,b) on f becomes (b,a) on f−1 with the signs unchanged, so (−1,4) goes to (4,−1), not (1,−4) or (−4,1).
Identity functionThe function h(x)=x; a function composed with its inverse gives it, and its graph is the line a graph reflects over to give its inverse's graph.The graph of f−1 is the reflection of the graph of f over the line y=x, the graph of the identity function, not over the x-axis or the y-axis.
Invertible domainA domain on which a function is invertible, often found by restricting the domain to a piece where no output repeats.Saying a function has an inverse means nothing until the domain is named, because (x−3)2 restricted to x≥3 gives q−1(4)=5 while restricted to x≤3 it gives q−1(4)=1.
The graph of f(x) = (x minus 2) squared plus 1 for x at least 2, rising from (2, 1), and the graph of its inverse, 2 plus the square root of (x minus 1) for x at least 1, rising from (1, 2). The two curves cross each other on the dashed line y = x at about (3.6, 3.6). The point (4, 5) on f and the point (5, 4) on the inverse sit across the line from each other at the same distance, joined by a short dashed segment.Tap to open the picture full size

Part 1 Think first A recipe in the wrong units

Guess before you learn. A wrong guess still makes the answer stick.

Predict first

A recipe from the United States says to bake at 350 degrees Fahrenheit. Your oven only shows Celsius. To turn Celsius into Fahrenheit, you multiply by 1.8 and then add 32. About what should you set your oven to?

In short. The inverse function f−1 runs f backward: if f(a)=b, then f−1(b)=a, on a domain where every output of f comes from exactly one input.

  • A table of f−1 swaps every pair (a,b) of f to (b,a), and the graph of f−1 is the graph of f reflected over the line y=x. The domain and range trade places.
  • From a formula, swap x and y in y=f(x) and solve for y. Then f(f−1(x))=f−1(f(x))=x.
  • A function that repeats an output has no inverse until its domain is restricted, and a context can limit where the inverse makes sense.

Part 2 Learn it Four short ideas, each checked as you go

2a. Running a function backward

A function sends each input to an output. Its inverse function, written f−1, sends each output back to the input it came from. It is a reverse mapping:

if f(a)=b, then f−1(b)=a.

Here is a table for a function f.

Values of f
x01234
f(x)3591733

Since f(2)=9, you know f−1(9)=2. To get a whole table for f−1, reverse every input-output pair: (a,b) on f becomes (b,a) on f−1. The outputs of f become the inputs of f−1.

Values of f−1, the same pairs reversed
x3591733
f−1(x)01234

Read the notation carefully. The −1 in f−1 is not an exponent. f−1(9) asks which input f sends to 9. It does not mean 19, and it does not mean 1f(9).

Quick check · Fill the statement

No calculator. A function g has g(−2)=6, g(0)=4, g(1)=−1, g(3)=0 and g(5)=−3. Tap a blank, then tap an answer.

g−1(4) = and g−1(−3) = . The inputs of g−1 are the of g.

2b. When there is no way back

Some functions cannot be run backward as they stand. Take q(x)=(x−3)2. Both q(1) and q(5) equal 4. So what would q−1(4) be? It would have to be 1 and 5 at once, and a function gives each input only one output.

A function has an inverse, or is invertible, on a domain where each output value comes from a unique input value. Being a function is not enough: q gives every input one output, but two inputs share the output 4. On a graph you can see the problem as a horizontal line that crosses the graph twice.

The fix is to restrict the domain. Keep only x≥3, the right half of the parabola, where q is always increasing. Now every output from 0 upward comes from one input, and q−1(4)=5. Keeping x≤3 also works, and then q−1(4)=1. So does 4≤x≤10. A domain can be restricted in many ways. What matters is that no output repeats on the piece you keep.

That is why a statement such as "q has an inverse" means nothing until you say on which domain.

Quick check · Decide and justify

No calculator. Let p(x)=(x−1)2+2 on the domain −1≤x≤4. Is p invertible on this domain?

Which reason supports your answer?

2c. On a graph, swap the axes

Every point (a,b) on the graph of f gives the point (b,a) on the graph of f−1. Swapping the coordinates of every point is the same as swapping the roles of the x- and y-axes.

On the page, that swap is a reflection over the line y=x, which is the graph of the identity function h(x)=x. In the diagram, (4,5) on f lands at (5,4) on f−1: the same distance from the line, on the other side. Where the graph of f meets the line y=x, the graph of f−1 meets it at the same point.

The swap carries the domain and range with it. On its invertible domain, the domain of f becomes the range of f−1, and the range of f becomes the domain of f−1. In the diagram, f takes inputs x≥2 to outputs y≥1, so f−1 takes inputs x≥1 to outputs y≥2.

Quick check · Multiple choice

No calculator. The graph of an invertible function f passes through (−1,4) and (3,0). Which two points must be on the graph of f−1?

2d. With a formula, undo the steps

When f is given by a formula, write y=f(x), swap x and y, and solve for y. Swapping the letters is the algebra version of reversing every pair. Take f(x)=3x−12.

  • y=3x−12
  • Swap: x=3y−12
  • Add 12: x+12=3y
  • Divide by 3: f−1(x)=x+123

Look at the order. f multiplies by 3 and then subtracts 12. The inverse uses the inverse operations in reverse order: add 12 first, then divide by 3. You put on socks before shoes, and you take off the shoes first.

Then check. A function and its inverse undo each other, so composing them gives the identity function: f(f−1(x))=f−1(f(x))=x on the invertible domain. Here f(f−1(x))=3⋅x+123−12=x. If your composition simplifies to anything other than x, the inverse is wrong.

One trap: 13x−12 is the reciprocal of f(x), not its inverse. Compose it with f and you will not get x.

Quick check · Put it in order

No calculator. Put the steps for finding the inverse of g(x)=2(x−1)3+5 in order. Tap them in sequence.

Part 3 Watch it done An inverse on a restricted domain

Watch each step, then do the last one yourself.

Let f(x)=(x−2)2+1 on the domain x≥2. Find an expression for f−1(x) and its domain, then find f−1(10).

  1. Step 1 · Check that it is invertible

    On x≥2, (x−2)2 grows as x grows, so f is always increasing there and no output repeats. The outputs start at f(2)=1 and go up, so the range of f is y≥1.

  2. Step 2 · Swap x and y

    y=(x−2)2+1 becomes x=(y−2)2+1.

  3. Step 3 · Undo in reverse order

    f subtracted 2, squared, then added 1. So subtract 1, take the square root, then add 2. Subtracting 1 gives x−1=(y−2)2, and the square root gives y−2=±x−1.

  4. Step 4 · Choose the sign

    Keep the plus: f−1(x)=2+x−1, with domain x≥1, the range of f. Check: f(f−1(x))=(x−1)2+1=x for x≥1. These are the two curves in the diagram.

  5. Why this step?

    Why the plus sign and not the minus?

    The outputs of f−1 are the inputs of f, and those were restricted to x≥2. 2+x−1 is never less than 2. 2−x−1 is never more than 2, which would give back the left half of the parabola, the half the restriction removed.

  6. Your step · Calculate

    No calculator. Finish it. What is f−1(10)?

Part 4 Try it A rocket on the way up

A model rocket is launched straight up. Its height in meters t seconds after launch is h(t)=−5t2+40t, for 0≤t≤8. It reaches its highest point, 80 meters, at t=4, and it lands at t=8.

Over the whole flight, h is not invertible: the rocket passes most heights twice, once climbing and once falling. Restrict h to the climb, 0≤t≤4, and it is invertible. That inverse takes a height and gives the time the rocket reaches it on the way up.

Try it · Calculate

No calculator. Using h restricted to 0≤t≤4, find h−1(60).

seconds

Try it · Multiple choice

No calculator. On the climb, h−1(75)=3. What does this statement mean in this context?

Try it · Sort it

No calculator. Use h restricted to the climb, 0≤t≤4. Tap each request, then whether this inverse can answer it.

h−1 gives a time

Outside what this h−1 can answer

Part 5 Explain it Write it the way the exam asks

Nothing you type leaves this page.

Free response is 37.5% of the exam score. This one is shaped like Question 1, Function Concepts.

Free-response practice · Question 1 style

Graphing calculator required. The function f is given by f(x)=2x+1x−3 for all real numbers except x=3, and f is invertible on that domain. (i) Given f(4)=9, identify f−1(9) and explain how you know. (ii) Determine an expression for f−1(x), showing the steps. (iii) The range of f is all real numbers except 2. Identify the domain of f−1 and give a reason. (iv) Use your expression to find f−1(5), and show that f(f−1(5))=5.

Model answer

(i) f−1(9)=4. The pair (4,9) is on f, so the reversed pair (9,4) is on f−1. (ii) Write y=2x+1x−3 and swap: x=2y+1y−3. Multiply by y−3: xy−3x=2y+1. Collect the y terms: xy−2y=3x+1, so y(x−2)=3x+1 and f−1(x)=3x+1x−2. (iii) All real numbers except 2, because the domain of f−1 is the range of f. (iv) f−1(5)=163, and f(163)=32/3+116/3−3=35/37/3=5.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself An inverse from a table

The three case questions use the same table. Answer them from it.

The table gives every value of a function f. Its domain is just these five inputs, and no output repeats, so f is invertible.

Values of f
xf(x)
−311
−16
04
2−1
5−3

Case question 1 · Calculate

No calculator. What is f−1(−1)?

Case question 2 · Multiple choice

No calculator. What is the value of f−1(f(−1)−2)?

Case question 3 · Multiple choice

No calculator. Which list gives the domain of f−1?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student works with p(x)=4x−8. Tap the line with the mistake.

Check yourself · Match

No calculator. Tap a function, then its inverse.

Check yourself · Decide and justify

No calculator. Let p(x)=2x+6. A student claims that q(x)=x2−6 is the inverse of p. Is the student right?

Which reason supports your answer?

Part 7 Keep it Bring back earlier ideas

Pulling an older idea back up is what makes it last.

From 2.3 Exponential Functions · Calculate

No calculator. A function has g(0)=7, g(1)=13, g(2)=31 and g(3)=85. These outputs are not proportional, but subtracting the same constant from every output makes them proportional. What is the common ratio of those new outputs?

From 1.9 Rational Functions and Vertical Asymptotes · Decide and justify

No calculator. Let r(x)=(x−1)2(x+3)(x−1)3. Does the graph of r have a vertical asymptote at x=1?

Which reason supports your answer?

In three lines

  • If f(a)=b, then f−1(b)=a: a table swaps every pair, a graph reflects over y=x, and the domain and range trade places.
  • A function is invertible on a domain where each output comes from one input; restricting the domain can make it so, and a context can limit the inverse further.
  • To find f−1, swap x and y and solve for y, undoing the last step first, then check that f(f−1(x))=f−1(f(x))=x.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 65 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 40 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 35 minutes.
  • Section II Part B, Free Response (calculator not permitted): 2 questions in 35 minutes.
  • This lesson's Explain it is shaped like free-response question 1, Function Concepts.

After you find an inverse, compose it with the original and show that it simplifies to x, and state the domain of the inverse as the range of the original. Solving for y after swapping x and y is algebra you do by hand, even when a graphing calculator is allowed.

Questions students ask

How do I find f−1 of a number from a table?

Look for that number in the output row of f and read the input beside it. If f(2)=−1, then f−1(−1)=2.

Why does (x−3)2 have no inverse unless I restrict it?

Two different inputs give the same output, such as q(1)=q(5)=4, so q−1(4) would need two values at once. Keeping only one side of the vertex, such as x≥3, leaves every output with one input.

When solving gives me a plus-or-minus square root, which sign do I keep?

Keep the sign that matches the restricted domain of the original function, because those inputs become the outputs of the inverse. For f(x)=(x−2)2+1 on x≥2, the inverse is 2+x−1, whose outputs are never less than 2.

How do I check that my inverse is right?

Compose them. If f(f−1(x)) and f−1(f(x)) both simplify to x, the inverse is right. For f(x)=3x−12 and f−1(x)=x+123, 3⋅x+123−12=x.

What happens to the domain and range when I take an inverse?

They trade places. If f takes inputs x≥2 to outputs y≥1, then f−1 takes inputs x≥1 to outputs y≥2.

Can a context limit an inverse even when the algebra works?

Yes. A rocket's height h(t)=−5t2+40t restricted to the climb, 0≤t≤4, has an inverse that only accepts heights from 0 to 80 meters, so a height of 95 meters or a time on the way down is outside what it can answer.

Course alignment, for teachers

AP Precalculus topic 2.8, Unit 2: Exponential and Logarithmic Functions.

  • Skill 1.A: Solve equations and inequalities represented analytically, with and without technology.
  • Skill 2.B: Construct equivalent graphical, numerical, analytical, and verbal representations of functions that are useful in a given mathematical or applied context, with and without technology.

This lesson maps all 7 essential knowledge statements of the topic to the part that teaches each one: 7 are checked by a scored question. The map is in the lesson file.