Algebra 1 · Grade 9
Inverse Functions: Undoing What a Function Does
Quick answer
An inverse function undoes the original. Finding it means swapping the roles of input and output and solving again, because the inverse answers the reverse question. That swap is what reflects the graph across the line y = x and what trades the domain for the range.
What you'll learn
- Find the inverse of a function by swapping and solving
- Verify an inverse by composing it with the original
- Decide whether a function has an inverse that is itself a function
Reversing the question
A function turns an input into an output. Its inverse turns that output back into the input it came from.
Adding is undone by subtracting . That is the whole idea, and the machinery below is for cases where the undoing takes more than one step.
Written formally, applying one and then the other gets you back where you started:
The is notation for reversing, not an exponent. is not , and this is one of the more expensive pieces of notation in algebra to misread.
Why swapping x and y finds it
A function’s equation says how to get from . The inverse asks the reverse question: how do you get from ?
So swap the letters and solve again.
Find the inverse of .
1. Write it with .
2. Swap and .
3. Solve for .
Step 3 is solving a literal equation — the same skill, applied to a letter you are less used to isolating.
Checking by composing
Substituting one function into the other has to return the input untouched.
This check is complete. If the composition simplifies to , the inverse is right; if it does not, something went wrong. A single number works too: and .
Why the graph reflects across y = x
Swapping the letters swaps the coordinates. Every point on becomes on .
Reflecting across the line is exactly the move that swaps a point’s two coordinates, so the two graphs are mirror images in that line.
- f(x) = 3x - 5
- f inverse
- y = x
Two consequences follow directly:
| On | On |
|---|---|
| the domain | the range |
| the range | the domain |
| the point | the point |
| -intercept | -intercept |
The domain and range trade places, because the inputs of one are the outputs of the other.
When the inverse is not a function
Reversing always produces a relation. It produces a function only if no output of was ever produced twice.
Take . Both and give . Reversing asks “which input gave ?” and there are two answers, so the reverse fails the one-output rule.
The test is visual:
| Test | Checks |
|---|---|
| vertical line test | is the graph a function? |
| horizontal line test | does it have an inverse function? |
A horizontal line crossing the graph twice means two inputs shared an output.
fails it, which is why is defined as the positive root: restricting the domain to throws away the duplicate and leaves something invertible.
Restricting the domain is the standard repair, and it is why calculators report one square root rather than two.
Worked examples
Common mistakes
Practice problems
-
Find the inverse of .
Answer
Full solution
Subtracting undoes adding.
-
Find the inverse of .
Answer
Full solution
Dividing undoes multiplying.
-
Find the inverse of .
Answer
Full solution
Adding undoes subtracting.
-
. What is ?
Answer
Full solution
The inverse returns the input that produced the output.
-
Find the inverse of .
Answer
Full solution
Swap: , then solve.
-
The point is on . What point is on ?
Answer
Full solution
Swapping the letters swaps the coordinates.
-
What line is a graph reflected in to give its inverse?
Answer
Full solution
Reflecting in that line swaps a point’s coordinates.
-
Find the inverse of , and check it.
Hint
Swap, solve, then compose.
Answer
Full solution
Swap: .
Subtract : .
Multiply by : .
Check by composing: ✓
-
Does have an inverse function?
Answer
No
Full solution
Both and give , so an output is reused.
A horizontal line at crosses the graph twice, which fails the horizontal line test.
Restricting the domain to would fix it.
-
Asked for the inverse of , Nur answers , undoing the times first and then the plus . Find the error.
Hint
Put through , then through Nur’s answer.
Answer
The inverse reverses the order too. It is .
Full solution
multiplies by first and adds second. Undoing it means peeling the steps off in the opposite order: subtract first, then divide by .
.
Testing catches Nur’s version at once. , so the inverse must send back to .
Nur’s: , not .
Correct: ✓
Taking off a coat and then a sweater is the same idea: the last thing on is the first thing off.
-
Using the table, find and .
Answer
and
Full solution
Find each value in the row and read the input above it. sits under , and sits under .
Frequently asked questions
How do I find an inverse function?
Swap x and y in the equation, then solve for y. The result is the inverse.
How do I check an inverse is right?
Compose them. Putting a number through the function and then the inverse has to give the number back.
What does the graph look like?
The mirror image of the original across the line y = x. Every point (a, b) becomes (b, a).
Does every function have an inverse?
Every function can be reversed, but the reverse is only a function when no output was reused. The horizontal line test checks that.
Why is f inverse not 1 over f?
The -1 is notation for reversing the function, not an exponent. The reciprocal of f is written 1/f(x).
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSF.BF.B.4Building FunctionsFind inverse functions.
- CCSS.MATH.CONTENT.HSF.BF.B.4aBuilding FunctionsSolve an equation of the form f(x) = c for a simple function f that has an inverse and write an expression for the inverse.
- CCSS.MATH.CONTENT.HSF.BF.B.4bBuilding Functions(+) Verify by composition that one function is the inverse of another.
- CCSS.MATH.CONTENT.HSF.BF.B.4cBuilding Functions(+) Read values of an inverse function from a graph or a table, given that the function has an inverse.
- CCSS.MATH.CONTENT.HSF.BF.B.4dBuilding Functions(+) Produce an invertible function from a non-invertible function by restricting the domain.