An inverse function undoes : if , then , so every input-output pair of swaps places. A function has an inverse only when it is one-to-one, which you can often arrange by restricting its domain. To find , swap and in and solve for ; the graph of is the reflection of the graph of in the line .
Quick check
If and , what is ?Show answerHide answer
. Work from the inside out: , then .
A function adds to every input. What function undoes it?Show answerHide answer
The function that subtracts : if , the inverse is .
Does have an inverse function on all real numbers?Show answerHide answer
No. , so the output cannot be sent back to one single input.
Know these already? Jump to the practice questions
What you'll be able to do
- Explain what an inverse function does to the input-output pairs of .
- Determine whether a function is one-to-one, and restrict its domain so that it has an inverse.
- Find from a formula and state its domain.
- Identify values of from a table or a graph of .
- Justify that two functions are inverses by composing them.
Key terms
Inverse function
The function with exactly when . Its domain is the range of , and its range is the domain of .
- In plain English
- The function run backward: put in an output of and get back the input that made it.
- Don't write
- ""; the names the inverse, not a power.
One-to-one function
A function in which different inputs always give different outputs, so each output comes from exactly one input.
- In plain English
- No two inputs share an output, so every output points back to one input.
- Don't write
- "one-to-one means each has one "; every function does that.
Restricted domain
A smaller set of inputs chosen for a function, usually so that it is one-to-one on that set.
- In plain English
- Keep one branch of the graph so that no horizontal line meets it twice.
- Don't write
- " is the inverse of " without the restriction .
What does an inverse function undo?
If sends to , its inverse sends back to . Learn this:
So every pair of appears in with its two numbers swapped. The inputs of are the outputs of , so the domain of is the range of , and the range of is the domain of .
To find , look for in the output row. It sits under , so . You read a table for backward: from the output row to the input row.
Check yourself
Show answerHide answer
and , because and .
When does a function have an inverse?
Only when it is one-to-one. For , , so would have to be both and . A function can't give two outputs, so has no inverse on all real numbers.
Three quick tests:
- Table: no output value appears twice.
- Graph: every horizontal line meets the graph at most once.
- Behavior: a function that is always increasing or always decreasing on its domain is one-to-one.
When a function fails, restrict its domain to a piece where it only increases or only decreases. For , the usual choice is , which gives the inverse . The choice works too, and gives .
Key idea
A parabola's vertex splits it into an increasing half and a decreasing half, and either half has an inverse.
Check yourself
Show answerHide answer
. The vertex is at , and is increasing for every to its right.
How do you find an inverse from a formula?
Learn this method:
- Write .
- Swap and . This swaps every input with its output.
- Solve for . The result is .
- State the domain of : it is the range of .
For : swapping gives , so and .
To confirm, compose the two functions (see the note on Composition of Functions). Learn this: and are inverses when and for every in the right domains. Here . A one-value test is quicker but weaker: and .
Examiner's eye
Marks are lost when an inverse of a restricted function is given without its domain. The domain of is the range of , so state it.
Check yourself
Show answerHide answer
. Swapping gives , so and .
How are the graphs of a function and its inverse related?
Every point on the graph of becomes on the graph of . Swapping coordinates is a reflection in the line , so the two graphs are mirror images in that line.
The figure "The graph of y = g(x) = (x − 2)² + 1 for x ≥ 2 and its inverse, reflected in the line y = x" shows this. The points , and on become , and on .
Features swap too. An -intercept of becomes a -intercept of , and a horizontal asymptote becomes a vertical asymptote . An increasing has an increasing inverse.
To read from the graph of , start at on the -axis, go across to the curve, and read the -coordinate there.
Check yourself
Show answerHide answer
The point is on the graph of , and its vertical asymptote is .
Which method gives the inverse value?
| You're given | To find or |
|---|---|
| A table of | find in the output row and read the input |
| A graph of | go across from on the -axis to the curve, read |
| A formula, one value wanted | solve |
| A formula, whole inverse wanted | swap and , solve for , state the domain |
Worked example 1: Inverse values from a table
Question: The function is defined only for , with , , , and . (a) Find . (b) Find . (c) State the domain of .
What tells you the method
The function is given as a table, so you read it backward, from outputs to inputs.
Step 1: Confirm is one-to-one.
The outputs are all different.
WhyEach output comes from one input, so is a function.
Step 2: Find .
The output sits under , so .
Whymeans .
Step 3: Work from the inside out.
The output sits under , so . Then the output sits under , so .
WhyA composition is evaluated innermost first.
Step 4: State the domain.
The domain of is the range of : the values .
WhyThe inputs of are exactly the outputs of .
Check it
, and with , so each backward reading matches a forward pair.
Answer
(a) . (b) . (c) The domain of is the set of values , , , and .
Worked example 2: Inverse of a rational function
Question: Find for , , and state the domain of .
What tells you the method
You need the whole inverse from a formula, so swap and and solve.
Step 1: Swap and .
.
WhySwapping exchanges every input with its output.
Step 2: Clear the fraction.
, so .
WhyMultiplying by removes the denominator.
Step 3: Collect the terms and factor.
, so .
WhyWith every on one side, you can factor out.
Step 4: Divide.
, so the domain of is .
Whynever outputs , since leads to , so is missing from the range of .
Check it
and , so the inverse sends back to .
Answer
, with domain .
Worked example 3: Restricting the domain
Question: Let . (a) Find two different inputs with . (b) With the domain restricted to , find and state its domain. (c) Find .
What tells you the method
A squared expression is not one-to-one, so the restriction decides which square root the inverse keeps.
Step 1: Show is not one-to-one.
and .
WhyTwo inputs share the output , so has no inverse on all real numbers.
Step 2: Restrict and find the range.
For , is increasing from its vertex , so its range is .
WhyThe range of becomes the domain of .
Step 3: Swap and solve.
, so and .
WhyUndo the , then the square.
Step 4: Choose the sign.
The range of is , so keep the positive root: for .
WhyAn inverse is a function, so it keeps the one branch that matches the restriction.
Step 5: Evaluate.
.
WhySubstitute into the inverse.
Check it
, so is right. Also .
Answer
(a) and . (b) for . (c) .
Your turn
Question: Find for .
Step 1:
Write and swap: .
Step 2:
Add to both sides: .
Step 3: Your go: divide by , take the cube root, and check with .
Show the full solutionHide the solution
Dividing by gives , and the cube root gives . A cube root exists for every real number, and is increasing on all real numbers, so no restriction is needed. Check: and .
Answer: for all real .
Traps
Trap
Reading as .
It seems right because means . But on a function name, marks the inverse: for , , while .
Check yourself
Show answerHide answer
, because . But , a different number.
Trap
Keeping in an inverse after taking a square root.
It seems right because solving as an equation gives two roots. But an inverse must be a function, so keep only the sign that matches the restricted domain: the outputs of are the inputs of .
Check yourself
Show answerHide answer
The negative sign: , because its outputs must satisfy . Check: and .
Trap
Reading from a graph by starting at on the -axis.
It seems right because that is how you read . But is an output of , so start at on the -axis, go across to the curve, and read its -coordinate.
Check yourself
Show answerHide answer
, because . The value is , which is the wrong reading.
What's examined
Inverse functions sit in Unit 2 (Exponential and Logarithmic Functions) of the AP® Precalculus exam, in both the multiple-choice and the free-response sections. Expect to read inverse values from a table or graph, find for a linear, rational or radical function, and restrict a domain so that an inverse exists. Show the swap-and-solve steps by hand. To justify that two functions are inverses, show that both compositions return . The inverse of an exponential function is a logarithm: see Logarithmic Functions and Their Graphs.
Practice questions
- Recall Which function is one-to-one on all real numbers?
- A)
- B)
- C)
- D)
Show answer
Answer: B)
Marking points:
- is increasing on all real numbers, so no output repeats.
- A fails because . C fails because . D fails because .
- Recall A one-to-one function has , , and . Find and .
Show answer
Answer: and .
Marking points:
- , so .
- , so .
- Apply Let . Which expression is ?
- A)
- B)
- C)
- D)
Show answer
Answer: D)
Marking points:
- Swap: , so , and .
- A undoes the multiplication but not the subtraction. B takes the reciprocal of . C changes only the sign.
- Apply Let for . (a) State the range of . (b) Find and state its domain.
Show answer
Answer: (a) The range of is . (b) for .
Marking points:
- , so every output is at least .
- Swap: , so and .
- The domain of is the range of , . Check: and .
- Apply The graph of a one-to-one function passes through and has the horizontal asymptote . Which statement about the graph of must be true?
- A) It passes through and has the vertical asymptote .
- B) It passes through and has the horizontal asymptote .
- C) It passes through and has the vertical asymptote .
- D) It passes through and has the vertical asymptote .
Show answer
Answer: A) It passes through and has the vertical asymptote .
Marking points:
- Reflecting in swaps coordinates, so becomes , and the line becomes .
- B swaps the point but not the asymptote. C negates the coordinates instead of swapping them. D keeps the point of .
- Exam-style Let for . (a) Find . (b) Find .
Show answer
Answer: (a) . (b) .
Marking points:
- Swap: , so .
- Collect: , so and . This is its own inverse, so its graph is symmetric about .
- . Check: .
- Exam-style The function is increasing on all real numbers. What is the value of ?
- A)
- B)
- C)
- D)
Show answer
Answer: C)
Marking points:
- is the input with : , and works since . Because is increasing, it is the only solution.
- A is . B drops the term and solves . D is .
Key points
Recall, then reveal
Say the main points from memory first, then check them.
Show key pointsHide key points
- means , so the domain and range of trade places in .
- Only a one-to-one function has an inverse; restrict a function to a piece where it only increases or only decreases.
- To find , swap and , solve for , and keep the branch that fits the restricted domain.
- The graph of is the mirror image of the graph of in the line .
- Two functions are inverses when composing them in either order returns .